Model - Spaces
API reference for src/graph/spaces, src/schema/spaces on @huukhanhnguyen/model, reachable from ..
See the Guide for the ModelJSON / evaluate pipeline.
API reference
Signatures are generated from the live package .d.ts - not hand-written.
asSheetEntities
function
asSheetEntities(entities: Entity[]): SheetEntitiesasViewEntities
function
asViewEntities(entities: Entity[]): ViewEntitiesasWorldEntities
function
Coordinate-space branding helpers. Types live in schema/spaces.ts (Law 1).
asWorldEntities(entities: Entity[]): WorldEntitiesSheetEntities
type
type SheetEntities
// = Entity[] & { readonly [SheetSpace]: "sheet"; }ViewEntities
type
type ViewEntities
// = Entity[] & { readonly [ViewSpace]: "view"; }WorldEntities
type
type WorldEntities
// = Entity[] & { readonly [WorldSpace]: "world"; }