@expofp/schema 3.18.1 → 3.19.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.
- package/dist/lib/config-defaults.d.ts +1 -0
- package/dist/lib/config-defaults.js +1 -0
- package/dist/lib/config.d.ts +12 -0
- package/dist/lib/config.js +2 -0
- package/dist/lib/flags.d.ts +1 -0
- package/dist/lib/flags.js +11 -0
- package/dist/lib/poi-types.d.ts +1 -0
- package/dist/lib/poi-types.js +2 -0
- package/package.json +2 -2
package/dist/lib/config.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export declare const ConsentSchema: z.ZodEnum<{
|
|
|
28
28
|
}>;
|
|
29
29
|
export declare const ConfigSchema: z.ZodObject<{
|
|
30
30
|
enableExperimentalMaplibre: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
enableExperimentalOutdoorMarkers: z.ZodOptional<z.ZodBoolean>;
|
|
31
32
|
customSetKiosk: z.ZodOptional<z.ZodString>;
|
|
32
33
|
hideBoothBadges: z.ZodOptional<z.ZodBoolean>;
|
|
33
34
|
busRoutes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -224,6 +225,7 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
224
225
|
id: z.ZodNumber;
|
|
225
226
|
name: z.ZodString;
|
|
226
227
|
parentId: z.ZodOptional<z.ZodNumber>;
|
|
228
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
227
229
|
}, z.core.$loose>>;
|
|
228
230
|
reserveInstructions: z.ZodString;
|
|
229
231
|
sendLoginLinkUrl: z.ZodString;
|
|
@@ -387,6 +389,7 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
387
389
|
*/
|
|
388
390
|
export declare const DataSchema: z.ZodObject<{
|
|
389
391
|
enableExperimentalMaplibre: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
392
|
+
enableExperimentalOutdoorMarkers: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
390
393
|
customSetKiosk: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
391
394
|
hideBoothBadges: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
392
395
|
busRoutes: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -583,6 +586,7 @@ export declare const DataSchema: z.ZodObject<{
|
|
|
583
586
|
id: z.ZodNumber;
|
|
584
587
|
name: z.ZodString;
|
|
585
588
|
parentId: z.ZodOptional<z.ZodNumber>;
|
|
589
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
586
590
|
}, z.core.$loose>>>;
|
|
587
591
|
reserveInstructions: z.ZodOptional<z.ZodString>;
|
|
588
592
|
sendLoginLinkUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -742,6 +746,7 @@ export declare const DataSchema: z.ZodObject<{
|
|
|
742
746
|
allowConsent: z.ZodOptional<z.ZodBoolean>;
|
|
743
747
|
flags: z.ZodOptional<z.ZodObject<{
|
|
744
748
|
enableExperimentalMaplibre: z.ZodOptional<z.ZodBoolean>;
|
|
749
|
+
enableExperimentalOutdoorMarkers: z.ZodOptional<z.ZodBoolean>;
|
|
745
750
|
customSetKiosk: z.ZodOptional<z.ZodString>;
|
|
746
751
|
hideBoothBadges: z.ZodOptional<z.ZodBoolean>;
|
|
747
752
|
busRoutes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -756,6 +761,7 @@ export declare const DataSchema: z.ZodObject<{
|
|
|
756
761
|
export declare const DataJsSchema: z.ZodObject<{
|
|
757
762
|
__data: z.ZodOptional<z.ZodObject<{
|
|
758
763
|
enableExperimentalMaplibre: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
764
|
+
enableExperimentalOutdoorMarkers: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
759
765
|
customSetKiosk: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
760
766
|
hideBoothBadges: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
761
767
|
busRoutes: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -952,6 +958,7 @@ export declare const DataJsSchema: z.ZodObject<{
|
|
|
952
958
|
id: z.ZodNumber;
|
|
953
959
|
name: z.ZodString;
|
|
954
960
|
parentId: z.ZodOptional<z.ZodNumber>;
|
|
961
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
955
962
|
}, z.core.$loose>>>;
|
|
956
963
|
reserveInstructions: z.ZodOptional<z.ZodString>;
|
|
957
964
|
sendLoginLinkUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1111,6 +1118,7 @@ export declare const DataJsSchema: z.ZodObject<{
|
|
|
1111
1118
|
allowConsent: z.ZodOptional<z.ZodBoolean>;
|
|
1112
1119
|
flags: z.ZodOptional<z.ZodObject<{
|
|
1113
1120
|
enableExperimentalMaplibre: z.ZodOptional<z.ZodBoolean>;
|
|
1121
|
+
enableExperimentalOutdoorMarkers: z.ZodOptional<z.ZodBoolean>;
|
|
1114
1122
|
customSetKiosk: z.ZodOptional<z.ZodString>;
|
|
1115
1123
|
hideBoothBadges: z.ZodOptional<z.ZodBoolean>;
|
|
1116
1124
|
busRoutes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1119,6 +1127,7 @@ export declare const DataJsSchema: z.ZodObject<{
|
|
|
1119
1127
|
}, z.core.$loose>;
|
|
1120
1128
|
export declare const ManifestSchema: z.ZodObject<{
|
|
1121
1129
|
enableExperimentalMaplibre: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1130
|
+
enableExperimentalOutdoorMarkers: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1122
1131
|
customSetKiosk: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1123
1132
|
hideBoothBadges: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1124
1133
|
busRoutes: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1315,6 +1324,7 @@ export declare const ManifestSchema: z.ZodObject<{
|
|
|
1315
1324
|
id: z.ZodNumber;
|
|
1316
1325
|
name: z.ZodString;
|
|
1317
1326
|
parentId: z.ZodOptional<z.ZodNumber>;
|
|
1327
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1318
1328
|
}, z.core.$loose>>>;
|
|
1319
1329
|
reserveInstructions: z.ZodOptional<z.ZodString>;
|
|
1320
1330
|
sendLoginLinkUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1504,6 +1514,7 @@ export declare const OptionsSchema: z.ZodObject<{
|
|
|
1504
1514
|
/** The subset tunable from the page URL query. */
|
|
1505
1515
|
export declare const UrlConfigSchema: z.ZodObject<{
|
|
1506
1516
|
enableExperimentalMaplibre: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1517
|
+
enableExperimentalOutdoorMarkers: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1507
1518
|
intents: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1508
1519
|
name: z.ZodLiteral<"selectBooth">;
|
|
1509
1520
|
args: z.ZodTuple<[z.ZodString], null>;
|
|
@@ -1662,6 +1673,7 @@ export declare const UrlConfigSchema: z.ZodObject<{
|
|
|
1662
1673
|
*/
|
|
1663
1674
|
export declare const LocalStorageConfigSchema: z.ZodObject<{
|
|
1664
1675
|
enableExperimentalMaplibre: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1676
|
+
enableExperimentalOutdoorMarkers: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1665
1677
|
debugMode: z.ZodOptional<z.ZodBoolean>;
|
|
1666
1678
|
debugPattern: z.ZodOptional<z.ZodString>;
|
|
1667
1679
|
showDebugButton: z.ZodOptional<z.ZodBoolean>;
|
package/dist/lib/config.js
CHANGED
|
@@ -275,6 +275,7 @@ export const OptionsSchema = ConfigSchema.partial()
|
|
|
275
275
|
export const UrlConfigSchema = ConfigSchema.partial()
|
|
276
276
|
.pick({
|
|
277
277
|
enableExperimentalMaplibre: true,
|
|
278
|
+
enableExperimentalOutdoorMarkers: true,
|
|
278
279
|
intents: true,
|
|
279
280
|
consent: true,
|
|
280
281
|
// the former one-shot presentation params — the query keys keep their
|
|
@@ -319,6 +320,7 @@ export const UrlConfigSchema = ConfigSchema.partial()
|
|
|
319
320
|
export const LocalStorageConfigSchema = ConfigSchema.partial()
|
|
320
321
|
.pick({
|
|
321
322
|
enableExperimentalMaplibre: true,
|
|
323
|
+
enableExperimentalOutdoorMarkers: true,
|
|
322
324
|
debugMode: true,
|
|
323
325
|
debugPattern: true,
|
|
324
326
|
showDebugButton: true,
|
package/dist/lib/flags.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as z from 'zod';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const FlagsSchema: z.ZodObject<{
|
|
8
8
|
enableExperimentalMaplibre: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
enableExperimentalOutdoorMarkers: z.ZodOptional<z.ZodBoolean>;
|
|
9
10
|
customSetKiosk: z.ZodOptional<z.ZodString>;
|
|
10
11
|
hideBoothBadges: z.ZodOptional<z.ZodBoolean>;
|
|
11
12
|
busRoutes: z.ZodOptional<z.ZodBoolean>;
|
package/dist/lib/flags.js
CHANGED
|
@@ -7,6 +7,17 @@ import * as z from 'zod';
|
|
|
7
7
|
export const FlagsSchema = z.looseObject({
|
|
8
8
|
/** Enable experimental MapLibre GL JS support. */
|
|
9
9
|
enableExperimentalMaplibre: z.boolean().optional(),
|
|
10
|
+
/**
|
|
11
|
+
* Enable experimental outdoor PoI markers: booths on an `Outdoor*` layer
|
|
12
|
+
* leave the renderer scene and draw as fixed-size native MapLibre markers
|
|
13
|
+
* with clustering.
|
|
14
|
+
*
|
|
15
|
+
* Unset or `false` disables the feature outright — Outdoor layers then
|
|
16
|
+
* render like any other layer, exactly as they did before it existed. Unlike
|
|
17
|
+
* `enableExperimentalMaplibre` this is NOT tri-state: no drawing field opts a
|
|
18
|
+
* plan in, so there is nothing for `undefined` to defer to.
|
|
19
|
+
*/
|
|
20
|
+
enableExperimentalOutdoorMarkers: z.boolean().optional(),
|
|
10
21
|
/** Custom `setkiosk` phrase. */
|
|
11
22
|
customSetKiosk: z.string().optional(),
|
|
12
23
|
/** Hide booth number badges. */
|
package/dist/lib/poi-types.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const RawPoiTypeSchema: z.ZodObject<{
|
|
|
7
7
|
id: z.ZodNumber;
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
parentId: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
10
11
|
}, z.core.$loose>;
|
|
11
12
|
export type RawPoiType = z.infer<typeof RawPoiTypeSchema>;
|
|
12
13
|
//# sourceMappingURL=poi-types.d.ts.map
|
package/dist/lib/poi-types.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/schema",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.19.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.19.0"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"dist",
|