@tileflow/core 0.1.0-alpha.13 → 0.1.0-alpha.16
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/README.md +109 -8
- package/dist/index.d.ts +917 -22
- package/dist/index.js +2134 -923
- package/package.json +6 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,174 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
+
declare const tileflowCaptureSceneSchemaVersion: 1;
|
|
4
|
+
declare const tileflowCaptureSceneLimits: Readonly<{
|
|
5
|
+
applicationPathLength: 2048;
|
|
6
|
+
boundsPadding: {
|
|
7
|
+
maximum: number;
|
|
8
|
+
minimum: number;
|
|
9
|
+
};
|
|
10
|
+
captureIdLength: 64;
|
|
11
|
+
maximumPhysicalPixels: 16777216;
|
|
12
|
+
pitch: {
|
|
13
|
+
maximum: number;
|
|
14
|
+
minimum: number;
|
|
15
|
+
};
|
|
16
|
+
selectorLength: 256;
|
|
17
|
+
viewport: {
|
|
18
|
+
maximum: number;
|
|
19
|
+
minimum: number;
|
|
20
|
+
};
|
|
21
|
+
zoom: {
|
|
22
|
+
maximum: number;
|
|
23
|
+
minimum: number;
|
|
24
|
+
};
|
|
25
|
+
}>;
|
|
26
|
+
declare const tileflowCaptureCenterCameraSchema: z.ZodObject<{
|
|
27
|
+
type: z.ZodLiteral<"center">;
|
|
28
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
29
|
+
zoom: z.ZodNumber;
|
|
30
|
+
bearing: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
pitch: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
declare const tileflowCaptureBoundsCameraSchema: z.ZodObject<{
|
|
34
|
+
type: z.ZodLiteral<"bounds">;
|
|
35
|
+
bounds: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
36
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
37
|
+
bearing: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
pitch: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
}, z.core.$strict>;
|
|
40
|
+
declare const tileflowCaptureCameraSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
41
|
+
type: z.ZodLiteral<"center">;
|
|
42
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
43
|
+
zoom: z.ZodNumber;
|
|
44
|
+
bearing: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
pitch: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
47
|
+
type: z.ZodLiteral<"bounds">;
|
|
48
|
+
bounds: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
49
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
bearing: z.ZodOptional<z.ZodNumber>;
|
|
51
|
+
pitch: z.ZodOptional<z.ZodNumber>;
|
|
52
|
+
}, z.core.$strict>], "type">;
|
|
53
|
+
declare const tileflowCaptureViewportSchema: z.ZodObject<{
|
|
54
|
+
width: z.ZodNumber;
|
|
55
|
+
height: z.ZodNumber;
|
|
56
|
+
dpr: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
declare const tileflowCaptureIdSchema: z.ZodString;
|
|
59
|
+
declare const tileflowCaptureSceneNameSchema: z.ZodString;
|
|
60
|
+
declare const tileflowCaptureMapTargetSchema: z.ZodObject<{
|
|
61
|
+
kind: z.ZodLiteral<"map">;
|
|
62
|
+
}, z.core.$strict>;
|
|
63
|
+
declare const tileflowCaptureApplicationTargetSchema: z.ZodObject<{
|
|
64
|
+
kind: z.ZodLiteral<"application">;
|
|
65
|
+
path: z.ZodString;
|
|
66
|
+
captureId: z.ZodOptional<z.ZodString>;
|
|
67
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
68
|
+
frame: z.ZodOptional<z.ZodEnum<{
|
|
69
|
+
map: "map";
|
|
70
|
+
viewport: "viewport";
|
|
71
|
+
}>>;
|
|
72
|
+
}, z.core.$strict>;
|
|
73
|
+
declare const tileflowCaptureTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
74
|
+
kind: z.ZodLiteral<"map">;
|
|
75
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
76
|
+
kind: z.ZodLiteral<"application">;
|
|
77
|
+
path: z.ZodString;
|
|
78
|
+
captureId: z.ZodOptional<z.ZodString>;
|
|
79
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
80
|
+
frame: z.ZodOptional<z.ZodEnum<{
|
|
81
|
+
map: "map";
|
|
82
|
+
viewport: "viewport";
|
|
83
|
+
}>>;
|
|
84
|
+
}, z.core.$strict>], "kind">;
|
|
85
|
+
declare const tileflowCaptureSceneSchema: z.ZodObject<{
|
|
86
|
+
map: z.ZodString;
|
|
87
|
+
camera: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
88
|
+
type: z.ZodLiteral<"center">;
|
|
89
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
90
|
+
zoom: z.ZodNumber;
|
|
91
|
+
bearing: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
pitch: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
94
|
+
type: z.ZodLiteral<"bounds">;
|
|
95
|
+
bounds: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
96
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
bearing: z.ZodOptional<z.ZodNumber>;
|
|
98
|
+
pitch: z.ZodOptional<z.ZodNumber>;
|
|
99
|
+
}, z.core.$strict>], "type">;
|
|
100
|
+
viewport: z.ZodObject<{
|
|
101
|
+
width: z.ZodNumber;
|
|
102
|
+
height: z.ZodNumber;
|
|
103
|
+
dpr: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
104
|
+
}, z.core.$strict>;
|
|
105
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
106
|
+
kind: z.ZodLiteral<"map">;
|
|
107
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
108
|
+
kind: z.ZodLiteral<"application">;
|
|
109
|
+
path: z.ZodString;
|
|
110
|
+
captureId: z.ZodOptional<z.ZodString>;
|
|
111
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
112
|
+
frame: z.ZodOptional<z.ZodEnum<{
|
|
113
|
+
map: "map";
|
|
114
|
+
viewport: "viewport";
|
|
115
|
+
}>>;
|
|
116
|
+
}, z.core.$strict>], "kind">>;
|
|
117
|
+
}, z.core.$strict>;
|
|
118
|
+
type TileflowCaptureCenterCamera = z.infer<typeof tileflowCaptureCenterCameraSchema>;
|
|
119
|
+
type TileflowCaptureBoundsCamera = z.infer<typeof tileflowCaptureBoundsCameraSchema>;
|
|
120
|
+
type TileflowCaptureCamera = z.infer<typeof tileflowCaptureCameraSchema>;
|
|
121
|
+
type TileflowCaptureViewport = z.infer<typeof tileflowCaptureViewportSchema>;
|
|
122
|
+
type TileflowCaptureMapTarget = z.infer<typeof tileflowCaptureMapTargetSchema>;
|
|
123
|
+
type TileflowCaptureApplicationTarget = z.infer<typeof tileflowCaptureApplicationTargetSchema>;
|
|
124
|
+
type TileflowCaptureTarget = z.infer<typeof tileflowCaptureTargetSchema>;
|
|
125
|
+
type TileflowCaptureScene = z.infer<typeof tileflowCaptureSceneSchema>;
|
|
126
|
+
type NormalizedTileflowCaptureScene = {
|
|
127
|
+
map: string;
|
|
128
|
+
camera: {
|
|
129
|
+
type: 'center';
|
|
130
|
+
center: [number, number];
|
|
131
|
+
zoom: number;
|
|
132
|
+
bearing: number;
|
|
133
|
+
pitch: number;
|
|
134
|
+
} | {
|
|
135
|
+
type: 'bounds';
|
|
136
|
+
bounds: [number, number, number, number];
|
|
137
|
+
padding: number;
|
|
138
|
+
bearing: number;
|
|
139
|
+
pitch: number;
|
|
140
|
+
};
|
|
141
|
+
viewport: {
|
|
142
|
+
width: number;
|
|
143
|
+
height: number;
|
|
144
|
+
dpr: 1 | 2;
|
|
145
|
+
};
|
|
146
|
+
target: {
|
|
147
|
+
kind: 'map';
|
|
148
|
+
} | {
|
|
149
|
+
kind: 'application';
|
|
150
|
+
path: string;
|
|
151
|
+
captureId?: string;
|
|
152
|
+
selector?: string;
|
|
153
|
+
frame: 'map' | 'viewport';
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
declare function normalizeTileflowCaptureScene(input: TileflowCaptureScene): NormalizedTileflowCaptureScene;
|
|
157
|
+
declare function normalizeTileflowCaptureId(value: string | undefined): string | undefined;
|
|
158
|
+
|
|
3
159
|
type TileflowDensity = 'clean' | 'balanced' | 'dense';
|
|
4
160
|
type TileflowRoads = 'hidden' | 'soft' | 'standard' | 'detailed';
|
|
5
161
|
type TileflowLabels = 'none' | 'essential' | 'balanced' | 'full';
|
|
6
162
|
type TileflowPoi = 'none' | 'minimal' | 'balanced' | 'full';
|
|
7
163
|
type TileflowLabelDetail = 'none' | 'major' | 'all';
|
|
164
|
+
type TileflowRoadLabelDetail = TileflowRoadDetail;
|
|
8
165
|
type TileflowLabelLanguage = 'auto' | 'local' | 'en' | (string & {});
|
|
9
166
|
type TileflowPoiCategory = 'food' | 'coffee' | 'culture' | 'transit' | 'shopping' | 'lodging' | 'health' | 'education' | 'services' | (string & {});
|
|
10
167
|
type TileflowPoiIcons = boolean | 'essential' | 'full';
|
|
11
168
|
type TileflowPoiLabels = 'none' | 'minimal' | 'balanced' | 'full';
|
|
169
|
+
type TileflowPoiDensity = 'sparse' | 'balanced' | 'dense';
|
|
170
|
+
type TileflowPoiColorMode = 'uniform' | 'category';
|
|
171
|
+
type TileflowPoiClassMapping = Record<string, readonly string[]>;
|
|
12
172
|
type TileflowTheme = 'standard' | 'light' | 'dark' | 'minimal' | 'osm-bright-2';
|
|
13
173
|
type TileflowBuildings = 'hidden' | 'flat' | '3d';
|
|
14
174
|
type TileflowTerrainMode = 'none' | 'hillshade' | '3d';
|
|
@@ -101,8 +261,18 @@ type TileflowHydroColorConfig = {
|
|
|
101
261
|
type TileflowBuildingColorConfig = {
|
|
102
262
|
extrusion?: TileflowColor;
|
|
103
263
|
fill?: TileflowColor;
|
|
264
|
+
highRise?: TileflowColor;
|
|
265
|
+
highRiseOutline?: TileflowColor;
|
|
266
|
+
lowRise?: TileflowColor;
|
|
267
|
+
lowRiseOutline?: TileflowColor;
|
|
104
268
|
outline?: TileflowColor;
|
|
105
269
|
};
|
|
270
|
+
type TileflowBuildingStyleConfig = {
|
|
271
|
+
fillOpacity?: number;
|
|
272
|
+
heightThreshold?: number;
|
|
273
|
+
outlineOpacity?: number;
|
|
274
|
+
outlineWidth?: number;
|
|
275
|
+
};
|
|
106
276
|
type TileflowBoundaryColorConfig = {
|
|
107
277
|
admin?: TileflowColor;
|
|
108
278
|
disputed?: TileflowColor;
|
|
@@ -129,11 +299,26 @@ type TileflowColors = {
|
|
|
129
299
|
nature: string;
|
|
130
300
|
};
|
|
131
301
|
type TileflowFontWeight = 'regular' | 'medium' | 'semibold' | 'bold';
|
|
132
|
-
|
|
302
|
+
declare const tileflowHostedNotoSansWeights: readonly ["regular", "bold"];
|
|
303
|
+
type TileflowHostedNotoSansWeight = (typeof tileflowHostedNotoSansWeights)[number];
|
|
304
|
+
type TileflowTypographyStyle = {
|
|
133
305
|
font?: string;
|
|
134
306
|
fontFamily?: string;
|
|
135
307
|
weight?: TileflowFontWeight;
|
|
136
308
|
};
|
|
309
|
+
type TileflowTypographyDomain = 'places' | 'roads' | 'water' | 'poi';
|
|
310
|
+
type TileflowTypography = TileflowTypographyStyle & {
|
|
311
|
+
places?: TileflowTypographyStyle;
|
|
312
|
+
roads?: TileflowTypographyStyle;
|
|
313
|
+
water?: TileflowTypographyStyle;
|
|
314
|
+
poi?: TileflowTypographyStyle;
|
|
315
|
+
};
|
|
316
|
+
type ResolvedTileflowTypography = Required<TileflowTypographyStyle> & {
|
|
317
|
+
places: Required<TileflowTypographyStyle>;
|
|
318
|
+
roads: Required<TileflowTypographyStyle>;
|
|
319
|
+
water: Required<TileflowTypographyStyle>;
|
|
320
|
+
poi: Required<TileflowTypographyStyle>;
|
|
321
|
+
};
|
|
137
322
|
type TileflowFonts = {
|
|
138
323
|
body?: string;
|
|
139
324
|
labels?: string;
|
|
@@ -148,6 +333,7 @@ type TileflowThemeConfig = {
|
|
|
148
333
|
typography?: TileflowTypography;
|
|
149
334
|
};
|
|
150
335
|
type TileflowSourceLayers = {
|
|
336
|
+
landcover?: string;
|
|
151
337
|
landuse?: string;
|
|
152
338
|
park?: string;
|
|
153
339
|
water?: string;
|
|
@@ -166,6 +352,7 @@ type TileflowTiles = {
|
|
|
166
352
|
url?: string;
|
|
167
353
|
attribution?: string;
|
|
168
354
|
sourceLayers?: TileflowSourceLayers;
|
|
355
|
+
version?: string;
|
|
169
356
|
};
|
|
170
357
|
type TileflowTerrainConfig = {
|
|
171
358
|
attribution?: string;
|
|
@@ -191,10 +378,12 @@ type TileflowOsmBasemapConfig = {
|
|
|
191
378
|
sprite?: string;
|
|
192
379
|
tileset?: string;
|
|
193
380
|
url?: string;
|
|
381
|
+
version?: string;
|
|
194
382
|
};
|
|
195
383
|
type TileflowBasemapConfig = TileflowOsmBasemapConfig;
|
|
196
384
|
type TileflowOsmBasemapOptions = Omit<TileflowOsmBasemapConfig, 'type'>;
|
|
197
385
|
type TileflowRoadDetail = 'none' | 'highways' | 'major' | 'streets' | 'all';
|
|
386
|
+
type TileflowRoadClass = 'motorway' | 'trunk' | 'primary' | 'secondary' | 'tertiary' | 'minor' | 'service' | 'track' | 'path';
|
|
198
387
|
type TileflowRoadHierarchy = 'subtle' | 'clear' | 'strong';
|
|
199
388
|
type TileflowRoadWeight = 'thin' | 'regular' | 'bold';
|
|
200
389
|
type TileflowRoadOutline = 'none' | 'subtle' | 'strong';
|
|
@@ -208,24 +397,35 @@ type TileflowRoadsModuleConfig = {
|
|
|
208
397
|
detail?: TileflowRoadDetail;
|
|
209
398
|
extras?: TileflowRoadExtras;
|
|
210
399
|
hierarchy?: TileflowRoadHierarchy;
|
|
400
|
+
oneWayMarkers?: boolean;
|
|
211
401
|
outline?: TileflowRoadOutline;
|
|
212
402
|
weight?: TileflowRoadWeight;
|
|
403
|
+
widthScale?: Partial<Record<TileflowRoadClass, number>>;
|
|
213
404
|
};
|
|
214
405
|
type TileflowRoadsModuleOptions = Omit<TileflowRoadsModuleConfig, 'type'>;
|
|
215
406
|
type TileflowLabelsModuleConfig = {
|
|
216
407
|
type: 'labels';
|
|
217
408
|
language?: TileflowLabelLanguage;
|
|
218
409
|
places?: TileflowLabelDetail;
|
|
219
|
-
|
|
410
|
+
roadClasses?: readonly TileflowRoadClass[];
|
|
411
|
+
roads?: TileflowRoadLabelDetail;
|
|
220
412
|
water?: TileflowLabelDetail;
|
|
221
413
|
};
|
|
222
414
|
type TileflowLabelsModuleOptions = Omit<TileflowLabelsModuleConfig, 'type'>;
|
|
223
415
|
type TileflowPoiModuleConfig = {
|
|
224
416
|
type: 'poi';
|
|
225
417
|
categories?: readonly TileflowPoiCategory[];
|
|
418
|
+
classMapping?: TileflowPoiClassMapping;
|
|
419
|
+
color?: TileflowPoiColorMode;
|
|
420
|
+
density?: TileflowPoiDensity;
|
|
226
421
|
icons?: TileflowPoiIcons;
|
|
227
422
|
labels?: TileflowPoiLabels;
|
|
228
423
|
minZoom?: number;
|
|
424
|
+
placement?: {
|
|
425
|
+
coupleIconAndLabel?: boolean;
|
|
426
|
+
iconPadding?: number;
|
|
427
|
+
textPadding?: number;
|
|
428
|
+
};
|
|
229
429
|
preset?: TileflowPoi;
|
|
230
430
|
};
|
|
231
431
|
type TileflowPoiModuleOptions = Omit<TileflowPoiModuleConfig, 'type'>;
|
|
@@ -274,6 +474,7 @@ type TileflowConfig = {
|
|
|
274
474
|
labels?: TileflowLabels;
|
|
275
475
|
poi?: TileflowPoi;
|
|
276
476
|
buildings?: TileflowBuildings;
|
|
477
|
+
buildingStyle?: TileflowBuildingStyleConfig;
|
|
277
478
|
terrain?: TileflowTerrain;
|
|
278
479
|
renderer?: TileflowRenderer;
|
|
279
480
|
glyphs?: string;
|
|
@@ -295,10 +496,12 @@ type TileflowTilesetConfig = {
|
|
|
295
496
|
name?: string;
|
|
296
497
|
attribution?: string;
|
|
297
498
|
sourceLayers?: TileflowSourceLayers;
|
|
499
|
+
version?: string;
|
|
298
500
|
};
|
|
299
501
|
type TileflowProjectThemes = Record<TileflowThemeName, TileflowThemeConfig>;
|
|
300
502
|
type TileflowProjectConfig = {
|
|
301
503
|
icons?: TileflowProjectIconSets;
|
|
504
|
+
scenes?: Record<string, TileflowCaptureScene>;
|
|
302
505
|
themes?: TileflowProjectThemes;
|
|
303
506
|
tilesets?: Record<string, TileflowTilesetConfig>;
|
|
304
507
|
maps: Record<string, TileflowMapConfig>;
|
|
@@ -369,6 +572,10 @@ declare const tileflowThemeSchema: z.ZodObject<{
|
|
|
369
572
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
370
573
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
371
574
|
fill: z.ZodOptional<z.ZodString>;
|
|
575
|
+
highRise: z.ZodOptional<z.ZodString>;
|
|
576
|
+
highRiseOutline: z.ZodOptional<z.ZodString>;
|
|
577
|
+
lowRise: z.ZodOptional<z.ZodString>;
|
|
578
|
+
lowRiseOutline: z.ZodOptional<z.ZodString>;
|
|
372
579
|
outline: z.ZodOptional<z.ZodString>;
|
|
373
580
|
}, z.core.$strict>>;
|
|
374
581
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -380,12 +587,12 @@ declare const tileflowThemeSchema: z.ZodObject<{
|
|
|
380
587
|
labels: z.ZodOptional<z.ZodObject<{
|
|
381
588
|
water: z.ZodOptional<z.ZodString>;
|
|
382
589
|
road: z.ZodOptional<z.ZodString>;
|
|
590
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
383
591
|
primary: z.ZodOptional<z.ZodString>;
|
|
384
592
|
country: z.ZodOptional<z.ZodString>;
|
|
385
593
|
halo: z.ZodOptional<z.ZodString>;
|
|
386
594
|
muted: z.ZodOptional<z.ZodString>;
|
|
387
595
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
388
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
389
596
|
settlement: z.ZodOptional<z.ZodString>;
|
|
390
597
|
}, z.core.$strict>>;
|
|
391
598
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -462,6 +669,10 @@ declare const tileflowThemeSchema: z.ZodObject<{
|
|
|
462
669
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
463
670
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
464
671
|
fill: z.ZodOptional<z.ZodString>;
|
|
672
|
+
highRise: z.ZodOptional<z.ZodString>;
|
|
673
|
+
highRiseOutline: z.ZodOptional<z.ZodString>;
|
|
674
|
+
lowRise: z.ZodOptional<z.ZodString>;
|
|
675
|
+
lowRiseOutline: z.ZodOptional<z.ZodString>;
|
|
465
676
|
outline: z.ZodOptional<z.ZodString>;
|
|
466
677
|
}, z.core.$strict>>;
|
|
467
678
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -473,12 +684,12 @@ declare const tileflowThemeSchema: z.ZodObject<{
|
|
|
473
684
|
labels: z.ZodOptional<z.ZodObject<{
|
|
474
685
|
water: z.ZodOptional<z.ZodString>;
|
|
475
686
|
road: z.ZodOptional<z.ZodString>;
|
|
687
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
476
688
|
primary: z.ZodOptional<z.ZodString>;
|
|
477
689
|
country: z.ZodOptional<z.ZodString>;
|
|
478
690
|
halo: z.ZodOptional<z.ZodString>;
|
|
479
691
|
muted: z.ZodOptional<z.ZodString>;
|
|
480
692
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
481
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
482
693
|
settlement: z.ZodOptional<z.ZodString>;
|
|
483
694
|
}, z.core.$strict>>;
|
|
484
695
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -533,6 +744,46 @@ declare const tileflowThemeSchema: z.ZodObject<{
|
|
|
533
744
|
semibold: "semibold";
|
|
534
745
|
bold: "bold";
|
|
535
746
|
}>>;
|
|
747
|
+
places: z.ZodOptional<z.ZodObject<{
|
|
748
|
+
font: z.ZodOptional<z.ZodString>;
|
|
749
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
750
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
751
|
+
regular: "regular";
|
|
752
|
+
medium: "medium";
|
|
753
|
+
semibold: "semibold";
|
|
754
|
+
bold: "bold";
|
|
755
|
+
}>>;
|
|
756
|
+
}, z.core.$strict>>;
|
|
757
|
+
poi: z.ZodOptional<z.ZodObject<{
|
|
758
|
+
font: z.ZodOptional<z.ZodString>;
|
|
759
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
760
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
761
|
+
regular: "regular";
|
|
762
|
+
medium: "medium";
|
|
763
|
+
semibold: "semibold";
|
|
764
|
+
bold: "bold";
|
|
765
|
+
}>>;
|
|
766
|
+
}, z.core.$strict>>;
|
|
767
|
+
roads: z.ZodOptional<z.ZodObject<{
|
|
768
|
+
font: z.ZodOptional<z.ZodString>;
|
|
769
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
770
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
771
|
+
regular: "regular";
|
|
772
|
+
medium: "medium";
|
|
773
|
+
semibold: "semibold";
|
|
774
|
+
bold: "bold";
|
|
775
|
+
}>>;
|
|
776
|
+
}, z.core.$strict>>;
|
|
777
|
+
water: z.ZodOptional<z.ZodObject<{
|
|
778
|
+
font: z.ZodOptional<z.ZodString>;
|
|
779
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
780
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
781
|
+
regular: "regular";
|
|
782
|
+
medium: "medium";
|
|
783
|
+
semibold: "semibold";
|
|
784
|
+
bold: "bold";
|
|
785
|
+
}>>;
|
|
786
|
+
}, z.core.$strict>>;
|
|
536
787
|
}, z.core.$strict>>;
|
|
537
788
|
}, z.core.$strict>;
|
|
538
789
|
declare const tileflowMapSchema: z.ZodObject<{
|
|
@@ -542,6 +793,7 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
542
793
|
glyphs: z.ZodOptional<z.ZodString>;
|
|
543
794
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
544
795
|
sourceLayers: z.ZodOptional<z.ZodObject<{
|
|
796
|
+
landcover: z.ZodOptional<z.ZodString>;
|
|
545
797
|
landuse: z.ZodOptional<z.ZodString>;
|
|
546
798
|
park: z.ZodOptional<z.ZodString>;
|
|
547
799
|
water: z.ZodOptional<z.ZodString>;
|
|
@@ -557,6 +809,7 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
557
809
|
sprite: z.ZodOptional<z.ZodString>;
|
|
558
810
|
tileset: z.ZodOptional<z.ZodString>;
|
|
559
811
|
url: z.ZodOptional<z.ZodURL>;
|
|
812
|
+
version: z.ZodOptional<z.ZodString>;
|
|
560
813
|
}, z.core.$strict>>;
|
|
561
814
|
name: z.ZodOptional<z.ZodString>;
|
|
562
815
|
tileset: z.ZodOptional<z.ZodString>;
|
|
@@ -587,6 +840,10 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
587
840
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
588
841
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
589
842
|
fill: z.ZodOptional<z.ZodString>;
|
|
843
|
+
highRise: z.ZodOptional<z.ZodString>;
|
|
844
|
+
highRiseOutline: z.ZodOptional<z.ZodString>;
|
|
845
|
+
lowRise: z.ZodOptional<z.ZodString>;
|
|
846
|
+
lowRiseOutline: z.ZodOptional<z.ZodString>;
|
|
590
847
|
outline: z.ZodOptional<z.ZodString>;
|
|
591
848
|
}, z.core.$strict>>;
|
|
592
849
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -598,12 +855,12 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
598
855
|
labels: z.ZodOptional<z.ZodObject<{
|
|
599
856
|
water: z.ZodOptional<z.ZodString>;
|
|
600
857
|
road: z.ZodOptional<z.ZodString>;
|
|
858
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
601
859
|
primary: z.ZodOptional<z.ZodString>;
|
|
602
860
|
country: z.ZodOptional<z.ZodString>;
|
|
603
861
|
halo: z.ZodOptional<z.ZodString>;
|
|
604
862
|
muted: z.ZodOptional<z.ZodString>;
|
|
605
863
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
606
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
607
864
|
settlement: z.ZodOptional<z.ZodString>;
|
|
608
865
|
}, z.core.$strict>>;
|
|
609
866
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -680,6 +937,10 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
680
937
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
681
938
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
682
939
|
fill: z.ZodOptional<z.ZodString>;
|
|
940
|
+
highRise: z.ZodOptional<z.ZodString>;
|
|
941
|
+
highRiseOutline: z.ZodOptional<z.ZodString>;
|
|
942
|
+
lowRise: z.ZodOptional<z.ZodString>;
|
|
943
|
+
lowRiseOutline: z.ZodOptional<z.ZodString>;
|
|
683
944
|
outline: z.ZodOptional<z.ZodString>;
|
|
684
945
|
}, z.core.$strict>>;
|
|
685
946
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -691,12 +952,12 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
691
952
|
labels: z.ZodOptional<z.ZodObject<{
|
|
692
953
|
water: z.ZodOptional<z.ZodString>;
|
|
693
954
|
road: z.ZodOptional<z.ZodString>;
|
|
955
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
694
956
|
primary: z.ZodOptional<z.ZodString>;
|
|
695
957
|
country: z.ZodOptional<z.ZodString>;
|
|
696
958
|
halo: z.ZodOptional<z.ZodString>;
|
|
697
959
|
muted: z.ZodOptional<z.ZodString>;
|
|
698
960
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
699
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
700
961
|
settlement: z.ZodOptional<z.ZodString>;
|
|
701
962
|
}, z.core.$strict>>;
|
|
702
963
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -751,6 +1012,46 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
751
1012
|
semibold: "semibold";
|
|
752
1013
|
bold: "bold";
|
|
753
1014
|
}>>;
|
|
1015
|
+
places: z.ZodOptional<z.ZodObject<{
|
|
1016
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1017
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1018
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1019
|
+
regular: "regular";
|
|
1020
|
+
medium: "medium";
|
|
1021
|
+
semibold: "semibold";
|
|
1022
|
+
bold: "bold";
|
|
1023
|
+
}>>;
|
|
1024
|
+
}, z.core.$strict>>;
|
|
1025
|
+
poi: z.ZodOptional<z.ZodObject<{
|
|
1026
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1027
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1028
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1029
|
+
regular: "regular";
|
|
1030
|
+
medium: "medium";
|
|
1031
|
+
semibold: "semibold";
|
|
1032
|
+
bold: "bold";
|
|
1033
|
+
}>>;
|
|
1034
|
+
}, z.core.$strict>>;
|
|
1035
|
+
roads: z.ZodOptional<z.ZodObject<{
|
|
1036
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1037
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1038
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1039
|
+
regular: "regular";
|
|
1040
|
+
medium: "medium";
|
|
1041
|
+
semibold: "semibold";
|
|
1042
|
+
bold: "bold";
|
|
1043
|
+
}>>;
|
|
1044
|
+
}, z.core.$strict>>;
|
|
1045
|
+
water: z.ZodOptional<z.ZodObject<{
|
|
1046
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1047
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1048
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1049
|
+
regular: "regular";
|
|
1050
|
+
medium: "medium";
|
|
1051
|
+
semibold: "semibold";
|
|
1052
|
+
bold: "bold";
|
|
1053
|
+
}>>;
|
|
1054
|
+
}, z.core.$strict>>;
|
|
754
1055
|
}, z.core.$strict>>;
|
|
755
1056
|
}, z.core.$strict>]>>;
|
|
756
1057
|
modules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -761,9 +1062,22 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
761
1062
|
major: "major";
|
|
762
1063
|
all: "all";
|
|
763
1064
|
}>>;
|
|
1065
|
+
roadClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1066
|
+
minor: "minor";
|
|
1067
|
+
motorway: "motorway";
|
|
1068
|
+
path: "path";
|
|
1069
|
+
primary: "primary";
|
|
1070
|
+
secondary: "secondary";
|
|
1071
|
+
trunk: "trunk";
|
|
1072
|
+
tertiary: "tertiary";
|
|
1073
|
+
service: "service";
|
|
1074
|
+
track: "track";
|
|
1075
|
+
}>>>;
|
|
764
1076
|
roads: z.ZodOptional<z.ZodEnum<{
|
|
765
1077
|
none: "none";
|
|
766
1078
|
major: "major";
|
|
1079
|
+
highways: "highways";
|
|
1080
|
+
streets: "streets";
|
|
767
1081
|
all: "all";
|
|
768
1082
|
}>>;
|
|
769
1083
|
water: z.ZodOptional<z.ZodEnum<{
|
|
@@ -774,6 +1088,16 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
774
1088
|
}, z.core.$strict>, z.ZodObject<{
|
|
775
1089
|
type: z.ZodLiteral<"poi">;
|
|
776
1090
|
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1091
|
+
classMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1092
|
+
color: z.ZodOptional<z.ZodEnum<{
|
|
1093
|
+
uniform: "uniform";
|
|
1094
|
+
category: "category";
|
|
1095
|
+
}>>;
|
|
1096
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
1097
|
+
balanced: "balanced";
|
|
1098
|
+
dense: "dense";
|
|
1099
|
+
sparse: "sparse";
|
|
1100
|
+
}>>;
|
|
777
1101
|
icons: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
778
1102
|
essential: "essential";
|
|
779
1103
|
full: "full";
|
|
@@ -785,6 +1109,11 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
785
1109
|
minimal: "minimal";
|
|
786
1110
|
}>>;
|
|
787
1111
|
minZoom: z.ZodOptional<z.ZodNumber>;
|
|
1112
|
+
placement: z.ZodOptional<z.ZodObject<{
|
|
1113
|
+
coupleIconAndLabel: z.ZodOptional<z.ZodBoolean>;
|
|
1114
|
+
iconPadding: z.ZodOptional<z.ZodNumber>;
|
|
1115
|
+
textPadding: z.ZodOptional<z.ZodNumber>;
|
|
1116
|
+
}, z.core.$strict>>;
|
|
788
1117
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
789
1118
|
balanced: "balanced";
|
|
790
1119
|
none: "none";
|
|
@@ -810,6 +1139,7 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
810
1139
|
clear: "clear";
|
|
811
1140
|
strong: "strong";
|
|
812
1141
|
}>>;
|
|
1142
|
+
oneWayMarkers: z.ZodOptional<z.ZodBoolean>;
|
|
813
1143
|
outline: z.ZodOptional<z.ZodEnum<{
|
|
814
1144
|
none: "none";
|
|
815
1145
|
subtle: "subtle";
|
|
@@ -820,6 +1150,17 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
820
1150
|
bold: "bold";
|
|
821
1151
|
thin: "thin";
|
|
822
1152
|
}>>;
|
|
1153
|
+
widthScale: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1154
|
+
minor: "minor";
|
|
1155
|
+
motorway: "motorway";
|
|
1156
|
+
path: "path";
|
|
1157
|
+
primary: "primary";
|
|
1158
|
+
secondary: "secondary";
|
|
1159
|
+
trunk: "trunk";
|
|
1160
|
+
tertiary: "tertiary";
|
|
1161
|
+
service: "service";
|
|
1162
|
+
track: "track";
|
|
1163
|
+
}> & z.core.$partial, z.ZodNumber>>;
|
|
823
1164
|
}, z.core.$strict>, z.ZodObject<{
|
|
824
1165
|
type: z.ZodLiteral<"styleOverride">;
|
|
825
1166
|
layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -874,6 +1215,10 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
874
1215
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
875
1216
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
876
1217
|
fill: z.ZodOptional<z.ZodString>;
|
|
1218
|
+
highRise: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
highRiseOutline: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
lowRise: z.ZodOptional<z.ZodString>;
|
|
1221
|
+
lowRiseOutline: z.ZodOptional<z.ZodString>;
|
|
877
1222
|
outline: z.ZodOptional<z.ZodString>;
|
|
878
1223
|
}, z.core.$strict>>;
|
|
879
1224
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -885,12 +1230,12 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
885
1230
|
labels: z.ZodOptional<z.ZodObject<{
|
|
886
1231
|
water: z.ZodOptional<z.ZodString>;
|
|
887
1232
|
road: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
888
1234
|
primary: z.ZodOptional<z.ZodString>;
|
|
889
1235
|
country: z.ZodOptional<z.ZodString>;
|
|
890
1236
|
halo: z.ZodOptional<z.ZodString>;
|
|
891
1237
|
muted: z.ZodOptional<z.ZodString>;
|
|
892
1238
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
893
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
894
1239
|
settlement: z.ZodOptional<z.ZodString>;
|
|
895
1240
|
}, z.core.$strict>>;
|
|
896
1241
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -945,6 +1290,46 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
945
1290
|
semibold: "semibold";
|
|
946
1291
|
bold: "bold";
|
|
947
1292
|
}>>;
|
|
1293
|
+
places: z.ZodOptional<z.ZodObject<{
|
|
1294
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1296
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1297
|
+
regular: "regular";
|
|
1298
|
+
medium: "medium";
|
|
1299
|
+
semibold: "semibold";
|
|
1300
|
+
bold: "bold";
|
|
1301
|
+
}>>;
|
|
1302
|
+
}, z.core.$strict>>;
|
|
1303
|
+
poi: z.ZodOptional<z.ZodObject<{
|
|
1304
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1306
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1307
|
+
regular: "regular";
|
|
1308
|
+
medium: "medium";
|
|
1309
|
+
semibold: "semibold";
|
|
1310
|
+
bold: "bold";
|
|
1311
|
+
}>>;
|
|
1312
|
+
}, z.core.$strict>>;
|
|
1313
|
+
roads: z.ZodOptional<z.ZodObject<{
|
|
1314
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1315
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1317
|
+
regular: "regular";
|
|
1318
|
+
medium: "medium";
|
|
1319
|
+
semibold: "semibold";
|
|
1320
|
+
bold: "bold";
|
|
1321
|
+
}>>;
|
|
1322
|
+
}, z.core.$strict>>;
|
|
1323
|
+
water: z.ZodOptional<z.ZodObject<{
|
|
1324
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1325
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1326
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1327
|
+
regular: "regular";
|
|
1328
|
+
medium: "medium";
|
|
1329
|
+
semibold: "semibold";
|
|
1330
|
+
bold: "bold";
|
|
1331
|
+
}>>;
|
|
1332
|
+
}, z.core.$strict>>;
|
|
948
1333
|
}, z.core.$strict>>;
|
|
949
1334
|
density: z.ZodOptional<z.ZodEnum<{
|
|
950
1335
|
clean: "clean";
|
|
@@ -974,6 +1359,12 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
974
1359
|
flat: "flat";
|
|
975
1360
|
"3d": "3d";
|
|
976
1361
|
}>>;
|
|
1362
|
+
buildingStyle: z.ZodOptional<z.ZodObject<{
|
|
1363
|
+
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
1364
|
+
heightThreshold: z.ZodOptional<z.ZodNumber>;
|
|
1365
|
+
outlineOpacity: z.ZodOptional<z.ZodNumber>;
|
|
1366
|
+
outlineWidth: z.ZodOptional<z.ZodNumber>;
|
|
1367
|
+
}, z.core.$strict>>;
|
|
977
1368
|
terrain: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
978
1369
|
none: "none";
|
|
979
1370
|
"3d": "3d";
|
|
@@ -1008,6 +1399,7 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
1008
1399
|
url: z.ZodOptional<z.ZodURL>;
|
|
1009
1400
|
attribution: z.ZodOptional<z.ZodString>;
|
|
1010
1401
|
sourceLayers: z.ZodOptional<z.ZodObject<{
|
|
1402
|
+
landcover: z.ZodOptional<z.ZodString>;
|
|
1011
1403
|
landuse: z.ZodOptional<z.ZodString>;
|
|
1012
1404
|
park: z.ZodOptional<z.ZodString>;
|
|
1013
1405
|
water: z.ZodOptional<z.ZodString>;
|
|
@@ -1020,6 +1412,7 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
1020
1412
|
place: z.ZodOptional<z.ZodString>;
|
|
1021
1413
|
poi: z.ZodOptional<z.ZodString>;
|
|
1022
1414
|
}, z.core.$strict>>;
|
|
1415
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1023
1416
|
}, z.core.$strict>>;
|
|
1024
1417
|
view: z.ZodOptional<z.ZodObject<{
|
|
1025
1418
|
bearing: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1028,13 +1421,14 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
1028
1421
|
}, z.core.$strict>>;
|
|
1029
1422
|
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1030
1423
|
}, z.core.$strict>;
|
|
1031
|
-
declare const configSchema: z.ZodObject<{
|
|
1424
|
+
declare const configSchema: z.ZodPipe<z.ZodUnknown, z.ZodObject<{
|
|
1032
1425
|
basemap: z.ZodOptional<z.ZodObject<{
|
|
1033
1426
|
type: z.ZodLiteral<"osm">;
|
|
1034
1427
|
attribution: z.ZodOptional<z.ZodString>;
|
|
1035
1428
|
glyphs: z.ZodOptional<z.ZodString>;
|
|
1036
1429
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
1037
1430
|
sourceLayers: z.ZodOptional<z.ZodObject<{
|
|
1431
|
+
landcover: z.ZodOptional<z.ZodString>;
|
|
1038
1432
|
landuse: z.ZodOptional<z.ZodString>;
|
|
1039
1433
|
park: z.ZodOptional<z.ZodString>;
|
|
1040
1434
|
water: z.ZodOptional<z.ZodString>;
|
|
@@ -1050,6 +1444,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
1050
1444
|
sprite: z.ZodOptional<z.ZodString>;
|
|
1051
1445
|
tileset: z.ZodOptional<z.ZodString>;
|
|
1052
1446
|
url: z.ZodOptional<z.ZodURL>;
|
|
1447
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1053
1448
|
}, z.core.$strict>>;
|
|
1054
1449
|
name: z.ZodOptional<z.ZodString>;
|
|
1055
1450
|
tileset: z.ZodOptional<z.ZodString>;
|
|
@@ -1080,6 +1475,10 @@ declare const configSchema: z.ZodObject<{
|
|
|
1080
1475
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
1081
1476
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
1082
1477
|
fill: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
highRise: z.ZodOptional<z.ZodString>;
|
|
1479
|
+
highRiseOutline: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
lowRise: z.ZodOptional<z.ZodString>;
|
|
1481
|
+
lowRiseOutline: z.ZodOptional<z.ZodString>;
|
|
1083
1482
|
outline: z.ZodOptional<z.ZodString>;
|
|
1084
1483
|
}, z.core.$strict>>;
|
|
1085
1484
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -1091,12 +1490,12 @@ declare const configSchema: z.ZodObject<{
|
|
|
1091
1490
|
labels: z.ZodOptional<z.ZodObject<{
|
|
1092
1491
|
water: z.ZodOptional<z.ZodString>;
|
|
1093
1492
|
road: z.ZodOptional<z.ZodString>;
|
|
1493
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
1094
1494
|
primary: z.ZodOptional<z.ZodString>;
|
|
1095
1495
|
country: z.ZodOptional<z.ZodString>;
|
|
1096
1496
|
halo: z.ZodOptional<z.ZodString>;
|
|
1097
1497
|
muted: z.ZodOptional<z.ZodString>;
|
|
1098
1498
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
1099
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
1100
1499
|
settlement: z.ZodOptional<z.ZodString>;
|
|
1101
1500
|
}, z.core.$strict>>;
|
|
1102
1501
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -1173,6 +1572,10 @@ declare const configSchema: z.ZodObject<{
|
|
|
1173
1572
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
1174
1573
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
1175
1574
|
fill: z.ZodOptional<z.ZodString>;
|
|
1575
|
+
highRise: z.ZodOptional<z.ZodString>;
|
|
1576
|
+
highRiseOutline: z.ZodOptional<z.ZodString>;
|
|
1577
|
+
lowRise: z.ZodOptional<z.ZodString>;
|
|
1578
|
+
lowRiseOutline: z.ZodOptional<z.ZodString>;
|
|
1176
1579
|
outline: z.ZodOptional<z.ZodString>;
|
|
1177
1580
|
}, z.core.$strict>>;
|
|
1178
1581
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -1184,12 +1587,12 @@ declare const configSchema: z.ZodObject<{
|
|
|
1184
1587
|
labels: z.ZodOptional<z.ZodObject<{
|
|
1185
1588
|
water: z.ZodOptional<z.ZodString>;
|
|
1186
1589
|
road: z.ZodOptional<z.ZodString>;
|
|
1590
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
1187
1591
|
primary: z.ZodOptional<z.ZodString>;
|
|
1188
1592
|
country: z.ZodOptional<z.ZodString>;
|
|
1189
1593
|
halo: z.ZodOptional<z.ZodString>;
|
|
1190
1594
|
muted: z.ZodOptional<z.ZodString>;
|
|
1191
1595
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
1192
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
1193
1596
|
settlement: z.ZodOptional<z.ZodString>;
|
|
1194
1597
|
}, z.core.$strict>>;
|
|
1195
1598
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -1244,6 +1647,46 @@ declare const configSchema: z.ZodObject<{
|
|
|
1244
1647
|
semibold: "semibold";
|
|
1245
1648
|
bold: "bold";
|
|
1246
1649
|
}>>;
|
|
1650
|
+
places: z.ZodOptional<z.ZodObject<{
|
|
1651
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1652
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1653
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1654
|
+
regular: "regular";
|
|
1655
|
+
medium: "medium";
|
|
1656
|
+
semibold: "semibold";
|
|
1657
|
+
bold: "bold";
|
|
1658
|
+
}>>;
|
|
1659
|
+
}, z.core.$strict>>;
|
|
1660
|
+
poi: z.ZodOptional<z.ZodObject<{
|
|
1661
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1662
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1663
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1664
|
+
regular: "regular";
|
|
1665
|
+
medium: "medium";
|
|
1666
|
+
semibold: "semibold";
|
|
1667
|
+
bold: "bold";
|
|
1668
|
+
}>>;
|
|
1669
|
+
}, z.core.$strict>>;
|
|
1670
|
+
roads: z.ZodOptional<z.ZodObject<{
|
|
1671
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1672
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1673
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1674
|
+
regular: "regular";
|
|
1675
|
+
medium: "medium";
|
|
1676
|
+
semibold: "semibold";
|
|
1677
|
+
bold: "bold";
|
|
1678
|
+
}>>;
|
|
1679
|
+
}, z.core.$strict>>;
|
|
1680
|
+
water: z.ZodOptional<z.ZodObject<{
|
|
1681
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1682
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1683
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1684
|
+
regular: "regular";
|
|
1685
|
+
medium: "medium";
|
|
1686
|
+
semibold: "semibold";
|
|
1687
|
+
bold: "bold";
|
|
1688
|
+
}>>;
|
|
1689
|
+
}, z.core.$strict>>;
|
|
1247
1690
|
}, z.core.$strict>>;
|
|
1248
1691
|
}, z.core.$strict>]>>;
|
|
1249
1692
|
modules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1254,9 +1697,22 @@ declare const configSchema: z.ZodObject<{
|
|
|
1254
1697
|
major: "major";
|
|
1255
1698
|
all: "all";
|
|
1256
1699
|
}>>;
|
|
1700
|
+
roadClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1701
|
+
minor: "minor";
|
|
1702
|
+
motorway: "motorway";
|
|
1703
|
+
path: "path";
|
|
1704
|
+
primary: "primary";
|
|
1705
|
+
secondary: "secondary";
|
|
1706
|
+
trunk: "trunk";
|
|
1707
|
+
tertiary: "tertiary";
|
|
1708
|
+
service: "service";
|
|
1709
|
+
track: "track";
|
|
1710
|
+
}>>>;
|
|
1257
1711
|
roads: z.ZodOptional<z.ZodEnum<{
|
|
1258
1712
|
none: "none";
|
|
1259
1713
|
major: "major";
|
|
1714
|
+
highways: "highways";
|
|
1715
|
+
streets: "streets";
|
|
1260
1716
|
all: "all";
|
|
1261
1717
|
}>>;
|
|
1262
1718
|
water: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1267,6 +1723,16 @@ declare const configSchema: z.ZodObject<{
|
|
|
1267
1723
|
}, z.core.$strict>, z.ZodObject<{
|
|
1268
1724
|
type: z.ZodLiteral<"poi">;
|
|
1269
1725
|
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1726
|
+
classMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1727
|
+
color: z.ZodOptional<z.ZodEnum<{
|
|
1728
|
+
uniform: "uniform";
|
|
1729
|
+
category: "category";
|
|
1730
|
+
}>>;
|
|
1731
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
1732
|
+
balanced: "balanced";
|
|
1733
|
+
dense: "dense";
|
|
1734
|
+
sparse: "sparse";
|
|
1735
|
+
}>>;
|
|
1270
1736
|
icons: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
1271
1737
|
essential: "essential";
|
|
1272
1738
|
full: "full";
|
|
@@ -1278,6 +1744,11 @@ declare const configSchema: z.ZodObject<{
|
|
|
1278
1744
|
minimal: "minimal";
|
|
1279
1745
|
}>>;
|
|
1280
1746
|
minZoom: z.ZodOptional<z.ZodNumber>;
|
|
1747
|
+
placement: z.ZodOptional<z.ZodObject<{
|
|
1748
|
+
coupleIconAndLabel: z.ZodOptional<z.ZodBoolean>;
|
|
1749
|
+
iconPadding: z.ZodOptional<z.ZodNumber>;
|
|
1750
|
+
textPadding: z.ZodOptional<z.ZodNumber>;
|
|
1751
|
+
}, z.core.$strict>>;
|
|
1281
1752
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
1282
1753
|
balanced: "balanced";
|
|
1283
1754
|
none: "none";
|
|
@@ -1303,6 +1774,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
1303
1774
|
clear: "clear";
|
|
1304
1775
|
strong: "strong";
|
|
1305
1776
|
}>>;
|
|
1777
|
+
oneWayMarkers: z.ZodOptional<z.ZodBoolean>;
|
|
1306
1778
|
outline: z.ZodOptional<z.ZodEnum<{
|
|
1307
1779
|
none: "none";
|
|
1308
1780
|
subtle: "subtle";
|
|
@@ -1313,6 +1785,17 @@ declare const configSchema: z.ZodObject<{
|
|
|
1313
1785
|
bold: "bold";
|
|
1314
1786
|
thin: "thin";
|
|
1315
1787
|
}>>;
|
|
1788
|
+
widthScale: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1789
|
+
minor: "minor";
|
|
1790
|
+
motorway: "motorway";
|
|
1791
|
+
path: "path";
|
|
1792
|
+
primary: "primary";
|
|
1793
|
+
secondary: "secondary";
|
|
1794
|
+
trunk: "trunk";
|
|
1795
|
+
tertiary: "tertiary";
|
|
1796
|
+
service: "service";
|
|
1797
|
+
track: "track";
|
|
1798
|
+
}> & z.core.$partial, z.ZodNumber>>;
|
|
1316
1799
|
}, z.core.$strict>, z.ZodObject<{
|
|
1317
1800
|
type: z.ZodLiteral<"styleOverride">;
|
|
1318
1801
|
layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -1367,6 +1850,10 @@ declare const configSchema: z.ZodObject<{
|
|
|
1367
1850
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
1368
1851
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
1369
1852
|
fill: z.ZodOptional<z.ZodString>;
|
|
1853
|
+
highRise: z.ZodOptional<z.ZodString>;
|
|
1854
|
+
highRiseOutline: z.ZodOptional<z.ZodString>;
|
|
1855
|
+
lowRise: z.ZodOptional<z.ZodString>;
|
|
1856
|
+
lowRiseOutline: z.ZodOptional<z.ZodString>;
|
|
1370
1857
|
outline: z.ZodOptional<z.ZodString>;
|
|
1371
1858
|
}, z.core.$strict>>;
|
|
1372
1859
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -1378,12 +1865,12 @@ declare const configSchema: z.ZodObject<{
|
|
|
1378
1865
|
labels: z.ZodOptional<z.ZodObject<{
|
|
1379
1866
|
water: z.ZodOptional<z.ZodString>;
|
|
1380
1867
|
road: z.ZodOptional<z.ZodString>;
|
|
1868
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
1381
1869
|
primary: z.ZodOptional<z.ZodString>;
|
|
1382
1870
|
country: z.ZodOptional<z.ZodString>;
|
|
1383
1871
|
halo: z.ZodOptional<z.ZodString>;
|
|
1384
1872
|
muted: z.ZodOptional<z.ZodString>;
|
|
1385
1873
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
1386
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
1387
1874
|
settlement: z.ZodOptional<z.ZodString>;
|
|
1388
1875
|
}, z.core.$strict>>;
|
|
1389
1876
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -1438,6 +1925,46 @@ declare const configSchema: z.ZodObject<{
|
|
|
1438
1925
|
semibold: "semibold";
|
|
1439
1926
|
bold: "bold";
|
|
1440
1927
|
}>>;
|
|
1928
|
+
places: z.ZodOptional<z.ZodObject<{
|
|
1929
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1930
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1931
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1932
|
+
regular: "regular";
|
|
1933
|
+
medium: "medium";
|
|
1934
|
+
semibold: "semibold";
|
|
1935
|
+
bold: "bold";
|
|
1936
|
+
}>>;
|
|
1937
|
+
}, z.core.$strict>>;
|
|
1938
|
+
poi: z.ZodOptional<z.ZodObject<{
|
|
1939
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1940
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1941
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1942
|
+
regular: "regular";
|
|
1943
|
+
medium: "medium";
|
|
1944
|
+
semibold: "semibold";
|
|
1945
|
+
bold: "bold";
|
|
1946
|
+
}>>;
|
|
1947
|
+
}, z.core.$strict>>;
|
|
1948
|
+
roads: z.ZodOptional<z.ZodObject<{
|
|
1949
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1950
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1951
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1952
|
+
regular: "regular";
|
|
1953
|
+
medium: "medium";
|
|
1954
|
+
semibold: "semibold";
|
|
1955
|
+
bold: "bold";
|
|
1956
|
+
}>>;
|
|
1957
|
+
}, z.core.$strict>>;
|
|
1958
|
+
water: z.ZodOptional<z.ZodObject<{
|
|
1959
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1960
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1961
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
1962
|
+
regular: "regular";
|
|
1963
|
+
medium: "medium";
|
|
1964
|
+
semibold: "semibold";
|
|
1965
|
+
bold: "bold";
|
|
1966
|
+
}>>;
|
|
1967
|
+
}, z.core.$strict>>;
|
|
1441
1968
|
}, z.core.$strict>>;
|
|
1442
1969
|
density: z.ZodOptional<z.ZodEnum<{
|
|
1443
1970
|
clean: "clean";
|
|
@@ -1467,6 +1994,12 @@ declare const configSchema: z.ZodObject<{
|
|
|
1467
1994
|
flat: "flat";
|
|
1468
1995
|
"3d": "3d";
|
|
1469
1996
|
}>>;
|
|
1997
|
+
buildingStyle: z.ZodOptional<z.ZodObject<{
|
|
1998
|
+
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
1999
|
+
heightThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2000
|
+
outlineOpacity: z.ZodOptional<z.ZodNumber>;
|
|
2001
|
+
outlineWidth: z.ZodOptional<z.ZodNumber>;
|
|
2002
|
+
}, z.core.$strict>>;
|
|
1470
2003
|
terrain: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1471
2004
|
none: "none";
|
|
1472
2005
|
"3d": "3d";
|
|
@@ -1501,6 +2034,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
1501
2034
|
url: z.ZodOptional<z.ZodURL>;
|
|
1502
2035
|
attribution: z.ZodOptional<z.ZodString>;
|
|
1503
2036
|
sourceLayers: z.ZodOptional<z.ZodObject<{
|
|
2037
|
+
landcover: z.ZodOptional<z.ZodString>;
|
|
1504
2038
|
landuse: z.ZodOptional<z.ZodString>;
|
|
1505
2039
|
park: z.ZodOptional<z.ZodString>;
|
|
1506
2040
|
water: z.ZodOptional<z.ZodString>;
|
|
@@ -1513,6 +2047,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
1513
2047
|
place: z.ZodOptional<z.ZodString>;
|
|
1514
2048
|
poi: z.ZodOptional<z.ZodString>;
|
|
1515
2049
|
}, z.core.$strict>>;
|
|
2050
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1516
2051
|
}, z.core.$strict>>;
|
|
1517
2052
|
view: z.ZodOptional<z.ZodObject<{
|
|
1518
2053
|
bearing: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1520,9 +2055,42 @@ declare const configSchema: z.ZodObject<{
|
|
|
1520
2055
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1521
2056
|
}, z.core.$strict>>;
|
|
1522
2057
|
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1523
|
-
}, z.core.$strict
|
|
1524
|
-
declare const tileflowProjectSchema: z.ZodObject<{
|
|
2058
|
+
}, z.core.$strict>>;
|
|
2059
|
+
declare const tileflowProjectSchema: z.ZodPipe<z.ZodUnknown, z.ZodObject<{
|
|
1525
2060
|
icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2061
|
+
scenes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2062
|
+
map: z.ZodString;
|
|
2063
|
+
camera: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2064
|
+
type: z.ZodLiteral<"center">;
|
|
2065
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
2066
|
+
zoom: z.ZodNumber;
|
|
2067
|
+
bearing: z.ZodOptional<z.ZodNumber>;
|
|
2068
|
+
pitch: z.ZodOptional<z.ZodNumber>;
|
|
2069
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2070
|
+
type: z.ZodLiteral<"bounds">;
|
|
2071
|
+
bounds: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
2072
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
2073
|
+
bearing: z.ZodOptional<z.ZodNumber>;
|
|
2074
|
+
pitch: z.ZodOptional<z.ZodNumber>;
|
|
2075
|
+
}, z.core.$strict>], "type">;
|
|
2076
|
+
viewport: z.ZodObject<{
|
|
2077
|
+
width: z.ZodNumber;
|
|
2078
|
+
height: z.ZodNumber;
|
|
2079
|
+
dpr: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
2080
|
+
}, z.core.$strict>;
|
|
2081
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2082
|
+
kind: z.ZodLiteral<"map">;
|
|
2083
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2084
|
+
kind: z.ZodLiteral<"application">;
|
|
2085
|
+
path: z.ZodString;
|
|
2086
|
+
captureId: z.ZodOptional<z.ZodString>;
|
|
2087
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
2088
|
+
frame: z.ZodOptional<z.ZodEnum<{
|
|
2089
|
+
map: "map";
|
|
2090
|
+
viewport: "viewport";
|
|
2091
|
+
}>>;
|
|
2092
|
+
}, z.core.$strict>], "kind">>;
|
|
2093
|
+
}, z.core.$strict>>>;
|
|
1526
2094
|
themes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1527
2095
|
colors: z.ZodOptional<z.ZodObject<{
|
|
1528
2096
|
accent: z.ZodOptional<z.ZodString>;
|
|
@@ -1550,6 +2118,10 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1550
2118
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
1551
2119
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
1552
2120
|
fill: z.ZodOptional<z.ZodString>;
|
|
2121
|
+
highRise: z.ZodOptional<z.ZodString>;
|
|
2122
|
+
highRiseOutline: z.ZodOptional<z.ZodString>;
|
|
2123
|
+
lowRise: z.ZodOptional<z.ZodString>;
|
|
2124
|
+
lowRiseOutline: z.ZodOptional<z.ZodString>;
|
|
1553
2125
|
outline: z.ZodOptional<z.ZodString>;
|
|
1554
2126
|
}, z.core.$strict>>;
|
|
1555
2127
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -1561,12 +2133,12 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1561
2133
|
labels: z.ZodOptional<z.ZodObject<{
|
|
1562
2134
|
water: z.ZodOptional<z.ZodString>;
|
|
1563
2135
|
road: z.ZodOptional<z.ZodString>;
|
|
2136
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
1564
2137
|
primary: z.ZodOptional<z.ZodString>;
|
|
1565
2138
|
country: z.ZodOptional<z.ZodString>;
|
|
1566
2139
|
halo: z.ZodOptional<z.ZodString>;
|
|
1567
2140
|
muted: z.ZodOptional<z.ZodString>;
|
|
1568
2141
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
1569
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
1570
2142
|
settlement: z.ZodOptional<z.ZodString>;
|
|
1571
2143
|
}, z.core.$strict>>;
|
|
1572
2144
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -1643,6 +2215,10 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1643
2215
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
1644
2216
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
1645
2217
|
fill: z.ZodOptional<z.ZodString>;
|
|
2218
|
+
highRise: z.ZodOptional<z.ZodString>;
|
|
2219
|
+
highRiseOutline: z.ZodOptional<z.ZodString>;
|
|
2220
|
+
lowRise: z.ZodOptional<z.ZodString>;
|
|
2221
|
+
lowRiseOutline: z.ZodOptional<z.ZodString>;
|
|
1646
2222
|
outline: z.ZodOptional<z.ZodString>;
|
|
1647
2223
|
}, z.core.$strict>>;
|
|
1648
2224
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -1654,12 +2230,12 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1654
2230
|
labels: z.ZodOptional<z.ZodObject<{
|
|
1655
2231
|
water: z.ZodOptional<z.ZodString>;
|
|
1656
2232
|
road: z.ZodOptional<z.ZodString>;
|
|
2233
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
1657
2234
|
primary: z.ZodOptional<z.ZodString>;
|
|
1658
2235
|
country: z.ZodOptional<z.ZodString>;
|
|
1659
2236
|
halo: z.ZodOptional<z.ZodString>;
|
|
1660
2237
|
muted: z.ZodOptional<z.ZodString>;
|
|
1661
2238
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
1662
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
1663
2239
|
settlement: z.ZodOptional<z.ZodString>;
|
|
1664
2240
|
}, z.core.$strict>>;
|
|
1665
2241
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -1714,6 +2290,46 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1714
2290
|
semibold: "semibold";
|
|
1715
2291
|
bold: "bold";
|
|
1716
2292
|
}>>;
|
|
2293
|
+
places: z.ZodOptional<z.ZodObject<{
|
|
2294
|
+
font: z.ZodOptional<z.ZodString>;
|
|
2295
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
2296
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
2297
|
+
regular: "regular";
|
|
2298
|
+
medium: "medium";
|
|
2299
|
+
semibold: "semibold";
|
|
2300
|
+
bold: "bold";
|
|
2301
|
+
}>>;
|
|
2302
|
+
}, z.core.$strict>>;
|
|
2303
|
+
poi: z.ZodOptional<z.ZodObject<{
|
|
2304
|
+
font: z.ZodOptional<z.ZodString>;
|
|
2305
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
2306
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
2307
|
+
regular: "regular";
|
|
2308
|
+
medium: "medium";
|
|
2309
|
+
semibold: "semibold";
|
|
2310
|
+
bold: "bold";
|
|
2311
|
+
}>>;
|
|
2312
|
+
}, z.core.$strict>>;
|
|
2313
|
+
roads: z.ZodOptional<z.ZodObject<{
|
|
2314
|
+
font: z.ZodOptional<z.ZodString>;
|
|
2315
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
2316
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
2317
|
+
regular: "regular";
|
|
2318
|
+
medium: "medium";
|
|
2319
|
+
semibold: "semibold";
|
|
2320
|
+
bold: "bold";
|
|
2321
|
+
}>>;
|
|
2322
|
+
}, z.core.$strict>>;
|
|
2323
|
+
water: z.ZodOptional<z.ZodObject<{
|
|
2324
|
+
font: z.ZodOptional<z.ZodString>;
|
|
2325
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
2326
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
2327
|
+
regular: "regular";
|
|
2328
|
+
medium: "medium";
|
|
2329
|
+
semibold: "semibold";
|
|
2330
|
+
bold: "bold";
|
|
2331
|
+
}>>;
|
|
2332
|
+
}, z.core.$strict>>;
|
|
1717
2333
|
}, z.core.$strict>>;
|
|
1718
2334
|
}, z.core.$strict>>>;
|
|
1719
2335
|
tilesets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -1721,6 +2337,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1721
2337
|
name: z.ZodOptional<z.ZodString>;
|
|
1722
2338
|
attribution: z.ZodOptional<z.ZodString>;
|
|
1723
2339
|
sourceLayers: z.ZodOptional<z.ZodObject<{
|
|
2340
|
+
landcover: z.ZodOptional<z.ZodString>;
|
|
1724
2341
|
landuse: z.ZodOptional<z.ZodString>;
|
|
1725
2342
|
park: z.ZodOptional<z.ZodString>;
|
|
1726
2343
|
water: z.ZodOptional<z.ZodString>;
|
|
@@ -1733,14 +2350,16 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1733
2350
|
place: z.ZodOptional<z.ZodString>;
|
|
1734
2351
|
poi: z.ZodOptional<z.ZodString>;
|
|
1735
2352
|
}, z.core.$strict>>;
|
|
2353
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1736
2354
|
}, z.core.$strict>>>;
|
|
1737
|
-
maps: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2355
|
+
maps: z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodUnknown, z.ZodObject<{
|
|
1738
2356
|
basemap: z.ZodOptional<z.ZodObject<{
|
|
1739
2357
|
type: z.ZodLiteral<"osm">;
|
|
1740
2358
|
attribution: z.ZodOptional<z.ZodString>;
|
|
1741
2359
|
glyphs: z.ZodOptional<z.ZodString>;
|
|
1742
2360
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
1743
2361
|
sourceLayers: z.ZodOptional<z.ZodObject<{
|
|
2362
|
+
landcover: z.ZodOptional<z.ZodString>;
|
|
1744
2363
|
landuse: z.ZodOptional<z.ZodString>;
|
|
1745
2364
|
park: z.ZodOptional<z.ZodString>;
|
|
1746
2365
|
water: z.ZodOptional<z.ZodString>;
|
|
@@ -1756,6 +2375,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1756
2375
|
sprite: z.ZodOptional<z.ZodString>;
|
|
1757
2376
|
tileset: z.ZodOptional<z.ZodString>;
|
|
1758
2377
|
url: z.ZodOptional<z.ZodURL>;
|
|
2378
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1759
2379
|
}, z.core.$strict>>;
|
|
1760
2380
|
name: z.ZodOptional<z.ZodString>;
|
|
1761
2381
|
tileset: z.ZodOptional<z.ZodString>;
|
|
@@ -1786,6 +2406,10 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1786
2406
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
1787
2407
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
1788
2408
|
fill: z.ZodOptional<z.ZodString>;
|
|
2409
|
+
highRise: z.ZodOptional<z.ZodString>;
|
|
2410
|
+
highRiseOutline: z.ZodOptional<z.ZodString>;
|
|
2411
|
+
lowRise: z.ZodOptional<z.ZodString>;
|
|
2412
|
+
lowRiseOutline: z.ZodOptional<z.ZodString>;
|
|
1789
2413
|
outline: z.ZodOptional<z.ZodString>;
|
|
1790
2414
|
}, z.core.$strict>>;
|
|
1791
2415
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -1797,12 +2421,12 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1797
2421
|
labels: z.ZodOptional<z.ZodObject<{
|
|
1798
2422
|
water: z.ZodOptional<z.ZodString>;
|
|
1799
2423
|
road: z.ZodOptional<z.ZodString>;
|
|
2424
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
1800
2425
|
primary: z.ZodOptional<z.ZodString>;
|
|
1801
2426
|
country: z.ZodOptional<z.ZodString>;
|
|
1802
2427
|
halo: z.ZodOptional<z.ZodString>;
|
|
1803
2428
|
muted: z.ZodOptional<z.ZodString>;
|
|
1804
2429
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
1805
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
1806
2430
|
settlement: z.ZodOptional<z.ZodString>;
|
|
1807
2431
|
}, z.core.$strict>>;
|
|
1808
2432
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -1879,6 +2503,10 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1879
2503
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
1880
2504
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
1881
2505
|
fill: z.ZodOptional<z.ZodString>;
|
|
2506
|
+
highRise: z.ZodOptional<z.ZodString>;
|
|
2507
|
+
highRiseOutline: z.ZodOptional<z.ZodString>;
|
|
2508
|
+
lowRise: z.ZodOptional<z.ZodString>;
|
|
2509
|
+
lowRiseOutline: z.ZodOptional<z.ZodString>;
|
|
1882
2510
|
outline: z.ZodOptional<z.ZodString>;
|
|
1883
2511
|
}, z.core.$strict>>;
|
|
1884
2512
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -1890,12 +2518,12 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1890
2518
|
labels: z.ZodOptional<z.ZodObject<{
|
|
1891
2519
|
water: z.ZodOptional<z.ZodString>;
|
|
1892
2520
|
road: z.ZodOptional<z.ZodString>;
|
|
2521
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
1893
2522
|
primary: z.ZodOptional<z.ZodString>;
|
|
1894
2523
|
country: z.ZodOptional<z.ZodString>;
|
|
1895
2524
|
halo: z.ZodOptional<z.ZodString>;
|
|
1896
2525
|
muted: z.ZodOptional<z.ZodString>;
|
|
1897
2526
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
1898
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
1899
2527
|
settlement: z.ZodOptional<z.ZodString>;
|
|
1900
2528
|
}, z.core.$strict>>;
|
|
1901
2529
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -1950,6 +2578,46 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1950
2578
|
semibold: "semibold";
|
|
1951
2579
|
bold: "bold";
|
|
1952
2580
|
}>>;
|
|
2581
|
+
places: z.ZodOptional<z.ZodObject<{
|
|
2582
|
+
font: z.ZodOptional<z.ZodString>;
|
|
2583
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
2584
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
2585
|
+
regular: "regular";
|
|
2586
|
+
medium: "medium";
|
|
2587
|
+
semibold: "semibold";
|
|
2588
|
+
bold: "bold";
|
|
2589
|
+
}>>;
|
|
2590
|
+
}, z.core.$strict>>;
|
|
2591
|
+
poi: z.ZodOptional<z.ZodObject<{
|
|
2592
|
+
font: z.ZodOptional<z.ZodString>;
|
|
2593
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
2594
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
2595
|
+
regular: "regular";
|
|
2596
|
+
medium: "medium";
|
|
2597
|
+
semibold: "semibold";
|
|
2598
|
+
bold: "bold";
|
|
2599
|
+
}>>;
|
|
2600
|
+
}, z.core.$strict>>;
|
|
2601
|
+
roads: z.ZodOptional<z.ZodObject<{
|
|
2602
|
+
font: z.ZodOptional<z.ZodString>;
|
|
2603
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
2604
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
2605
|
+
regular: "regular";
|
|
2606
|
+
medium: "medium";
|
|
2607
|
+
semibold: "semibold";
|
|
2608
|
+
bold: "bold";
|
|
2609
|
+
}>>;
|
|
2610
|
+
}, z.core.$strict>>;
|
|
2611
|
+
water: z.ZodOptional<z.ZodObject<{
|
|
2612
|
+
font: z.ZodOptional<z.ZodString>;
|
|
2613
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
2614
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
2615
|
+
regular: "regular";
|
|
2616
|
+
medium: "medium";
|
|
2617
|
+
semibold: "semibold";
|
|
2618
|
+
bold: "bold";
|
|
2619
|
+
}>>;
|
|
2620
|
+
}, z.core.$strict>>;
|
|
1953
2621
|
}, z.core.$strict>>;
|
|
1954
2622
|
}, z.core.$strict>]>>;
|
|
1955
2623
|
modules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1960,9 +2628,22 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1960
2628
|
major: "major";
|
|
1961
2629
|
all: "all";
|
|
1962
2630
|
}>>;
|
|
2631
|
+
roadClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2632
|
+
minor: "minor";
|
|
2633
|
+
motorway: "motorway";
|
|
2634
|
+
path: "path";
|
|
2635
|
+
primary: "primary";
|
|
2636
|
+
secondary: "secondary";
|
|
2637
|
+
trunk: "trunk";
|
|
2638
|
+
tertiary: "tertiary";
|
|
2639
|
+
service: "service";
|
|
2640
|
+
track: "track";
|
|
2641
|
+
}>>>;
|
|
1963
2642
|
roads: z.ZodOptional<z.ZodEnum<{
|
|
1964
2643
|
none: "none";
|
|
1965
2644
|
major: "major";
|
|
2645
|
+
highways: "highways";
|
|
2646
|
+
streets: "streets";
|
|
1966
2647
|
all: "all";
|
|
1967
2648
|
}>>;
|
|
1968
2649
|
water: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1973,6 +2654,16 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1973
2654
|
}, z.core.$strict>, z.ZodObject<{
|
|
1974
2655
|
type: z.ZodLiteral<"poi">;
|
|
1975
2656
|
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2657
|
+
classMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
2658
|
+
color: z.ZodOptional<z.ZodEnum<{
|
|
2659
|
+
uniform: "uniform";
|
|
2660
|
+
category: "category";
|
|
2661
|
+
}>>;
|
|
2662
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
2663
|
+
balanced: "balanced";
|
|
2664
|
+
dense: "dense";
|
|
2665
|
+
sparse: "sparse";
|
|
2666
|
+
}>>;
|
|
1976
2667
|
icons: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
1977
2668
|
essential: "essential";
|
|
1978
2669
|
full: "full";
|
|
@@ -1984,6 +2675,11 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1984
2675
|
minimal: "minimal";
|
|
1985
2676
|
}>>;
|
|
1986
2677
|
minZoom: z.ZodOptional<z.ZodNumber>;
|
|
2678
|
+
placement: z.ZodOptional<z.ZodObject<{
|
|
2679
|
+
coupleIconAndLabel: z.ZodOptional<z.ZodBoolean>;
|
|
2680
|
+
iconPadding: z.ZodOptional<z.ZodNumber>;
|
|
2681
|
+
textPadding: z.ZodOptional<z.ZodNumber>;
|
|
2682
|
+
}, z.core.$strict>>;
|
|
1987
2683
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
1988
2684
|
balanced: "balanced";
|
|
1989
2685
|
none: "none";
|
|
@@ -2009,6 +2705,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2009
2705
|
clear: "clear";
|
|
2010
2706
|
strong: "strong";
|
|
2011
2707
|
}>>;
|
|
2708
|
+
oneWayMarkers: z.ZodOptional<z.ZodBoolean>;
|
|
2012
2709
|
outline: z.ZodOptional<z.ZodEnum<{
|
|
2013
2710
|
none: "none";
|
|
2014
2711
|
subtle: "subtle";
|
|
@@ -2019,6 +2716,17 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2019
2716
|
bold: "bold";
|
|
2020
2717
|
thin: "thin";
|
|
2021
2718
|
}>>;
|
|
2719
|
+
widthScale: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2720
|
+
minor: "minor";
|
|
2721
|
+
motorway: "motorway";
|
|
2722
|
+
path: "path";
|
|
2723
|
+
primary: "primary";
|
|
2724
|
+
secondary: "secondary";
|
|
2725
|
+
trunk: "trunk";
|
|
2726
|
+
tertiary: "tertiary";
|
|
2727
|
+
service: "service";
|
|
2728
|
+
track: "track";
|
|
2729
|
+
}> & z.core.$partial, z.ZodNumber>>;
|
|
2022
2730
|
}, z.core.$strict>, z.ZodObject<{
|
|
2023
2731
|
type: z.ZodLiteral<"styleOverride">;
|
|
2024
2732
|
layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -2073,6 +2781,10 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2073
2781
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
2074
2782
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
2075
2783
|
fill: z.ZodOptional<z.ZodString>;
|
|
2784
|
+
highRise: z.ZodOptional<z.ZodString>;
|
|
2785
|
+
highRiseOutline: z.ZodOptional<z.ZodString>;
|
|
2786
|
+
lowRise: z.ZodOptional<z.ZodString>;
|
|
2787
|
+
lowRiseOutline: z.ZodOptional<z.ZodString>;
|
|
2076
2788
|
outline: z.ZodOptional<z.ZodString>;
|
|
2077
2789
|
}, z.core.$strict>>;
|
|
2078
2790
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -2084,12 +2796,12 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2084
2796
|
labels: z.ZodOptional<z.ZodObject<{
|
|
2085
2797
|
water: z.ZodOptional<z.ZodString>;
|
|
2086
2798
|
road: z.ZodOptional<z.ZodString>;
|
|
2799
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
2087
2800
|
primary: z.ZodOptional<z.ZodString>;
|
|
2088
2801
|
country: z.ZodOptional<z.ZodString>;
|
|
2089
2802
|
halo: z.ZodOptional<z.ZodString>;
|
|
2090
2803
|
muted: z.ZodOptional<z.ZodString>;
|
|
2091
2804
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
2092
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
2093
2805
|
settlement: z.ZodOptional<z.ZodString>;
|
|
2094
2806
|
}, z.core.$strict>>;
|
|
2095
2807
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -2144,6 +2856,46 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2144
2856
|
semibold: "semibold";
|
|
2145
2857
|
bold: "bold";
|
|
2146
2858
|
}>>;
|
|
2859
|
+
places: z.ZodOptional<z.ZodObject<{
|
|
2860
|
+
font: z.ZodOptional<z.ZodString>;
|
|
2861
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
2862
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
2863
|
+
regular: "regular";
|
|
2864
|
+
medium: "medium";
|
|
2865
|
+
semibold: "semibold";
|
|
2866
|
+
bold: "bold";
|
|
2867
|
+
}>>;
|
|
2868
|
+
}, z.core.$strict>>;
|
|
2869
|
+
poi: z.ZodOptional<z.ZodObject<{
|
|
2870
|
+
font: z.ZodOptional<z.ZodString>;
|
|
2871
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
2872
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
2873
|
+
regular: "regular";
|
|
2874
|
+
medium: "medium";
|
|
2875
|
+
semibold: "semibold";
|
|
2876
|
+
bold: "bold";
|
|
2877
|
+
}>>;
|
|
2878
|
+
}, z.core.$strict>>;
|
|
2879
|
+
roads: z.ZodOptional<z.ZodObject<{
|
|
2880
|
+
font: z.ZodOptional<z.ZodString>;
|
|
2881
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
2882
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
2883
|
+
regular: "regular";
|
|
2884
|
+
medium: "medium";
|
|
2885
|
+
semibold: "semibold";
|
|
2886
|
+
bold: "bold";
|
|
2887
|
+
}>>;
|
|
2888
|
+
}, z.core.$strict>>;
|
|
2889
|
+
water: z.ZodOptional<z.ZodObject<{
|
|
2890
|
+
font: z.ZodOptional<z.ZodString>;
|
|
2891
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
2892
|
+
weight: z.ZodOptional<z.ZodEnum<{
|
|
2893
|
+
regular: "regular";
|
|
2894
|
+
medium: "medium";
|
|
2895
|
+
semibold: "semibold";
|
|
2896
|
+
bold: "bold";
|
|
2897
|
+
}>>;
|
|
2898
|
+
}, z.core.$strict>>;
|
|
2147
2899
|
}, z.core.$strict>>;
|
|
2148
2900
|
density: z.ZodOptional<z.ZodEnum<{
|
|
2149
2901
|
clean: "clean";
|
|
@@ -2173,6 +2925,12 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2173
2925
|
flat: "flat";
|
|
2174
2926
|
"3d": "3d";
|
|
2175
2927
|
}>>;
|
|
2928
|
+
buildingStyle: z.ZodOptional<z.ZodObject<{
|
|
2929
|
+
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
2930
|
+
heightThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2931
|
+
outlineOpacity: z.ZodOptional<z.ZodNumber>;
|
|
2932
|
+
outlineWidth: z.ZodOptional<z.ZodNumber>;
|
|
2933
|
+
}, z.core.$strict>>;
|
|
2176
2934
|
terrain: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2177
2935
|
none: "none";
|
|
2178
2936
|
"3d": "3d";
|
|
@@ -2207,6 +2965,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2207
2965
|
url: z.ZodOptional<z.ZodURL>;
|
|
2208
2966
|
attribution: z.ZodOptional<z.ZodString>;
|
|
2209
2967
|
sourceLayers: z.ZodOptional<z.ZodObject<{
|
|
2968
|
+
landcover: z.ZodOptional<z.ZodString>;
|
|
2210
2969
|
landuse: z.ZodOptional<z.ZodString>;
|
|
2211
2970
|
park: z.ZodOptional<z.ZodString>;
|
|
2212
2971
|
water: z.ZodOptional<z.ZodString>;
|
|
@@ -2219,6 +2978,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2219
2978
|
place: z.ZodOptional<z.ZodString>;
|
|
2220
2979
|
poi: z.ZodOptional<z.ZodString>;
|
|
2221
2980
|
}, z.core.$strict>>;
|
|
2981
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2222
2982
|
}, z.core.$strict>>;
|
|
2223
2983
|
view: z.ZodOptional<z.ZodObject<{
|
|
2224
2984
|
bearing: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2226,8 +2986,8 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2226
2986
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
2227
2987
|
}, z.core.$strict>>;
|
|
2228
2988
|
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2229
|
-
}, z.core.$strict
|
|
2230
|
-
}, z.core.$strict
|
|
2989
|
+
}, z.core.$strict>>>;
|
|
2990
|
+
}, z.core.$strict>>;
|
|
2231
2991
|
declare function parseTileflowMap(input: unknown): TileflowConfig;
|
|
2232
2992
|
declare function parseTileflowProject(input: unknown): TileflowProjectConfig;
|
|
2233
2993
|
declare function validateConfig(input: unknown): ValidationResult;
|
|
@@ -2245,6 +3005,141 @@ declare function poi(options?: TileflowPoiModuleOptions): TileflowPoiModuleConfi
|
|
|
2245
3005
|
|
|
2246
3006
|
declare function styleOverride(options?: TileflowStyleOverrideOptions): TileflowStyleOverrideModuleConfig;
|
|
2247
3007
|
|
|
3008
|
+
declare const tileflowIconPackageFileNames: readonly ["sprite.json", "sprite.png", "sprite@2x.json", "sprite@2x.png"];
|
|
3009
|
+
type TileflowIconPackageFileName = (typeof tileflowIconPackageFileNames)[number];
|
|
3010
|
+
declare const tileflowHostedIconIdPattern: RegExp;
|
|
3011
|
+
declare const tileflowIconPackageLimits: {
|
|
3012
|
+
readonly decodeConcurrency: 4;
|
|
3013
|
+
readonly maxAtlasDimension: 2048;
|
|
3014
|
+
readonly maxDecodedPixelsPerIcon: 4194304;
|
|
3015
|
+
readonly maxGeneratedFileBytes: number;
|
|
3016
|
+
readonly maxGeneratedPackageBytes: number;
|
|
3017
|
+
readonly maxIconCount: 256;
|
|
3018
|
+
readonly maxSourceBytes: number;
|
|
3019
|
+
readonly maxSourceFileBytes: number;
|
|
3020
|
+
};
|
|
3021
|
+
/**
|
|
3022
|
+
* Portable compatibility values shared by the public CLI and hosted policy.
|
|
3023
|
+
* Commercial entitlements still belong to the database package.
|
|
3024
|
+
*/
|
|
3025
|
+
declare const tileflowHostedAlphaCompatibility: {
|
|
3026
|
+
readonly iconPackages: {
|
|
3027
|
+
readonly maxGeneratedBytesPerProject: number;
|
|
3028
|
+
readonly maxRetainedPerProject: 24;
|
|
3029
|
+
};
|
|
3030
|
+
readonly maxMapsPerDeploy: 1;
|
|
3031
|
+
};
|
|
3032
|
+
declare const tileflowIconPackageContentHashSchema: z.ZodString;
|
|
3033
|
+
declare const tileflowHostedIconIdSchema: z.ZodString;
|
|
3034
|
+
declare const tileflowRenderedIconManifestEntrySchema: z.ZodObject<{
|
|
3035
|
+
name: z.ZodString;
|
|
3036
|
+
pixelSha256: z.ZodObject<{
|
|
3037
|
+
oneX: z.ZodString;
|
|
3038
|
+
twoX: z.ZodString;
|
|
3039
|
+
}, z.core.$strict>;
|
|
3040
|
+
}, z.core.$strict>;
|
|
3041
|
+
declare const tileflowIconPackageLabelSchema: z.ZodString;
|
|
3042
|
+
declare const tileflowIconPackageManifestSchema: z.ZodObject<{
|
|
3043
|
+
files: z.ZodTuple<[z.ZodObject<{
|
|
3044
|
+
byteLength: z.ZodNumber;
|
|
3045
|
+
contentType: z.ZodLiteral<"application/json" | "image/png">;
|
|
3046
|
+
name: z.ZodLiteral<"sprite.json" | "sprite.png" | "sprite@2x.json" | "sprite@2x.png">;
|
|
3047
|
+
sha256: z.ZodString;
|
|
3048
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3049
|
+
byteLength: z.ZodNumber;
|
|
3050
|
+
contentType: z.ZodLiteral<"application/json" | "image/png">;
|
|
3051
|
+
name: z.ZodLiteral<"sprite.json" | "sprite.png" | "sprite@2x.json" | "sprite@2x.png">;
|
|
3052
|
+
sha256: z.ZodString;
|
|
3053
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3054
|
+
byteLength: z.ZodNumber;
|
|
3055
|
+
contentType: z.ZodLiteral<"application/json" | "image/png">;
|
|
3056
|
+
name: z.ZodLiteral<"sprite.json" | "sprite.png" | "sprite@2x.json" | "sprite@2x.png">;
|
|
3057
|
+
sha256: z.ZodString;
|
|
3058
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3059
|
+
byteLength: z.ZodNumber;
|
|
3060
|
+
contentType: z.ZodLiteral<"application/json" | "image/png">;
|
|
3061
|
+
name: z.ZodLiteral<"sprite.json" | "sprite.png" | "sprite@2x.json" | "sprite@2x.png">;
|
|
3062
|
+
sha256: z.ZodString;
|
|
3063
|
+
}, z.core.$strict>], null>;
|
|
3064
|
+
format: z.ZodLiteral<"tileflow-icon-package-v1">;
|
|
3065
|
+
iconNames: z.ZodArray<z.ZodString>;
|
|
3066
|
+
renderedIcons: z.ZodArray<z.ZodObject<{
|
|
3067
|
+
name: z.ZodString;
|
|
3068
|
+
pixelSha256: z.ZodObject<{
|
|
3069
|
+
oneX: z.ZodString;
|
|
3070
|
+
twoX: z.ZodString;
|
|
3071
|
+
}, z.core.$strict>;
|
|
3072
|
+
}, z.core.$strict>>;
|
|
3073
|
+
sprites: z.ZodObject<{
|
|
3074
|
+
oneX: z.ZodObject<{
|
|
3075
|
+
height: z.ZodNumber;
|
|
3076
|
+
width: z.ZodNumber;
|
|
3077
|
+
pixelRatio: z.ZodLiteral<1>;
|
|
3078
|
+
}, z.core.$strict>;
|
|
3079
|
+
twoX: z.ZodObject<{
|
|
3080
|
+
height: z.ZodNumber;
|
|
3081
|
+
width: z.ZodNumber;
|
|
3082
|
+
pixelRatio: z.ZodLiteral<2>;
|
|
3083
|
+
}, z.core.$strict>;
|
|
3084
|
+
}, z.core.$strict>;
|
|
3085
|
+
}, z.core.$strict>;
|
|
3086
|
+
type TileflowIconPackageManifest = z.infer<typeof tileflowIconPackageManifestSchema>;
|
|
3087
|
+
type TileflowRenderedIconManifestEntry = z.infer<typeof tileflowRenderedIconManifestEntrySchema>;
|
|
3088
|
+
declare function compareCodeUnits(left: string, right: string): number;
|
|
3089
|
+
declare function serializeCanonicalJson(value: unknown): string;
|
|
3090
|
+
declare function serializeTileflowIconPackageManifest(input: TileflowIconPackageManifest): string;
|
|
3091
|
+
declare function sha256Hex(input: string | Uint8Array): Promise<string>;
|
|
3092
|
+
declare function hashTileflowIconPackageManifest(input: TileflowIconPackageManifest): Promise<string>;
|
|
3093
|
+
/**
|
|
3094
|
+
* Hashes the delivered pixels of one rendered icon without including its name.
|
|
3095
|
+
*
|
|
3096
|
+
* The v1 binary frame is the UTF-8 domain `tileflow-rendered-icon-pixels-v1\0`, followed by one
|
|
3097
|
+
* byte for the pixel ratio, unsigned 32-bit big-endian width and height, then row-major RGBA.
|
|
3098
|
+
* Fully transparent pixels have their RGB channels zeroed in a copy before hashing so invisible
|
|
3099
|
+
* decoder data cannot create a visual difference.
|
|
3100
|
+
*/
|
|
3101
|
+
declare function hashTileflowRenderedIconPixels(input: {
|
|
3102
|
+
height: number;
|
|
3103
|
+
pixelRatio: 1 | 2;
|
|
3104
|
+
rgba: Uint8Array;
|
|
3105
|
+
width: number;
|
|
3106
|
+
}): Promise<string>;
|
|
3107
|
+
|
|
3108
|
+
type TileflowIconManifestDiff = {
|
|
3109
|
+
added: string[];
|
|
3110
|
+
afterBytes: number;
|
|
3111
|
+
beforeBytes: number;
|
|
3112
|
+
modified: string[];
|
|
3113
|
+
removed: string[];
|
|
3114
|
+
unchangedCount: number;
|
|
3115
|
+
};
|
|
3116
|
+
type TileflowIconMappingChange = {
|
|
3117
|
+
after?: string;
|
|
3118
|
+
before?: string;
|
|
3119
|
+
key: string;
|
|
3120
|
+
};
|
|
3121
|
+
type TileflowIconMappingDiff = {
|
|
3122
|
+
added: TileflowIconMappingChange[];
|
|
3123
|
+
changed: TileflowIconMappingChange[];
|
|
3124
|
+
removed: TileflowIconMappingChange[];
|
|
3125
|
+
};
|
|
3126
|
+
type TileflowIconReferenceAnalysis = {
|
|
3127
|
+
analysisComplete: boolean;
|
|
3128
|
+
dangling: Array<{
|
|
3129
|
+
iconName: string;
|
|
3130
|
+
kind: 'mapping' | 'style-override-literal';
|
|
3131
|
+
path: string;
|
|
3132
|
+
}>;
|
|
3133
|
+
unanalyzable: Array<{
|
|
3134
|
+
kind: 'style-override-expression';
|
|
3135
|
+
path: string;
|
|
3136
|
+
}>;
|
|
3137
|
+
};
|
|
3138
|
+
declare function diffTileflowIconPackageManifests(before: TileflowIconPackageManifest | null, after: TileflowIconPackageManifest | null): TileflowIconManifestDiff;
|
|
3139
|
+
declare function diffTileflowIconMappings(before: Record<string, string> | null, after: Record<string, string> | null): TileflowIconMappingDiff;
|
|
3140
|
+
declare function inspectTileflowIconReferences(project: TileflowProjectConfig, mapName: string, availableIconNames: readonly string[]): TileflowIconReferenceAnalysis;
|
|
3141
|
+
declare function resolveTileflowIconMapping(project: TileflowProjectConfig, mapName: string): Record<string, string>;
|
|
3142
|
+
|
|
2248
3143
|
declare const defaultTileflowManifestUrl = "/tileflow/manifest.json";
|
|
2249
3144
|
declare const defaultTileflowStyleBaseUrl = "http://localhost:3333";
|
|
2250
3145
|
type TileflowAnalytics = {
|
|
@@ -2353,4 +3248,4 @@ declare function normalizeTileflowStaticImageSize(input: {
|
|
|
2353
3248
|
};
|
|
2354
3249
|
declare function inferTileflowAnalyticsFromStyleUrl(styleUrl: string): TileflowAnalytics | undefined;
|
|
2355
3250
|
|
|
2356
|
-
export { type MapLibreSprite, type MapLibreStyle, type TileflowAdvancedColorConfig, type TileflowAnalytics, type TileflowBaseColors, type TileflowBasemapConfig, type TileflowBoundaryColorConfig, type TileflowBuildingColorConfig, type TileflowBuildings, type TileflowColor, type TileflowColorConfig, type TileflowColors, type TileflowConfig, type TileflowDensity, type TileflowFontWeight, type TileflowFonts, type TileflowHydroColorConfig, type TileflowIconSet, type TileflowIconSetConfig, type TileflowLabelColorConfig, type TileflowLabelDetail, type TileflowLabelLanguage, type TileflowLabels, type TileflowLabelsModuleConfig, type TileflowLabelsModuleOptions, type TileflowLandcoverColorConfig, type TileflowLanduseColorConfig, type TileflowManifest, type TileflowManifestLoadOptions, type TileflowMapConfig, type TileflowMapMarker, type TileflowMapMode, type TileflowMapModeOptions, type TileflowModuleConfig, type TileflowOsmBasemapConfig, type TileflowOsmBasemapOptions, type TileflowPoi, type TileflowPoiCategory, type TileflowPoiColorConfig, type TileflowPoiIcons, type TileflowPoiLabels, type TileflowPoiModuleConfig, type TileflowPoiModuleOptions, type TileflowProjectConfig, type TileflowProjectIconSets, type TileflowProjectThemes, type TileflowRenderer, type TileflowRoadColorConfig, type TileflowRoadDetail, type TileflowRoadExtras, type TileflowRoadHierarchy, type TileflowRoadOutline, type TileflowRoadWeight, type TileflowRoads, type TileflowRoadsModuleConfig, type TileflowRoadsModuleOptions, type TileflowRuntimeManifest, type TileflowRuntimeManifestMap, type TileflowRuntimeManifestMapEntry, type TileflowRuntimeStyle, type TileflowRuntimeStyleOptions, type TileflowSourceLayers, type TileflowStyleLayerOverride, type TileflowStyleOptions, type TileflowStyleOverrideModuleConfig, type TileflowStyleOverrideOptions, type TileflowTerrain, type TileflowTerrainConfig, type TileflowTerrainEncoding, type TileflowTerrainMode, type TileflowTheme, type TileflowThemeConfig, type TileflowThemeMode, type TileflowThemeModulesConfig, type TileflowThemeName, type TileflowTiles, type TileflowTilesetConfig, type TileflowTypography, type TileflowViewConfig, type ValidationMessage, type ValidationResult, configSchema, createManifest, createStyle, createStyleFromProject, createTileflowSessionId, defaultTileflowManifestUrl, defaultTileflowStyleBaseUrl, defineTileflow, getDefaultColors, getDefaultTileflowStyleBaseUrl, getTileflowAnalyticsApiUrl, inferTileflowAnalyticsFromStyleUrl, isTileflowLocalDevHost, labels, loadTileflowManifest, mergeTileflowAnalytics, normalizeTileflowStaticImageSize, normalizeTileflowUrl, osm, parseTileflowMap, parseTileflowProject, poi, resolveTileflowAnalyticsRequestUrl, resolveTileflowManifestMap, resolveTileflowMapMode, resolveTileflowRuntimeStyle, resolveTileflowStaticImageUrl, resolveTileflowStyleUrl, roads, shouldLoadTileflowManifest, startTileflowSession, styleOverride, tileflowMapSchema, tileflowProjectSchema, tileflowThemeSchema, validateConfig, validateTileflowConfig };
|
|
3251
|
+
export { type MapLibreSprite, type MapLibreStyle, type NormalizedTileflowCaptureScene, type ResolvedTileflowTypography, type TileflowAdvancedColorConfig, type TileflowAnalytics, type TileflowBaseColors, type TileflowBasemapConfig, type TileflowBoundaryColorConfig, type TileflowBuildingColorConfig, type TileflowBuildingStyleConfig, type TileflowBuildings, type TileflowCaptureApplicationTarget, type TileflowCaptureBoundsCamera, type TileflowCaptureCamera, type TileflowCaptureCenterCamera, type TileflowCaptureMapTarget, type TileflowCaptureScene, type TileflowCaptureTarget, type TileflowCaptureViewport, type TileflowColor, type TileflowColorConfig, type TileflowColors, type TileflowConfig, type TileflowDensity, type TileflowFontWeight, type TileflowFonts, type TileflowHostedNotoSansWeight, type TileflowHydroColorConfig, type TileflowIconManifestDiff, type TileflowIconMappingChange, type TileflowIconMappingDiff, type TileflowIconPackageFileName, type TileflowIconPackageManifest, type TileflowIconReferenceAnalysis, type TileflowIconSet, type TileflowIconSetConfig, type TileflowLabelColorConfig, type TileflowLabelDetail, type TileflowLabelLanguage, type TileflowLabels, type TileflowLabelsModuleConfig, type TileflowLabelsModuleOptions, type TileflowLandcoverColorConfig, type TileflowLanduseColorConfig, type TileflowManifest, type TileflowManifestLoadOptions, type TileflowMapConfig, type TileflowMapMarker, type TileflowMapMode, type TileflowMapModeOptions, type TileflowModuleConfig, type TileflowOsmBasemapConfig, type TileflowOsmBasemapOptions, type TileflowPoi, type TileflowPoiCategory, type TileflowPoiClassMapping, type TileflowPoiColorConfig, type TileflowPoiColorMode, type TileflowPoiDensity, type TileflowPoiIcons, type TileflowPoiLabels, type TileflowPoiModuleConfig, type TileflowPoiModuleOptions, type TileflowProjectConfig, type TileflowProjectIconSets, type TileflowProjectThemes, type TileflowRenderedIconManifestEntry, type TileflowRenderer, type TileflowRoadClass, type TileflowRoadColorConfig, type TileflowRoadDetail, type TileflowRoadExtras, type TileflowRoadHierarchy, type TileflowRoadLabelDetail, type TileflowRoadOutline, type TileflowRoadWeight, type TileflowRoads, type TileflowRoadsModuleConfig, type TileflowRoadsModuleOptions, type TileflowRuntimeManifest, type TileflowRuntimeManifestMap, type TileflowRuntimeManifestMapEntry, type TileflowRuntimeStyle, type TileflowRuntimeStyleOptions, type TileflowSourceLayers, type TileflowStyleLayerOverride, type TileflowStyleOptions, type TileflowStyleOverrideModuleConfig, type TileflowStyleOverrideOptions, type TileflowTerrain, type TileflowTerrainConfig, type TileflowTerrainEncoding, type TileflowTerrainMode, type TileflowTheme, type TileflowThemeConfig, type TileflowThemeMode, type TileflowThemeModulesConfig, type TileflowThemeName, type TileflowTiles, type TileflowTilesetConfig, type TileflowTypography, type TileflowTypographyDomain, type TileflowTypographyStyle, type TileflowViewConfig, type ValidationMessage, type ValidationResult, compareCodeUnits, configSchema, createManifest, createStyle, createStyleFromProject, createTileflowSessionId, defaultTileflowManifestUrl, defaultTileflowStyleBaseUrl, defineTileflow, diffTileflowIconMappings, diffTileflowIconPackageManifests, getDefaultColors, getDefaultTileflowStyleBaseUrl, getTileflowAnalyticsApiUrl, hashTileflowIconPackageManifest, hashTileflowRenderedIconPixels, inferTileflowAnalyticsFromStyleUrl, inspectTileflowIconReferences, isTileflowLocalDevHost, labels, loadTileflowManifest, mergeTileflowAnalytics, normalizeTileflowCaptureId, normalizeTileflowCaptureScene, normalizeTileflowStaticImageSize, normalizeTileflowUrl, osm, parseTileflowMap, parseTileflowProject, poi, resolveTileflowAnalyticsRequestUrl, resolveTileflowIconMapping, resolveTileflowManifestMap, resolveTileflowMapMode, resolveTileflowRuntimeStyle, resolveTileflowStaticImageUrl, resolveTileflowStyleUrl, roads, serializeCanonicalJson, serializeTileflowIconPackageManifest, sha256Hex, shouldLoadTileflowManifest, startTileflowSession, styleOverride, tileflowCaptureApplicationTargetSchema, tileflowCaptureBoundsCameraSchema, tileflowCaptureCameraSchema, tileflowCaptureCenterCameraSchema, tileflowCaptureIdSchema, tileflowCaptureMapTargetSchema, tileflowCaptureSceneLimits, tileflowCaptureSceneNameSchema, tileflowCaptureSceneSchema, tileflowCaptureSceneSchemaVersion, tileflowCaptureTargetSchema, tileflowCaptureViewportSchema, tileflowHostedAlphaCompatibility, tileflowHostedIconIdPattern, tileflowHostedIconIdSchema, tileflowHostedNotoSansWeights, tileflowIconPackageContentHashSchema, tileflowIconPackageFileNames, tileflowIconPackageLabelSchema, tileflowIconPackageLimits, tileflowIconPackageManifestSchema, tileflowMapSchema, tileflowProjectSchema, tileflowRenderedIconManifestEntrySchema, tileflowThemeSchema, validateConfig, validateTileflowConfig };
|