@expofp/schema
Advanced tools
@@ -81,3 +81,10 @@ /** | ||
| customKioskQrCodeUrl: string; | ||
| enableExperimentalMaplibre: false; | ||
| /** | ||
| * Deliberately undefined rather than `false`: the flag is tri-state. Unset | ||
| * lets the drawing decide (`__fpGeo.properties.config.type === 'maplibre'`), | ||
| * while an explicit `false` from any layer — debug panel, localStorage, URL, | ||
| * host options — vetoes the map. A `false` default would erase that | ||
| * distinction (see `MaplibreStore.useMaplibreMap`). | ||
| */ | ||
| enableExperimentalMaplibre: undefined; | ||
| customSetKiosk: string; | ||
@@ -84,0 +91,0 @@ hideBoothBadges: false; |
@@ -88,3 +88,10 @@ /** | ||
| // flags (deprecated nested `flags` flattened to root) | ||
| enableExperimentalMaplibre: false, | ||
| /** | ||
| * Deliberately undefined rather than `false`: the flag is tri-state. Unset | ||
| * lets the drawing decide (`__fpGeo.properties.config.type === 'maplibre'`), | ||
| * while an explicit `false` from any layer — debug panel, localStorage, URL, | ||
| * host options — vetoes the map. A `false` default would erase that | ||
| * distinction (see `MaplibreStore.useMaplibreMap`). | ||
| */ | ||
| enableExperimentalMaplibre: undefined, | ||
| customSetKiosk: '', | ||
@@ -91,0 +98,0 @@ hideBoothBadges: false, |
@@ -48,2 +48,3 @@ import * as z from 'zod'; | ||
| }>>; | ||
| type: z.ZodOptional<z.ZodLiteral<"maplibre">>; | ||
| }, z.core.$loose>; | ||
@@ -90,2 +91,3 @@ /** A georeferenced overlay image (`__fpGeo.images[]`). */ | ||
| }>>; | ||
| type: z.ZodOptional<z.ZodLiteral<"maplibre">>; | ||
| }, z.core.$loose>>; | ||
@@ -92,0 +94,0 @@ mpViewbox: z.ZodOptional<z.ZodArray<z.ZodNumber>>; |
@@ -31,2 +31,9 @@ import * as z from 'zod'; | ||
| style: MapThemeSchema.optional(), | ||
| /** | ||
| * The map the drawing is authored for. `'maplibre'` — the only value the | ||
| * Designer emits — asks the SDK to render the plan on the MapLibre basemap; | ||
| * unset leaves the plan on the plain floor plan. An explicit | ||
| * `enableExperimentalMaplibre` from any config layer still overrides it. | ||
| */ | ||
| type: z.literal('maplibre').optional(), | ||
| }); | ||
@@ -33,0 +40,0 @@ /** A georeferenced overlay image (`__fpGeo.images[]`). */ |
@@ -119,2 +119,3 @@ import * as z from 'zod'; | ||
| }>>; | ||
| type: z.ZodOptional<z.ZodLiteral<"maplibre">>; | ||
| }, z.core.$loose>>; | ||
@@ -196,2 +197,3 @@ mpViewbox: z.ZodOptional<z.ZodArray<z.ZodNumber>>; | ||
| }>>; | ||
| type: z.ZodOptional<z.ZodLiteral<"maplibre">>; | ||
| }, z.core.$loose>>; | ||
@@ -198,0 +200,0 @@ mpViewbox: z.ZodOptional<z.ZodArray<z.ZodNumber>>; |
+2
-2
| { | ||
| "name": "@expofp/schema", | ||
| "version": "3.15.0", | ||
| "version": "3.16.0", | ||
| "type": "module", | ||
@@ -28,3 +28,3 @@ "description": "ExpoFP SDK internal: expo data schemas and types", | ||
| "devDependencies": { | ||
| "@expofp/utils": "3.15.0" | ||
| "@expofp/utils": "3.16.0" | ||
| }, | ||
@@ -31,0 +31,0 @@ "files": [ |
174254
0.81%4082
0.62%