@tileflow/static 0.1.0-alpha.23 → 0.1.0-alpha.25
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 +8 -0
- package/dist/{chunk-N63IFMFM.js → chunk-RGXE4HDY.js} +6 -0
- package/dist/client.d.ts +5 -4
- package/dist/client.js +1 -1
- package/dist/index.js +1 -1
- package/dist/manifest.d.ts +55 -55
- package/dist/overlays.d.ts +1 -1
- package/dist/scene-contract-Cr6BNLz0.d.ts +137 -137
- package/dist/scene.d.ts +12 -12
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -237,3 +237,11 @@ logical operation, including a distinct-key cache reuse. Downloading an immutabl
|
|
|
237
237
|
consumes zero units.
|
|
238
238
|
|
|
239
239
|
Docs: https://tileflow.dev/docs
|
|
240
|
+
|
|
241
|
+
## Team credentials
|
|
242
|
+
|
|
243
|
+
A Team credential can serve multiple Maps. Pass `mapId` in the options to `createStaticMap` or
|
|
244
|
+
`precacheStaticMap`; it must be a Managed Map ID such as `map_1234567890abcdef`. The client sends
|
|
245
|
+
`X-Tileflow-Map-Id` separately from the portable scene. `scene.map` remains the deployed environment
|
|
246
|
+
name. The Hosted API must support unified Team credentials and authorize the selected Map.
|
|
247
|
+
Existing Map-scoped keys remain usable without this option. Keep either key on a trusted server.
|
|
@@ -136,6 +136,12 @@ async function requestStaticMapUntilReady(request, options) {
|
|
|
136
136
|
if (options.apiKey) {
|
|
137
137
|
headers.Authorization = `Bearer ${options.apiKey}`;
|
|
138
138
|
}
|
|
139
|
+
if (options.mapId !== void 0) {
|
|
140
|
+
if (!/^map_[A-Za-z0-9_-]{16}$/u.test(options.mapId)) {
|
|
141
|
+
throw new Error("Invalid Tileflow Map ID.");
|
|
142
|
+
}
|
|
143
|
+
headers["X-Tileflow-Map-Id"] = options.mapId;
|
|
144
|
+
}
|
|
139
145
|
return runWithinStaticMapBudget(maxWaitMs, options.signal, async (signal) => {
|
|
140
146
|
let operationId = null;
|
|
141
147
|
while (true) {
|
package/dist/client.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ type StaticMapHostedResult = StaticMapResultBase & Readonly<{
|
|
|
39
39
|
type StaticMapResult = StaticMapImageResult | StaticMapHostedResult;
|
|
40
40
|
type StaticMapCreateOptions = {
|
|
41
41
|
apiKey?: string;
|
|
42
|
+
mapId?: string;
|
|
42
43
|
apiUrl?: string;
|
|
43
44
|
fetch?: typeof fetch;
|
|
44
45
|
idempotencyKey: string;
|
|
@@ -80,10 +81,10 @@ declare const staticMapAttributionResultSchema: z.ZodObject<{
|
|
|
80
81
|
external: "external";
|
|
81
82
|
}>;
|
|
82
83
|
position: z.ZodNullable<z.ZodEnum<{
|
|
83
|
-
"top-left": "top-left";
|
|
84
|
-
"top-right": "top-right";
|
|
85
84
|
"bottom-left": "bottom-left";
|
|
86
85
|
"bottom-right": "bottom-right";
|
|
86
|
+
"top-left": "top-left";
|
|
87
|
+
"top-right": "top-right";
|
|
87
88
|
}>>;
|
|
88
89
|
}, z.core.$strict>;
|
|
89
90
|
declare const staticMapHostedResultSchema: z.ZodObject<{
|
|
@@ -111,10 +112,10 @@ declare const staticMapHostedResultSchema: z.ZodObject<{
|
|
|
111
112
|
external: "external";
|
|
112
113
|
}>;
|
|
113
114
|
position: z.ZodNullable<z.ZodEnum<{
|
|
114
|
-
"top-left": "top-left";
|
|
115
|
-
"top-right": "top-right";
|
|
116
115
|
"bottom-left": "bottom-left";
|
|
117
116
|
"bottom-right": "bottom-right";
|
|
117
|
+
"top-left": "top-left";
|
|
118
|
+
"top-right": "top-right";
|
|
118
119
|
}>>;
|
|
119
120
|
}, z.core.$strict>;
|
|
120
121
|
resultVersion: z.ZodLiteral<1>;
|
package/dist/client.js
CHANGED
package/dist/index.js
CHANGED
package/dist/manifest.d.ts
CHANGED
|
@@ -12,10 +12,10 @@ declare const staticAttributionLimits: {
|
|
|
12
12
|
readonly maxUrlLength: 2048;
|
|
13
13
|
};
|
|
14
14
|
declare const staticResolvedAttributionPositionSchema: z.ZodEnum<{
|
|
15
|
-
"top-right": "top-right";
|
|
16
|
-
"bottom-right": "bottom-right";
|
|
17
15
|
"bottom-left": "bottom-left";
|
|
16
|
+
"bottom-right": "bottom-right";
|
|
18
17
|
"top-left": "top-left";
|
|
18
|
+
"top-right": "top-right";
|
|
19
19
|
}>;
|
|
20
20
|
declare const staticAttributionSegmentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21
21
|
kind: z.ZodLiteral<"text">;
|
|
@@ -122,10 +122,10 @@ declare const staticAttributionPlanSchema: z.ZodObject<{
|
|
|
122
122
|
external: "external";
|
|
123
123
|
}>;
|
|
124
124
|
position: z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodEnum<{
|
|
125
|
-
"top-right": "top-right";
|
|
126
|
-
"bottom-right": "bottom-right";
|
|
127
125
|
"bottom-left": "bottom-left";
|
|
126
|
+
"bottom-right": "bottom-right";
|
|
128
127
|
"top-left": "top-left";
|
|
128
|
+
"top-right": "top-right";
|
|
129
129
|
}>, z.ZodNull]>;
|
|
130
130
|
schemaVersion: z.ZodLiteral<1>;
|
|
131
131
|
}, z.core.$strict>;
|
|
@@ -194,10 +194,10 @@ declare const staticRenderManifestSchema: z.ZodObject<{
|
|
|
194
194
|
external: "external";
|
|
195
195
|
}>;
|
|
196
196
|
position: z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodEnum<{
|
|
197
|
-
"top-right": "top-right";
|
|
198
|
-
"bottom-right": "bottom-right";
|
|
199
197
|
"bottom-left": "bottom-left";
|
|
198
|
+
"bottom-right": "bottom-right";
|
|
200
199
|
"top-left": "top-left";
|
|
200
|
+
"top-right": "top-right";
|
|
201
201
|
}>, z.ZodNull]>;
|
|
202
202
|
schemaVersion: z.ZodLiteral<1>;
|
|
203
203
|
}, z.core.$strict>;
|
|
@@ -241,11 +241,11 @@ declare const staticRenderManifestSchema: z.ZodObject<{
|
|
|
241
241
|
attribution: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
242
242
|
mode: z.ZodOptional<z.ZodLiteral<"embedded">>;
|
|
243
243
|
position: z.ZodOptional<z.ZodEnum<{
|
|
244
|
-
|
|
245
|
-
"bottom-right": "bottom-right";
|
|
244
|
+
auto: "auto";
|
|
246
245
|
"bottom-left": "bottom-left";
|
|
246
|
+
"bottom-right": "bottom-right";
|
|
247
247
|
"top-left": "top-left";
|
|
248
|
-
|
|
248
|
+
"top-right": "top-right";
|
|
249
249
|
}>>;
|
|
250
250
|
}, z.core.$strict>, z.ZodObject<{
|
|
251
251
|
mode: z.ZodLiteral<"external">;
|
|
@@ -272,8 +272,8 @@ declare const staticRenderManifestSchema: z.ZodObject<{
|
|
|
272
272
|
type: z.ZodLiteral<"auto">;
|
|
273
273
|
}, z.core.$strict>], "type">;
|
|
274
274
|
format: z.ZodOptional<z.ZodEnum<{
|
|
275
|
-
png: "png";
|
|
276
275
|
jpeg: "jpeg";
|
|
276
|
+
png: "png";
|
|
277
277
|
webp: "webp";
|
|
278
278
|
}>>;
|
|
279
279
|
map: z.ZodString;
|
|
@@ -283,12 +283,12 @@ declare const staticRenderManifestSchema: z.ZodObject<{
|
|
|
283
283
|
id: z.ZodOptional<z.ZodString>;
|
|
284
284
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
285
285
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
286
|
-
"above-water": "above-water";
|
|
287
|
-
"below-roads": "below-roads";
|
|
288
|
-
"above-roads": "above-roads";
|
|
289
286
|
"above-buildings": "above-buildings";
|
|
290
|
-
"below-labels": "below-labels";
|
|
291
287
|
"above-labels": "above-labels";
|
|
288
|
+
"above-roads": "above-roads";
|
|
289
|
+
"above-water": "above-water";
|
|
290
|
+
"below-labels": "below-labels";
|
|
291
|
+
"below-roads": "below-roads";
|
|
292
292
|
}>>;
|
|
293
293
|
type: z.ZodLiteral<"line">;
|
|
294
294
|
width: z.ZodDefault<z.ZodNumber>;
|
|
@@ -298,12 +298,12 @@ declare const staticRenderManifestSchema: z.ZodObject<{
|
|
|
298
298
|
id: z.ZodOptional<z.ZodString>;
|
|
299
299
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
300
300
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
301
|
-
"above-water": "above-water";
|
|
302
|
-
"below-roads": "below-roads";
|
|
303
|
-
"above-roads": "above-roads";
|
|
304
301
|
"above-buildings": "above-buildings";
|
|
305
|
-
"below-labels": "below-labels";
|
|
306
302
|
"above-labels": "above-labels";
|
|
303
|
+
"above-roads": "above-roads";
|
|
304
|
+
"above-water": "above-water";
|
|
305
|
+
"below-labels": "below-labels";
|
|
306
|
+
"below-roads": "below-roads";
|
|
307
307
|
}>>;
|
|
308
308
|
radius: z.ZodDefault<z.ZodNumber>;
|
|
309
309
|
strokeColor: z.ZodOptional<z.ZodString>;
|
|
@@ -314,12 +314,12 @@ declare const staticRenderManifestSchema: z.ZodObject<{
|
|
|
314
314
|
coordinate: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
315
315
|
id: z.ZodOptional<z.ZodString>;
|
|
316
316
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
317
|
-
"above-water": "above-water";
|
|
318
|
-
"below-roads": "below-roads";
|
|
319
|
-
"above-roads": "above-roads";
|
|
320
317
|
"above-buildings": "above-buildings";
|
|
321
|
-
"below-labels": "below-labels";
|
|
322
318
|
"above-labels": "above-labels";
|
|
319
|
+
"above-roads": "above-roads";
|
|
320
|
+
"above-water": "above-water";
|
|
321
|
+
"below-labels": "below-labels";
|
|
322
|
+
"below-roads": "below-roads";
|
|
323
323
|
}>>;
|
|
324
324
|
radius: z.ZodDefault<z.ZodNumber>;
|
|
325
325
|
strokeColor: z.ZodDefault<z.ZodString>;
|
|
@@ -331,27 +331,27 @@ declare const staticRenderManifestSchema: z.ZodObject<{
|
|
|
331
331
|
id: z.ZodOptional<z.ZodString>;
|
|
332
332
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
333
333
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
334
|
-
"above-water": "above-water";
|
|
335
|
-
"below-roads": "below-roads";
|
|
336
|
-
"above-roads": "above-roads";
|
|
337
334
|
"above-buildings": "above-buildings";
|
|
338
|
-
"below-labels": "below-labels";
|
|
339
335
|
"above-labels": "above-labels";
|
|
336
|
+
"above-roads": "above-roads";
|
|
337
|
+
"above-water": "above-water";
|
|
338
|
+
"below-labels": "below-labels";
|
|
339
|
+
"below-roads": "below-roads";
|
|
340
340
|
}>>;
|
|
341
341
|
stroke: z.ZodOptional<z.ZodString>;
|
|
342
342
|
strokeWidth: z.ZodDefault<z.ZodNumber>;
|
|
343
343
|
type: z.ZodLiteral<"polygon">;
|
|
344
344
|
}, z.core.$strict>, z.ZodObject<{
|
|
345
345
|
anchor: z.ZodDefault<z.ZodEnum<{
|
|
346
|
+
bottom: "bottom";
|
|
347
|
+
"bottom-left": "bottom-left";
|
|
348
|
+
"bottom-right": "bottom-right";
|
|
349
|
+
center: "center";
|
|
346
350
|
left: "left";
|
|
347
351
|
right: "right";
|
|
348
|
-
center: "center";
|
|
349
352
|
top: "top";
|
|
350
|
-
"top-right": "top-right";
|
|
351
|
-
"bottom-right": "bottom-right";
|
|
352
|
-
bottom: "bottom";
|
|
353
|
-
"bottom-left": "bottom-left";
|
|
354
353
|
"top-left": "top-left";
|
|
354
|
+
"top-right": "top-right";
|
|
355
355
|
}>>;
|
|
356
356
|
collision: z.ZodDefault<z.ZodEnum<{
|
|
357
357
|
"always-visible": "always-visible";
|
|
@@ -369,20 +369,20 @@ declare const staticRenderManifestSchema: z.ZodObject<{
|
|
|
369
369
|
haloWidth: z.ZodDefault<z.ZodNumber>;
|
|
370
370
|
language: z.ZodDefault<z.ZodEnum<{
|
|
371
371
|
ja: "ja";
|
|
372
|
+
ko: "ko";
|
|
372
373
|
"zh-Hans": "zh-Hans";
|
|
373
374
|
"zh-Hant": "zh-Hant";
|
|
374
|
-
ko: "ko";
|
|
375
375
|
}>>;
|
|
376
376
|
position: z.ZodOptional<z.ZodEnum<{
|
|
377
|
-
left: "left";
|
|
378
|
-
right: "right";
|
|
379
|
-
center: "center";
|
|
380
377
|
above: "above";
|
|
378
|
+
"above-left": "above-left";
|
|
381
379
|
"above-right": "above-right";
|
|
382
|
-
"below-right": "below-right";
|
|
383
380
|
below: "below";
|
|
384
381
|
"below-left": "below-left";
|
|
385
|
-
"
|
|
382
|
+
"below-right": "below-right";
|
|
383
|
+
center: "center";
|
|
384
|
+
left: "left";
|
|
385
|
+
right: "right";
|
|
386
386
|
}>>;
|
|
387
387
|
text: z.ZodString;
|
|
388
388
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -396,24 +396,24 @@ declare const staticRenderManifestSchema: z.ZodObject<{
|
|
|
396
396
|
gap: z.ZodDefault<z.ZodNumber>;
|
|
397
397
|
language: z.ZodDefault<z.ZodEnum<{
|
|
398
398
|
ja: "ja";
|
|
399
|
+
ko: "ko";
|
|
399
400
|
"zh-Hans": "zh-Hans";
|
|
400
401
|
"zh-Hant": "zh-Hant";
|
|
401
|
-
ko: "ko";
|
|
402
402
|
}>>;
|
|
403
403
|
padding: z.ZodDefault<z.ZodObject<{
|
|
404
404
|
x: z.ZodDefault<z.ZodNumber>;
|
|
405
405
|
y: z.ZodDefault<z.ZodNumber>;
|
|
406
406
|
}, z.core.$strict>>;
|
|
407
407
|
position: z.ZodOptional<z.ZodEnum<{
|
|
408
|
-
left: "left";
|
|
409
|
-
right: "right";
|
|
410
|
-
center: "center";
|
|
411
408
|
above: "above";
|
|
409
|
+
"above-left": "above-left";
|
|
412
410
|
"above-right": "above-right";
|
|
413
|
-
"below-right": "below-right";
|
|
414
411
|
below: "below";
|
|
415
412
|
"below-left": "below-left";
|
|
416
|
-
"
|
|
413
|
+
"below-right": "below-right";
|
|
414
|
+
center: "center";
|
|
415
|
+
left: "left";
|
|
416
|
+
right: "right";
|
|
417
417
|
}>>;
|
|
418
418
|
text: z.ZodString;
|
|
419
419
|
}, z.core.$strict>]>, z.ZodTransform<{
|
|
@@ -423,9 +423,9 @@ declare const staticRenderManifestSchema: z.ZodObject<{
|
|
|
423
423
|
gap: number;
|
|
424
424
|
haloColor: string;
|
|
425
425
|
haloWidth: number;
|
|
426
|
-
language: "ja" | "
|
|
426
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
427
427
|
text: string;
|
|
428
|
-
position?: "
|
|
428
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
429
429
|
} | {
|
|
430
430
|
appearance: "badge";
|
|
431
431
|
backgroundColor: string;
|
|
@@ -435,13 +435,13 @@ declare const staticRenderManifestSchema: z.ZodObject<{
|
|
|
435
435
|
color: string;
|
|
436
436
|
fontSize: number;
|
|
437
437
|
gap: number;
|
|
438
|
-
language: "ja" | "
|
|
438
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
439
439
|
padding: {
|
|
440
440
|
x: number;
|
|
441
441
|
y: number;
|
|
442
442
|
};
|
|
443
443
|
text: string;
|
|
444
|
-
position?: "
|
|
444
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
445
445
|
}, string | {
|
|
446
446
|
appearance: "plain";
|
|
447
447
|
color: string;
|
|
@@ -449,9 +449,9 @@ declare const staticRenderManifestSchema: z.ZodObject<{
|
|
|
449
449
|
gap: number;
|
|
450
450
|
haloColor: string;
|
|
451
451
|
haloWidth: number;
|
|
452
|
-
language: "ja" | "
|
|
452
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
453
453
|
text: string;
|
|
454
|
-
position?: "
|
|
454
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
455
455
|
} | {
|
|
456
456
|
appearance: "badge";
|
|
457
457
|
backgroundColor: string;
|
|
@@ -461,23 +461,23 @@ declare const staticRenderManifestSchema: z.ZodObject<{
|
|
|
461
461
|
color: string;
|
|
462
462
|
fontSize: number;
|
|
463
463
|
gap: number;
|
|
464
|
-
language: "ja" | "
|
|
464
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
465
465
|
padding: {
|
|
466
466
|
x: number;
|
|
467
467
|
y: number;
|
|
468
468
|
};
|
|
469
469
|
text: string;
|
|
470
|
-
position?: "
|
|
470
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
471
471
|
}>>>;
|
|
472
472
|
offset: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
473
473
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
474
474
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
475
|
-
"above-water": "above-water";
|
|
476
|
-
"below-roads": "below-roads";
|
|
477
|
-
"above-roads": "above-roads";
|
|
478
475
|
"above-buildings": "above-buildings";
|
|
479
|
-
"below-labels": "below-labels";
|
|
480
476
|
"above-labels": "above-labels";
|
|
477
|
+
"above-roads": "above-roads";
|
|
478
|
+
"above-water": "above-water";
|
|
479
|
+
"below-labels": "below-labels";
|
|
480
|
+
"below-roads": "below-roads";
|
|
481
481
|
}>>;
|
|
482
482
|
scale: z.ZodDefault<z.ZodNumber>;
|
|
483
483
|
type: z.ZodLiteral<"symbol">;
|
package/dist/overlays.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare function compileStaticOverlays(overlays: StaticOverlay[], options?: {
|
|
|
11
11
|
longitudeOffsets?: readonly number[];
|
|
12
12
|
}): {
|
|
13
13
|
layers: Record<string, unknown>[];
|
|
14
|
-
placements: Record<string, "above-
|
|
14
|
+
placements: Record<string, "above-buildings" | "above-labels" | "above-roads" | "above-water" | "below-labels" | "below-roads">;
|
|
15
15
|
sources: Record<string, Record<string, unknown>>;
|
|
16
16
|
symbols: {
|
|
17
17
|
imageId: string;
|
|
@@ -18,25 +18,25 @@ declare const staticSymbolLanguages: readonly ["ja", "zh-Hans", "zh-Hant", "ko"]
|
|
|
18
18
|
declare const staticSymbolLabelAppearances: readonly ["plain", "badge"];
|
|
19
19
|
declare const staticSymbolLabelPositions: readonly ["center", "above", "above-right", "right", "below-right", "below", "below-left", "left", "above-left"];
|
|
20
20
|
declare const staticMapFormatSchema: z.ZodEnum<{
|
|
21
|
-
png: "png";
|
|
22
21
|
jpeg: "jpeg";
|
|
22
|
+
png: "png";
|
|
23
23
|
webp: "webp";
|
|
24
24
|
}>;
|
|
25
25
|
declare const staticAttributionPositionSchema: z.ZodEnum<{
|
|
26
26
|
auto: "auto";
|
|
27
|
-
"top-left": "top-left";
|
|
28
|
-
"top-right": "top-right";
|
|
29
27
|
"bottom-left": "bottom-left";
|
|
30
28
|
"bottom-right": "bottom-right";
|
|
29
|
+
"top-left": "top-left";
|
|
30
|
+
"top-right": "top-right";
|
|
31
31
|
}>;
|
|
32
32
|
declare const staticAttributionRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
33
33
|
mode: z.ZodOptional<z.ZodLiteral<"embedded">>;
|
|
34
34
|
position: z.ZodOptional<z.ZodEnum<{
|
|
35
35
|
auto: "auto";
|
|
36
|
-
"top-left": "top-left";
|
|
37
|
-
"top-right": "top-right";
|
|
38
36
|
"bottom-left": "bottom-left";
|
|
39
37
|
"bottom-right": "bottom-right";
|
|
38
|
+
"top-left": "top-left";
|
|
39
|
+
"top-right": "top-right";
|
|
40
40
|
}>>;
|
|
41
41
|
}, z.core.$strict>, z.ZodObject<{
|
|
42
42
|
mode: z.ZodLiteral<"external">;
|
|
@@ -53,12 +53,12 @@ declare const lineOverlaySchema: z.ZodObject<{
|
|
|
53
53
|
id: z.ZodOptional<z.ZodString>;
|
|
54
54
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
55
55
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
56
|
-
"above-water": "above-water";
|
|
57
|
-
"below-roads": "below-roads";
|
|
58
|
-
"above-roads": "above-roads";
|
|
59
56
|
"above-buildings": "above-buildings";
|
|
60
|
-
"below-labels": "below-labels";
|
|
61
57
|
"above-labels": "above-labels";
|
|
58
|
+
"above-roads": "above-roads";
|
|
59
|
+
"above-water": "above-water";
|
|
60
|
+
"below-labels": "below-labels";
|
|
61
|
+
"below-roads": "below-roads";
|
|
62
62
|
}>>;
|
|
63
63
|
type: z.ZodLiteral<"line">;
|
|
64
64
|
width: z.ZodDefault<z.ZodNumber>;
|
|
@@ -69,12 +69,12 @@ declare const circleOverlaySchema: z.ZodObject<{
|
|
|
69
69
|
id: z.ZodOptional<z.ZodString>;
|
|
70
70
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
71
71
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
72
|
-
"above-water": "above-water";
|
|
73
|
-
"below-roads": "below-roads";
|
|
74
|
-
"above-roads": "above-roads";
|
|
75
72
|
"above-buildings": "above-buildings";
|
|
76
|
-
"below-labels": "below-labels";
|
|
77
73
|
"above-labels": "above-labels";
|
|
74
|
+
"above-roads": "above-roads";
|
|
75
|
+
"above-water": "above-water";
|
|
76
|
+
"below-labels": "below-labels";
|
|
77
|
+
"below-roads": "below-roads";
|
|
78
78
|
}>>;
|
|
79
79
|
radius: z.ZodDefault<z.ZodNumber>;
|
|
80
80
|
strokeColor: z.ZodOptional<z.ZodString>;
|
|
@@ -86,12 +86,12 @@ declare const markerOverlaySchema: z.ZodObject<{
|
|
|
86
86
|
coordinate: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
87
87
|
id: z.ZodOptional<z.ZodString>;
|
|
88
88
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
89
|
-
"above-water": "above-water";
|
|
90
|
-
"below-roads": "below-roads";
|
|
91
|
-
"above-roads": "above-roads";
|
|
92
89
|
"above-buildings": "above-buildings";
|
|
93
|
-
"below-labels": "below-labels";
|
|
94
90
|
"above-labels": "above-labels";
|
|
91
|
+
"above-roads": "above-roads";
|
|
92
|
+
"above-water": "above-water";
|
|
93
|
+
"below-labels": "below-labels";
|
|
94
|
+
"below-roads": "below-roads";
|
|
95
95
|
}>>;
|
|
96
96
|
radius: z.ZodDefault<z.ZodNumber>;
|
|
97
97
|
strokeColor: z.ZodDefault<z.ZodString>;
|
|
@@ -104,12 +104,12 @@ declare const polygonOverlaySchema: z.ZodObject<{
|
|
|
104
104
|
id: z.ZodOptional<z.ZodString>;
|
|
105
105
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
106
106
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
107
|
-
"above-water": "above-water";
|
|
108
|
-
"below-roads": "below-roads";
|
|
109
|
-
"above-roads": "above-roads";
|
|
110
107
|
"above-buildings": "above-buildings";
|
|
111
|
-
"below-labels": "below-labels";
|
|
112
108
|
"above-labels": "above-labels";
|
|
109
|
+
"above-roads": "above-roads";
|
|
110
|
+
"above-water": "above-water";
|
|
111
|
+
"below-labels": "below-labels";
|
|
112
|
+
"below-roads": "below-roads";
|
|
113
113
|
}>>;
|
|
114
114
|
stroke: z.ZodOptional<z.ZodString>;
|
|
115
115
|
strokeWidth: z.ZodDefault<z.ZodNumber>;
|
|
@@ -117,15 +117,15 @@ declare const polygonOverlaySchema: z.ZodObject<{
|
|
|
117
117
|
}, z.core.$strict>;
|
|
118
118
|
declare const symbolOverlaySchema: z.ZodObject<{
|
|
119
119
|
anchor: z.ZodDefault<z.ZodEnum<{
|
|
120
|
-
|
|
121
|
-
"top-right": "top-right";
|
|
120
|
+
bottom: "bottom";
|
|
122
121
|
"bottom-left": "bottom-left";
|
|
123
122
|
"bottom-right": "bottom-right";
|
|
124
123
|
center: "center";
|
|
125
|
-
bottom: "bottom";
|
|
126
124
|
left: "left";
|
|
127
125
|
right: "right";
|
|
128
126
|
top: "top";
|
|
127
|
+
"top-left": "top-left";
|
|
128
|
+
"top-right": "top-right";
|
|
129
129
|
}>>;
|
|
130
130
|
collision: z.ZodDefault<z.ZodEnum<{
|
|
131
131
|
"always-visible": "always-visible";
|
|
@@ -143,20 +143,20 @@ declare const symbolOverlaySchema: z.ZodObject<{
|
|
|
143
143
|
haloWidth: z.ZodDefault<z.ZodNumber>;
|
|
144
144
|
language: z.ZodDefault<z.ZodEnum<{
|
|
145
145
|
ja: "ja";
|
|
146
|
+
ko: "ko";
|
|
146
147
|
"zh-Hans": "zh-Hans";
|
|
147
148
|
"zh-Hant": "zh-Hant";
|
|
148
|
-
ko: "ko";
|
|
149
149
|
}>>;
|
|
150
150
|
position: z.ZodOptional<z.ZodEnum<{
|
|
151
|
-
center: "center";
|
|
152
|
-
left: "left";
|
|
153
|
-
right: "right";
|
|
154
151
|
above: "above";
|
|
152
|
+
"above-left": "above-left";
|
|
155
153
|
"above-right": "above-right";
|
|
156
|
-
"below-right": "below-right";
|
|
157
154
|
below: "below";
|
|
158
155
|
"below-left": "below-left";
|
|
159
|
-
"
|
|
156
|
+
"below-right": "below-right";
|
|
157
|
+
center: "center";
|
|
158
|
+
left: "left";
|
|
159
|
+
right: "right";
|
|
160
160
|
}>>;
|
|
161
161
|
text: z.ZodString;
|
|
162
162
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -170,24 +170,24 @@ declare const symbolOverlaySchema: z.ZodObject<{
|
|
|
170
170
|
gap: z.ZodDefault<z.ZodNumber>;
|
|
171
171
|
language: z.ZodDefault<z.ZodEnum<{
|
|
172
172
|
ja: "ja";
|
|
173
|
+
ko: "ko";
|
|
173
174
|
"zh-Hans": "zh-Hans";
|
|
174
175
|
"zh-Hant": "zh-Hant";
|
|
175
|
-
ko: "ko";
|
|
176
176
|
}>>;
|
|
177
177
|
padding: z.ZodDefault<z.ZodObject<{
|
|
178
178
|
x: z.ZodDefault<z.ZodNumber>;
|
|
179
179
|
y: z.ZodDefault<z.ZodNumber>;
|
|
180
180
|
}, z.core.$strict>>;
|
|
181
181
|
position: z.ZodOptional<z.ZodEnum<{
|
|
182
|
-
center: "center";
|
|
183
|
-
left: "left";
|
|
184
|
-
right: "right";
|
|
185
182
|
above: "above";
|
|
183
|
+
"above-left": "above-left";
|
|
186
184
|
"above-right": "above-right";
|
|
187
|
-
"below-right": "below-right";
|
|
188
185
|
below: "below";
|
|
189
186
|
"below-left": "below-left";
|
|
190
|
-
"
|
|
187
|
+
"below-right": "below-right";
|
|
188
|
+
center: "center";
|
|
189
|
+
left: "left";
|
|
190
|
+
right: "right";
|
|
191
191
|
}>>;
|
|
192
192
|
text: z.ZodString;
|
|
193
193
|
}, z.core.$strict>]>, z.ZodTransform<{
|
|
@@ -197,9 +197,9 @@ declare const symbolOverlaySchema: z.ZodObject<{
|
|
|
197
197
|
gap: number;
|
|
198
198
|
haloColor: string;
|
|
199
199
|
haloWidth: number;
|
|
200
|
-
language: "ja" | "
|
|
200
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
201
201
|
text: string;
|
|
202
|
-
position?: "
|
|
202
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
203
203
|
} | {
|
|
204
204
|
appearance: "badge";
|
|
205
205
|
backgroundColor: string;
|
|
@@ -209,13 +209,13 @@ declare const symbolOverlaySchema: z.ZodObject<{
|
|
|
209
209
|
color: string;
|
|
210
210
|
fontSize: number;
|
|
211
211
|
gap: number;
|
|
212
|
-
language: "ja" | "
|
|
212
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
213
213
|
padding: {
|
|
214
214
|
x: number;
|
|
215
215
|
y: number;
|
|
216
216
|
};
|
|
217
217
|
text: string;
|
|
218
|
-
position?: "
|
|
218
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
219
219
|
}, string | {
|
|
220
220
|
appearance: "plain";
|
|
221
221
|
color: string;
|
|
@@ -223,9 +223,9 @@ declare const symbolOverlaySchema: z.ZodObject<{
|
|
|
223
223
|
gap: number;
|
|
224
224
|
haloColor: string;
|
|
225
225
|
haloWidth: number;
|
|
226
|
-
language: "ja" | "
|
|
226
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
227
227
|
text: string;
|
|
228
|
-
position?: "
|
|
228
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
229
229
|
} | {
|
|
230
230
|
appearance: "badge";
|
|
231
231
|
backgroundColor: string;
|
|
@@ -235,23 +235,23 @@ declare const symbolOverlaySchema: z.ZodObject<{
|
|
|
235
235
|
color: string;
|
|
236
236
|
fontSize: number;
|
|
237
237
|
gap: number;
|
|
238
|
-
language: "ja" | "
|
|
238
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
239
239
|
padding: {
|
|
240
240
|
x: number;
|
|
241
241
|
y: number;
|
|
242
242
|
};
|
|
243
243
|
text: string;
|
|
244
|
-
position?: "
|
|
244
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
245
245
|
}>>>;
|
|
246
246
|
offset: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
247
247
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
248
248
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
249
|
-
"above-water": "above-water";
|
|
250
|
-
"below-roads": "below-roads";
|
|
251
|
-
"above-roads": "above-roads";
|
|
252
249
|
"above-buildings": "above-buildings";
|
|
253
|
-
"below-labels": "below-labels";
|
|
254
250
|
"above-labels": "above-labels";
|
|
251
|
+
"above-roads": "above-roads";
|
|
252
|
+
"above-water": "above-water";
|
|
253
|
+
"below-labels": "below-labels";
|
|
254
|
+
"below-roads": "below-roads";
|
|
255
255
|
}>>;
|
|
256
256
|
scale: z.ZodDefault<z.ZodNumber>;
|
|
257
257
|
type: z.ZodLiteral<"symbol">;
|
|
@@ -262,12 +262,12 @@ declare const staticOverlaySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
262
262
|
id: z.ZodOptional<z.ZodString>;
|
|
263
263
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
264
264
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
265
|
-
"above-water": "above-water";
|
|
266
|
-
"below-roads": "below-roads";
|
|
267
|
-
"above-roads": "above-roads";
|
|
268
265
|
"above-buildings": "above-buildings";
|
|
269
|
-
"below-labels": "below-labels";
|
|
270
266
|
"above-labels": "above-labels";
|
|
267
|
+
"above-roads": "above-roads";
|
|
268
|
+
"above-water": "above-water";
|
|
269
|
+
"below-labels": "below-labels";
|
|
270
|
+
"below-roads": "below-roads";
|
|
271
271
|
}>>;
|
|
272
272
|
type: z.ZodLiteral<"line">;
|
|
273
273
|
width: z.ZodDefault<z.ZodNumber>;
|
|
@@ -277,12 +277,12 @@ declare const staticOverlaySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
277
277
|
id: z.ZodOptional<z.ZodString>;
|
|
278
278
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
279
279
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
280
|
-
"above-water": "above-water";
|
|
281
|
-
"below-roads": "below-roads";
|
|
282
|
-
"above-roads": "above-roads";
|
|
283
280
|
"above-buildings": "above-buildings";
|
|
284
|
-
"below-labels": "below-labels";
|
|
285
281
|
"above-labels": "above-labels";
|
|
282
|
+
"above-roads": "above-roads";
|
|
283
|
+
"above-water": "above-water";
|
|
284
|
+
"below-labels": "below-labels";
|
|
285
|
+
"below-roads": "below-roads";
|
|
286
286
|
}>>;
|
|
287
287
|
radius: z.ZodDefault<z.ZodNumber>;
|
|
288
288
|
strokeColor: z.ZodOptional<z.ZodString>;
|
|
@@ -293,12 +293,12 @@ declare const staticOverlaySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
293
293
|
coordinate: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
294
294
|
id: z.ZodOptional<z.ZodString>;
|
|
295
295
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
296
|
-
"above-water": "above-water";
|
|
297
|
-
"below-roads": "below-roads";
|
|
298
|
-
"above-roads": "above-roads";
|
|
299
296
|
"above-buildings": "above-buildings";
|
|
300
|
-
"below-labels": "below-labels";
|
|
301
297
|
"above-labels": "above-labels";
|
|
298
|
+
"above-roads": "above-roads";
|
|
299
|
+
"above-water": "above-water";
|
|
300
|
+
"below-labels": "below-labels";
|
|
301
|
+
"below-roads": "below-roads";
|
|
302
302
|
}>>;
|
|
303
303
|
radius: z.ZodDefault<z.ZodNumber>;
|
|
304
304
|
strokeColor: z.ZodDefault<z.ZodString>;
|
|
@@ -310,27 +310,27 @@ declare const staticOverlaySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
310
310
|
id: z.ZodOptional<z.ZodString>;
|
|
311
311
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
312
312
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
313
|
-
"above-water": "above-water";
|
|
314
|
-
"below-roads": "below-roads";
|
|
315
|
-
"above-roads": "above-roads";
|
|
316
313
|
"above-buildings": "above-buildings";
|
|
317
|
-
"below-labels": "below-labels";
|
|
318
314
|
"above-labels": "above-labels";
|
|
315
|
+
"above-roads": "above-roads";
|
|
316
|
+
"above-water": "above-water";
|
|
317
|
+
"below-labels": "below-labels";
|
|
318
|
+
"below-roads": "below-roads";
|
|
319
319
|
}>>;
|
|
320
320
|
stroke: z.ZodOptional<z.ZodString>;
|
|
321
321
|
strokeWidth: z.ZodDefault<z.ZodNumber>;
|
|
322
322
|
type: z.ZodLiteral<"polygon">;
|
|
323
323
|
}, z.core.$strict>, z.ZodObject<{
|
|
324
324
|
anchor: z.ZodDefault<z.ZodEnum<{
|
|
325
|
-
|
|
326
|
-
"top-right": "top-right";
|
|
325
|
+
bottom: "bottom";
|
|
327
326
|
"bottom-left": "bottom-left";
|
|
328
327
|
"bottom-right": "bottom-right";
|
|
329
328
|
center: "center";
|
|
330
|
-
bottom: "bottom";
|
|
331
329
|
left: "left";
|
|
332
330
|
right: "right";
|
|
333
331
|
top: "top";
|
|
332
|
+
"top-left": "top-left";
|
|
333
|
+
"top-right": "top-right";
|
|
334
334
|
}>>;
|
|
335
335
|
collision: z.ZodDefault<z.ZodEnum<{
|
|
336
336
|
"always-visible": "always-visible";
|
|
@@ -348,20 +348,20 @@ declare const staticOverlaySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
348
348
|
haloWidth: z.ZodDefault<z.ZodNumber>;
|
|
349
349
|
language: z.ZodDefault<z.ZodEnum<{
|
|
350
350
|
ja: "ja";
|
|
351
|
+
ko: "ko";
|
|
351
352
|
"zh-Hans": "zh-Hans";
|
|
352
353
|
"zh-Hant": "zh-Hant";
|
|
353
|
-
ko: "ko";
|
|
354
354
|
}>>;
|
|
355
355
|
position: z.ZodOptional<z.ZodEnum<{
|
|
356
|
-
center: "center";
|
|
357
|
-
left: "left";
|
|
358
|
-
right: "right";
|
|
359
356
|
above: "above";
|
|
357
|
+
"above-left": "above-left";
|
|
360
358
|
"above-right": "above-right";
|
|
361
|
-
"below-right": "below-right";
|
|
362
359
|
below: "below";
|
|
363
360
|
"below-left": "below-left";
|
|
364
|
-
"
|
|
361
|
+
"below-right": "below-right";
|
|
362
|
+
center: "center";
|
|
363
|
+
left: "left";
|
|
364
|
+
right: "right";
|
|
365
365
|
}>>;
|
|
366
366
|
text: z.ZodString;
|
|
367
367
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -375,24 +375,24 @@ declare const staticOverlaySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
375
375
|
gap: z.ZodDefault<z.ZodNumber>;
|
|
376
376
|
language: z.ZodDefault<z.ZodEnum<{
|
|
377
377
|
ja: "ja";
|
|
378
|
+
ko: "ko";
|
|
378
379
|
"zh-Hans": "zh-Hans";
|
|
379
380
|
"zh-Hant": "zh-Hant";
|
|
380
|
-
ko: "ko";
|
|
381
381
|
}>>;
|
|
382
382
|
padding: z.ZodDefault<z.ZodObject<{
|
|
383
383
|
x: z.ZodDefault<z.ZodNumber>;
|
|
384
384
|
y: z.ZodDefault<z.ZodNumber>;
|
|
385
385
|
}, z.core.$strict>>;
|
|
386
386
|
position: z.ZodOptional<z.ZodEnum<{
|
|
387
|
-
center: "center";
|
|
388
|
-
left: "left";
|
|
389
|
-
right: "right";
|
|
390
387
|
above: "above";
|
|
388
|
+
"above-left": "above-left";
|
|
391
389
|
"above-right": "above-right";
|
|
392
|
-
"below-right": "below-right";
|
|
393
390
|
below: "below";
|
|
394
391
|
"below-left": "below-left";
|
|
395
|
-
"
|
|
392
|
+
"below-right": "below-right";
|
|
393
|
+
center: "center";
|
|
394
|
+
left: "left";
|
|
395
|
+
right: "right";
|
|
396
396
|
}>>;
|
|
397
397
|
text: z.ZodString;
|
|
398
398
|
}, z.core.$strict>]>, z.ZodTransform<{
|
|
@@ -402,9 +402,9 @@ declare const staticOverlaySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
402
402
|
gap: number;
|
|
403
403
|
haloColor: string;
|
|
404
404
|
haloWidth: number;
|
|
405
|
-
language: "ja" | "
|
|
405
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
406
406
|
text: string;
|
|
407
|
-
position?: "
|
|
407
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
408
408
|
} | {
|
|
409
409
|
appearance: "badge";
|
|
410
410
|
backgroundColor: string;
|
|
@@ -414,13 +414,13 @@ declare const staticOverlaySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
414
414
|
color: string;
|
|
415
415
|
fontSize: number;
|
|
416
416
|
gap: number;
|
|
417
|
-
language: "ja" | "
|
|
417
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
418
418
|
padding: {
|
|
419
419
|
x: number;
|
|
420
420
|
y: number;
|
|
421
421
|
};
|
|
422
422
|
text: string;
|
|
423
|
-
position?: "
|
|
423
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
424
424
|
}, string | {
|
|
425
425
|
appearance: "plain";
|
|
426
426
|
color: string;
|
|
@@ -428,9 +428,9 @@ declare const staticOverlaySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
428
428
|
gap: number;
|
|
429
429
|
haloColor: string;
|
|
430
430
|
haloWidth: number;
|
|
431
|
-
language: "ja" | "
|
|
431
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
432
432
|
text: string;
|
|
433
|
-
position?: "
|
|
433
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
434
434
|
} | {
|
|
435
435
|
appearance: "badge";
|
|
436
436
|
backgroundColor: string;
|
|
@@ -440,23 +440,23 @@ declare const staticOverlaySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
440
440
|
color: string;
|
|
441
441
|
fontSize: number;
|
|
442
442
|
gap: number;
|
|
443
|
-
language: "ja" | "
|
|
443
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
444
444
|
padding: {
|
|
445
445
|
x: number;
|
|
446
446
|
y: number;
|
|
447
447
|
};
|
|
448
448
|
text: string;
|
|
449
|
-
position?: "
|
|
449
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
450
450
|
}>>>;
|
|
451
451
|
offset: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
452
452
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
453
453
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
454
|
-
"above-water": "above-water";
|
|
455
|
-
"below-roads": "below-roads";
|
|
456
|
-
"above-roads": "above-roads";
|
|
457
454
|
"above-buildings": "above-buildings";
|
|
458
|
-
"below-labels": "below-labels";
|
|
459
455
|
"above-labels": "above-labels";
|
|
456
|
+
"above-roads": "above-roads";
|
|
457
|
+
"above-water": "above-water";
|
|
458
|
+
"below-labels": "below-labels";
|
|
459
|
+
"below-roads": "below-roads";
|
|
460
460
|
}>>;
|
|
461
461
|
scale: z.ZodDefault<z.ZodNumber>;
|
|
462
462
|
type: z.ZodLiteral<"symbol">;
|
|
@@ -466,10 +466,10 @@ declare const staticSceneSchema: z.ZodObject<{
|
|
|
466
466
|
mode: z.ZodOptional<z.ZodLiteral<"embedded">>;
|
|
467
467
|
position: z.ZodOptional<z.ZodEnum<{
|
|
468
468
|
auto: "auto";
|
|
469
|
-
"top-left": "top-left";
|
|
470
|
-
"top-right": "top-right";
|
|
471
469
|
"bottom-left": "bottom-left";
|
|
472
470
|
"bottom-right": "bottom-right";
|
|
471
|
+
"top-left": "top-left";
|
|
472
|
+
"top-right": "top-right";
|
|
473
473
|
}>>;
|
|
474
474
|
}, z.core.$strict>, z.ZodObject<{
|
|
475
475
|
mode: z.ZodLiteral<"external">;
|
|
@@ -496,8 +496,8 @@ declare const staticSceneSchema: z.ZodObject<{
|
|
|
496
496
|
type: z.ZodLiteral<"auto">;
|
|
497
497
|
}, z.core.$strict>], "type">;
|
|
498
498
|
format: z.ZodOptional<z.ZodEnum<{
|
|
499
|
-
png: "png";
|
|
500
499
|
jpeg: "jpeg";
|
|
500
|
+
png: "png";
|
|
501
501
|
webp: "webp";
|
|
502
502
|
}>>;
|
|
503
503
|
map: z.ZodString;
|
|
@@ -507,12 +507,12 @@ declare const staticSceneSchema: z.ZodObject<{
|
|
|
507
507
|
id: z.ZodOptional<z.ZodString>;
|
|
508
508
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
509
509
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
510
|
-
"above-water": "above-water";
|
|
511
|
-
"below-roads": "below-roads";
|
|
512
|
-
"above-roads": "above-roads";
|
|
513
510
|
"above-buildings": "above-buildings";
|
|
514
|
-
"below-labels": "below-labels";
|
|
515
511
|
"above-labels": "above-labels";
|
|
512
|
+
"above-roads": "above-roads";
|
|
513
|
+
"above-water": "above-water";
|
|
514
|
+
"below-labels": "below-labels";
|
|
515
|
+
"below-roads": "below-roads";
|
|
516
516
|
}>>;
|
|
517
517
|
type: z.ZodLiteral<"line">;
|
|
518
518
|
width: z.ZodDefault<z.ZodNumber>;
|
|
@@ -522,12 +522,12 @@ declare const staticSceneSchema: z.ZodObject<{
|
|
|
522
522
|
id: z.ZodOptional<z.ZodString>;
|
|
523
523
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
524
524
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
525
|
-
"above-water": "above-water";
|
|
526
|
-
"below-roads": "below-roads";
|
|
527
|
-
"above-roads": "above-roads";
|
|
528
525
|
"above-buildings": "above-buildings";
|
|
529
|
-
"below-labels": "below-labels";
|
|
530
526
|
"above-labels": "above-labels";
|
|
527
|
+
"above-roads": "above-roads";
|
|
528
|
+
"above-water": "above-water";
|
|
529
|
+
"below-labels": "below-labels";
|
|
530
|
+
"below-roads": "below-roads";
|
|
531
531
|
}>>;
|
|
532
532
|
radius: z.ZodDefault<z.ZodNumber>;
|
|
533
533
|
strokeColor: z.ZodOptional<z.ZodString>;
|
|
@@ -538,12 +538,12 @@ declare const staticSceneSchema: z.ZodObject<{
|
|
|
538
538
|
coordinate: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
539
539
|
id: z.ZodOptional<z.ZodString>;
|
|
540
540
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
541
|
-
"above-water": "above-water";
|
|
542
|
-
"below-roads": "below-roads";
|
|
543
|
-
"above-roads": "above-roads";
|
|
544
541
|
"above-buildings": "above-buildings";
|
|
545
|
-
"below-labels": "below-labels";
|
|
546
542
|
"above-labels": "above-labels";
|
|
543
|
+
"above-roads": "above-roads";
|
|
544
|
+
"above-water": "above-water";
|
|
545
|
+
"below-labels": "below-labels";
|
|
546
|
+
"below-roads": "below-roads";
|
|
547
547
|
}>>;
|
|
548
548
|
radius: z.ZodDefault<z.ZodNumber>;
|
|
549
549
|
strokeColor: z.ZodDefault<z.ZodString>;
|
|
@@ -555,27 +555,27 @@ declare const staticSceneSchema: z.ZodObject<{
|
|
|
555
555
|
id: z.ZodOptional<z.ZodString>;
|
|
556
556
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
557
557
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
558
|
-
"above-water": "above-water";
|
|
559
|
-
"below-roads": "below-roads";
|
|
560
|
-
"above-roads": "above-roads";
|
|
561
558
|
"above-buildings": "above-buildings";
|
|
562
|
-
"below-labels": "below-labels";
|
|
563
559
|
"above-labels": "above-labels";
|
|
560
|
+
"above-roads": "above-roads";
|
|
561
|
+
"above-water": "above-water";
|
|
562
|
+
"below-labels": "below-labels";
|
|
563
|
+
"below-roads": "below-roads";
|
|
564
564
|
}>>;
|
|
565
565
|
stroke: z.ZodOptional<z.ZodString>;
|
|
566
566
|
strokeWidth: z.ZodDefault<z.ZodNumber>;
|
|
567
567
|
type: z.ZodLiteral<"polygon">;
|
|
568
568
|
}, z.core.$strict>, z.ZodObject<{
|
|
569
569
|
anchor: z.ZodDefault<z.ZodEnum<{
|
|
570
|
-
|
|
571
|
-
"top-right": "top-right";
|
|
570
|
+
bottom: "bottom";
|
|
572
571
|
"bottom-left": "bottom-left";
|
|
573
572
|
"bottom-right": "bottom-right";
|
|
574
573
|
center: "center";
|
|
575
|
-
bottom: "bottom";
|
|
576
574
|
left: "left";
|
|
577
575
|
right: "right";
|
|
578
576
|
top: "top";
|
|
577
|
+
"top-left": "top-left";
|
|
578
|
+
"top-right": "top-right";
|
|
579
579
|
}>>;
|
|
580
580
|
collision: z.ZodDefault<z.ZodEnum<{
|
|
581
581
|
"always-visible": "always-visible";
|
|
@@ -593,20 +593,20 @@ declare const staticSceneSchema: z.ZodObject<{
|
|
|
593
593
|
haloWidth: z.ZodDefault<z.ZodNumber>;
|
|
594
594
|
language: z.ZodDefault<z.ZodEnum<{
|
|
595
595
|
ja: "ja";
|
|
596
|
+
ko: "ko";
|
|
596
597
|
"zh-Hans": "zh-Hans";
|
|
597
598
|
"zh-Hant": "zh-Hant";
|
|
598
|
-
ko: "ko";
|
|
599
599
|
}>>;
|
|
600
600
|
position: z.ZodOptional<z.ZodEnum<{
|
|
601
|
-
center: "center";
|
|
602
|
-
left: "left";
|
|
603
|
-
right: "right";
|
|
604
601
|
above: "above";
|
|
602
|
+
"above-left": "above-left";
|
|
605
603
|
"above-right": "above-right";
|
|
606
|
-
"below-right": "below-right";
|
|
607
604
|
below: "below";
|
|
608
605
|
"below-left": "below-left";
|
|
609
|
-
"
|
|
606
|
+
"below-right": "below-right";
|
|
607
|
+
center: "center";
|
|
608
|
+
left: "left";
|
|
609
|
+
right: "right";
|
|
610
610
|
}>>;
|
|
611
611
|
text: z.ZodString;
|
|
612
612
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -620,24 +620,24 @@ declare const staticSceneSchema: z.ZodObject<{
|
|
|
620
620
|
gap: z.ZodDefault<z.ZodNumber>;
|
|
621
621
|
language: z.ZodDefault<z.ZodEnum<{
|
|
622
622
|
ja: "ja";
|
|
623
|
+
ko: "ko";
|
|
623
624
|
"zh-Hans": "zh-Hans";
|
|
624
625
|
"zh-Hant": "zh-Hant";
|
|
625
|
-
ko: "ko";
|
|
626
626
|
}>>;
|
|
627
627
|
padding: z.ZodDefault<z.ZodObject<{
|
|
628
628
|
x: z.ZodDefault<z.ZodNumber>;
|
|
629
629
|
y: z.ZodDefault<z.ZodNumber>;
|
|
630
630
|
}, z.core.$strict>>;
|
|
631
631
|
position: z.ZodOptional<z.ZodEnum<{
|
|
632
|
-
center: "center";
|
|
633
|
-
left: "left";
|
|
634
|
-
right: "right";
|
|
635
632
|
above: "above";
|
|
633
|
+
"above-left": "above-left";
|
|
636
634
|
"above-right": "above-right";
|
|
637
|
-
"below-right": "below-right";
|
|
638
635
|
below: "below";
|
|
639
636
|
"below-left": "below-left";
|
|
640
|
-
"
|
|
637
|
+
"below-right": "below-right";
|
|
638
|
+
center: "center";
|
|
639
|
+
left: "left";
|
|
640
|
+
right: "right";
|
|
641
641
|
}>>;
|
|
642
642
|
text: z.ZodString;
|
|
643
643
|
}, z.core.$strict>]>, z.ZodTransform<{
|
|
@@ -647,9 +647,9 @@ declare const staticSceneSchema: z.ZodObject<{
|
|
|
647
647
|
gap: number;
|
|
648
648
|
haloColor: string;
|
|
649
649
|
haloWidth: number;
|
|
650
|
-
language: "ja" | "
|
|
650
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
651
651
|
text: string;
|
|
652
|
-
position?: "
|
|
652
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
653
653
|
} | {
|
|
654
654
|
appearance: "badge";
|
|
655
655
|
backgroundColor: string;
|
|
@@ -659,13 +659,13 @@ declare const staticSceneSchema: z.ZodObject<{
|
|
|
659
659
|
color: string;
|
|
660
660
|
fontSize: number;
|
|
661
661
|
gap: number;
|
|
662
|
-
language: "ja" | "
|
|
662
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
663
663
|
padding: {
|
|
664
664
|
x: number;
|
|
665
665
|
y: number;
|
|
666
666
|
};
|
|
667
667
|
text: string;
|
|
668
|
-
position?: "
|
|
668
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
669
669
|
}, string | {
|
|
670
670
|
appearance: "plain";
|
|
671
671
|
color: string;
|
|
@@ -673,9 +673,9 @@ declare const staticSceneSchema: z.ZodObject<{
|
|
|
673
673
|
gap: number;
|
|
674
674
|
haloColor: string;
|
|
675
675
|
haloWidth: number;
|
|
676
|
-
language: "ja" | "
|
|
676
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
677
677
|
text: string;
|
|
678
|
-
position?: "
|
|
678
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
679
679
|
} | {
|
|
680
680
|
appearance: "badge";
|
|
681
681
|
backgroundColor: string;
|
|
@@ -685,23 +685,23 @@ declare const staticSceneSchema: z.ZodObject<{
|
|
|
685
685
|
color: string;
|
|
686
686
|
fontSize: number;
|
|
687
687
|
gap: number;
|
|
688
|
-
language: "ja" | "
|
|
688
|
+
language: "ja" | "ko" | "zh-Hans" | "zh-Hant";
|
|
689
689
|
padding: {
|
|
690
690
|
x: number;
|
|
691
691
|
y: number;
|
|
692
692
|
};
|
|
693
693
|
text: string;
|
|
694
|
-
position?: "
|
|
694
|
+
position?: "above" | "above-left" | "above-right" | "below" | "below-left" | "below-right" | "center" | "left" | "right" | undefined;
|
|
695
695
|
}>>>;
|
|
696
696
|
offset: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
697
697
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
698
698
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
699
|
-
"above-water": "above-water";
|
|
700
|
-
"below-roads": "below-roads";
|
|
701
|
-
"above-roads": "above-roads";
|
|
702
699
|
"above-buildings": "above-buildings";
|
|
703
|
-
"below-labels": "below-labels";
|
|
704
700
|
"above-labels": "above-labels";
|
|
701
|
+
"above-roads": "above-roads";
|
|
702
|
+
"above-water": "above-water";
|
|
703
|
+
"below-labels": "below-labels";
|
|
704
|
+
"below-roads": "below-roads";
|
|
705
705
|
}>>;
|
|
706
706
|
scale: z.ZodDefault<z.ZodNumber>;
|
|
707
707
|
type: z.ZodLiteral<"symbol">;
|
package/dist/scene.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ declare const autoFitDetailsSchema: z.ZodObject<{
|
|
|
8
8
|
id: z.ZodString;
|
|
9
9
|
index: z.ZodNumber;
|
|
10
10
|
type: z.ZodEnum<{
|
|
11
|
-
symbol: "symbol";
|
|
12
|
-
line: "line";
|
|
13
11
|
circle: "circle";
|
|
12
|
+
line: "line";
|
|
14
13
|
marker: "marker";
|
|
15
14
|
polygon: "polygon";
|
|
15
|
+
symbol: "symbol";
|
|
16
16
|
}>;
|
|
17
17
|
}, z.core.$strict>>;
|
|
18
18
|
padding: z.ZodOptional<z.ZodObject<{
|
|
@@ -46,11 +46,11 @@ declare const staticOverlayInvalidDetailsSchema: z.ZodObject<{
|
|
|
46
46
|
id: z.ZodString;
|
|
47
47
|
index: z.ZodNumber;
|
|
48
48
|
type: z.ZodEnum<{
|
|
49
|
-
symbol: "symbol";
|
|
50
|
-
line: "line";
|
|
51
49
|
circle: "circle";
|
|
50
|
+
line: "line";
|
|
52
51
|
marker: "marker";
|
|
53
52
|
polygon: "polygon";
|
|
53
|
+
symbol: "symbol";
|
|
54
54
|
}>;
|
|
55
55
|
}, z.core.$strict>;
|
|
56
56
|
}, z.core.$strict>;
|
|
@@ -93,11 +93,11 @@ declare const staticMapRequestErrorResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
93
93
|
id: z.ZodString;
|
|
94
94
|
index: z.ZodNumber;
|
|
95
95
|
type: z.ZodEnum<{
|
|
96
|
-
symbol: "symbol";
|
|
97
|
-
line: "line";
|
|
98
96
|
circle: "circle";
|
|
97
|
+
line: "line";
|
|
99
98
|
marker: "marker";
|
|
100
99
|
polygon: "polygon";
|
|
100
|
+
symbol: "symbol";
|
|
101
101
|
}>;
|
|
102
102
|
}, z.core.$strict>>;
|
|
103
103
|
padding: z.ZodOptional<z.ZodObject<{
|
|
@@ -133,11 +133,11 @@ declare const staticMapRequestErrorResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
133
133
|
id: z.ZodString;
|
|
134
134
|
index: z.ZodNumber;
|
|
135
135
|
type: z.ZodEnum<{
|
|
136
|
-
symbol: "symbol";
|
|
137
|
-
line: "line";
|
|
138
136
|
circle: "circle";
|
|
137
|
+
line: "line";
|
|
139
138
|
marker: "marker";
|
|
140
139
|
polygon: "polygon";
|
|
140
|
+
symbol: "symbol";
|
|
141
141
|
}>;
|
|
142
142
|
}, z.core.$strict>>;
|
|
143
143
|
padding: z.ZodOptional<z.ZodObject<{
|
|
@@ -164,9 +164,9 @@ declare const staticMapRequestErrorResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
164
164
|
}, z.core.$strict>>;
|
|
165
165
|
}, z.core.$strict>>;
|
|
166
166
|
reason: z.ZodEnum<{
|
|
167
|
+
CAMERA_UNRESOLVABLE: "CAMERA_UNRESOLVABLE";
|
|
167
168
|
GLOBE_NOT_SIMULTANEOUSLY_VISIBLE: "GLOBE_NOT_SIMULTANEOUSLY_VISIBLE";
|
|
168
169
|
INSUFFICIENT_VIEWPORT: "INSUFFICIENT_VIEWPORT";
|
|
169
|
-
CAMERA_UNRESOLVABLE: "CAMERA_UNRESOLVABLE";
|
|
170
170
|
PROJECTED_FOOTPRINT_OUTSIDE_VIEWPORT: "PROJECTED_FOOTPRINT_OUTSIDE_VIEWPORT";
|
|
171
171
|
}>;
|
|
172
172
|
error: z.ZodString;
|
|
@@ -180,11 +180,11 @@ declare const staticMapRequestErrorResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
180
180
|
id: z.ZodString;
|
|
181
181
|
index: z.ZodNumber;
|
|
182
182
|
type: z.ZodEnum<{
|
|
183
|
-
symbol: "symbol";
|
|
184
|
-
line: "line";
|
|
185
183
|
circle: "circle";
|
|
184
|
+
line: "line";
|
|
186
185
|
marker: "marker";
|
|
187
186
|
polygon: "polygon";
|
|
187
|
+
symbol: "symbol";
|
|
188
188
|
}>;
|
|
189
189
|
}, z.core.$strict>;
|
|
190
190
|
}, z.core.$strict>;
|
|
@@ -243,8 +243,8 @@ declare const staticMapRequestErrorResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
243
243
|
}, z.core.$strict>, z.ZodObject<{
|
|
244
244
|
code: z.ZodLiteral<"STATIC_MAP_ATTRIBUTION_UNSUPPORTED">;
|
|
245
245
|
reason: z.ZodEnum<{
|
|
246
|
-
UNSUPPORTED_GLYPH: "UNSUPPORTED_GLYPH";
|
|
247
246
|
UNSUPPORTED_DECLARATION: "UNSUPPORTED_DECLARATION";
|
|
247
|
+
UNSUPPORTED_GLYPH: "UNSUPPORTED_GLYPH";
|
|
248
248
|
}>;
|
|
249
249
|
error: z.ZodString;
|
|
250
250
|
retryable: z.ZodLiteral<false>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tileflow/static",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.25",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Static map request schemas and helpers for Tileflow.",
|
|
6
6
|
"type": "module",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"zod": "^4.4.3"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
|
-
"build": "tsup src/index.ts src/scene.ts src/overlays.ts src/manifest.ts src/client.ts --format esm --dts --clean --splitting",
|
|
64
|
+
"build": "tsup src/index.ts src/scene.ts src/overlays.ts src/manifest.ts src/client.ts --format esm --dts --clean --splitting && node ../../scripts/canonicalize-zod-enums.mjs dist",
|
|
65
65
|
"verify": "pnpm --silent --dir ../.. static-text:check && tsx --test test/*.test.ts",
|
|
66
66
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
67
67
|
"lint": "tsc -p tsconfig.json --noEmit"
|