Type Alias: SurfaceType
Makaio Framework / contracts / SurfaceType
Type Alias: SurfaceType
Section titled “Type Alias: SurfaceType”SurfaceType =
"web"|"mobile"|"electron"|"electrobun"|"tray"
Defined in: ../../../packages/contracts/src/common/surface.ts:22
Rendering surface identifiers.
Each surface represents a distinct runtime environment:
- ‘web’: Browser-based React DOM rendering
- ‘mobile’: React Native rendering (iOS/Android)
- ‘electron’: Desktop Electron rendering (superset of web)
- ‘electrobun’: Desktop Electrobun rendering (Bun-native alternative to Electron)
- ‘tray’: Lightweight tray popover canvas (subset of desktop)
SEAM: New surfaces can be added here as the platform expands.
Type Composition
Section titled “Type Composition”SurfaceType'web' | 'mobile' | 'electron' | 'electrobun' | 'tray''web''mobile''electron''electrobun''tray'
Resolved Shape
Section titled “Resolved Shape”Resolved shape has 52 properties, above the 40 property limit.