@expofp/schema 3.15.0 → 3.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -78,7 +78,14 @@ export declare const ConfigDefaults: {
|
|
|
78
78
|
enableRotation: false;
|
|
79
79
|
alwaysShowSidebar: false;
|
|
80
80
|
customKioskQrCodeUrl: string;
|
|
81
|
-
|
|
81
|
+
/**
|
|
82
|
+
* Deliberately undefined rather than `false`: the flag is tri-state. Unset
|
|
83
|
+
* lets the drawing decide (`__fpGeo.properties.config.type === 'maplibre'`),
|
|
84
|
+
* while an explicit `false` from any layer — debug panel, localStorage, URL,
|
|
85
|
+
* host options — vetoes the map. A `false` default would erase that
|
|
86
|
+
* distinction (see `MaplibreStore.useMaplibreMap`).
|
|
87
|
+
*/
|
|
88
|
+
enableExperimentalMaplibre: undefined;
|
|
82
89
|
customSetKiosk: string;
|
|
83
90
|
hideBoothBadges: false;
|
|
84
91
|
busRoutes: false;
|
|
@@ -85,7 +85,14 @@ export const ConfigDefaults = {
|
|
|
85
85
|
alwaysShowSidebar: false,
|
|
86
86
|
customKioskQrCodeUrl: '',
|
|
87
87
|
// flags (deprecated nested `flags` flattened to root)
|
|
88
|
-
|
|
88
|
+
/**
|
|
89
|
+
* Deliberately undefined rather than `false`: the flag is tri-state. Unset
|
|
90
|
+
* lets the drawing decide (`__fpGeo.properties.config.type === 'maplibre'`),
|
|
91
|
+
* while an explicit `false` from any layer — debug panel, localStorage, URL,
|
|
92
|
+
* host options — vetoes the map. A `false` default would erase that
|
|
93
|
+
* distinction (see `MaplibreStore.useMaplibreMap`).
|
|
94
|
+
*/
|
|
95
|
+
enableExperimentalMaplibre: undefined,
|
|
89
96
|
customSetKiosk: '',
|
|
90
97
|
hideBoothBadges: false,
|
|
91
98
|
busRoutes: false,
|
package/dist/lib/fp-geo.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export declare const FpGeoConfigSchema: z.ZodObject<{
|
|
|
45
45
|
dark: "dark";
|
|
46
46
|
light: "light";
|
|
47
47
|
}>>;
|
|
48
|
+
type: z.ZodOptional<z.ZodLiteral<"maplibre">>;
|
|
48
49
|
}, z.core.$loose>;
|
|
49
50
|
/** A georeferenced overlay image (`__fpGeo.images[]`). */
|
|
50
51
|
export declare const FpGeoImageSchema: z.ZodObject<{
|
|
@@ -86,6 +87,7 @@ export declare const FpGeoSchema: z.ZodObject<{
|
|
|
86
87
|
dark: "dark";
|
|
87
88
|
light: "light";
|
|
88
89
|
}>>;
|
|
90
|
+
type: z.ZodOptional<z.ZodLiteral<"maplibre">>;
|
|
89
91
|
}, z.core.$loose>>;
|
|
90
92
|
mpViewbox: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
91
93
|
useMaplibre: z.ZodOptional<z.ZodBoolean>;
|
package/dist/lib/fp-geo.js
CHANGED
|
@@ -28,6 +28,13 @@ export const FpGeoConfigSchema = z.looseObject({
|
|
|
28
28
|
* falls back to `__fpSettings.backgroundColor`'s lightness.
|
|
29
29
|
*/
|
|
30
30
|
style: MapThemeSchema.optional(),
|
|
31
|
+
/**
|
|
32
|
+
* The map the drawing is authored for. `'maplibre'` — the only value the
|
|
33
|
+
* Designer emits — asks the SDK to render the plan on the MapLibre basemap;
|
|
34
|
+
* unset leaves the plan on the plain floor plan. An explicit
|
|
35
|
+
* `enableExperimentalMaplibre` from any config layer still overrides it.
|
|
36
|
+
*/
|
|
37
|
+
type: z.literal('maplibre').optional(),
|
|
31
38
|
});
|
|
32
39
|
/** A georeferenced overlay image (`__fpGeo.images[]`). */
|
|
33
40
|
export const FpGeoImageSchema = z.looseObject({
|
package/dist/lib/fp-svg.d.ts
CHANGED
|
@@ -116,6 +116,7 @@ export declare const FpSvgLayerJsSchema: z.ZodObject<{
|
|
|
116
116
|
dark: "dark";
|
|
117
117
|
light: "light";
|
|
118
118
|
}>>;
|
|
119
|
+
type: z.ZodOptional<z.ZodLiteral<"maplibre">>;
|
|
119
120
|
}, z.core.$loose>>;
|
|
120
121
|
mpViewbox: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
121
122
|
useMaplibre: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -192,6 +193,7 @@ export declare const FpSvgJsSchema: z.ZodObject<{
|
|
|
192
193
|
dark: "dark";
|
|
193
194
|
light: "light";
|
|
194
195
|
}>>;
|
|
196
|
+
type: z.ZodOptional<z.ZodLiteral<"maplibre">>;
|
|
195
197
|
}, z.core.$loose>>;
|
|
196
198
|
mpViewbox: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
197
199
|
useMaplibre: z.ZodOptional<z.ZodBoolean>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/schema",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.16.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "ExpoFP SDK internal: expo data schemas and types",
|
|
6
6
|
"homepage": "https://developer.expofp.com/",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"zod": "4.4.3"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@expofp/utils": "3.
|
|
28
|
+
"@expofp/utils": "3.16.1"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"dist",
|