@expofp/schema 3.21.1 → 3.22.0
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,6 +78,8 @@ export declare const ConfigDefaults: {
|
|
|
78
78
|
enableRotation: false;
|
|
79
79
|
alwaysShowSidebar: false;
|
|
80
80
|
customKioskQrCodeUrl: string;
|
|
81
|
+
/** No provider configured; see the field's note in `config.ts` for why not `''`. */
|
|
82
|
+
mobileLocationProvider: null;
|
|
81
83
|
/**
|
|
82
84
|
* Deliberately undefined rather than `false`: the flag is tri-state. Unset
|
|
83
85
|
* lets the drawing decide (`__fpGeo.properties.config.type === 'maplibre'`),
|
|
@@ -84,6 +84,8 @@ export const ConfigDefaults = {
|
|
|
84
84
|
enableRotation: false,
|
|
85
85
|
alwaysShowSidebar: false,
|
|
86
86
|
customKioskQrCodeUrl: '',
|
|
87
|
+
/** No provider configured; see the field's note in `config.ts` for why not `''`. */
|
|
88
|
+
mobileLocationProvider: null,
|
|
87
89
|
// flags (deprecated nested `flags` flattened to root)
|
|
88
90
|
/**
|
|
89
91
|
* Deliberately undefined rather than `false`: the flag is tri-state. Unset
|
package/dist/lib/config.d.ts
CHANGED
|
@@ -306,6 +306,7 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
306
306
|
enableRotation: z.ZodBoolean;
|
|
307
307
|
alwaysShowSidebar: z.ZodBoolean;
|
|
308
308
|
customKioskQrCodeUrl: z.ZodString;
|
|
309
|
+
mobileLocationProvider: z.ZodNullable<z.ZodString>;
|
|
309
310
|
debugMode: z.ZodBoolean;
|
|
310
311
|
debugPattern: z.ZodString;
|
|
311
312
|
showDebugButton: z.ZodBoolean;
|
|
@@ -667,6 +668,7 @@ export declare const DataSchema: z.ZodObject<{
|
|
|
667
668
|
enableRotation: z.ZodOptional<z.ZodBoolean>;
|
|
668
669
|
alwaysShowSidebar: z.ZodOptional<z.ZodBoolean>;
|
|
669
670
|
customKioskQrCodeUrl: z.ZodOptional<z.ZodString>;
|
|
671
|
+
mobileLocationProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
670
672
|
debugMode: z.ZodOptional<z.ZodBoolean>;
|
|
671
673
|
debugPattern: z.ZodOptional<z.ZodString>;
|
|
672
674
|
showDebugButton: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1039,6 +1041,7 @@ export declare const DataJsSchema: z.ZodObject<{
|
|
|
1039
1041
|
enableRotation: z.ZodOptional<z.ZodBoolean>;
|
|
1040
1042
|
alwaysShowSidebar: z.ZodOptional<z.ZodBoolean>;
|
|
1041
1043
|
customKioskQrCodeUrl: z.ZodOptional<z.ZodString>;
|
|
1044
|
+
mobileLocationProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1042
1045
|
debugMode: z.ZodOptional<z.ZodBoolean>;
|
|
1043
1046
|
debugPattern: z.ZodOptional<z.ZodString>;
|
|
1044
1047
|
showDebugButton: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1405,6 +1408,7 @@ export declare const ManifestSchema: z.ZodObject<{
|
|
|
1405
1408
|
enableRotation: z.ZodOptional<z.ZodBoolean>;
|
|
1406
1409
|
alwaysShowSidebar: z.ZodOptional<z.ZodBoolean>;
|
|
1407
1410
|
customKioskQrCodeUrl: z.ZodOptional<z.ZodString>;
|
|
1411
|
+
mobileLocationProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1408
1412
|
debugMode: z.ZodOptional<z.ZodBoolean>;
|
|
1409
1413
|
debugPattern: z.ZodOptional<z.ZodString>;
|
|
1410
1414
|
showDebugButton: z.ZodOptional<z.ZodBoolean>;
|
package/dist/lib/config.js
CHANGED
|
@@ -124,6 +124,13 @@ export const ConfigSchema = z.object({
|
|
|
124
124
|
enableRotation: z.boolean(),
|
|
125
125
|
alwaysShowSidebar: z.boolean(),
|
|
126
126
|
customKioskQrCodeUrl: z.string(),
|
|
127
|
+
/**
|
|
128
|
+
* Indoor-positioning provider for the native SDKs, opaque web-side:
|
|
129
|
+
* `<provider>.<version>.<base64url credentials>`, e.g.
|
|
130
|
+
* `indooratlas.1.SGVsbG8gV29ybGQh`. `null` (the default) means none — not
|
|
131
|
+
* `''`, so the native bridge sees Kotlin `null` / Swift `nil`.
|
|
132
|
+
*/
|
|
133
|
+
mobileLocationProvider: z.string().nullable(),
|
|
127
134
|
...FlagsSchema.shape,
|
|
128
135
|
// user preferences
|
|
129
136
|
/** Debug mode: verbose logs, the in-map debug overlay, dev-leniency in error paths. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/schema",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0",
|
|
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.22.0"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"dist",
|