@tileflow/core 0.1.0-alpha.14 → 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 +98 -4
- package/dist/index.d.ts +909 -21
- package/dist/index.js +1491 -282
- package/package.json +6 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,161 @@
|
|
|
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';
|
|
@@ -10,6 +166,9 @@ type TileflowLabelLanguage = 'auto' | 'local' | 'en' | (string & {});
|
|
|
10
166
|
type TileflowPoiCategory = 'food' | 'coffee' | 'culture' | 'transit' | 'shopping' | 'lodging' | 'health' | 'education' | 'services' | (string & {});
|
|
11
167
|
type TileflowPoiIcons = boolean | 'essential' | 'full';
|
|
12
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[]>;
|
|
13
172
|
type TileflowTheme = 'standard' | 'light' | 'dark' | 'minimal' | 'osm-bright-2';
|
|
14
173
|
type TileflowBuildings = 'hidden' | 'flat' | '3d';
|
|
15
174
|
type TileflowTerrainMode = 'none' | 'hillshade' | '3d';
|
|
@@ -102,8 +261,18 @@ type TileflowHydroColorConfig = {
|
|
|
102
261
|
type TileflowBuildingColorConfig = {
|
|
103
262
|
extrusion?: TileflowColor;
|
|
104
263
|
fill?: TileflowColor;
|
|
264
|
+
highRise?: TileflowColor;
|
|
265
|
+
highRiseOutline?: TileflowColor;
|
|
266
|
+
lowRise?: TileflowColor;
|
|
267
|
+
lowRiseOutline?: TileflowColor;
|
|
105
268
|
outline?: TileflowColor;
|
|
106
269
|
};
|
|
270
|
+
type TileflowBuildingStyleConfig = {
|
|
271
|
+
fillOpacity?: number;
|
|
272
|
+
heightThreshold?: number;
|
|
273
|
+
outlineOpacity?: number;
|
|
274
|
+
outlineWidth?: number;
|
|
275
|
+
};
|
|
107
276
|
type TileflowBoundaryColorConfig = {
|
|
108
277
|
admin?: TileflowColor;
|
|
109
278
|
disputed?: TileflowColor;
|
|
@@ -130,11 +299,26 @@ type TileflowColors = {
|
|
|
130
299
|
nature: string;
|
|
131
300
|
};
|
|
132
301
|
type TileflowFontWeight = 'regular' | 'medium' | 'semibold' | 'bold';
|
|
133
|
-
|
|
302
|
+
declare const tileflowHostedNotoSansWeights: readonly ["regular", "bold"];
|
|
303
|
+
type TileflowHostedNotoSansWeight = (typeof tileflowHostedNotoSansWeights)[number];
|
|
304
|
+
type TileflowTypographyStyle = {
|
|
134
305
|
font?: string;
|
|
135
306
|
fontFamily?: string;
|
|
136
307
|
weight?: TileflowFontWeight;
|
|
137
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
|
+
};
|
|
138
322
|
type TileflowFonts = {
|
|
139
323
|
body?: string;
|
|
140
324
|
labels?: string;
|
|
@@ -149,6 +333,7 @@ type TileflowThemeConfig = {
|
|
|
149
333
|
typography?: TileflowTypography;
|
|
150
334
|
};
|
|
151
335
|
type TileflowSourceLayers = {
|
|
336
|
+
landcover?: string;
|
|
152
337
|
landuse?: string;
|
|
153
338
|
park?: string;
|
|
154
339
|
water?: string;
|
|
@@ -167,6 +352,7 @@ type TileflowTiles = {
|
|
|
167
352
|
url?: string;
|
|
168
353
|
attribution?: string;
|
|
169
354
|
sourceLayers?: TileflowSourceLayers;
|
|
355
|
+
version?: string;
|
|
170
356
|
};
|
|
171
357
|
type TileflowTerrainConfig = {
|
|
172
358
|
attribution?: string;
|
|
@@ -192,10 +378,12 @@ type TileflowOsmBasemapConfig = {
|
|
|
192
378
|
sprite?: string;
|
|
193
379
|
tileset?: string;
|
|
194
380
|
url?: string;
|
|
381
|
+
version?: string;
|
|
195
382
|
};
|
|
196
383
|
type TileflowBasemapConfig = TileflowOsmBasemapConfig;
|
|
197
384
|
type TileflowOsmBasemapOptions = Omit<TileflowOsmBasemapConfig, 'type'>;
|
|
198
385
|
type TileflowRoadDetail = 'none' | 'highways' | 'major' | 'streets' | 'all';
|
|
386
|
+
type TileflowRoadClass = 'motorway' | 'trunk' | 'primary' | 'secondary' | 'tertiary' | 'minor' | 'service' | 'track' | 'path';
|
|
199
387
|
type TileflowRoadHierarchy = 'subtle' | 'clear' | 'strong';
|
|
200
388
|
type TileflowRoadWeight = 'thin' | 'regular' | 'bold';
|
|
201
389
|
type TileflowRoadOutline = 'none' | 'subtle' | 'strong';
|
|
@@ -209,14 +397,17 @@ type TileflowRoadsModuleConfig = {
|
|
|
209
397
|
detail?: TileflowRoadDetail;
|
|
210
398
|
extras?: TileflowRoadExtras;
|
|
211
399
|
hierarchy?: TileflowRoadHierarchy;
|
|
400
|
+
oneWayMarkers?: boolean;
|
|
212
401
|
outline?: TileflowRoadOutline;
|
|
213
402
|
weight?: TileflowRoadWeight;
|
|
403
|
+
widthScale?: Partial<Record<TileflowRoadClass, number>>;
|
|
214
404
|
};
|
|
215
405
|
type TileflowRoadsModuleOptions = Omit<TileflowRoadsModuleConfig, 'type'>;
|
|
216
406
|
type TileflowLabelsModuleConfig = {
|
|
217
407
|
type: 'labels';
|
|
218
408
|
language?: TileflowLabelLanguage;
|
|
219
409
|
places?: TileflowLabelDetail;
|
|
410
|
+
roadClasses?: readonly TileflowRoadClass[];
|
|
220
411
|
roads?: TileflowRoadLabelDetail;
|
|
221
412
|
water?: TileflowLabelDetail;
|
|
222
413
|
};
|
|
@@ -224,9 +415,17 @@ type TileflowLabelsModuleOptions = Omit<TileflowLabelsModuleConfig, 'type'>;
|
|
|
224
415
|
type TileflowPoiModuleConfig = {
|
|
225
416
|
type: 'poi';
|
|
226
417
|
categories?: readonly TileflowPoiCategory[];
|
|
418
|
+
classMapping?: TileflowPoiClassMapping;
|
|
419
|
+
color?: TileflowPoiColorMode;
|
|
420
|
+
density?: TileflowPoiDensity;
|
|
227
421
|
icons?: TileflowPoiIcons;
|
|
228
422
|
labels?: TileflowPoiLabels;
|
|
229
423
|
minZoom?: number;
|
|
424
|
+
placement?: {
|
|
425
|
+
coupleIconAndLabel?: boolean;
|
|
426
|
+
iconPadding?: number;
|
|
427
|
+
textPadding?: number;
|
|
428
|
+
};
|
|
230
429
|
preset?: TileflowPoi;
|
|
231
430
|
};
|
|
232
431
|
type TileflowPoiModuleOptions = Omit<TileflowPoiModuleConfig, 'type'>;
|
|
@@ -275,6 +474,7 @@ type TileflowConfig = {
|
|
|
275
474
|
labels?: TileflowLabels;
|
|
276
475
|
poi?: TileflowPoi;
|
|
277
476
|
buildings?: TileflowBuildings;
|
|
477
|
+
buildingStyle?: TileflowBuildingStyleConfig;
|
|
278
478
|
terrain?: TileflowTerrain;
|
|
279
479
|
renderer?: TileflowRenderer;
|
|
280
480
|
glyphs?: string;
|
|
@@ -296,10 +496,12 @@ type TileflowTilesetConfig = {
|
|
|
296
496
|
name?: string;
|
|
297
497
|
attribution?: string;
|
|
298
498
|
sourceLayers?: TileflowSourceLayers;
|
|
499
|
+
version?: string;
|
|
299
500
|
};
|
|
300
501
|
type TileflowProjectThemes = Record<TileflowThemeName, TileflowThemeConfig>;
|
|
301
502
|
type TileflowProjectConfig = {
|
|
302
503
|
icons?: TileflowProjectIconSets;
|
|
504
|
+
scenes?: Record<string, TileflowCaptureScene>;
|
|
303
505
|
themes?: TileflowProjectThemes;
|
|
304
506
|
tilesets?: Record<string, TileflowTilesetConfig>;
|
|
305
507
|
maps: Record<string, TileflowMapConfig>;
|
|
@@ -370,6 +572,10 @@ declare const tileflowThemeSchema: z.ZodObject<{
|
|
|
370
572
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
371
573
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
372
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>;
|
|
373
579
|
outline: z.ZodOptional<z.ZodString>;
|
|
374
580
|
}, z.core.$strict>>;
|
|
375
581
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -381,12 +587,12 @@ declare const tileflowThemeSchema: z.ZodObject<{
|
|
|
381
587
|
labels: z.ZodOptional<z.ZodObject<{
|
|
382
588
|
water: z.ZodOptional<z.ZodString>;
|
|
383
589
|
road: z.ZodOptional<z.ZodString>;
|
|
590
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
384
591
|
primary: z.ZodOptional<z.ZodString>;
|
|
385
592
|
country: z.ZodOptional<z.ZodString>;
|
|
386
593
|
halo: z.ZodOptional<z.ZodString>;
|
|
387
594
|
muted: z.ZodOptional<z.ZodString>;
|
|
388
595
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
389
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
390
596
|
settlement: z.ZodOptional<z.ZodString>;
|
|
391
597
|
}, z.core.$strict>>;
|
|
392
598
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -463,6 +669,10 @@ declare const tileflowThemeSchema: z.ZodObject<{
|
|
|
463
669
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
464
670
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
465
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>;
|
|
466
676
|
outline: z.ZodOptional<z.ZodString>;
|
|
467
677
|
}, z.core.$strict>>;
|
|
468
678
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -474,12 +684,12 @@ declare const tileflowThemeSchema: z.ZodObject<{
|
|
|
474
684
|
labels: z.ZodOptional<z.ZodObject<{
|
|
475
685
|
water: z.ZodOptional<z.ZodString>;
|
|
476
686
|
road: z.ZodOptional<z.ZodString>;
|
|
687
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
477
688
|
primary: z.ZodOptional<z.ZodString>;
|
|
478
689
|
country: z.ZodOptional<z.ZodString>;
|
|
479
690
|
halo: z.ZodOptional<z.ZodString>;
|
|
480
691
|
muted: z.ZodOptional<z.ZodString>;
|
|
481
692
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
482
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
483
693
|
settlement: z.ZodOptional<z.ZodString>;
|
|
484
694
|
}, z.core.$strict>>;
|
|
485
695
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -534,6 +744,46 @@ declare const tileflowThemeSchema: z.ZodObject<{
|
|
|
534
744
|
semibold: "semibold";
|
|
535
745
|
bold: "bold";
|
|
536
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>>;
|
|
537
787
|
}, z.core.$strict>>;
|
|
538
788
|
}, z.core.$strict>;
|
|
539
789
|
declare const tileflowMapSchema: z.ZodObject<{
|
|
@@ -543,6 +793,7 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
543
793
|
glyphs: z.ZodOptional<z.ZodString>;
|
|
544
794
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
545
795
|
sourceLayers: z.ZodOptional<z.ZodObject<{
|
|
796
|
+
landcover: z.ZodOptional<z.ZodString>;
|
|
546
797
|
landuse: z.ZodOptional<z.ZodString>;
|
|
547
798
|
park: z.ZodOptional<z.ZodString>;
|
|
548
799
|
water: z.ZodOptional<z.ZodString>;
|
|
@@ -558,6 +809,7 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
558
809
|
sprite: z.ZodOptional<z.ZodString>;
|
|
559
810
|
tileset: z.ZodOptional<z.ZodString>;
|
|
560
811
|
url: z.ZodOptional<z.ZodURL>;
|
|
812
|
+
version: z.ZodOptional<z.ZodString>;
|
|
561
813
|
}, z.core.$strict>>;
|
|
562
814
|
name: z.ZodOptional<z.ZodString>;
|
|
563
815
|
tileset: z.ZodOptional<z.ZodString>;
|
|
@@ -588,6 +840,10 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
588
840
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
589
841
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
590
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>;
|
|
591
847
|
outline: z.ZodOptional<z.ZodString>;
|
|
592
848
|
}, z.core.$strict>>;
|
|
593
849
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -599,12 +855,12 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
599
855
|
labels: z.ZodOptional<z.ZodObject<{
|
|
600
856
|
water: z.ZodOptional<z.ZodString>;
|
|
601
857
|
road: z.ZodOptional<z.ZodString>;
|
|
858
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
602
859
|
primary: z.ZodOptional<z.ZodString>;
|
|
603
860
|
country: z.ZodOptional<z.ZodString>;
|
|
604
861
|
halo: z.ZodOptional<z.ZodString>;
|
|
605
862
|
muted: z.ZodOptional<z.ZodString>;
|
|
606
863
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
607
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
608
864
|
settlement: z.ZodOptional<z.ZodString>;
|
|
609
865
|
}, z.core.$strict>>;
|
|
610
866
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -681,6 +937,10 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
681
937
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
682
938
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
683
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>;
|
|
684
944
|
outline: z.ZodOptional<z.ZodString>;
|
|
685
945
|
}, z.core.$strict>>;
|
|
686
946
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -692,12 +952,12 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
692
952
|
labels: z.ZodOptional<z.ZodObject<{
|
|
693
953
|
water: z.ZodOptional<z.ZodString>;
|
|
694
954
|
road: z.ZodOptional<z.ZodString>;
|
|
955
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
695
956
|
primary: z.ZodOptional<z.ZodString>;
|
|
696
957
|
country: z.ZodOptional<z.ZodString>;
|
|
697
958
|
halo: z.ZodOptional<z.ZodString>;
|
|
698
959
|
muted: z.ZodOptional<z.ZodString>;
|
|
699
960
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
700
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
701
961
|
settlement: z.ZodOptional<z.ZodString>;
|
|
702
962
|
}, z.core.$strict>>;
|
|
703
963
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -752,6 +1012,46 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
752
1012
|
semibold: "semibold";
|
|
753
1013
|
bold: "bold";
|
|
754
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>>;
|
|
755
1055
|
}, z.core.$strict>>;
|
|
756
1056
|
}, z.core.$strict>]>>;
|
|
757
1057
|
modules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -762,6 +1062,17 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
762
1062
|
major: "major";
|
|
763
1063
|
all: "all";
|
|
764
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
|
+
}>>>;
|
|
765
1076
|
roads: z.ZodOptional<z.ZodEnum<{
|
|
766
1077
|
none: "none";
|
|
767
1078
|
major: "major";
|
|
@@ -777,6 +1088,16 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
777
1088
|
}, z.core.$strict>, z.ZodObject<{
|
|
778
1089
|
type: z.ZodLiteral<"poi">;
|
|
779
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
|
+
}>>;
|
|
780
1101
|
icons: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
781
1102
|
essential: "essential";
|
|
782
1103
|
full: "full";
|
|
@@ -788,6 +1109,11 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
788
1109
|
minimal: "minimal";
|
|
789
1110
|
}>>;
|
|
790
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>>;
|
|
791
1117
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
792
1118
|
balanced: "balanced";
|
|
793
1119
|
none: "none";
|
|
@@ -813,6 +1139,7 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
813
1139
|
clear: "clear";
|
|
814
1140
|
strong: "strong";
|
|
815
1141
|
}>>;
|
|
1142
|
+
oneWayMarkers: z.ZodOptional<z.ZodBoolean>;
|
|
816
1143
|
outline: z.ZodOptional<z.ZodEnum<{
|
|
817
1144
|
none: "none";
|
|
818
1145
|
subtle: "subtle";
|
|
@@ -823,6 +1150,17 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
823
1150
|
bold: "bold";
|
|
824
1151
|
thin: "thin";
|
|
825
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>>;
|
|
826
1164
|
}, z.core.$strict>, z.ZodObject<{
|
|
827
1165
|
type: z.ZodLiteral<"styleOverride">;
|
|
828
1166
|
layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -877,6 +1215,10 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
877
1215
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
878
1216
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
879
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>;
|
|
880
1222
|
outline: z.ZodOptional<z.ZodString>;
|
|
881
1223
|
}, z.core.$strict>>;
|
|
882
1224
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -888,12 +1230,12 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
888
1230
|
labels: z.ZodOptional<z.ZodObject<{
|
|
889
1231
|
water: z.ZodOptional<z.ZodString>;
|
|
890
1232
|
road: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
891
1234
|
primary: z.ZodOptional<z.ZodString>;
|
|
892
1235
|
country: z.ZodOptional<z.ZodString>;
|
|
893
1236
|
halo: z.ZodOptional<z.ZodString>;
|
|
894
1237
|
muted: z.ZodOptional<z.ZodString>;
|
|
895
1238
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
896
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
897
1239
|
settlement: z.ZodOptional<z.ZodString>;
|
|
898
1240
|
}, z.core.$strict>>;
|
|
899
1241
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -948,6 +1290,46 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
948
1290
|
semibold: "semibold";
|
|
949
1291
|
bold: "bold";
|
|
950
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>>;
|
|
951
1333
|
}, z.core.$strict>>;
|
|
952
1334
|
density: z.ZodOptional<z.ZodEnum<{
|
|
953
1335
|
clean: "clean";
|
|
@@ -977,6 +1359,12 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
977
1359
|
flat: "flat";
|
|
978
1360
|
"3d": "3d";
|
|
979
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>>;
|
|
980
1368
|
terrain: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
981
1369
|
none: "none";
|
|
982
1370
|
"3d": "3d";
|
|
@@ -1011,6 +1399,7 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
1011
1399
|
url: z.ZodOptional<z.ZodURL>;
|
|
1012
1400
|
attribution: z.ZodOptional<z.ZodString>;
|
|
1013
1401
|
sourceLayers: z.ZodOptional<z.ZodObject<{
|
|
1402
|
+
landcover: z.ZodOptional<z.ZodString>;
|
|
1014
1403
|
landuse: z.ZodOptional<z.ZodString>;
|
|
1015
1404
|
park: z.ZodOptional<z.ZodString>;
|
|
1016
1405
|
water: z.ZodOptional<z.ZodString>;
|
|
@@ -1023,6 +1412,7 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
1023
1412
|
place: z.ZodOptional<z.ZodString>;
|
|
1024
1413
|
poi: z.ZodOptional<z.ZodString>;
|
|
1025
1414
|
}, z.core.$strict>>;
|
|
1415
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1026
1416
|
}, z.core.$strict>>;
|
|
1027
1417
|
view: z.ZodOptional<z.ZodObject<{
|
|
1028
1418
|
bearing: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1031,13 +1421,14 @@ declare const tileflowMapSchema: z.ZodObject<{
|
|
|
1031
1421
|
}, z.core.$strict>>;
|
|
1032
1422
|
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1033
1423
|
}, z.core.$strict>;
|
|
1034
|
-
declare const configSchema: z.ZodObject<{
|
|
1424
|
+
declare const configSchema: z.ZodPipe<z.ZodUnknown, z.ZodObject<{
|
|
1035
1425
|
basemap: z.ZodOptional<z.ZodObject<{
|
|
1036
1426
|
type: z.ZodLiteral<"osm">;
|
|
1037
1427
|
attribution: z.ZodOptional<z.ZodString>;
|
|
1038
1428
|
glyphs: z.ZodOptional<z.ZodString>;
|
|
1039
1429
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
1040
1430
|
sourceLayers: z.ZodOptional<z.ZodObject<{
|
|
1431
|
+
landcover: z.ZodOptional<z.ZodString>;
|
|
1041
1432
|
landuse: z.ZodOptional<z.ZodString>;
|
|
1042
1433
|
park: z.ZodOptional<z.ZodString>;
|
|
1043
1434
|
water: z.ZodOptional<z.ZodString>;
|
|
@@ -1053,6 +1444,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
1053
1444
|
sprite: z.ZodOptional<z.ZodString>;
|
|
1054
1445
|
tileset: z.ZodOptional<z.ZodString>;
|
|
1055
1446
|
url: z.ZodOptional<z.ZodURL>;
|
|
1447
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1056
1448
|
}, z.core.$strict>>;
|
|
1057
1449
|
name: z.ZodOptional<z.ZodString>;
|
|
1058
1450
|
tileset: z.ZodOptional<z.ZodString>;
|
|
@@ -1083,6 +1475,10 @@ declare const configSchema: z.ZodObject<{
|
|
|
1083
1475
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
1084
1476
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
1085
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>;
|
|
1086
1482
|
outline: z.ZodOptional<z.ZodString>;
|
|
1087
1483
|
}, z.core.$strict>>;
|
|
1088
1484
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -1094,12 +1490,12 @@ declare const configSchema: z.ZodObject<{
|
|
|
1094
1490
|
labels: z.ZodOptional<z.ZodObject<{
|
|
1095
1491
|
water: z.ZodOptional<z.ZodString>;
|
|
1096
1492
|
road: z.ZodOptional<z.ZodString>;
|
|
1493
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
1097
1494
|
primary: z.ZodOptional<z.ZodString>;
|
|
1098
1495
|
country: z.ZodOptional<z.ZodString>;
|
|
1099
1496
|
halo: z.ZodOptional<z.ZodString>;
|
|
1100
1497
|
muted: z.ZodOptional<z.ZodString>;
|
|
1101
1498
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
1102
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
1103
1499
|
settlement: z.ZodOptional<z.ZodString>;
|
|
1104
1500
|
}, z.core.$strict>>;
|
|
1105
1501
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -1176,6 +1572,10 @@ declare const configSchema: z.ZodObject<{
|
|
|
1176
1572
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
1177
1573
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
1178
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>;
|
|
1179
1579
|
outline: z.ZodOptional<z.ZodString>;
|
|
1180
1580
|
}, z.core.$strict>>;
|
|
1181
1581
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -1187,12 +1587,12 @@ declare const configSchema: z.ZodObject<{
|
|
|
1187
1587
|
labels: z.ZodOptional<z.ZodObject<{
|
|
1188
1588
|
water: z.ZodOptional<z.ZodString>;
|
|
1189
1589
|
road: z.ZodOptional<z.ZodString>;
|
|
1590
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
1190
1591
|
primary: z.ZodOptional<z.ZodString>;
|
|
1191
1592
|
country: z.ZodOptional<z.ZodString>;
|
|
1192
1593
|
halo: z.ZodOptional<z.ZodString>;
|
|
1193
1594
|
muted: z.ZodOptional<z.ZodString>;
|
|
1194
1595
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
1195
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
1196
1596
|
settlement: z.ZodOptional<z.ZodString>;
|
|
1197
1597
|
}, z.core.$strict>>;
|
|
1198
1598
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -1247,6 +1647,46 @@ declare const configSchema: z.ZodObject<{
|
|
|
1247
1647
|
semibold: "semibold";
|
|
1248
1648
|
bold: "bold";
|
|
1249
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>>;
|
|
1250
1690
|
}, z.core.$strict>>;
|
|
1251
1691
|
}, z.core.$strict>]>>;
|
|
1252
1692
|
modules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1257,6 +1697,17 @@ declare const configSchema: z.ZodObject<{
|
|
|
1257
1697
|
major: "major";
|
|
1258
1698
|
all: "all";
|
|
1259
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
|
+
}>>>;
|
|
1260
1711
|
roads: z.ZodOptional<z.ZodEnum<{
|
|
1261
1712
|
none: "none";
|
|
1262
1713
|
major: "major";
|
|
@@ -1272,6 +1723,16 @@ declare const configSchema: z.ZodObject<{
|
|
|
1272
1723
|
}, z.core.$strict>, z.ZodObject<{
|
|
1273
1724
|
type: z.ZodLiteral<"poi">;
|
|
1274
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
|
+
}>>;
|
|
1275
1736
|
icons: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
1276
1737
|
essential: "essential";
|
|
1277
1738
|
full: "full";
|
|
@@ -1283,6 +1744,11 @@ declare const configSchema: z.ZodObject<{
|
|
|
1283
1744
|
minimal: "minimal";
|
|
1284
1745
|
}>>;
|
|
1285
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>>;
|
|
1286
1752
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
1287
1753
|
balanced: "balanced";
|
|
1288
1754
|
none: "none";
|
|
@@ -1308,6 +1774,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
1308
1774
|
clear: "clear";
|
|
1309
1775
|
strong: "strong";
|
|
1310
1776
|
}>>;
|
|
1777
|
+
oneWayMarkers: z.ZodOptional<z.ZodBoolean>;
|
|
1311
1778
|
outline: z.ZodOptional<z.ZodEnum<{
|
|
1312
1779
|
none: "none";
|
|
1313
1780
|
subtle: "subtle";
|
|
@@ -1318,6 +1785,17 @@ declare const configSchema: z.ZodObject<{
|
|
|
1318
1785
|
bold: "bold";
|
|
1319
1786
|
thin: "thin";
|
|
1320
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>>;
|
|
1321
1799
|
}, z.core.$strict>, z.ZodObject<{
|
|
1322
1800
|
type: z.ZodLiteral<"styleOverride">;
|
|
1323
1801
|
layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -1372,6 +1850,10 @@ declare const configSchema: z.ZodObject<{
|
|
|
1372
1850
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
1373
1851
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
1374
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>;
|
|
1375
1857
|
outline: z.ZodOptional<z.ZodString>;
|
|
1376
1858
|
}, z.core.$strict>>;
|
|
1377
1859
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -1383,12 +1865,12 @@ declare const configSchema: z.ZodObject<{
|
|
|
1383
1865
|
labels: z.ZodOptional<z.ZodObject<{
|
|
1384
1866
|
water: z.ZodOptional<z.ZodString>;
|
|
1385
1867
|
road: z.ZodOptional<z.ZodString>;
|
|
1868
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
1386
1869
|
primary: z.ZodOptional<z.ZodString>;
|
|
1387
1870
|
country: z.ZodOptional<z.ZodString>;
|
|
1388
1871
|
halo: z.ZodOptional<z.ZodString>;
|
|
1389
1872
|
muted: z.ZodOptional<z.ZodString>;
|
|
1390
1873
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
1391
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
1392
1874
|
settlement: z.ZodOptional<z.ZodString>;
|
|
1393
1875
|
}, z.core.$strict>>;
|
|
1394
1876
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -1443,6 +1925,46 @@ declare const configSchema: z.ZodObject<{
|
|
|
1443
1925
|
semibold: "semibold";
|
|
1444
1926
|
bold: "bold";
|
|
1445
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>>;
|
|
1446
1968
|
}, z.core.$strict>>;
|
|
1447
1969
|
density: z.ZodOptional<z.ZodEnum<{
|
|
1448
1970
|
clean: "clean";
|
|
@@ -1472,6 +1994,12 @@ declare const configSchema: z.ZodObject<{
|
|
|
1472
1994
|
flat: "flat";
|
|
1473
1995
|
"3d": "3d";
|
|
1474
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>>;
|
|
1475
2003
|
terrain: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1476
2004
|
none: "none";
|
|
1477
2005
|
"3d": "3d";
|
|
@@ -1506,6 +2034,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
1506
2034
|
url: z.ZodOptional<z.ZodURL>;
|
|
1507
2035
|
attribution: z.ZodOptional<z.ZodString>;
|
|
1508
2036
|
sourceLayers: z.ZodOptional<z.ZodObject<{
|
|
2037
|
+
landcover: z.ZodOptional<z.ZodString>;
|
|
1509
2038
|
landuse: z.ZodOptional<z.ZodString>;
|
|
1510
2039
|
park: z.ZodOptional<z.ZodString>;
|
|
1511
2040
|
water: z.ZodOptional<z.ZodString>;
|
|
@@ -1518,6 +2047,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
1518
2047
|
place: z.ZodOptional<z.ZodString>;
|
|
1519
2048
|
poi: z.ZodOptional<z.ZodString>;
|
|
1520
2049
|
}, z.core.$strict>>;
|
|
2050
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1521
2051
|
}, z.core.$strict>>;
|
|
1522
2052
|
view: z.ZodOptional<z.ZodObject<{
|
|
1523
2053
|
bearing: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1525,9 +2055,42 @@ declare const configSchema: z.ZodObject<{
|
|
|
1525
2055
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1526
2056
|
}, z.core.$strict>>;
|
|
1527
2057
|
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1528
|
-
}, z.core.$strict
|
|
1529
|
-
declare const tileflowProjectSchema: z.ZodObject<{
|
|
2058
|
+
}, z.core.$strict>>;
|
|
2059
|
+
declare const tileflowProjectSchema: z.ZodPipe<z.ZodUnknown, z.ZodObject<{
|
|
1530
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>>>;
|
|
1531
2094
|
themes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1532
2095
|
colors: z.ZodOptional<z.ZodObject<{
|
|
1533
2096
|
accent: z.ZodOptional<z.ZodString>;
|
|
@@ -1555,6 +2118,10 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1555
2118
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
1556
2119
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
1557
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>;
|
|
1558
2125
|
outline: z.ZodOptional<z.ZodString>;
|
|
1559
2126
|
}, z.core.$strict>>;
|
|
1560
2127
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -1566,12 +2133,12 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1566
2133
|
labels: z.ZodOptional<z.ZodObject<{
|
|
1567
2134
|
water: z.ZodOptional<z.ZodString>;
|
|
1568
2135
|
road: z.ZodOptional<z.ZodString>;
|
|
2136
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
1569
2137
|
primary: z.ZodOptional<z.ZodString>;
|
|
1570
2138
|
country: z.ZodOptional<z.ZodString>;
|
|
1571
2139
|
halo: z.ZodOptional<z.ZodString>;
|
|
1572
2140
|
muted: z.ZodOptional<z.ZodString>;
|
|
1573
2141
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
1574
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
1575
2142
|
settlement: z.ZodOptional<z.ZodString>;
|
|
1576
2143
|
}, z.core.$strict>>;
|
|
1577
2144
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -1648,6 +2215,10 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1648
2215
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
1649
2216
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
1650
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>;
|
|
1651
2222
|
outline: z.ZodOptional<z.ZodString>;
|
|
1652
2223
|
}, z.core.$strict>>;
|
|
1653
2224
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -1659,12 +2230,12 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1659
2230
|
labels: z.ZodOptional<z.ZodObject<{
|
|
1660
2231
|
water: z.ZodOptional<z.ZodString>;
|
|
1661
2232
|
road: z.ZodOptional<z.ZodString>;
|
|
2233
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
1662
2234
|
primary: z.ZodOptional<z.ZodString>;
|
|
1663
2235
|
country: z.ZodOptional<z.ZodString>;
|
|
1664
2236
|
halo: z.ZodOptional<z.ZodString>;
|
|
1665
2237
|
muted: z.ZodOptional<z.ZodString>;
|
|
1666
2238
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
1667
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
1668
2239
|
settlement: z.ZodOptional<z.ZodString>;
|
|
1669
2240
|
}, z.core.$strict>>;
|
|
1670
2241
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -1719,6 +2290,46 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1719
2290
|
semibold: "semibold";
|
|
1720
2291
|
bold: "bold";
|
|
1721
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>>;
|
|
1722
2333
|
}, z.core.$strict>>;
|
|
1723
2334
|
}, z.core.$strict>>>;
|
|
1724
2335
|
tilesets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -1726,6 +2337,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1726
2337
|
name: z.ZodOptional<z.ZodString>;
|
|
1727
2338
|
attribution: z.ZodOptional<z.ZodString>;
|
|
1728
2339
|
sourceLayers: z.ZodOptional<z.ZodObject<{
|
|
2340
|
+
landcover: z.ZodOptional<z.ZodString>;
|
|
1729
2341
|
landuse: z.ZodOptional<z.ZodString>;
|
|
1730
2342
|
park: z.ZodOptional<z.ZodString>;
|
|
1731
2343
|
water: z.ZodOptional<z.ZodString>;
|
|
@@ -1738,14 +2350,16 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1738
2350
|
place: z.ZodOptional<z.ZodString>;
|
|
1739
2351
|
poi: z.ZodOptional<z.ZodString>;
|
|
1740
2352
|
}, z.core.$strict>>;
|
|
2353
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1741
2354
|
}, z.core.$strict>>>;
|
|
1742
|
-
maps: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2355
|
+
maps: z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodUnknown, z.ZodObject<{
|
|
1743
2356
|
basemap: z.ZodOptional<z.ZodObject<{
|
|
1744
2357
|
type: z.ZodLiteral<"osm">;
|
|
1745
2358
|
attribution: z.ZodOptional<z.ZodString>;
|
|
1746
2359
|
glyphs: z.ZodOptional<z.ZodString>;
|
|
1747
2360
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
1748
2361
|
sourceLayers: z.ZodOptional<z.ZodObject<{
|
|
2362
|
+
landcover: z.ZodOptional<z.ZodString>;
|
|
1749
2363
|
landuse: z.ZodOptional<z.ZodString>;
|
|
1750
2364
|
park: z.ZodOptional<z.ZodString>;
|
|
1751
2365
|
water: z.ZodOptional<z.ZodString>;
|
|
@@ -1761,6 +2375,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1761
2375
|
sprite: z.ZodOptional<z.ZodString>;
|
|
1762
2376
|
tileset: z.ZodOptional<z.ZodString>;
|
|
1763
2377
|
url: z.ZodOptional<z.ZodURL>;
|
|
2378
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1764
2379
|
}, z.core.$strict>>;
|
|
1765
2380
|
name: z.ZodOptional<z.ZodString>;
|
|
1766
2381
|
tileset: z.ZodOptional<z.ZodString>;
|
|
@@ -1791,6 +2406,10 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1791
2406
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
1792
2407
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
1793
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>;
|
|
1794
2413
|
outline: z.ZodOptional<z.ZodString>;
|
|
1795
2414
|
}, z.core.$strict>>;
|
|
1796
2415
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -1802,12 +2421,12 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1802
2421
|
labels: z.ZodOptional<z.ZodObject<{
|
|
1803
2422
|
water: z.ZodOptional<z.ZodString>;
|
|
1804
2423
|
road: z.ZodOptional<z.ZodString>;
|
|
2424
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
1805
2425
|
primary: z.ZodOptional<z.ZodString>;
|
|
1806
2426
|
country: z.ZodOptional<z.ZodString>;
|
|
1807
2427
|
halo: z.ZodOptional<z.ZodString>;
|
|
1808
2428
|
muted: z.ZodOptional<z.ZodString>;
|
|
1809
2429
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
1810
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
1811
2430
|
settlement: z.ZodOptional<z.ZodString>;
|
|
1812
2431
|
}, z.core.$strict>>;
|
|
1813
2432
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -1884,6 +2503,10 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1884
2503
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
1885
2504
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
1886
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>;
|
|
1887
2510
|
outline: z.ZodOptional<z.ZodString>;
|
|
1888
2511
|
}, z.core.$strict>>;
|
|
1889
2512
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -1895,12 +2518,12 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1895
2518
|
labels: z.ZodOptional<z.ZodObject<{
|
|
1896
2519
|
water: z.ZodOptional<z.ZodString>;
|
|
1897
2520
|
road: z.ZodOptional<z.ZodString>;
|
|
2521
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
1898
2522
|
primary: z.ZodOptional<z.ZodString>;
|
|
1899
2523
|
country: z.ZodOptional<z.ZodString>;
|
|
1900
2524
|
halo: z.ZodOptional<z.ZodString>;
|
|
1901
2525
|
muted: z.ZodOptional<z.ZodString>;
|
|
1902
2526
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
1903
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
1904
2527
|
settlement: z.ZodOptional<z.ZodString>;
|
|
1905
2528
|
}, z.core.$strict>>;
|
|
1906
2529
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -1955,6 +2578,46 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1955
2578
|
semibold: "semibold";
|
|
1956
2579
|
bold: "bold";
|
|
1957
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>>;
|
|
1958
2621
|
}, z.core.$strict>>;
|
|
1959
2622
|
}, z.core.$strict>]>>;
|
|
1960
2623
|
modules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1965,6 +2628,17 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1965
2628
|
major: "major";
|
|
1966
2629
|
all: "all";
|
|
1967
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
|
+
}>>>;
|
|
1968
2642
|
roads: z.ZodOptional<z.ZodEnum<{
|
|
1969
2643
|
none: "none";
|
|
1970
2644
|
major: "major";
|
|
@@ -1980,6 +2654,16 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1980
2654
|
}, z.core.$strict>, z.ZodObject<{
|
|
1981
2655
|
type: z.ZodLiteral<"poi">;
|
|
1982
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
|
+
}>>;
|
|
1983
2667
|
icons: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
1984
2668
|
essential: "essential";
|
|
1985
2669
|
full: "full";
|
|
@@ -1991,6 +2675,11 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
1991
2675
|
minimal: "minimal";
|
|
1992
2676
|
}>>;
|
|
1993
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>>;
|
|
1994
2683
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
1995
2684
|
balanced: "balanced";
|
|
1996
2685
|
none: "none";
|
|
@@ -2016,6 +2705,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2016
2705
|
clear: "clear";
|
|
2017
2706
|
strong: "strong";
|
|
2018
2707
|
}>>;
|
|
2708
|
+
oneWayMarkers: z.ZodOptional<z.ZodBoolean>;
|
|
2019
2709
|
outline: z.ZodOptional<z.ZodEnum<{
|
|
2020
2710
|
none: "none";
|
|
2021
2711
|
subtle: "subtle";
|
|
@@ -2026,6 +2716,17 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2026
2716
|
bold: "bold";
|
|
2027
2717
|
thin: "thin";
|
|
2028
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>>;
|
|
2029
2730
|
}, z.core.$strict>, z.ZodObject<{
|
|
2030
2731
|
type: z.ZodLiteral<"styleOverride">;
|
|
2031
2732
|
layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -2080,6 +2781,10 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2080
2781
|
buildings: z.ZodOptional<z.ZodObject<{
|
|
2081
2782
|
extrusion: z.ZodOptional<z.ZodString>;
|
|
2082
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>;
|
|
2083
2788
|
outline: z.ZodOptional<z.ZodString>;
|
|
2084
2789
|
}, z.core.$strict>>;
|
|
2085
2790
|
hydro: z.ZodOptional<z.ZodObject<{
|
|
@@ -2091,12 +2796,12 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2091
2796
|
labels: z.ZodOptional<z.ZodObject<{
|
|
2092
2797
|
water: z.ZodOptional<z.ZodString>;
|
|
2093
2798
|
road: z.ZodOptional<z.ZodString>;
|
|
2799
|
+
poi: z.ZodOptional<z.ZodString>;
|
|
2094
2800
|
primary: z.ZodOptional<z.ZodString>;
|
|
2095
2801
|
country: z.ZodOptional<z.ZodString>;
|
|
2096
2802
|
halo: z.ZodOptional<z.ZodString>;
|
|
2097
2803
|
muted: z.ZodOptional<z.ZodString>;
|
|
2098
2804
|
neighborhood: z.ZodOptional<z.ZodString>;
|
|
2099
|
-
poi: z.ZodOptional<z.ZodString>;
|
|
2100
2805
|
settlement: z.ZodOptional<z.ZodString>;
|
|
2101
2806
|
}, z.core.$strict>>;
|
|
2102
2807
|
landcover: z.ZodOptional<z.ZodObject<{
|
|
@@ -2151,6 +2856,46 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2151
2856
|
semibold: "semibold";
|
|
2152
2857
|
bold: "bold";
|
|
2153
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>>;
|
|
2154
2899
|
}, z.core.$strict>>;
|
|
2155
2900
|
density: z.ZodOptional<z.ZodEnum<{
|
|
2156
2901
|
clean: "clean";
|
|
@@ -2180,6 +2925,12 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2180
2925
|
flat: "flat";
|
|
2181
2926
|
"3d": "3d";
|
|
2182
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>>;
|
|
2183
2934
|
terrain: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2184
2935
|
none: "none";
|
|
2185
2936
|
"3d": "3d";
|
|
@@ -2214,6 +2965,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2214
2965
|
url: z.ZodOptional<z.ZodURL>;
|
|
2215
2966
|
attribution: z.ZodOptional<z.ZodString>;
|
|
2216
2967
|
sourceLayers: z.ZodOptional<z.ZodObject<{
|
|
2968
|
+
landcover: z.ZodOptional<z.ZodString>;
|
|
2217
2969
|
landuse: z.ZodOptional<z.ZodString>;
|
|
2218
2970
|
park: z.ZodOptional<z.ZodString>;
|
|
2219
2971
|
water: z.ZodOptional<z.ZodString>;
|
|
@@ -2226,6 +2978,7 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2226
2978
|
place: z.ZodOptional<z.ZodString>;
|
|
2227
2979
|
poi: z.ZodOptional<z.ZodString>;
|
|
2228
2980
|
}, z.core.$strict>>;
|
|
2981
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2229
2982
|
}, z.core.$strict>>;
|
|
2230
2983
|
view: z.ZodOptional<z.ZodObject<{
|
|
2231
2984
|
bearing: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2233,8 +2986,8 @@ declare const tileflowProjectSchema: z.ZodObject<{
|
|
|
2233
2986
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
2234
2987
|
}, z.core.$strict>>;
|
|
2235
2988
|
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2236
|
-
}, z.core.$strict
|
|
2237
|
-
}, z.core.$strict
|
|
2989
|
+
}, z.core.$strict>>>;
|
|
2990
|
+
}, z.core.$strict>>;
|
|
2238
2991
|
declare function parseTileflowMap(input: unknown): TileflowConfig;
|
|
2239
2992
|
declare function parseTileflowProject(input: unknown): TileflowProjectConfig;
|
|
2240
2993
|
declare function validateConfig(input: unknown): ValidationResult;
|
|
@@ -2252,6 +3005,141 @@ declare function poi(options?: TileflowPoiModuleOptions): TileflowPoiModuleConfi
|
|
|
2252
3005
|
|
|
2253
3006
|
declare function styleOverride(options?: TileflowStyleOverrideOptions): TileflowStyleOverrideModuleConfig;
|
|
2254
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
|
+
|
|
2255
3143
|
declare const defaultTileflowManifestUrl = "/tileflow/manifest.json";
|
|
2256
3144
|
declare const defaultTileflowStyleBaseUrl = "http://localhost:3333";
|
|
2257
3145
|
type TileflowAnalytics = {
|
|
@@ -2360,4 +3248,4 @@ declare function normalizeTileflowStaticImageSize(input: {
|
|
|
2360
3248
|
};
|
|
2361
3249
|
declare function inferTileflowAnalyticsFromStyleUrl(styleUrl: string): TileflowAnalytics | undefined;
|
|
2362
3250
|
|
|
2363
|
-
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 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 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 };
|