Skip to content

Type Alias: SurfaceType

Makaio Framework


Makaio Framework / contracts / 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.

  • SurfaceType
    • 'web' | 'mobile' | 'electron' | 'electrobun' | 'tray'
      • 'web'
      • 'mobile'
      • 'electron'
      • 'electrobun'
      • 'tray'

Resolved shape has 52 properties, above the 40 property limit.