@expofp/schema 3.13.2 → 3.13.4
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.d.ts +0 -6
- package/dist/lib/flags.d.ts +0 -10
- package/dist/lib/fp-svg.d.ts +0 -41
- package/dist/lib/wayfinding.d.ts +0 -12
- package/package.json +3 -3
package/dist/lib/config.d.ts
CHANGED
|
@@ -1444,12 +1444,6 @@ export declare const ManifestSchema: z.ZodObject<{
|
|
|
1444
1444
|
mapPitch: z.ZodOptional<z.ZodNumber>;
|
|
1445
1445
|
}, z.core.$strip>>;
|
|
1446
1446
|
allowConsent: z.ZodOptional<z.ZodBoolean>;
|
|
1447
|
-
/**
|
|
1448
|
-
* The legacy expo-data directory (`data.js`, `fp.svg.js`, …). Consumed by
|
|
1449
|
-
* `loadConfig` to fetch the document and derive the payload refs — it is NOT
|
|
1450
|
-
* carried on the effective config; nothing outside the config package ever
|
|
1451
|
-
* sees it.
|
|
1452
|
-
*/
|
|
1453
1447
|
legacyDataUrlBase: z.ZodOptional<z.ZodString>;
|
|
1454
1448
|
}, z.core.$loose>;
|
|
1455
1449
|
/**
|
package/dist/lib/flags.d.ts
CHANGED
|
@@ -5,19 +5,9 @@ import * as z from 'zod';
|
|
|
5
5
|
* form still parses through `DataJsonSchema`.
|
|
6
6
|
*/
|
|
7
7
|
export declare const FlagsSchema: z.ZodObject<{
|
|
8
|
-
/** Enable experimental MapLibre GL JS support. */
|
|
9
8
|
enableExperimentalMaplibre: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
-
/** Custom `setkiosk` phrase. */
|
|
11
9
|
customSetKiosk: z.ZodOptional<z.ZodString>;
|
|
12
|
-
/** Hide booth number badges. */
|
|
13
10
|
hideBoothBadges: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
-
/**
|
|
15
|
-
* Enable live bus/transport routing on the floor plan.
|
|
16
|
-
*
|
|
17
|
-
* Disabled by default: most plans have no transit routes, and probing for
|
|
18
|
-
* them issues an extra HTTP request on every load. Set to `true` only for
|
|
19
|
-
* plans that actually provide bus routes.
|
|
20
|
-
*/
|
|
21
11
|
busRoutes: z.ZodOptional<z.ZodBoolean>;
|
|
22
12
|
}, z.core.$loose>;
|
|
23
13
|
//# sourceMappingURL=flags.d.ts.map
|
package/dist/lib/fp-svg.d.ts
CHANGED
|
@@ -20,10 +20,6 @@ export declare const FpSettingsSchema: z.ZodObject<{
|
|
|
20
20
|
boothBorderWidth: z.ZodOptional<z.ZodNumber>;
|
|
21
21
|
heatmapColors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
22
|
maxZoom: z.ZodOptional<z.ZodNumber>;
|
|
23
|
-
/**
|
|
24
|
-
* Converter format version (`"5.0"`); gates v5+ runtime features. Distinct
|
|
25
|
-
* from the numeric `__fpVersion`.
|
|
26
|
-
*/
|
|
27
23
|
fpVer: z.ZodOptional<z.ZodString>;
|
|
28
24
|
}, z.core.$loose>;
|
|
29
25
|
/** `__fpStat`: converter output stats. `dataSize` is in bytes. */
|
|
@@ -47,7 +43,6 @@ export declare const FpRectSchema: z.ZodObject<{
|
|
|
47
43
|
y1: z.ZodNumber;
|
|
48
44
|
x2: z.ZodNumber;
|
|
49
45
|
y2: z.ZodNumber;
|
|
50
|
-
/** Rotation — present on layer viewboxes. */
|
|
51
46
|
angle: z.ZodOptional<z.ZodNumber>;
|
|
52
47
|
}, z.core.$loose>;
|
|
53
48
|
/**
|
|
@@ -66,7 +61,6 @@ export declare const FpLayerSchema: z.ZodObject<{
|
|
|
66
61
|
y1: z.ZodNumber;
|
|
67
62
|
x2: z.ZodNumber;
|
|
68
63
|
y2: z.ZodNumber;
|
|
69
|
-
/** Rotation — present on layer viewboxes. */
|
|
70
64
|
angle: z.ZodOptional<z.ZodNumber>;
|
|
71
65
|
}, z.core.$loose>>>;
|
|
72
66
|
viewbox: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -74,7 +68,6 @@ export declare const FpLayerSchema: z.ZodObject<{
|
|
|
74
68
|
y1: z.ZodNumber;
|
|
75
69
|
x2: z.ZodNumber;
|
|
76
70
|
y2: z.ZodNumber;
|
|
77
|
-
/** Rotation — present on layer viewboxes. */
|
|
78
71
|
angle: z.ZodOptional<z.ZodNumber>;
|
|
79
72
|
}, z.core.$loose>>>;
|
|
80
73
|
floorIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -85,15 +78,7 @@ export declare const FpLayerSchema: z.ZodObject<{
|
|
|
85
78
|
* (`components/Map/drawing/config/config-load-layer.ts`).
|
|
86
79
|
*/
|
|
87
80
|
export declare const FpSvgLayerJsSchema: z.ZodObject<{
|
|
88
|
-
/**
|
|
89
|
-
* The layer's SVG document (newer layer files emit it only as the
|
|
90
|
-
* `__fp<layerName>` alias; the loader folds it back here — see the module
|
|
91
|
-
* doc). Tagged `svgAsset`: its `<image>` hrefs are `svg-images/…` asset
|
|
92
|
-
* paths — made absolute when the payload resolves, localized when an
|
|
93
|
-
* offline copy is serialized.
|
|
94
|
-
*/
|
|
95
81
|
__fp: z.ZodOptional<z.ZodString>;
|
|
96
|
-
/** Triangulated meshes by `data-index` (newer files: folded from the alias). */
|
|
97
82
|
__fpPaths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
98
83
|
positions: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodOptional<z.ZodNumber>], null>>;
|
|
99
84
|
cells: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
@@ -144,16 +129,11 @@ export declare const FpSvgLayerJsSchema: z.ZodObject<{
|
|
|
144
129
|
boothBorderWidth: z.ZodOptional<z.ZodNumber>;
|
|
145
130
|
heatmapColors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
146
131
|
maxZoom: z.ZodOptional<z.ZodNumber>;
|
|
147
|
-
/**
|
|
148
|
-
* Converter format version (`"5.0"`); gates v5+ runtime features. Distinct
|
|
149
|
-
* from the numeric `__fpVersion`.
|
|
150
|
-
*/
|
|
151
132
|
fpVer: z.ZodOptional<z.ZodString>;
|
|
152
133
|
}, z.core.$loose>>;
|
|
153
134
|
__fpStat: z.ZodOptional<z.ZodObject<{
|
|
154
135
|
dataSize: z.ZodOptional<z.ZodNumber>;
|
|
155
136
|
}, z.core.$loose>>;
|
|
156
|
-
/** Numeric data-format version (e.g. `6`). Distinct from `fpVer`. */
|
|
157
137
|
__fpVersion: z.ZodOptional<z.ZodNumber>;
|
|
158
138
|
}, z.core.$loose>;
|
|
159
139
|
/**
|
|
@@ -170,15 +150,7 @@ export declare const FpSvgLayerJsRefSchema: z.ZodObject<{
|
|
|
170
150
|
* metadata.
|
|
171
151
|
*/
|
|
172
152
|
export declare const FpSvgJsSchema: z.ZodObject<{
|
|
173
|
-
/**
|
|
174
|
-
* The layer's SVG document (newer layer files emit it only as the
|
|
175
|
-
* `__fp<layerName>` alias; the loader folds it back here — see the module
|
|
176
|
-
* doc). Tagged `svgAsset`: its `<image>` hrefs are `svg-images/…` asset
|
|
177
|
-
* paths — made absolute when the payload resolves, localized when an
|
|
178
|
-
* offline copy is serialized.
|
|
179
|
-
*/
|
|
180
153
|
__fp: z.ZodOptional<z.ZodString>;
|
|
181
|
-
/** Triangulated meshes by `data-index` (newer files: folded from the alias). */
|
|
182
154
|
__fpPaths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
183
155
|
positions: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodOptional<z.ZodNumber>], null>>;
|
|
184
156
|
cells: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
@@ -229,18 +201,12 @@ export declare const FpSvgJsSchema: z.ZodObject<{
|
|
|
229
201
|
boothBorderWidth: z.ZodOptional<z.ZodNumber>;
|
|
230
202
|
heatmapColors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
231
203
|
maxZoom: z.ZodOptional<z.ZodNumber>;
|
|
232
|
-
/**
|
|
233
|
-
* Converter format version (`"5.0"`); gates v5+ runtime features. Distinct
|
|
234
|
-
* from the numeric `__fpVersion`.
|
|
235
|
-
*/
|
|
236
204
|
fpVer: z.ZodOptional<z.ZodString>;
|
|
237
205
|
}, z.core.$loose>>;
|
|
238
206
|
__fpStat: z.ZodOptional<z.ZodObject<{
|
|
239
207
|
dataSize: z.ZodOptional<z.ZodNumber>;
|
|
240
208
|
}, z.core.$loose>>;
|
|
241
|
-
/** Numeric data-format version (e.g. `6`). Distinct from `fpVer`. */
|
|
242
209
|
__fpVersion: z.ZodOptional<z.ZodNumber>;
|
|
243
|
-
/** Plan is still generating server-side: stub payload, poll again later. */
|
|
244
210
|
__fpPending: z.ZodOptional<z.ZodBoolean>;
|
|
245
211
|
__viewbox: z.ZodOptional<z.ZodObject<{
|
|
246
212
|
x: z.ZodNumber;
|
|
@@ -259,7 +225,6 @@ export declare const FpSvgJsSchema: z.ZodObject<{
|
|
|
259
225
|
y1: z.ZodNumber;
|
|
260
226
|
x2: z.ZodNumber;
|
|
261
227
|
y2: z.ZodNumber;
|
|
262
|
-
/** Rotation — present on layer viewboxes. */
|
|
263
228
|
angle: z.ZodOptional<z.ZodNumber>;
|
|
264
229
|
}, z.core.$loose>>>;
|
|
265
230
|
viewbox: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -267,17 +232,11 @@ export declare const FpSvgJsSchema: z.ZodObject<{
|
|
|
267
232
|
y1: z.ZodNumber;
|
|
268
233
|
x2: z.ZodNumber;
|
|
269
234
|
y2: z.ZodNumber;
|
|
270
|
-
/** Rotation — present on layer viewboxes. */
|
|
271
235
|
angle: z.ZodOptional<z.ZodNumber>;
|
|
272
236
|
}, z.core.$loose>>>;
|
|
273
237
|
floorIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
274
238
|
}, z.core.$loose>>>;
|
|
275
|
-
/**
|
|
276
|
-
* Numeric `LayersMode` enum (0 Default/single-floor, 1 Separated, 2
|
|
277
|
-
* Radio/multi-floor, 3 CheckBox — `store/LayerStore.ts`).
|
|
278
|
-
*/
|
|
279
239
|
__fpLayersMode: z.ZodOptional<z.ZodNumber>;
|
|
280
|
-
/** `name` of the layer whose drawing this file carries. */
|
|
281
240
|
__fpDefaultLayer: z.ZodOptional<z.ZodString>;
|
|
282
241
|
}, z.core.$loose>;
|
|
283
242
|
/**
|
package/dist/lib/wayfinding.d.ts
CHANGED
|
@@ -30,13 +30,9 @@ export declare const WfLineSchema: z.ZodObject<{
|
|
|
30
30
|
layer: z.ZodOptional<z.ZodString>;
|
|
31
31
|
}, z.core.$loose>;
|
|
32
32
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
33
|
-
/** A virtual (floor-transition) link rather than a physical path segment. */
|
|
34
33
|
virtual: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
-
/** Excluded when routing accessible-only. */
|
|
36
34
|
unaccessible: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
-
/** One-way edge: no reverse link in oriented mode. */
|
|
38
35
|
unidirection: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
-
/** Custom cost for virtual links ("Virtual length" in the designer). */
|
|
40
36
|
virtualLength: z.ZodOptional<z.ZodNumber>;
|
|
41
37
|
}, z.core.$loose>;
|
|
42
38
|
/** `__wfData`: the wayfinding graph. */
|
|
@@ -53,13 +49,9 @@ export declare const WfDataSchema: z.ZodObject<{
|
|
|
53
49
|
layer: z.ZodOptional<z.ZodString>;
|
|
54
50
|
}, z.core.$loose>;
|
|
55
51
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
56
|
-
/** A virtual (floor-transition) link rather than a physical path segment. */
|
|
57
52
|
virtual: z.ZodOptional<z.ZodBoolean>;
|
|
58
|
-
/** Excluded when routing accessible-only. */
|
|
59
53
|
unaccessible: z.ZodOptional<z.ZodBoolean>;
|
|
60
|
-
/** One-way edge: no reverse link in oriented mode. */
|
|
61
54
|
unidirection: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
-
/** Custom cost for virtual links ("Virtual length" in the designer). */
|
|
63
55
|
virtualLength: z.ZodOptional<z.ZodNumber>;
|
|
64
56
|
}, z.core.$loose>>>;
|
|
65
57
|
lineEnds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -84,13 +76,9 @@ export declare const WfDataJsSchema: z.ZodObject<{
|
|
|
84
76
|
layer: z.ZodOptional<z.ZodString>;
|
|
85
77
|
}, z.core.$loose>;
|
|
86
78
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
87
|
-
/** A virtual (floor-transition) link rather than a physical path segment. */
|
|
88
79
|
virtual: z.ZodOptional<z.ZodBoolean>;
|
|
89
|
-
/** Excluded when routing accessible-only. */
|
|
90
80
|
unaccessible: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
-
/** One-way edge: no reverse link in oriented mode. */
|
|
92
81
|
unidirection: z.ZodOptional<z.ZodBoolean>;
|
|
93
|
-
/** Custom cost for virtual links ("Virtual length" in the designer). */
|
|
94
82
|
virtualLength: z.ZodOptional<z.ZodNumber>;
|
|
95
83
|
}, z.core.$loose>>>;
|
|
96
84
|
lineEnds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/schema",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "ExpoFP SDK internal: expo data schemas and types",
|
|
6
6
|
"homepage": "https://developer.expofp.com/",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"tslib": "^2.3.0",
|
|
25
|
-
"zod": "4.3
|
|
25
|
+
"zod": "4.4.3"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@expofp/utils": "3.13.
|
|
28
|
+
"@expofp/utils": "3.13.4"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"dist",
|