Skip to content

spatial-monorepo


spatial-monorepo / wayfinding/src / LadderGridRouteTransportResult

Type Alias: LadderGridRouteTransportResult

LadderGridRouteTransportResult = { cells: GridCell[]; coordinates: Position2D[]; found: true; rung: string; snapped?: { destination?: boolean; origin?: boolean; }; } | { found: false; reason: "no-path" | "origin-outside-grid" | "destination-outside-grid"; }

Defined in: packages/wayfinding/src/grid-types.ts:310

Comlink-safe subset of LadderGridRouteResult: omits grid (see GridRouteTransportResult).

Released under commercial licensing.