Skip to content

spatial-monorepo


spatial-monorepo / rtls/src / AdapterConfig

Type Alias: AdapterConfig

AdapterConfig = { coordinateMode?: "meter" | "latlon"; id: string; url: string; vendor: "sewio"; } | { apiKey: string; coordinateMode?: "meter" | "latlon"; id: string; url: string; vendor: "kontakt"; } | { apiKey: string; coordinateMode?: "meter" | "latlon"; id: string; tenant: string; vendor: "pozyx"; } | { coordinateMode?: "meter" | "latlon"; id: string; intervalMs?: number; projectKey: string; url: string; vendor: "quuppa"; }

Defined in: packages/rtls/src/types.ts:56

AdapterConfig — discriminated union of serialisable configs for each vendor adapter supported by the Worker. Only adapters whose constructor args are pure data (no function callbacks) are included so configs cross the Worker boundary safely.

id is the stable key used to look up adapters in the Worker's Map.

Released under commercial licensing.