@feltmaps/js-sdk 1.5.0-next.9 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.cjs +1 -1
- package/dist/client.d.cts +264 -24
- package/dist/client.d.ts +264 -24
- package/dist/client.js +1 -1
- package/dist/handler.cjs +1 -1
- package/dist/handler.d.cts +1017 -263
- package/dist/handler.d.ts +1017 -263
- package/dist/handler.js +1 -1
- package/dist/types-CnYUajGG.d.cts +6657 -0
- package/dist/types-CnYUajGG.d.ts +6657 -0
- package/handler.d.ts +1017 -263
- package/handler.js +1 -1
- package/package.json +8 -7
- package/types-CnYUajGG.d.ts +6657 -0
- package/dist/types-6AWHhIPp.d.cts +0 -3294
- package/dist/types-6AWHhIPp.d.ts +0 -3294
- package/types-6AWHhIPp.d.ts +0 -3294
package/handler.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import {
|
|
1
|
+
import { z, ZodError } from 'zod';
|
|
2
|
+
import { O as zInfer, E as Element, G as GeoJsonGeometry, b as ElementGroup, d as ElementChangeCallbackParams, e as ElementGroupChangeCallbackParams, M as MapInteractionEvent, L as Layer, j as LayerGroup, n as LegendItem, q as LayerFilters, s as LayerFeature, t as GeoJsonFeature, v as GetLayerCategoriesGroup, x as GetLayerHistogramBin, A as AggregationMethod, z as LayerSchema, i as LayerChangeCallbackParams, l as LayerGroupChangeCallbackParams, p as LegendItemChangeCallbackParams, aJ as FilterTernary, B as MapDetails, D as EntityNode, T as ToolType, K as ToolSettingsMap, N as ToolSettingsChangeEvent, V as ViewportState, R as ViewportConstraints, be as UnionToIntersection, bf as PromiseOrNot } from './types-CnYUajGG.js';
|
|
3
3
|
|
|
4
4
|
type Method<TRequest extends {
|
|
5
5
|
type: string;
|
|
@@ -182,21 +182,37 @@ declare const OnElementGroupChangeMessage: z.ZodObject<{
|
|
|
182
182
|
}>;
|
|
183
183
|
declare const CreateElementMessage: z.ZodObject<{
|
|
184
184
|
type: z.ZodLiteral<"createElement">;
|
|
185
|
-
params: z.ZodDiscriminatedUnion<"type", [z.ZodObject<Omit<{
|
|
186
|
-
symbol: z.ZodOptional<z.ZodString>;
|
|
187
|
-
type: z.ZodLiteral<"Place">;
|
|
188
|
-
coordinates: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
185
|
+
params: z.ZodDiscriminatedUnion<"type", [z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
189
186
|
id: z.ZodOptional<z.ZodString>;
|
|
190
187
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
191
188
|
color: z.ZodOptional<z.ZodString>;
|
|
192
|
-
name: z.ZodOptional<z.
|
|
193
|
-
description: z.ZodOptional<z.
|
|
189
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
190
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
191
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
195
192
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
196
193
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
|
+
type: z.ZodOptional<z.ZodLiteral<"Place">>;
|
|
195
|
+
coordinates: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
196
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
197
197
|
frame: z.ZodOptional<z.ZodNullable<z.ZodEnum<["frame-circle", "frame-square"]>>>;
|
|
198
198
|
hideLabel: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
-
},
|
|
199
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
200
|
+
id: z.ZodString;
|
|
201
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
202
|
+
color: z.ZodString;
|
|
203
|
+
name: z.ZodNullable<z.ZodString>;
|
|
204
|
+
description: z.ZodNullable<z.ZodString>;
|
|
205
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
206
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
207
|
+
}, {
|
|
208
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
209
|
+
}>, {
|
|
210
|
+
type: z.ZodLiteral<"Place">;
|
|
211
|
+
coordinates: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
212
|
+
symbol: z.ZodString;
|
|
213
|
+
frame: z.ZodNullable<z.ZodEnum<["frame-circle", "frame-square"]>>;
|
|
214
|
+
hideLabel: z.ZodBoolean;
|
|
215
|
+
}>, "type" | "coordinates">>, "id">, "strip", z.ZodTypeAny, {
|
|
200
216
|
type: "Place";
|
|
201
217
|
coordinates: [number, number];
|
|
202
218
|
symbol?: string | undefined;
|
|
@@ -222,24 +238,44 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
222
238
|
imageUrl?: string | null | undefined;
|
|
223
239
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
224
240
|
hideLabel?: boolean | undefined;
|
|
225
|
-
}>, z.ZodObject<Omit<{
|
|
226
|
-
type: z.ZodLiteral<"Path">;
|
|
227
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
241
|
+
}>, z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
228
242
|
id: z.ZodOptional<z.ZodString>;
|
|
229
243
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
244
|
color: z.ZodOptional<z.ZodString>;
|
|
231
|
-
name: z.ZodOptional<z.
|
|
232
|
-
description: z.ZodOptional<z.
|
|
245
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
246
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
233
247
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
234
248
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
235
249
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
236
250
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
237
251
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
238
252
|
strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
|
|
253
|
+
type: z.ZodOptional<z.ZodLiteral<"Path">>;
|
|
254
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
|
|
239
255
|
distanceMarker: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
-
endCaps: z.ZodOptional<z.ZodBoolean>;
|
|
241
256
|
routingMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["driving", "cycling", "walking", "flying"]>>>;
|
|
242
|
-
|
|
257
|
+
endCaps: z.ZodOptional<z.ZodBoolean>;
|
|
258
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
259
|
+
id: z.ZodString;
|
|
260
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
261
|
+
color: z.ZodString;
|
|
262
|
+
name: z.ZodNullable<z.ZodString>;
|
|
263
|
+
description: z.ZodNullable<z.ZodString>;
|
|
264
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
265
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
266
|
+
}, {
|
|
267
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
268
|
+
}>, {
|
|
269
|
+
strokeOpacity: z.ZodNumber;
|
|
270
|
+
strokeWidth: z.ZodNumber;
|
|
271
|
+
strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
|
|
272
|
+
}>, {
|
|
273
|
+
type: z.ZodLiteral<"Path">;
|
|
274
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
275
|
+
distanceMarker: z.ZodBoolean;
|
|
276
|
+
routingMode: z.ZodNullable<z.ZodEnum<["driving", "cycling", "walking", "flying"]>>;
|
|
277
|
+
endCaps: z.ZodBoolean;
|
|
278
|
+
}>, "type" | "coordinates">>, "id">, "strip", z.ZodTypeAny, {
|
|
243
279
|
type: "Path";
|
|
244
280
|
coordinates: [number, number][][];
|
|
245
281
|
groupId?: string | null | undefined;
|
|
@@ -253,8 +289,8 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
253
289
|
strokeWidth?: number | undefined;
|
|
254
290
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
255
291
|
distanceMarker?: boolean | undefined;
|
|
256
|
-
endCaps?: boolean | undefined;
|
|
257
292
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
293
|
+
endCaps?: boolean | undefined;
|
|
258
294
|
}, {
|
|
259
295
|
type: "Path";
|
|
260
296
|
coordinates: [number, number][][];
|
|
@@ -269,25 +305,44 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
269
305
|
strokeWidth?: number | undefined;
|
|
270
306
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
271
307
|
distanceMarker?: boolean | undefined;
|
|
272
|
-
endCaps?: boolean | undefined;
|
|
273
308
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
309
|
+
endCaps?: boolean | undefined;
|
|
310
|
+
}>, z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
277
311
|
id: z.ZodOptional<z.ZodString>;
|
|
278
312
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
279
313
|
color: z.ZodOptional<z.ZodString>;
|
|
280
|
-
name: z.ZodOptional<z.
|
|
281
|
-
description: z.ZodOptional<z.
|
|
314
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
315
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
282
316
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
283
317
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
284
318
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
285
319
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
286
320
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
287
321
|
strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
|
|
322
|
+
type: z.ZodOptional<z.ZodLiteral<"Polygon">>;
|
|
323
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">>;
|
|
288
324
|
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
289
325
|
areaMarker: z.ZodOptional<z.ZodBoolean>;
|
|
290
|
-
},
|
|
326
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
327
|
+
id: z.ZodString;
|
|
328
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
329
|
+
color: z.ZodString;
|
|
330
|
+
name: z.ZodNullable<z.ZodString>;
|
|
331
|
+
description: z.ZodNullable<z.ZodString>;
|
|
332
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
333
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
334
|
+
}, {
|
|
335
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
336
|
+
}>, {
|
|
337
|
+
strokeOpacity: z.ZodNumber;
|
|
338
|
+
strokeWidth: z.ZodNumber;
|
|
339
|
+
strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
|
|
340
|
+
}>, {
|
|
341
|
+
type: z.ZodLiteral<"Polygon">;
|
|
342
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
343
|
+
fillOpacity: z.ZodNumber;
|
|
344
|
+
areaMarker: z.ZodBoolean;
|
|
345
|
+
}>, "type" | "coordinates">>, "id">, "strip", z.ZodTypeAny, {
|
|
291
346
|
type: "Polygon";
|
|
292
347
|
coordinates: [number, number][][];
|
|
293
348
|
groupId?: string | null | undefined;
|
|
@@ -317,28 +372,50 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
317
372
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
318
373
|
fillOpacity?: number | undefined;
|
|
319
374
|
areaMarker?: boolean | undefined;
|
|
320
|
-
}>, z.ZodObject<Omit<{
|
|
321
|
-
type: z.ZodLiteral<"Circle">;
|
|
322
|
-
coordinates: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
375
|
+
}>, z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
323
376
|
id: z.ZodOptional<z.ZodString>;
|
|
324
377
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
325
378
|
color: z.ZodOptional<z.ZodString>;
|
|
326
|
-
name: z.ZodOptional<z.
|
|
327
|
-
description: z.ZodOptional<z.
|
|
379
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
380
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
328
381
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
329
382
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
330
383
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
331
384
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
332
385
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
333
386
|
strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
|
|
334
|
-
|
|
335
|
-
|
|
387
|
+
type: z.ZodOptional<z.ZodLiteral<"Circle">>;
|
|
388
|
+
center: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
389
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
390
|
+
radiusMarker: z.ZodOptional<z.ZodBoolean>;
|
|
336
391
|
radiusDisplayAngle: z.ZodOptional<z.ZodNumber>;
|
|
337
392
|
radiusDisplayUnit: z.ZodOptional<z.ZodNullable<z.ZodEnum<["meter", "kilometer", "foot", "mile"]>>>;
|
|
338
|
-
|
|
339
|
-
},
|
|
393
|
+
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
394
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
395
|
+
id: z.ZodString;
|
|
396
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
397
|
+
color: z.ZodString;
|
|
398
|
+
name: z.ZodNullable<z.ZodString>;
|
|
399
|
+
description: z.ZodNullable<z.ZodString>;
|
|
400
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
401
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
402
|
+
}, {
|
|
403
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
404
|
+
}>, {
|
|
405
|
+
strokeOpacity: z.ZodNumber;
|
|
406
|
+
strokeWidth: z.ZodNumber;
|
|
407
|
+
strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
|
|
408
|
+
}>, {
|
|
409
|
+
type: z.ZodLiteral<"Circle">;
|
|
410
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
411
|
+
radius: z.ZodNumber;
|
|
412
|
+
radiusMarker: z.ZodBoolean;
|
|
413
|
+
radiusDisplayAngle: z.ZodNumber;
|
|
414
|
+
radiusDisplayUnit: z.ZodNullable<z.ZodEnum<["meter", "kilometer", "foot", "mile"]>>;
|
|
415
|
+
fillOpacity: z.ZodNumber;
|
|
416
|
+
}>, "type" | "center" | "radius">>, "id">, "strip", z.ZodTypeAny, {
|
|
340
417
|
type: "Circle";
|
|
341
|
-
|
|
418
|
+
center: [number, number];
|
|
342
419
|
radius: number;
|
|
343
420
|
groupId?: string | null | undefined;
|
|
344
421
|
color?: string | undefined;
|
|
@@ -351,12 +428,12 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
351
428
|
strokeWidth?: number | undefined;
|
|
352
429
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
353
430
|
fillOpacity?: number | undefined;
|
|
431
|
+
radiusMarker?: boolean | undefined;
|
|
354
432
|
radiusDisplayAngle?: number | undefined;
|
|
355
433
|
radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
|
|
356
|
-
radiusMarker?: boolean | undefined;
|
|
357
434
|
}, {
|
|
358
435
|
type: "Circle";
|
|
359
|
-
|
|
436
|
+
center: [number, number];
|
|
360
437
|
radius: number;
|
|
361
438
|
groupId?: string | null | undefined;
|
|
362
439
|
color?: string | undefined;
|
|
@@ -369,23 +446,37 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
369
446
|
strokeWidth?: number | undefined;
|
|
370
447
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
371
448
|
fillOpacity?: number | undefined;
|
|
449
|
+
radiusMarker?: boolean | undefined;
|
|
372
450
|
radiusDisplayAngle?: number | undefined;
|
|
373
451
|
radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
|
|
374
|
-
|
|
375
|
-
}>, z.ZodObject<Omit<{
|
|
376
|
-
type: z.ZodLiteral<"Marker">;
|
|
377
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
452
|
+
}>, z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
378
453
|
id: z.ZodOptional<z.ZodString>;
|
|
379
454
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
380
455
|
color: z.ZodOptional<z.ZodString>;
|
|
381
|
-
name: z.ZodOptional<z.
|
|
382
|
-
description: z.ZodOptional<z.
|
|
456
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
457
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
383
458
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
384
459
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
460
|
+
type: z.ZodOptional<z.ZodLiteral<"Marker">>;
|
|
461
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
|
|
385
462
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
386
463
|
size: z.ZodOptional<z.ZodNumber>;
|
|
387
464
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
388
|
-
},
|
|
465
|
+
}, Pick<z.objectUtil.extendShape<{
|
|
466
|
+
id: z.ZodString;
|
|
467
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
468
|
+
color: z.ZodString;
|
|
469
|
+
name: z.ZodNullable<z.ZodString>;
|
|
470
|
+
description: z.ZodNullable<z.ZodString>;
|
|
471
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
472
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
473
|
+
}, {
|
|
474
|
+
type: z.ZodLiteral<"Marker">;
|
|
475
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
476
|
+
opacity: z.ZodNumber;
|
|
477
|
+
size: z.ZodNumber;
|
|
478
|
+
zoom: z.ZodNumber;
|
|
479
|
+
}>, "type" | "coordinates">>, "id">, "strip", z.ZodTypeAny, {
|
|
389
480
|
type: "Marker";
|
|
390
481
|
coordinates: [number, number][][];
|
|
391
482
|
groupId?: string | null | undefined;
|
|
@@ -409,20 +500,34 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
409
500
|
opacity?: number | undefined;
|
|
410
501
|
size?: number | undefined;
|
|
411
502
|
zoom?: number | undefined;
|
|
412
|
-
}>, z.ZodObject<Omit<{
|
|
413
|
-
type: z.ZodLiteral<"Highlighter">;
|
|
414
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
503
|
+
}>, z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
415
504
|
id: z.ZodOptional<z.ZodString>;
|
|
416
505
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
417
506
|
color: z.ZodOptional<z.ZodString>;
|
|
418
|
-
name: z.ZodOptional<z.
|
|
419
|
-
description: z.ZodOptional<z.
|
|
507
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
508
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
420
509
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
421
510
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
511
|
+
type: z.ZodOptional<z.ZodLiteral<"Highlighter">>;
|
|
512
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">>;
|
|
513
|
+
renderHoles: z.ZodOptional<z.ZodBoolean>;
|
|
422
514
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
423
|
-
},
|
|
515
|
+
}, Pick<z.objectUtil.extendShape<{
|
|
516
|
+
id: z.ZodString;
|
|
517
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
518
|
+
color: z.ZodString;
|
|
519
|
+
name: z.ZodNullable<z.ZodString>;
|
|
520
|
+
description: z.ZodNullable<z.ZodString>;
|
|
521
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
522
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
523
|
+
}, {
|
|
524
|
+
type: z.ZodLiteral<"Highlighter">;
|
|
525
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
526
|
+
renderHoles: z.ZodBoolean;
|
|
527
|
+
opacity: z.ZodNumber;
|
|
528
|
+
}>, "type" | "coordinates">>, "id">, "strip", z.ZodTypeAny, {
|
|
424
529
|
type: "Highlighter";
|
|
425
|
-
coordinates: [number, number][][];
|
|
530
|
+
coordinates: [number, number][][][];
|
|
426
531
|
groupId?: string | null | undefined;
|
|
427
532
|
color?: string | undefined;
|
|
428
533
|
name?: string | null | undefined;
|
|
@@ -430,9 +535,10 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
430
535
|
attributes?: Record<string, unknown> | undefined;
|
|
431
536
|
interaction?: "default" | "locked" | undefined;
|
|
432
537
|
opacity?: number | undefined;
|
|
538
|
+
renderHoles?: boolean | undefined;
|
|
433
539
|
}, {
|
|
434
540
|
type: "Highlighter";
|
|
435
|
-
coordinates: [number, number][][];
|
|
541
|
+
coordinates: [number, number][][][];
|
|
436
542
|
groupId?: string | null | undefined;
|
|
437
543
|
color?: string | undefined;
|
|
438
544
|
name?: string | null | undefined;
|
|
@@ -440,18 +546,32 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
440
546
|
attributes?: Record<string, unknown> | undefined;
|
|
441
547
|
interaction?: "default" | "locked" | undefined;
|
|
442
548
|
opacity?: number | undefined;
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
549
|
+
renderHoles?: boolean | undefined;
|
|
550
|
+
}>, z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
551
|
+
type: z.ZodOptional<z.ZodLiteral<"Image">>;
|
|
552
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
|
|
446
553
|
id: z.ZodOptional<z.ZodString>;
|
|
447
554
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
448
|
-
name: z.ZodOptional<z.
|
|
449
|
-
description: z.ZodOptional<z.
|
|
555
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
556
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
450
557
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
451
558
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
452
|
-
imageUrl: z.ZodString
|
|
559
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
453
560
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
454
|
-
},
|
|
561
|
+
}, Pick<Omit<z.objectUtil.extendShape<{
|
|
562
|
+
id: z.ZodString;
|
|
563
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
564
|
+
color: z.ZodString;
|
|
565
|
+
name: z.ZodNullable<z.ZodString>;
|
|
566
|
+
description: z.ZodNullable<z.ZodString>;
|
|
567
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
568
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
569
|
+
}, {
|
|
570
|
+
type: z.ZodLiteral<"Image">;
|
|
571
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
572
|
+
imageUrl: z.ZodString;
|
|
573
|
+
opacity: z.ZodNumber;
|
|
574
|
+
}>, "color">, "type" | "coordinates" | "imageUrl">>, "id">, "strip", z.ZodTypeAny, {
|
|
455
575
|
type: "Image";
|
|
456
576
|
coordinates: [number, number][][];
|
|
457
577
|
imageUrl: string;
|
|
@@ -471,24 +591,26 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
471
591
|
attributes?: Record<string, unknown> | undefined;
|
|
472
592
|
interaction?: "default" | "locked" | undefined;
|
|
473
593
|
opacity?: number | undefined;
|
|
474
|
-
}>, z.ZodObject<
|
|
475
|
-
type: z.ZodLiteral<"Text">;
|
|
476
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
594
|
+
}>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
477
595
|
id: z.ZodOptional<z.ZodString>;
|
|
478
596
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
479
597
|
color: z.ZodOptional<z.ZodString>;
|
|
480
|
-
|
|
481
|
-
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
598
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
482
599
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
483
600
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
484
|
-
zoom: z.ZodOptional<z.ZodNumber>;
|
|
485
601
|
position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
486
602
|
rotation: z.ZodOptional<z.ZodNumber>;
|
|
487
603
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
488
|
-
|
|
604
|
+
zoom: z.ZodOptional<z.ZodNumber>;
|
|
605
|
+
text: z.ZodOptional<z.ZodString>;
|
|
489
606
|
align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
|
490
607
|
style: z.ZodOptional<z.ZodEnum<["italic", "light", "regular", "caps"]>>;
|
|
491
|
-
|
|
608
|
+
name: z.ZodOptional<z.ZodString>;
|
|
609
|
+
type: z.ZodOptional<z.ZodLiteral<"Text">>;
|
|
610
|
+
}, "type" | "id" | "name">, {
|
|
611
|
+
type: z.ZodLiteral<"Text">;
|
|
612
|
+
text: z.ZodString;
|
|
613
|
+
}>, "strip", z.ZodTypeAny, {
|
|
492
614
|
type: "Text";
|
|
493
615
|
text: string;
|
|
494
616
|
groupId?: string | null | undefined;
|
|
@@ -500,7 +622,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
500
622
|
position?: [number, number] | undefined;
|
|
501
623
|
rotation?: number | undefined;
|
|
502
624
|
scale?: number | undefined;
|
|
503
|
-
align?: "
|
|
625
|
+
align?: "center" | "left" | "right" | undefined;
|
|
504
626
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
505
627
|
}, {
|
|
506
628
|
type: "Text";
|
|
@@ -514,27 +636,29 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
514
636
|
position?: [number, number] | undefined;
|
|
515
637
|
rotation?: number | undefined;
|
|
516
638
|
scale?: number | undefined;
|
|
517
|
-
align?: "
|
|
639
|
+
align?: "center" | "left" | "right" | undefined;
|
|
518
640
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
519
|
-
}>, z.ZodObject<
|
|
520
|
-
type: z.ZodLiteral<"Note">;
|
|
521
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
641
|
+
}>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
522
642
|
id: z.ZodOptional<z.ZodString>;
|
|
523
643
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
524
644
|
color: z.ZodOptional<z.ZodString>;
|
|
525
|
-
|
|
526
|
-
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
645
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
527
646
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
528
647
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
529
|
-
zoom: z.ZodOptional<z.ZodNumber>;
|
|
530
648
|
position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
531
649
|
rotation: z.ZodOptional<z.ZodNumber>;
|
|
532
650
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
533
|
-
|
|
651
|
+
zoom: z.ZodOptional<z.ZodNumber>;
|
|
652
|
+
text: z.ZodOptional<z.ZodString>;
|
|
534
653
|
align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
|
535
654
|
style: z.ZodOptional<z.ZodEnum<["italic", "light", "regular", "caps"]>>;
|
|
655
|
+
name: z.ZodOptional<z.ZodString>;
|
|
656
|
+
type: z.ZodOptional<z.ZodLiteral<"Note">>;
|
|
536
657
|
widthScale: z.ZodOptional<z.ZodNumber>;
|
|
537
|
-
}, "
|
|
658
|
+
}, "type" | "id" | "name">, {
|
|
659
|
+
type: z.ZodLiteral<"Note">;
|
|
660
|
+
text: z.ZodString;
|
|
661
|
+
}>, "strip", z.ZodTypeAny, {
|
|
538
662
|
type: "Note";
|
|
539
663
|
text: string;
|
|
540
664
|
groupId?: string | null | undefined;
|
|
@@ -546,7 +670,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
546
670
|
position?: [number, number] | undefined;
|
|
547
671
|
rotation?: number | undefined;
|
|
548
672
|
scale?: number | undefined;
|
|
549
|
-
align?: "
|
|
673
|
+
align?: "center" | "left" | "right" | undefined;
|
|
550
674
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
551
675
|
widthScale?: number | undefined;
|
|
552
676
|
}, {
|
|
@@ -561,7 +685,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
561
685
|
position?: [number, number] | undefined;
|
|
562
686
|
rotation?: number | undefined;
|
|
563
687
|
scale?: number | undefined;
|
|
564
|
-
align?: "
|
|
688
|
+
align?: "center" | "left" | "right" | undefined;
|
|
565
689
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
566
690
|
widthScale?: number | undefined;
|
|
567
691
|
}>]>;
|
|
@@ -593,8 +717,8 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
593
717
|
strokeWidth?: number | undefined;
|
|
594
718
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
595
719
|
distanceMarker?: boolean | undefined;
|
|
596
|
-
endCaps?: boolean | undefined;
|
|
597
720
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
721
|
+
endCaps?: boolean | undefined;
|
|
598
722
|
} | {
|
|
599
723
|
type: "Polygon";
|
|
600
724
|
coordinates: [number, number][][];
|
|
@@ -612,7 +736,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
612
736
|
areaMarker?: boolean | undefined;
|
|
613
737
|
} | {
|
|
614
738
|
type: "Circle";
|
|
615
|
-
|
|
739
|
+
center: [number, number];
|
|
616
740
|
radius: number;
|
|
617
741
|
groupId?: string | null | undefined;
|
|
618
742
|
color?: string | undefined;
|
|
@@ -625,9 +749,9 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
625
749
|
strokeWidth?: number | undefined;
|
|
626
750
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
627
751
|
fillOpacity?: number | undefined;
|
|
752
|
+
radiusMarker?: boolean | undefined;
|
|
628
753
|
radiusDisplayAngle?: number | undefined;
|
|
629
754
|
radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
|
|
630
|
-
radiusMarker?: boolean | undefined;
|
|
631
755
|
} | {
|
|
632
756
|
type: "Marker";
|
|
633
757
|
coordinates: [number, number][][];
|
|
@@ -642,7 +766,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
642
766
|
zoom?: number | undefined;
|
|
643
767
|
} | {
|
|
644
768
|
type: "Highlighter";
|
|
645
|
-
coordinates: [number, number][][];
|
|
769
|
+
coordinates: [number, number][][][];
|
|
646
770
|
groupId?: string | null | undefined;
|
|
647
771
|
color?: string | undefined;
|
|
648
772
|
name?: string | null | undefined;
|
|
@@ -650,6 +774,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
650
774
|
attributes?: Record<string, unknown> | undefined;
|
|
651
775
|
interaction?: "default" | "locked" | undefined;
|
|
652
776
|
opacity?: number | undefined;
|
|
777
|
+
renderHoles?: boolean | undefined;
|
|
653
778
|
} | {
|
|
654
779
|
type: "Text";
|
|
655
780
|
text: string;
|
|
@@ -662,7 +787,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
662
787
|
position?: [number, number] | undefined;
|
|
663
788
|
rotation?: number | undefined;
|
|
664
789
|
scale?: number | undefined;
|
|
665
|
-
align?: "
|
|
790
|
+
align?: "center" | "left" | "right" | undefined;
|
|
666
791
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
667
792
|
} | {
|
|
668
793
|
type: "Note";
|
|
@@ -676,7 +801,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
676
801
|
position?: [number, number] | undefined;
|
|
677
802
|
rotation?: number | undefined;
|
|
678
803
|
scale?: number | undefined;
|
|
679
|
-
align?: "
|
|
804
|
+
align?: "center" | "left" | "right" | undefined;
|
|
680
805
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
681
806
|
widthScale?: number | undefined;
|
|
682
807
|
} | {
|
|
@@ -719,8 +844,8 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
719
844
|
strokeWidth?: number | undefined;
|
|
720
845
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
721
846
|
distanceMarker?: boolean | undefined;
|
|
722
|
-
endCaps?: boolean | undefined;
|
|
723
847
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
848
|
+
endCaps?: boolean | undefined;
|
|
724
849
|
} | {
|
|
725
850
|
type: "Polygon";
|
|
726
851
|
coordinates: [number, number][][];
|
|
@@ -738,7 +863,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
738
863
|
areaMarker?: boolean | undefined;
|
|
739
864
|
} | {
|
|
740
865
|
type: "Circle";
|
|
741
|
-
|
|
866
|
+
center: [number, number];
|
|
742
867
|
radius: number;
|
|
743
868
|
groupId?: string | null | undefined;
|
|
744
869
|
color?: string | undefined;
|
|
@@ -751,9 +876,9 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
751
876
|
strokeWidth?: number | undefined;
|
|
752
877
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
753
878
|
fillOpacity?: number | undefined;
|
|
879
|
+
radiusMarker?: boolean | undefined;
|
|
754
880
|
radiusDisplayAngle?: number | undefined;
|
|
755
881
|
radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
|
|
756
|
-
radiusMarker?: boolean | undefined;
|
|
757
882
|
} | {
|
|
758
883
|
type: "Marker";
|
|
759
884
|
coordinates: [number, number][][];
|
|
@@ -768,7 +893,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
768
893
|
zoom?: number | undefined;
|
|
769
894
|
} | {
|
|
770
895
|
type: "Highlighter";
|
|
771
|
-
coordinates: [number, number][][];
|
|
896
|
+
coordinates: [number, number][][][];
|
|
772
897
|
groupId?: string | null | undefined;
|
|
773
898
|
color?: string | undefined;
|
|
774
899
|
name?: string | null | undefined;
|
|
@@ -776,6 +901,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
776
901
|
attributes?: Record<string, unknown> | undefined;
|
|
777
902
|
interaction?: "default" | "locked" | undefined;
|
|
778
903
|
opacity?: number | undefined;
|
|
904
|
+
renderHoles?: boolean | undefined;
|
|
779
905
|
} | {
|
|
780
906
|
type: "Text";
|
|
781
907
|
text: string;
|
|
@@ -788,7 +914,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
788
914
|
position?: [number, number] | undefined;
|
|
789
915
|
rotation?: number | undefined;
|
|
790
916
|
scale?: number | undefined;
|
|
791
|
-
align?: "
|
|
917
|
+
align?: "center" | "left" | "right" | undefined;
|
|
792
918
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
793
919
|
} | {
|
|
794
920
|
type: "Note";
|
|
@@ -802,7 +928,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
802
928
|
position?: [number, number] | undefined;
|
|
803
929
|
rotation?: number | undefined;
|
|
804
930
|
scale?: number | undefined;
|
|
805
|
-
align?: "
|
|
931
|
+
align?: "center" | "left" | "right" | undefined;
|
|
806
932
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
807
933
|
widthScale?: number | undefined;
|
|
808
934
|
} | {
|
|
@@ -820,21 +946,37 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
820
946
|
}>;
|
|
821
947
|
declare const UpdateElementMessage: z.ZodObject<{
|
|
822
948
|
type: z.ZodLiteral<"updateElement">;
|
|
823
|
-
params: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
824
|
-
|
|
825
|
-
type: z.ZodLiteral<"Place">;
|
|
826
|
-
coordinates: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
827
|
-
id: z.ZodString;
|
|
949
|
+
params: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
950
|
+
id: z.ZodOptional<z.ZodString>;
|
|
828
951
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
829
952
|
color: z.ZodOptional<z.ZodString>;
|
|
830
|
-
name: z.ZodOptional<z.
|
|
831
|
-
description: z.ZodOptional<z.
|
|
953
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
954
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
832
955
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
833
956
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
834
957
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
958
|
+
type: z.ZodOptional<z.ZodLiteral<"Place">>;
|
|
959
|
+
coordinates: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
960
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
835
961
|
frame: z.ZodOptional<z.ZodNullable<z.ZodEnum<["frame-circle", "frame-square"]>>>;
|
|
836
962
|
hideLabel: z.ZodOptional<z.ZodBoolean>;
|
|
837
|
-
},
|
|
963
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
964
|
+
id: z.ZodString;
|
|
965
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
966
|
+
color: z.ZodString;
|
|
967
|
+
name: z.ZodNullable<z.ZodString>;
|
|
968
|
+
description: z.ZodNullable<z.ZodString>;
|
|
969
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
970
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
971
|
+
}, {
|
|
972
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
973
|
+
}>, {
|
|
974
|
+
type: z.ZodLiteral<"Place">;
|
|
975
|
+
coordinates: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
976
|
+
symbol: z.ZodString;
|
|
977
|
+
frame: z.ZodNullable<z.ZodEnum<["frame-circle", "frame-square"]>>;
|
|
978
|
+
hideLabel: z.ZodBoolean;
|
|
979
|
+
}>, "type" | "id">>, "strip", z.ZodTypeAny, {
|
|
838
980
|
type: "Place";
|
|
839
981
|
id: string;
|
|
840
982
|
symbol?: string | undefined;
|
|
@@ -862,24 +1004,44 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
862
1004
|
imageUrl?: string | null | undefined;
|
|
863
1005
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
864
1006
|
hideLabel?: boolean | undefined;
|
|
865
|
-
}>, z.ZodObject<{
|
|
866
|
-
|
|
867
|
-
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
|
|
868
|
-
id: z.ZodString;
|
|
1007
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1008
|
+
id: z.ZodOptional<z.ZodString>;
|
|
869
1009
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
870
1010
|
color: z.ZodOptional<z.ZodString>;
|
|
871
|
-
name: z.ZodOptional<z.
|
|
872
|
-
description: z.ZodOptional<z.
|
|
1011
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1012
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
873
1013
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
874
1014
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
875
1015
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
876
1016
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
877
1017
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
878
1018
|
strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
|
|
1019
|
+
type: z.ZodOptional<z.ZodLiteral<"Path">>;
|
|
1020
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
|
|
879
1021
|
distanceMarker: z.ZodOptional<z.ZodBoolean>;
|
|
880
|
-
endCaps: z.ZodOptional<z.ZodBoolean>;
|
|
881
1022
|
routingMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["driving", "cycling", "walking", "flying"]>>>;
|
|
882
|
-
|
|
1023
|
+
endCaps: z.ZodOptional<z.ZodBoolean>;
|
|
1024
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1025
|
+
id: z.ZodString;
|
|
1026
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1027
|
+
color: z.ZodString;
|
|
1028
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1029
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1030
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1031
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1032
|
+
}, {
|
|
1033
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
1034
|
+
}>, {
|
|
1035
|
+
strokeOpacity: z.ZodNumber;
|
|
1036
|
+
strokeWidth: z.ZodNumber;
|
|
1037
|
+
strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
|
|
1038
|
+
}>, {
|
|
1039
|
+
type: z.ZodLiteral<"Path">;
|
|
1040
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
1041
|
+
distanceMarker: z.ZodBoolean;
|
|
1042
|
+
routingMode: z.ZodNullable<z.ZodEnum<["driving", "cycling", "walking", "flying"]>>;
|
|
1043
|
+
endCaps: z.ZodBoolean;
|
|
1044
|
+
}>, "type" | "id">>, "strip", z.ZodTypeAny, {
|
|
883
1045
|
type: "Path";
|
|
884
1046
|
id: string;
|
|
885
1047
|
coordinates?: [number, number][][] | undefined;
|
|
@@ -894,8 +1056,8 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
894
1056
|
strokeWidth?: number | undefined;
|
|
895
1057
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
896
1058
|
distanceMarker?: boolean | undefined;
|
|
897
|
-
endCaps?: boolean | undefined;
|
|
898
1059
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
1060
|
+
endCaps?: boolean | undefined;
|
|
899
1061
|
}, {
|
|
900
1062
|
type: "Path";
|
|
901
1063
|
id: string;
|
|
@@ -911,25 +1073,44 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
911
1073
|
strokeWidth?: number | undefined;
|
|
912
1074
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
913
1075
|
distanceMarker?: boolean | undefined;
|
|
914
|
-
endCaps?: boolean | undefined;
|
|
915
1076
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
id: z.ZodString;
|
|
1077
|
+
endCaps?: boolean | undefined;
|
|
1078
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1079
|
+
id: z.ZodOptional<z.ZodString>;
|
|
920
1080
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
921
1081
|
color: z.ZodOptional<z.ZodString>;
|
|
922
|
-
name: z.ZodOptional<z.
|
|
923
|
-
description: z.ZodOptional<z.
|
|
1082
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1083
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
924
1084
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
925
1085
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
926
1086
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
927
1087
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
928
1088
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
929
1089
|
strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
|
|
1090
|
+
type: z.ZodOptional<z.ZodLiteral<"Polygon">>;
|
|
1091
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">>;
|
|
930
1092
|
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
931
1093
|
areaMarker: z.ZodOptional<z.ZodBoolean>;
|
|
932
|
-
},
|
|
1094
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1095
|
+
id: z.ZodString;
|
|
1096
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1097
|
+
color: z.ZodString;
|
|
1098
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1099
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1100
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1101
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1102
|
+
}, {
|
|
1103
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
1104
|
+
}>, {
|
|
1105
|
+
strokeOpacity: z.ZodNumber;
|
|
1106
|
+
strokeWidth: z.ZodNumber;
|
|
1107
|
+
strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
|
|
1108
|
+
}>, {
|
|
1109
|
+
type: z.ZodLiteral<"Polygon">;
|
|
1110
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
1111
|
+
fillOpacity: z.ZodNumber;
|
|
1112
|
+
areaMarker: z.ZodBoolean;
|
|
1113
|
+
}>, "type" | "id">>, "strip", z.ZodTypeAny, {
|
|
933
1114
|
type: "Polygon";
|
|
934
1115
|
id: string;
|
|
935
1116
|
coordinates?: [number, number][][] | undefined;
|
|
@@ -961,29 +1142,50 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
961
1142
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
962
1143
|
fillOpacity?: number | undefined;
|
|
963
1144
|
areaMarker?: boolean | undefined;
|
|
964
|
-
}>, z.ZodObject<{
|
|
965
|
-
|
|
966
|
-
coordinates: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
967
|
-
id: z.ZodString;
|
|
1145
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1146
|
+
id: z.ZodOptional<z.ZodString>;
|
|
968
1147
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
969
1148
|
color: z.ZodOptional<z.ZodString>;
|
|
970
|
-
name: z.ZodOptional<z.
|
|
971
|
-
description: z.ZodOptional<z.
|
|
1149
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1150
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
972
1151
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
973
1152
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
974
1153
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
975
1154
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
976
1155
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
977
1156
|
strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
|
|
978
|
-
|
|
1157
|
+
type: z.ZodOptional<z.ZodLiteral<"Circle">>;
|
|
1158
|
+
center: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
979
1159
|
radius: z.ZodOptional<z.ZodNumber>;
|
|
1160
|
+
radiusMarker: z.ZodOptional<z.ZodBoolean>;
|
|
980
1161
|
radiusDisplayAngle: z.ZodOptional<z.ZodNumber>;
|
|
981
1162
|
radiusDisplayUnit: z.ZodOptional<z.ZodNullable<z.ZodEnum<["meter", "kilometer", "foot", "mile"]>>>;
|
|
982
|
-
|
|
983
|
-
},
|
|
1163
|
+
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
1164
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1165
|
+
id: z.ZodString;
|
|
1166
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1167
|
+
color: z.ZodString;
|
|
1168
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1169
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1170
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1171
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1172
|
+
}, {
|
|
1173
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
1174
|
+
}>, {
|
|
1175
|
+
strokeOpacity: z.ZodNumber;
|
|
1176
|
+
strokeWidth: z.ZodNumber;
|
|
1177
|
+
strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
|
|
1178
|
+
}>, {
|
|
1179
|
+
type: z.ZodLiteral<"Circle">;
|
|
1180
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
1181
|
+
radius: z.ZodNumber;
|
|
1182
|
+
radiusMarker: z.ZodBoolean;
|
|
1183
|
+
radiusDisplayAngle: z.ZodNumber;
|
|
1184
|
+
radiusDisplayUnit: z.ZodNullable<z.ZodEnum<["meter", "kilometer", "foot", "mile"]>>;
|
|
1185
|
+
fillOpacity: z.ZodNumber;
|
|
1186
|
+
}>, "type" | "id">>, "strip", z.ZodTypeAny, {
|
|
984
1187
|
type: "Circle";
|
|
985
1188
|
id: string;
|
|
986
|
-
coordinates?: [number, number] | undefined;
|
|
987
1189
|
groupId?: string | null | undefined;
|
|
988
1190
|
color?: string | undefined;
|
|
989
1191
|
name?: string | null | undefined;
|
|
@@ -995,14 +1197,14 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
995
1197
|
strokeWidth?: number | undefined;
|
|
996
1198
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
997
1199
|
fillOpacity?: number | undefined;
|
|
1200
|
+
center?: [number, number] | undefined;
|
|
998
1201
|
radius?: number | undefined;
|
|
1202
|
+
radiusMarker?: boolean | undefined;
|
|
999
1203
|
radiusDisplayAngle?: number | undefined;
|
|
1000
1204
|
radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
|
|
1001
|
-
radiusMarker?: boolean | undefined;
|
|
1002
1205
|
}, {
|
|
1003
1206
|
type: "Circle";
|
|
1004
1207
|
id: string;
|
|
1005
|
-
coordinates?: [number, number] | undefined;
|
|
1006
1208
|
groupId?: string | null | undefined;
|
|
1007
1209
|
color?: string | undefined;
|
|
1008
1210
|
name?: string | null | undefined;
|
|
@@ -1014,24 +1216,39 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1014
1216
|
strokeWidth?: number | undefined;
|
|
1015
1217
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
1016
1218
|
fillOpacity?: number | undefined;
|
|
1219
|
+
center?: [number, number] | undefined;
|
|
1017
1220
|
radius?: number | undefined;
|
|
1221
|
+
radiusMarker?: boolean | undefined;
|
|
1018
1222
|
radiusDisplayAngle?: number | undefined;
|
|
1019
1223
|
radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
type: z.ZodLiteral<"Marker">;
|
|
1023
|
-
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
|
|
1024
|
-
id: z.ZodString;
|
|
1224
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1225
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1025
1226
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1026
1227
|
color: z.ZodOptional<z.ZodString>;
|
|
1027
|
-
name: z.ZodOptional<z.
|
|
1028
|
-
description: z.ZodOptional<z.
|
|
1228
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1229
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1029
1230
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1030
1231
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
1232
|
+
type: z.ZodOptional<z.ZodLiteral<"Marker">>;
|
|
1233
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
|
|
1031
1234
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1032
1235
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1033
1236
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1034
|
-
},
|
|
1237
|
+
}, Pick<z.objectUtil.extendShape<{
|
|
1238
|
+
id: z.ZodString;
|
|
1239
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1240
|
+
color: z.ZodString;
|
|
1241
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1242
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1243
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1244
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1245
|
+
}, {
|
|
1246
|
+
type: z.ZodLiteral<"Marker">;
|
|
1247
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
1248
|
+
opacity: z.ZodNumber;
|
|
1249
|
+
size: z.ZodNumber;
|
|
1250
|
+
zoom: z.ZodNumber;
|
|
1251
|
+
}>, "type" | "id">>, "strip", z.ZodTypeAny, {
|
|
1035
1252
|
type: "Marker";
|
|
1036
1253
|
id: string;
|
|
1037
1254
|
coordinates?: [number, number][][] | undefined;
|
|
@@ -1057,21 +1274,35 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1057
1274
|
opacity?: number | undefined;
|
|
1058
1275
|
size?: number | undefined;
|
|
1059
1276
|
zoom?: number | undefined;
|
|
1060
|
-
}>, z.ZodObject<{
|
|
1061
|
-
|
|
1062
|
-
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
|
|
1063
|
-
id: z.ZodString;
|
|
1277
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1278
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1064
1279
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1065
1280
|
color: z.ZodOptional<z.ZodString>;
|
|
1066
|
-
name: z.ZodOptional<z.
|
|
1067
|
-
description: z.ZodOptional<z.
|
|
1281
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1282
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1068
1283
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1069
1284
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
1285
|
+
type: z.ZodOptional<z.ZodLiteral<"Highlighter">>;
|
|
1286
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">>;
|
|
1287
|
+
renderHoles: z.ZodOptional<z.ZodBoolean>;
|
|
1070
1288
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1071
|
-
},
|
|
1289
|
+
}, Pick<z.objectUtil.extendShape<{
|
|
1290
|
+
id: z.ZodString;
|
|
1291
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1292
|
+
color: z.ZodString;
|
|
1293
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1294
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1295
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1296
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1297
|
+
}, {
|
|
1298
|
+
type: z.ZodLiteral<"Highlighter">;
|
|
1299
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
1300
|
+
renderHoles: z.ZodBoolean;
|
|
1301
|
+
opacity: z.ZodNumber;
|
|
1302
|
+
}>, "type" | "id">>, "strip", z.ZodTypeAny, {
|
|
1072
1303
|
type: "Highlighter";
|
|
1073
1304
|
id: string;
|
|
1074
|
-
coordinates?: [number, number][][] | undefined;
|
|
1305
|
+
coordinates?: [number, number][][][] | undefined;
|
|
1075
1306
|
groupId?: string | null | undefined;
|
|
1076
1307
|
color?: string | undefined;
|
|
1077
1308
|
name?: string | null | undefined;
|
|
@@ -1079,10 +1310,11 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1079
1310
|
attributes?: Record<string, unknown> | undefined;
|
|
1080
1311
|
interaction?: "default" | "locked" | undefined;
|
|
1081
1312
|
opacity?: number | undefined;
|
|
1313
|
+
renderHoles?: boolean | undefined;
|
|
1082
1314
|
}, {
|
|
1083
1315
|
type: "Highlighter";
|
|
1084
1316
|
id: string;
|
|
1085
|
-
coordinates?: [number, number][][] | undefined;
|
|
1317
|
+
coordinates?: [number, number][][][] | undefined;
|
|
1086
1318
|
groupId?: string | null | undefined;
|
|
1087
1319
|
color?: string | undefined;
|
|
1088
1320
|
name?: string | null | undefined;
|
|
@@ -1090,24 +1322,43 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1090
1322
|
attributes?: Record<string, unknown> | undefined;
|
|
1091
1323
|
interaction?: "default" | "locked" | undefined;
|
|
1092
1324
|
opacity?: number | undefined;
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
id: z.ZodString;
|
|
1325
|
+
renderHoles?: boolean | undefined;
|
|
1326
|
+
}>, z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
1327
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1097
1328
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1098
1329
|
color: z.ZodOptional<z.ZodString>;
|
|
1099
|
-
|
|
1100
|
-
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1330
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1101
1331
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1102
1332
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
1103
|
-
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1104
1333
|
position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1105
1334
|
rotation: z.ZodOptional<z.ZodNumber>;
|
|
1106
1335
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
1336
|
+
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1107
1337
|
text: z.ZodOptional<z.ZodString>;
|
|
1108
1338
|
align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
|
1109
1339
|
style: z.ZodOptional<z.ZodEnum<["italic", "light", "regular", "caps"]>>;
|
|
1110
|
-
|
|
1340
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1341
|
+
type: z.ZodOptional<z.ZodLiteral<"Text">>;
|
|
1342
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1343
|
+
id: z.ZodString;
|
|
1344
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1345
|
+
color: z.ZodString;
|
|
1346
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1347
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1348
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1349
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1350
|
+
}, {
|
|
1351
|
+
position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
1352
|
+
rotation: z.ZodNumber;
|
|
1353
|
+
scale: z.ZodNumber;
|
|
1354
|
+
zoom: z.ZodNumber;
|
|
1355
|
+
text: z.ZodString;
|
|
1356
|
+
align: z.ZodEnum<["left", "center", "right"]>;
|
|
1357
|
+
style: z.ZodEnum<["italic", "light", "regular", "caps"]>;
|
|
1358
|
+
name: z.ZodString;
|
|
1359
|
+
}>, {
|
|
1360
|
+
type: z.ZodLiteral<"Text">;
|
|
1361
|
+
}>, "type" | "id">>, "name">, "strip", z.ZodTypeAny, {
|
|
1111
1362
|
type: "Text";
|
|
1112
1363
|
id: string;
|
|
1113
1364
|
groupId?: string | null | undefined;
|
|
@@ -1120,7 +1371,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1120
1371
|
rotation?: number | undefined;
|
|
1121
1372
|
scale?: number | undefined;
|
|
1122
1373
|
text?: string | undefined;
|
|
1123
|
-
align?: "
|
|
1374
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1124
1375
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1125
1376
|
}, {
|
|
1126
1377
|
type: "Text";
|
|
@@ -1135,27 +1386,46 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1135
1386
|
rotation?: number | undefined;
|
|
1136
1387
|
scale?: number | undefined;
|
|
1137
1388
|
text?: string | undefined;
|
|
1138
|
-
align?: "
|
|
1389
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1139
1390
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1140
|
-
}>, z.ZodObject<Omit<{
|
|
1141
|
-
|
|
1142
|
-
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
|
|
1143
|
-
id: z.ZodString;
|
|
1391
|
+
}>, z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
1392
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1144
1393
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1145
1394
|
color: z.ZodOptional<z.ZodString>;
|
|
1146
|
-
|
|
1147
|
-
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1395
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1148
1396
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1149
1397
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
1150
|
-
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1151
1398
|
position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1152
1399
|
rotation: z.ZodOptional<z.ZodNumber>;
|
|
1153
1400
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
1401
|
+
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1154
1402
|
text: z.ZodOptional<z.ZodString>;
|
|
1155
1403
|
align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
|
1156
1404
|
style: z.ZodOptional<z.ZodEnum<["italic", "light", "regular", "caps"]>>;
|
|
1405
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1406
|
+
type: z.ZodOptional<z.ZodLiteral<"Note">>;
|
|
1157
1407
|
widthScale: z.ZodOptional<z.ZodNumber>;
|
|
1158
|
-
},
|
|
1408
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1409
|
+
id: z.ZodString;
|
|
1410
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1411
|
+
color: z.ZodString;
|
|
1412
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1413
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1414
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1415
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1416
|
+
}, {
|
|
1417
|
+
position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
1418
|
+
rotation: z.ZodNumber;
|
|
1419
|
+
scale: z.ZodNumber;
|
|
1420
|
+
zoom: z.ZodNumber;
|
|
1421
|
+
text: z.ZodString;
|
|
1422
|
+
align: z.ZodEnum<["left", "center", "right"]>;
|
|
1423
|
+
style: z.ZodEnum<["italic", "light", "regular", "caps"]>;
|
|
1424
|
+
name: z.ZodString;
|
|
1425
|
+
}>, {
|
|
1426
|
+
type: z.ZodLiteral<"Note">;
|
|
1427
|
+
widthScale: z.ZodNumber;
|
|
1428
|
+
}>, "type" | "id">>, "name">, "strip", z.ZodTypeAny, {
|
|
1159
1429
|
type: "Note";
|
|
1160
1430
|
id: string;
|
|
1161
1431
|
groupId?: string | null | undefined;
|
|
@@ -1168,7 +1438,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1168
1438
|
rotation?: number | undefined;
|
|
1169
1439
|
scale?: number | undefined;
|
|
1170
1440
|
text?: string | undefined;
|
|
1171
|
-
align?: "
|
|
1441
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1172
1442
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1173
1443
|
widthScale?: number | undefined;
|
|
1174
1444
|
}, {
|
|
@@ -1184,21 +1454,34 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1184
1454
|
rotation?: number | undefined;
|
|
1185
1455
|
scale?: number | undefined;
|
|
1186
1456
|
text?: string | undefined;
|
|
1187
|
-
align?: "
|
|
1457
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1188
1458
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1189
1459
|
widthScale?: number | undefined;
|
|
1190
|
-
}>, z.ZodObject<{
|
|
1191
|
-
type: z.ZodLiteral<"Image"
|
|
1460
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1461
|
+
type: z.ZodOptional<z.ZodLiteral<"Image">>;
|
|
1192
1462
|
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
|
|
1193
|
-
id: z.ZodString
|
|
1463
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1194
1464
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1195
|
-
name: z.ZodOptional<z.
|
|
1196
|
-
description: z.ZodOptional<z.
|
|
1465
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1466
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1197
1467
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1198
1468
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
1199
1469
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1200
1470
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1201
|
-
},
|
|
1471
|
+
}, Pick<Omit<z.objectUtil.extendShape<{
|
|
1472
|
+
id: z.ZodString;
|
|
1473
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1474
|
+
color: z.ZodString;
|
|
1475
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1476
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1477
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1478
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1479
|
+
}, {
|
|
1480
|
+
type: z.ZodLiteral<"Image">;
|
|
1481
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
1482
|
+
imageUrl: z.ZodString;
|
|
1483
|
+
opacity: z.ZodNumber;
|
|
1484
|
+
}>, "color">, "type" | "id">>, "strip", z.ZodTypeAny, {
|
|
1202
1485
|
type: "Image";
|
|
1203
1486
|
id: string;
|
|
1204
1487
|
coordinates?: [number, number][][] | undefined;
|
|
@@ -1251,8 +1534,8 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1251
1534
|
strokeWidth?: number | undefined;
|
|
1252
1535
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
1253
1536
|
distanceMarker?: boolean | undefined;
|
|
1254
|
-
endCaps?: boolean | undefined;
|
|
1255
1537
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
1538
|
+
endCaps?: boolean | undefined;
|
|
1256
1539
|
} | {
|
|
1257
1540
|
type: "Polygon";
|
|
1258
1541
|
id: string;
|
|
@@ -1272,7 +1555,6 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1272
1555
|
} | {
|
|
1273
1556
|
type: "Circle";
|
|
1274
1557
|
id: string;
|
|
1275
|
-
coordinates?: [number, number] | undefined;
|
|
1276
1558
|
groupId?: string | null | undefined;
|
|
1277
1559
|
color?: string | undefined;
|
|
1278
1560
|
name?: string | null | undefined;
|
|
@@ -1284,10 +1566,11 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1284
1566
|
strokeWidth?: number | undefined;
|
|
1285
1567
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
1286
1568
|
fillOpacity?: number | undefined;
|
|
1569
|
+
center?: [number, number] | undefined;
|
|
1287
1570
|
radius?: number | undefined;
|
|
1571
|
+
radiusMarker?: boolean | undefined;
|
|
1288
1572
|
radiusDisplayAngle?: number | undefined;
|
|
1289
1573
|
radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
|
|
1290
|
-
radiusMarker?: boolean | undefined;
|
|
1291
1574
|
} | {
|
|
1292
1575
|
type: "Marker";
|
|
1293
1576
|
id: string;
|
|
@@ -1304,7 +1587,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1304
1587
|
} | {
|
|
1305
1588
|
type: "Highlighter";
|
|
1306
1589
|
id: string;
|
|
1307
|
-
coordinates?: [number, number][][] | undefined;
|
|
1590
|
+
coordinates?: [number, number][][][] | undefined;
|
|
1308
1591
|
groupId?: string | null | undefined;
|
|
1309
1592
|
color?: string | undefined;
|
|
1310
1593
|
name?: string | null | undefined;
|
|
@@ -1312,6 +1595,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1312
1595
|
attributes?: Record<string, unknown> | undefined;
|
|
1313
1596
|
interaction?: "default" | "locked" | undefined;
|
|
1314
1597
|
opacity?: number | undefined;
|
|
1598
|
+
renderHoles?: boolean | undefined;
|
|
1315
1599
|
} | {
|
|
1316
1600
|
type: "Text";
|
|
1317
1601
|
id: string;
|
|
@@ -1325,7 +1609,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1325
1609
|
rotation?: number | undefined;
|
|
1326
1610
|
scale?: number | undefined;
|
|
1327
1611
|
text?: string | undefined;
|
|
1328
|
-
align?: "
|
|
1612
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1329
1613
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1330
1614
|
} | {
|
|
1331
1615
|
type: "Note";
|
|
@@ -1340,7 +1624,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1340
1624
|
rotation?: number | undefined;
|
|
1341
1625
|
scale?: number | undefined;
|
|
1342
1626
|
text?: string | undefined;
|
|
1343
|
-
align?: "
|
|
1627
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1344
1628
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1345
1629
|
widthScale?: number | undefined;
|
|
1346
1630
|
} | {
|
|
@@ -1386,8 +1670,8 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1386
1670
|
strokeWidth?: number | undefined;
|
|
1387
1671
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
1388
1672
|
distanceMarker?: boolean | undefined;
|
|
1389
|
-
endCaps?: boolean | undefined;
|
|
1390
1673
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
1674
|
+
endCaps?: boolean | undefined;
|
|
1391
1675
|
} | {
|
|
1392
1676
|
type: "Polygon";
|
|
1393
1677
|
id: string;
|
|
@@ -1407,7 +1691,6 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1407
1691
|
} | {
|
|
1408
1692
|
type: "Circle";
|
|
1409
1693
|
id: string;
|
|
1410
|
-
coordinates?: [number, number] | undefined;
|
|
1411
1694
|
groupId?: string | null | undefined;
|
|
1412
1695
|
color?: string | undefined;
|
|
1413
1696
|
name?: string | null | undefined;
|
|
@@ -1419,10 +1702,11 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1419
1702
|
strokeWidth?: number | undefined;
|
|
1420
1703
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
1421
1704
|
fillOpacity?: number | undefined;
|
|
1705
|
+
center?: [number, number] | undefined;
|
|
1422
1706
|
radius?: number | undefined;
|
|
1707
|
+
radiusMarker?: boolean | undefined;
|
|
1423
1708
|
radiusDisplayAngle?: number | undefined;
|
|
1424
1709
|
radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
|
|
1425
|
-
radiusMarker?: boolean | undefined;
|
|
1426
1710
|
} | {
|
|
1427
1711
|
type: "Marker";
|
|
1428
1712
|
id: string;
|
|
@@ -1439,7 +1723,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1439
1723
|
} | {
|
|
1440
1724
|
type: "Highlighter";
|
|
1441
1725
|
id: string;
|
|
1442
|
-
coordinates?: [number, number][][] | undefined;
|
|
1726
|
+
coordinates?: [number, number][][][] | undefined;
|
|
1443
1727
|
groupId?: string | null | undefined;
|
|
1444
1728
|
color?: string | undefined;
|
|
1445
1729
|
name?: string | null | undefined;
|
|
@@ -1447,6 +1731,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1447
1731
|
attributes?: Record<string, unknown> | undefined;
|
|
1448
1732
|
interaction?: "default" | "locked" | undefined;
|
|
1449
1733
|
opacity?: number | undefined;
|
|
1734
|
+
renderHoles?: boolean | undefined;
|
|
1450
1735
|
} | {
|
|
1451
1736
|
type: "Text";
|
|
1452
1737
|
id: string;
|
|
@@ -1460,7 +1745,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1460
1745
|
rotation?: number | undefined;
|
|
1461
1746
|
scale?: number | undefined;
|
|
1462
1747
|
text?: string | undefined;
|
|
1463
|
-
align?: "
|
|
1748
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1464
1749
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1465
1750
|
} | {
|
|
1466
1751
|
type: "Note";
|
|
@@ -1475,7 +1760,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1475
1760
|
rotation?: number | undefined;
|
|
1476
1761
|
scale?: number | undefined;
|
|
1477
1762
|
text?: string | undefined;
|
|
1478
|
-
align?: "
|
|
1763
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1479
1764
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1480
1765
|
widthScale?: number | undefined;
|
|
1481
1766
|
} | {
|
|
@@ -1505,7 +1790,7 @@ declare const DeleteElementMessage: z.ZodObject<{
|
|
|
1505
1790
|
type ElementsSchema = {
|
|
1506
1791
|
methods: {
|
|
1507
1792
|
getElement: Method<zInfer<typeof GetElementMessage>, Element | null>;
|
|
1508
|
-
getElementGeometry: Method<zInfer<typeof GetElementGeometryMessage>,
|
|
1793
|
+
getElementGeometry: Method<zInfer<typeof GetElementGeometryMessage>, GeoJsonGeometry | null>;
|
|
1509
1794
|
getElements: Method<zInfer<typeof GetElementsMessage>, Array<Element | null>>;
|
|
1510
1795
|
getElementGroup: Method<zInfer<typeof GetGroupMessage$1>, ElementGroup | null>;
|
|
1511
1796
|
getElementGroups: Method<zInfer<typeof GetGroupsMessage$1>, Array<ElementGroup | null>>;
|
|
@@ -1669,6 +1954,284 @@ declare const SetLayerLegendVisibilityMessage: z.ZodObject<{
|
|
|
1669
1954
|
};
|
|
1670
1955
|
type: "setLayerLegendVisibility";
|
|
1671
1956
|
}>;
|
|
1957
|
+
declare const CreateLayersFromGeoJsonMessage: z.ZodObject<{
|
|
1958
|
+
type: z.ZodLiteral<"createLayersFromGeoJson">;
|
|
1959
|
+
params: z.ZodObject<{
|
|
1960
|
+
source: z.ZodUnion<[z.ZodObject<{
|
|
1961
|
+
type: z.ZodLiteral<"geoJsonUrl">;
|
|
1962
|
+
url: z.ZodString;
|
|
1963
|
+
refreshInterval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1964
|
+
}, "strip", z.ZodTypeAny, {
|
|
1965
|
+
type: "geoJsonUrl";
|
|
1966
|
+
url: string;
|
|
1967
|
+
refreshInterval?: number | null | undefined;
|
|
1968
|
+
}, {
|
|
1969
|
+
type: "geoJsonUrl";
|
|
1970
|
+
url: string;
|
|
1971
|
+
refreshInterval?: number | null | undefined;
|
|
1972
|
+
}>, z.ZodObject<{
|
|
1973
|
+
type: z.ZodLiteral<"geoJsonData">;
|
|
1974
|
+
data: z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>]>;
|
|
1975
|
+
}, "strip", z.ZodTypeAny, {
|
|
1976
|
+
type: "geoJsonData";
|
|
1977
|
+
data: ArrayBuffer | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">;
|
|
1978
|
+
}, {
|
|
1979
|
+
type: "geoJsonData";
|
|
1980
|
+
data: ArrayBuffer | z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
|
|
1981
|
+
}>, z.ZodObject<{
|
|
1982
|
+
type: z.ZodLiteral<"geoJsonFile">;
|
|
1983
|
+
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
1984
|
+
}, "strip", z.ZodTypeAny, {
|
|
1985
|
+
type: "geoJsonFile";
|
|
1986
|
+
file: File;
|
|
1987
|
+
}, {
|
|
1988
|
+
type: "geoJsonFile";
|
|
1989
|
+
file: File;
|
|
1990
|
+
}>]>;
|
|
1991
|
+
name: z.ZodString;
|
|
1992
|
+
bounds: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
1993
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
1994
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1995
|
+
geometryStyles: z.ZodOptional<z.ZodObject<{
|
|
1996
|
+
Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1997
|
+
Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1998
|
+
Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1999
|
+
}, "strip", z.ZodTypeAny, {
|
|
2000
|
+
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2001
|
+
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2002
|
+
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2003
|
+
}, {
|
|
2004
|
+
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2005
|
+
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2006
|
+
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2007
|
+
}>>;
|
|
2008
|
+
}, "strip", z.ZodTypeAny, {
|
|
2009
|
+
name: string;
|
|
2010
|
+
source: {
|
|
2011
|
+
type: "geoJsonUrl";
|
|
2012
|
+
url: string;
|
|
2013
|
+
refreshInterval?: number | null | undefined;
|
|
2014
|
+
} | {
|
|
2015
|
+
type: "geoJsonFile";
|
|
2016
|
+
file: File;
|
|
2017
|
+
} | {
|
|
2018
|
+
type: "geoJsonData";
|
|
2019
|
+
data: ArrayBuffer | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">;
|
|
2020
|
+
};
|
|
2021
|
+
description?: string | undefined;
|
|
2022
|
+
bounds?: [number, number, number, number] | undefined;
|
|
2023
|
+
caption?: string | undefined;
|
|
2024
|
+
geometryStyles?: {
|
|
2025
|
+
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2026
|
+
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2027
|
+
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2028
|
+
} | undefined;
|
|
2029
|
+
}, {
|
|
2030
|
+
name: string;
|
|
2031
|
+
source: {
|
|
2032
|
+
type: "geoJsonUrl";
|
|
2033
|
+
url: string;
|
|
2034
|
+
refreshInterval?: number | null | undefined;
|
|
2035
|
+
} | {
|
|
2036
|
+
type: "geoJsonFile";
|
|
2037
|
+
file: File;
|
|
2038
|
+
} | {
|
|
2039
|
+
type: "geoJsonData";
|
|
2040
|
+
data: ArrayBuffer | z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
|
|
2041
|
+
};
|
|
2042
|
+
description?: string | undefined;
|
|
2043
|
+
bounds?: [number, number, number, number] | undefined;
|
|
2044
|
+
caption?: string | undefined;
|
|
2045
|
+
geometryStyles?: {
|
|
2046
|
+
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2047
|
+
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2048
|
+
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2049
|
+
} | undefined;
|
|
2050
|
+
}>;
|
|
2051
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2052
|
+
params: {
|
|
2053
|
+
name: string;
|
|
2054
|
+
source: {
|
|
2055
|
+
type: "geoJsonUrl";
|
|
2056
|
+
url: string;
|
|
2057
|
+
refreshInterval?: number | null | undefined;
|
|
2058
|
+
} | {
|
|
2059
|
+
type: "geoJsonFile";
|
|
2060
|
+
file: File;
|
|
2061
|
+
} | {
|
|
2062
|
+
type: "geoJsonData";
|
|
2063
|
+
data: ArrayBuffer | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">;
|
|
2064
|
+
};
|
|
2065
|
+
description?: string | undefined;
|
|
2066
|
+
bounds?: [number, number, number, number] | undefined;
|
|
2067
|
+
caption?: string | undefined;
|
|
2068
|
+
geometryStyles?: {
|
|
2069
|
+
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2070
|
+
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2071
|
+
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2072
|
+
} | undefined;
|
|
2073
|
+
};
|
|
2074
|
+
type: "createLayersFromGeoJson";
|
|
2075
|
+
}, {
|
|
2076
|
+
params: {
|
|
2077
|
+
name: string;
|
|
2078
|
+
source: {
|
|
2079
|
+
type: "geoJsonUrl";
|
|
2080
|
+
url: string;
|
|
2081
|
+
refreshInterval?: number | null | undefined;
|
|
2082
|
+
} | {
|
|
2083
|
+
type: "geoJsonFile";
|
|
2084
|
+
file: File;
|
|
2085
|
+
} | {
|
|
2086
|
+
type: "geoJsonData";
|
|
2087
|
+
data: ArrayBuffer | z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
|
|
2088
|
+
};
|
|
2089
|
+
description?: string | undefined;
|
|
2090
|
+
bounds?: [number, number, number, number] | undefined;
|
|
2091
|
+
caption?: string | undefined;
|
|
2092
|
+
geometryStyles?: {
|
|
2093
|
+
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2094
|
+
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2095
|
+
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2096
|
+
} | undefined;
|
|
2097
|
+
};
|
|
2098
|
+
type: "createLayersFromGeoJson";
|
|
2099
|
+
}>;
|
|
2100
|
+
declare const UpdateLayerMessage: z.ZodObject<{
|
|
2101
|
+
type: z.ZodLiteral<"updateLayer">;
|
|
2102
|
+
params: z.ZodObject<{
|
|
2103
|
+
id: z.ZodString;
|
|
2104
|
+
style: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2105
|
+
shownInLegend: z.ZodOptional<z.ZodBoolean>;
|
|
2106
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2107
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
2108
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2109
|
+
bounds: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
2110
|
+
source: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2111
|
+
type: z.ZodLiteral<"geoJsonUrl">;
|
|
2112
|
+
url: z.ZodString;
|
|
2113
|
+
refreshInterval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2114
|
+
}, "strip", z.ZodTypeAny, {
|
|
2115
|
+
type: "geoJsonUrl";
|
|
2116
|
+
url: string;
|
|
2117
|
+
refreshInterval?: number | null | undefined;
|
|
2118
|
+
}, {
|
|
2119
|
+
type: "geoJsonUrl";
|
|
2120
|
+
url: string;
|
|
2121
|
+
refreshInterval?: number | null | undefined;
|
|
2122
|
+
}>, z.ZodObject<{
|
|
2123
|
+
type: z.ZodLiteral<"geoJsonData">;
|
|
2124
|
+
data: z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>]>;
|
|
2125
|
+
}, "strip", z.ZodTypeAny, {
|
|
2126
|
+
type: "geoJsonData";
|
|
2127
|
+
data: ArrayBuffer | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">;
|
|
2128
|
+
}, {
|
|
2129
|
+
type: "geoJsonData";
|
|
2130
|
+
data: ArrayBuffer | z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
|
|
2131
|
+
}>, z.ZodObject<{
|
|
2132
|
+
type: z.ZodLiteral<"geoJsonFile">;
|
|
2133
|
+
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
2134
|
+
}, "strip", z.ZodTypeAny, {
|
|
2135
|
+
type: "geoJsonFile";
|
|
2136
|
+
file: File;
|
|
2137
|
+
}, {
|
|
2138
|
+
type: "geoJsonFile";
|
|
2139
|
+
file: File;
|
|
2140
|
+
}>]>>;
|
|
2141
|
+
}, "strip", z.ZodTypeAny, {
|
|
2142
|
+
id: string;
|
|
2143
|
+
name?: string | undefined;
|
|
2144
|
+
description?: string | undefined;
|
|
2145
|
+
style?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2146
|
+
source?: {
|
|
2147
|
+
type: "geoJsonUrl";
|
|
2148
|
+
url: string;
|
|
2149
|
+
refreshInterval?: number | null | undefined;
|
|
2150
|
+
} | {
|
|
2151
|
+
type: "geoJsonFile";
|
|
2152
|
+
file: File;
|
|
2153
|
+
} | {
|
|
2154
|
+
type: "geoJsonData";
|
|
2155
|
+
data: ArrayBuffer | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">;
|
|
2156
|
+
} | undefined;
|
|
2157
|
+
bounds?: [number, number, number, number] | undefined;
|
|
2158
|
+
caption?: string | undefined;
|
|
2159
|
+
shownInLegend?: boolean | undefined;
|
|
2160
|
+
}, {
|
|
2161
|
+
id: string;
|
|
2162
|
+
name?: string | undefined;
|
|
2163
|
+
description?: string | undefined;
|
|
2164
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2165
|
+
source?: {
|
|
2166
|
+
type: "geoJsonUrl";
|
|
2167
|
+
url: string;
|
|
2168
|
+
refreshInterval?: number | null | undefined;
|
|
2169
|
+
} | {
|
|
2170
|
+
type: "geoJsonFile";
|
|
2171
|
+
file: File;
|
|
2172
|
+
} | {
|
|
2173
|
+
type: "geoJsonData";
|
|
2174
|
+
data: ArrayBuffer | z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
|
|
2175
|
+
} | undefined;
|
|
2176
|
+
bounds?: [number, number, number, number] | undefined;
|
|
2177
|
+
caption?: string | undefined;
|
|
2178
|
+
shownInLegend?: boolean | undefined;
|
|
2179
|
+
}>;
|
|
2180
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2181
|
+
params: {
|
|
2182
|
+
id: string;
|
|
2183
|
+
name?: string | undefined;
|
|
2184
|
+
description?: string | undefined;
|
|
2185
|
+
style?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2186
|
+
source?: {
|
|
2187
|
+
type: "geoJsonUrl";
|
|
2188
|
+
url: string;
|
|
2189
|
+
refreshInterval?: number | null | undefined;
|
|
2190
|
+
} | {
|
|
2191
|
+
type: "geoJsonFile";
|
|
2192
|
+
file: File;
|
|
2193
|
+
} | {
|
|
2194
|
+
type: "geoJsonData";
|
|
2195
|
+
data: ArrayBuffer | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">;
|
|
2196
|
+
} | undefined;
|
|
2197
|
+
bounds?: [number, number, number, number] | undefined;
|
|
2198
|
+
caption?: string | undefined;
|
|
2199
|
+
shownInLegend?: boolean | undefined;
|
|
2200
|
+
};
|
|
2201
|
+
type: "updateLayer";
|
|
2202
|
+
}, {
|
|
2203
|
+
params: {
|
|
2204
|
+
id: string;
|
|
2205
|
+
name?: string | undefined;
|
|
2206
|
+
description?: string | undefined;
|
|
2207
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2208
|
+
source?: {
|
|
2209
|
+
type: "geoJsonUrl";
|
|
2210
|
+
url: string;
|
|
2211
|
+
refreshInterval?: number | null | undefined;
|
|
2212
|
+
} | {
|
|
2213
|
+
type: "geoJsonFile";
|
|
2214
|
+
file: File;
|
|
2215
|
+
} | {
|
|
2216
|
+
type: "geoJsonData";
|
|
2217
|
+
data: ArrayBuffer | z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
|
|
2218
|
+
} | undefined;
|
|
2219
|
+
bounds?: [number, number, number, number] | undefined;
|
|
2220
|
+
caption?: string | undefined;
|
|
2221
|
+
shownInLegend?: boolean | undefined;
|
|
2222
|
+
};
|
|
2223
|
+
type: "updateLayer";
|
|
2224
|
+
}>;
|
|
2225
|
+
declare const DeleteLayerMessage: z.ZodObject<{
|
|
2226
|
+
type: z.ZodLiteral<"deleteLayer">;
|
|
2227
|
+
params: z.ZodString;
|
|
2228
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2229
|
+
params: string;
|
|
2230
|
+
type: "deleteLayer";
|
|
2231
|
+
}, {
|
|
2232
|
+
params: string;
|
|
2233
|
+
type: "deleteLayer";
|
|
2234
|
+
}>;
|
|
1672
2235
|
declare const GetGroupMessage: z.ZodObject<{
|
|
1673
2236
|
type: z.ZodLiteral<"getLayerGroup">;
|
|
1674
2237
|
params: z.ZodString;
|
|
@@ -1955,25 +2518,25 @@ declare const SetFiltersMessage: z.ZodObject<{
|
|
|
1955
2518
|
filters: z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>;
|
|
1956
2519
|
note: z.ZodOptional<z.ZodString>;
|
|
1957
2520
|
}, "strip", z.ZodTypeAny, {
|
|
1958
|
-
layerId: string;
|
|
1959
2521
|
filters: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null;
|
|
2522
|
+
layerId: string;
|
|
1960
2523
|
note?: string | undefined;
|
|
1961
2524
|
}, {
|
|
1962
|
-
layerId: string;
|
|
1963
2525
|
filters: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null;
|
|
2526
|
+
layerId: string;
|
|
1964
2527
|
note?: string | undefined;
|
|
1965
2528
|
}>;
|
|
1966
2529
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1967
2530
|
params: {
|
|
1968
|
-
layerId: string;
|
|
1969
2531
|
filters: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null;
|
|
2532
|
+
layerId: string;
|
|
1970
2533
|
note?: string | undefined;
|
|
1971
2534
|
};
|
|
1972
2535
|
type: "setLayerFilters";
|
|
1973
2536
|
}, {
|
|
1974
2537
|
params: {
|
|
1975
|
-
layerId: string;
|
|
1976
2538
|
filters: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null;
|
|
2539
|
+
layerId: string;
|
|
1977
2540
|
note?: string | undefined;
|
|
1978
2541
|
};
|
|
1979
2542
|
type: "setLayerFilters";
|
|
@@ -2081,6 +2644,56 @@ declare const GetRenderedFeaturesMessage: z.ZodObject<{
|
|
|
2081
2644
|
} | undefined;
|
|
2082
2645
|
} | undefined;
|
|
2083
2646
|
}>;
|
|
2647
|
+
declare const GetFeatureMessage: z.ZodObject<{
|
|
2648
|
+
type: z.ZodLiteral<"getFeature">;
|
|
2649
|
+
params: z.ZodObject<{
|
|
2650
|
+
id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
2651
|
+
layerId: z.ZodString;
|
|
2652
|
+
}, "strip", z.ZodTypeAny, {
|
|
2653
|
+
id: string | number;
|
|
2654
|
+
layerId: string;
|
|
2655
|
+
}, {
|
|
2656
|
+
id: string | number;
|
|
2657
|
+
layerId: string;
|
|
2658
|
+
}>;
|
|
2659
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2660
|
+
params: {
|
|
2661
|
+
id: string | number;
|
|
2662
|
+
layerId: string;
|
|
2663
|
+
};
|
|
2664
|
+
type: "getFeature";
|
|
2665
|
+
}, {
|
|
2666
|
+
params: {
|
|
2667
|
+
id: string | number;
|
|
2668
|
+
layerId: string;
|
|
2669
|
+
};
|
|
2670
|
+
type: "getFeature";
|
|
2671
|
+
}>;
|
|
2672
|
+
declare const GetGeoJsonFeatureMessage: z.ZodObject<{
|
|
2673
|
+
type: z.ZodLiteral<"getGeoJsonFeature">;
|
|
2674
|
+
params: z.ZodObject<{
|
|
2675
|
+
id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
2676
|
+
layerId: z.ZodString;
|
|
2677
|
+
}, "strip", z.ZodTypeAny, {
|
|
2678
|
+
id: string | number;
|
|
2679
|
+
layerId: string;
|
|
2680
|
+
}, {
|
|
2681
|
+
id: string | number;
|
|
2682
|
+
layerId: string;
|
|
2683
|
+
}>;
|
|
2684
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2685
|
+
params: {
|
|
2686
|
+
id: string | number;
|
|
2687
|
+
layerId: string;
|
|
2688
|
+
};
|
|
2689
|
+
type: "getGeoJsonFeature";
|
|
2690
|
+
}, {
|
|
2691
|
+
params: {
|
|
2692
|
+
id: string | number;
|
|
2693
|
+
layerId: string;
|
|
2694
|
+
};
|
|
2695
|
+
type: "getGeoJsonFeature";
|
|
2696
|
+
}>;
|
|
2084
2697
|
declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
2085
2698
|
type: z.ZodLiteral<"getCategoryData">;
|
|
2086
2699
|
params: z.ZodObject<{
|
|
@@ -2089,25 +2702,43 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2089
2702
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2090
2703
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2091
2704
|
type: z.ZodLiteral<"Polygon">;
|
|
2092
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
2705
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2093
2706
|
}, "strip", z.ZodTypeAny, {
|
|
2094
2707
|
type: "Polygon";
|
|
2095
2708
|
coordinates: [number, number][][];
|
|
2096
2709
|
}, {
|
|
2097
2710
|
type: "Polygon";
|
|
2098
2711
|
coordinates: [number, number][][];
|
|
2712
|
+
}>, z.ZodObject<{
|
|
2713
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
2714
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
2715
|
+
}, "strip", z.ZodTypeAny, {
|
|
2716
|
+
type: "MultiPolygon";
|
|
2717
|
+
coordinates: [number, number][][][];
|
|
2718
|
+
}, {
|
|
2719
|
+
type: "MultiPolygon";
|
|
2720
|
+
coordinates: [number, number][][][];
|
|
2099
2721
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2100
2722
|
filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
|
|
2101
2723
|
values: z.ZodOptional<z.ZodObject<{
|
|
2102
2724
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2103
2725
|
type: z.ZodLiteral<"Polygon">;
|
|
2104
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
2726
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2105
2727
|
}, "strip", z.ZodTypeAny, {
|
|
2106
2728
|
type: "Polygon";
|
|
2107
2729
|
coordinates: [number, number][][];
|
|
2108
2730
|
}, {
|
|
2109
2731
|
type: "Polygon";
|
|
2110
2732
|
coordinates: [number, number][][];
|
|
2733
|
+
}>, z.ZodObject<{
|
|
2734
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
2735
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
2736
|
+
}, "strip", z.ZodTypeAny, {
|
|
2737
|
+
type: "MultiPolygon";
|
|
2738
|
+
coordinates: [number, number][][][];
|
|
2739
|
+
}, {
|
|
2740
|
+
type: "MultiPolygon";
|
|
2741
|
+
coordinates: [number, number][][][];
|
|
2111
2742
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2112
2743
|
filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
|
|
2113
2744
|
aggregation: z.ZodOptional<z.ZodObject<{
|
|
@@ -2121,20 +2752,26 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2121
2752
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2122
2753
|
}>>;
|
|
2123
2754
|
}, "strip", z.ZodTypeAny, {
|
|
2124
|
-
boundary?: [number, number][] | {
|
|
2755
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2125
2756
|
type: "Polygon";
|
|
2126
2757
|
coordinates: [number, number][][];
|
|
2127
|
-
} |
|
|
2758
|
+
} | {
|
|
2759
|
+
type: "MultiPolygon";
|
|
2760
|
+
coordinates: [number, number][][][];
|
|
2761
|
+
} | undefined;
|
|
2128
2762
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2129
2763
|
aggregation?: {
|
|
2130
2764
|
attribute: string;
|
|
2131
2765
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2132
2766
|
} | undefined;
|
|
2133
2767
|
}, {
|
|
2134
|
-
boundary?: [number, number][] | {
|
|
2768
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2135
2769
|
type: "Polygon";
|
|
2136
2770
|
coordinates: [number, number][][];
|
|
2137
|
-
} |
|
|
2771
|
+
} | {
|
|
2772
|
+
type: "MultiPolygon";
|
|
2773
|
+
coordinates: [number, number][][][];
|
|
2774
|
+
} | undefined;
|
|
2138
2775
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2139
2776
|
aggregation?: {
|
|
2140
2777
|
attribute: string;
|
|
@@ -2145,40 +2782,52 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2145
2782
|
attribute: string;
|
|
2146
2783
|
layerId: string;
|
|
2147
2784
|
values?: {
|
|
2148
|
-
boundary?: [number, number][] | {
|
|
2785
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2149
2786
|
type: "Polygon";
|
|
2150
2787
|
coordinates: [number, number][][];
|
|
2151
|
-
} |
|
|
2788
|
+
} | {
|
|
2789
|
+
type: "MultiPolygon";
|
|
2790
|
+
coordinates: [number, number][][][];
|
|
2791
|
+
} | undefined;
|
|
2152
2792
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2153
2793
|
aggregation?: {
|
|
2154
2794
|
attribute: string;
|
|
2155
2795
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2156
2796
|
} | undefined;
|
|
2157
2797
|
} | undefined;
|
|
2158
|
-
boundary?: [number, number][] | {
|
|
2798
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2159
2799
|
type: "Polygon";
|
|
2160
2800
|
coordinates: [number, number][][];
|
|
2161
|
-
} |
|
|
2801
|
+
} | {
|
|
2802
|
+
type: "MultiPolygon";
|
|
2803
|
+
coordinates: [number, number][][][];
|
|
2804
|
+
} | undefined;
|
|
2162
2805
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2163
2806
|
limit?: number | undefined;
|
|
2164
2807
|
}, {
|
|
2165
2808
|
attribute: string;
|
|
2166
2809
|
layerId: string;
|
|
2167
2810
|
values?: {
|
|
2168
|
-
boundary?: [number, number][] | {
|
|
2811
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2169
2812
|
type: "Polygon";
|
|
2170
2813
|
coordinates: [number, number][][];
|
|
2171
|
-
} |
|
|
2814
|
+
} | {
|
|
2815
|
+
type: "MultiPolygon";
|
|
2816
|
+
coordinates: [number, number][][][];
|
|
2817
|
+
} | undefined;
|
|
2172
2818
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2173
2819
|
aggregation?: {
|
|
2174
2820
|
attribute: string;
|
|
2175
2821
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2176
2822
|
} | undefined;
|
|
2177
2823
|
} | undefined;
|
|
2178
|
-
boundary?: [number, number][] | {
|
|
2824
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2179
2825
|
type: "Polygon";
|
|
2180
2826
|
coordinates: [number, number][][];
|
|
2181
|
-
} |
|
|
2827
|
+
} | {
|
|
2828
|
+
type: "MultiPolygon";
|
|
2829
|
+
coordinates: [number, number][][][];
|
|
2830
|
+
} | undefined;
|
|
2182
2831
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2183
2832
|
limit?: number | undefined;
|
|
2184
2833
|
}>;
|
|
@@ -2187,20 +2836,26 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2187
2836
|
attribute: string;
|
|
2188
2837
|
layerId: string;
|
|
2189
2838
|
values?: {
|
|
2190
|
-
boundary?: [number, number][] | {
|
|
2839
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2191
2840
|
type: "Polygon";
|
|
2192
2841
|
coordinates: [number, number][][];
|
|
2193
|
-
} |
|
|
2842
|
+
} | {
|
|
2843
|
+
type: "MultiPolygon";
|
|
2844
|
+
coordinates: [number, number][][][];
|
|
2845
|
+
} | undefined;
|
|
2194
2846
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2195
2847
|
aggregation?: {
|
|
2196
2848
|
attribute: string;
|
|
2197
2849
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2198
2850
|
} | undefined;
|
|
2199
2851
|
} | undefined;
|
|
2200
|
-
boundary?: [number, number][] | {
|
|
2852
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2201
2853
|
type: "Polygon";
|
|
2202
2854
|
coordinates: [number, number][][];
|
|
2203
|
-
} |
|
|
2855
|
+
} | {
|
|
2856
|
+
type: "MultiPolygon";
|
|
2857
|
+
coordinates: [number, number][][][];
|
|
2858
|
+
} | undefined;
|
|
2204
2859
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2205
2860
|
limit?: number | undefined;
|
|
2206
2861
|
};
|
|
@@ -2210,20 +2865,26 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2210
2865
|
attribute: string;
|
|
2211
2866
|
layerId: string;
|
|
2212
2867
|
values?: {
|
|
2213
|
-
boundary?: [number, number][] | {
|
|
2868
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2214
2869
|
type: "Polygon";
|
|
2215
2870
|
coordinates: [number, number][][];
|
|
2216
|
-
} |
|
|
2871
|
+
} | {
|
|
2872
|
+
type: "MultiPolygon";
|
|
2873
|
+
coordinates: [number, number][][][];
|
|
2874
|
+
} | undefined;
|
|
2217
2875
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2218
2876
|
aggregation?: {
|
|
2219
2877
|
attribute: string;
|
|
2220
2878
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2221
2879
|
} | undefined;
|
|
2222
2880
|
} | undefined;
|
|
2223
|
-
boundary?: [number, number][] | {
|
|
2881
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2224
2882
|
type: "Polygon";
|
|
2225
2883
|
coordinates: [number, number][][];
|
|
2226
|
-
} |
|
|
2884
|
+
} | {
|
|
2885
|
+
type: "MultiPolygon";
|
|
2886
|
+
coordinates: [number, number][][][];
|
|
2887
|
+
} | undefined;
|
|
2227
2888
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2228
2889
|
limit?: number | undefined;
|
|
2229
2890
|
};
|
|
@@ -2255,25 +2916,43 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2255
2916
|
}>, z.ZodArray<z.ZodNumber, "many">]>;
|
|
2256
2917
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2257
2918
|
type: z.ZodLiteral<"Polygon">;
|
|
2258
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
2919
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2259
2920
|
}, "strip", z.ZodTypeAny, {
|
|
2260
2921
|
type: "Polygon";
|
|
2261
2922
|
coordinates: [number, number][][];
|
|
2262
2923
|
}, {
|
|
2263
2924
|
type: "Polygon";
|
|
2264
2925
|
coordinates: [number, number][][];
|
|
2926
|
+
}>, z.ZodObject<{
|
|
2927
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
2928
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
2929
|
+
}, "strip", z.ZodTypeAny, {
|
|
2930
|
+
type: "MultiPolygon";
|
|
2931
|
+
coordinates: [number, number][][][];
|
|
2932
|
+
}, {
|
|
2933
|
+
type: "MultiPolygon";
|
|
2934
|
+
coordinates: [number, number][][][];
|
|
2265
2935
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2266
2936
|
filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
|
|
2267
2937
|
values: z.ZodOptional<z.ZodObject<{
|
|
2268
2938
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2269
2939
|
type: z.ZodLiteral<"Polygon">;
|
|
2270
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
2940
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2271
2941
|
}, "strip", z.ZodTypeAny, {
|
|
2272
2942
|
type: "Polygon";
|
|
2273
2943
|
coordinates: [number, number][][];
|
|
2274
2944
|
}, {
|
|
2275
2945
|
type: "Polygon";
|
|
2276
2946
|
coordinates: [number, number][][];
|
|
2947
|
+
}>, z.ZodObject<{
|
|
2948
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
2949
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
2950
|
+
}, "strip", z.ZodTypeAny, {
|
|
2951
|
+
type: "MultiPolygon";
|
|
2952
|
+
coordinates: [number, number][][][];
|
|
2953
|
+
}, {
|
|
2954
|
+
type: "MultiPolygon";
|
|
2955
|
+
coordinates: [number, number][][][];
|
|
2277
2956
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2278
2957
|
filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
|
|
2279
2958
|
aggregation: z.ZodOptional<z.ZodObject<{
|
|
@@ -2287,20 +2966,26 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2287
2966
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2288
2967
|
}>>;
|
|
2289
2968
|
}, "strip", z.ZodTypeAny, {
|
|
2290
|
-
boundary?: [number, number][] | {
|
|
2969
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2291
2970
|
type: "Polygon";
|
|
2292
2971
|
coordinates: [number, number][][];
|
|
2293
|
-
} |
|
|
2972
|
+
} | {
|
|
2973
|
+
type: "MultiPolygon";
|
|
2974
|
+
coordinates: [number, number][][][];
|
|
2975
|
+
} | undefined;
|
|
2294
2976
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2295
2977
|
aggregation?: {
|
|
2296
2978
|
attribute: string;
|
|
2297
2979
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2298
2980
|
} | undefined;
|
|
2299
2981
|
}, {
|
|
2300
|
-
boundary?: [number, number][] | {
|
|
2982
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2301
2983
|
type: "Polygon";
|
|
2302
2984
|
coordinates: [number, number][][];
|
|
2303
|
-
} |
|
|
2985
|
+
} | {
|
|
2986
|
+
type: "MultiPolygon";
|
|
2987
|
+
coordinates: [number, number][][][];
|
|
2988
|
+
} | undefined;
|
|
2304
2989
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2305
2990
|
aggregation?: {
|
|
2306
2991
|
attribute: string;
|
|
@@ -2318,20 +3003,26 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2318
3003
|
interval: "hour" | "day" | "week" | "month" | "year";
|
|
2319
3004
|
};
|
|
2320
3005
|
values?: {
|
|
2321
|
-
boundary?: [number, number][] | {
|
|
3006
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2322
3007
|
type: "Polygon";
|
|
2323
3008
|
coordinates: [number, number][][];
|
|
2324
|
-
} |
|
|
3009
|
+
} | {
|
|
3010
|
+
type: "MultiPolygon";
|
|
3011
|
+
coordinates: [number, number][][][];
|
|
3012
|
+
} | undefined;
|
|
2325
3013
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2326
3014
|
aggregation?: {
|
|
2327
3015
|
attribute: string;
|
|
2328
3016
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2329
3017
|
} | undefined;
|
|
2330
3018
|
} | undefined;
|
|
2331
|
-
boundary?: [number, number][] | {
|
|
3019
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2332
3020
|
type: "Polygon";
|
|
2333
3021
|
coordinates: [number, number][][];
|
|
2334
|
-
} |
|
|
3022
|
+
} | {
|
|
3023
|
+
type: "MultiPolygon";
|
|
3024
|
+
coordinates: [number, number][][][];
|
|
3025
|
+
} | undefined;
|
|
2335
3026
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2336
3027
|
}, {
|
|
2337
3028
|
attribute: string;
|
|
@@ -2344,20 +3035,26 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2344
3035
|
interval: "hour" | "day" | "week" | "month" | "year";
|
|
2345
3036
|
};
|
|
2346
3037
|
values?: {
|
|
2347
|
-
boundary?: [number, number][] | {
|
|
3038
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2348
3039
|
type: "Polygon";
|
|
2349
3040
|
coordinates: [number, number][][];
|
|
2350
|
-
} |
|
|
3041
|
+
} | {
|
|
3042
|
+
type: "MultiPolygon";
|
|
3043
|
+
coordinates: [number, number][][][];
|
|
3044
|
+
} | undefined;
|
|
2351
3045
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2352
3046
|
aggregation?: {
|
|
2353
3047
|
attribute: string;
|
|
2354
3048
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2355
3049
|
} | undefined;
|
|
2356
3050
|
} | undefined;
|
|
2357
|
-
boundary?: [number, number][] | {
|
|
3051
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2358
3052
|
type: "Polygon";
|
|
2359
3053
|
coordinates: [number, number][][];
|
|
2360
|
-
} |
|
|
3054
|
+
} | {
|
|
3055
|
+
type: "MultiPolygon";
|
|
3056
|
+
coordinates: [number, number][][][];
|
|
3057
|
+
} | undefined;
|
|
2361
3058
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2362
3059
|
}>;
|
|
2363
3060
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -2372,20 +3069,26 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2372
3069
|
interval: "hour" | "day" | "week" | "month" | "year";
|
|
2373
3070
|
};
|
|
2374
3071
|
values?: {
|
|
2375
|
-
boundary?: [number, number][] | {
|
|
3072
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2376
3073
|
type: "Polygon";
|
|
2377
3074
|
coordinates: [number, number][][];
|
|
2378
|
-
} |
|
|
3075
|
+
} | {
|
|
3076
|
+
type: "MultiPolygon";
|
|
3077
|
+
coordinates: [number, number][][][];
|
|
3078
|
+
} | undefined;
|
|
2379
3079
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2380
3080
|
aggregation?: {
|
|
2381
3081
|
attribute: string;
|
|
2382
3082
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2383
3083
|
} | undefined;
|
|
2384
3084
|
} | undefined;
|
|
2385
|
-
boundary?: [number, number][] | {
|
|
3085
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2386
3086
|
type: "Polygon";
|
|
2387
3087
|
coordinates: [number, number][][];
|
|
2388
|
-
} |
|
|
3088
|
+
} | {
|
|
3089
|
+
type: "MultiPolygon";
|
|
3090
|
+
coordinates: [number, number][][][];
|
|
3091
|
+
} | undefined;
|
|
2389
3092
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2390
3093
|
};
|
|
2391
3094
|
type: "getHistogramData";
|
|
@@ -2401,20 +3104,26 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2401
3104
|
interval: "hour" | "day" | "week" | "month" | "year";
|
|
2402
3105
|
};
|
|
2403
3106
|
values?: {
|
|
2404
|
-
boundary?: [number, number][] | {
|
|
3107
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2405
3108
|
type: "Polygon";
|
|
2406
3109
|
coordinates: [number, number][][];
|
|
2407
|
-
} |
|
|
3110
|
+
} | {
|
|
3111
|
+
type: "MultiPolygon";
|
|
3112
|
+
coordinates: [number, number][][][];
|
|
3113
|
+
} | undefined;
|
|
2408
3114
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2409
3115
|
aggregation?: {
|
|
2410
3116
|
attribute: string;
|
|
2411
3117
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2412
3118
|
} | undefined;
|
|
2413
3119
|
} | undefined;
|
|
2414
|
-
boundary?: [number, number][] | {
|
|
3120
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2415
3121
|
type: "Polygon";
|
|
2416
3122
|
coordinates: [number, number][][];
|
|
2417
|
-
} |
|
|
3123
|
+
} | {
|
|
3124
|
+
type: "MultiPolygon";
|
|
3125
|
+
coordinates: [number, number][][][];
|
|
3126
|
+
} | undefined;
|
|
2418
3127
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2419
3128
|
};
|
|
2420
3129
|
type: "getHistogramData";
|
|
@@ -2425,13 +3134,22 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
|
|
|
2425
3134
|
layerId: z.ZodString;
|
|
2426
3135
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2427
3136
|
type: z.ZodLiteral<"Polygon">;
|
|
2428
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
3137
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2429
3138
|
}, "strip", z.ZodTypeAny, {
|
|
2430
3139
|
type: "Polygon";
|
|
2431
3140
|
coordinates: [number, number][][];
|
|
2432
3141
|
}, {
|
|
2433
3142
|
type: "Polygon";
|
|
2434
3143
|
coordinates: [number, number][][];
|
|
3144
|
+
}>, z.ZodObject<{
|
|
3145
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
3146
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
3147
|
+
}, "strip", z.ZodTypeAny, {
|
|
3148
|
+
type: "MultiPolygon";
|
|
3149
|
+
coordinates: [number, number][][][];
|
|
3150
|
+
}, {
|
|
3151
|
+
type: "MultiPolygon";
|
|
3152
|
+
coordinates: [number, number][][][];
|
|
2435
3153
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2436
3154
|
filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
|
|
2437
3155
|
aggregation: z.ZodObject<{
|
|
@@ -2445,57 +3163,79 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
|
|
|
2445
3163
|
attribute?: string | undefined;
|
|
2446
3164
|
}>;
|
|
2447
3165
|
}, "strip", z.ZodTypeAny, {
|
|
2448
|
-
layerId: string;
|
|
2449
3166
|
aggregation: {
|
|
2450
3167
|
methods: ("avg" | "max" | "min" | "sum" | "median" | "count")[];
|
|
2451
3168
|
attribute?: string | undefined;
|
|
2452
3169
|
};
|
|
2453
|
-
|
|
3170
|
+
layerId: string;
|
|
3171
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2454
3172
|
type: "Polygon";
|
|
2455
3173
|
coordinates: [number, number][][];
|
|
2456
|
-
} |
|
|
3174
|
+
} | {
|
|
3175
|
+
type: "MultiPolygon";
|
|
3176
|
+
coordinates: [number, number][][][];
|
|
3177
|
+
} | undefined;
|
|
2457
3178
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2458
3179
|
}, {
|
|
2459
|
-
layerId: string;
|
|
2460
3180
|
aggregation: {
|
|
2461
3181
|
methods: ("avg" | "max" | "min" | "sum" | "median" | "count")[];
|
|
2462
3182
|
attribute?: string | undefined;
|
|
2463
3183
|
};
|
|
2464
|
-
|
|
3184
|
+
layerId: string;
|
|
3185
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2465
3186
|
type: "Polygon";
|
|
2466
3187
|
coordinates: [number, number][][];
|
|
2467
|
-
} |
|
|
3188
|
+
} | {
|
|
3189
|
+
type: "MultiPolygon";
|
|
3190
|
+
coordinates: [number, number][][][];
|
|
3191
|
+
} | undefined;
|
|
2468
3192
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2469
3193
|
}>;
|
|
2470
3194
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2471
3195
|
params: {
|
|
2472
|
-
layerId: string;
|
|
2473
3196
|
aggregation: {
|
|
2474
3197
|
methods: ("avg" | "max" | "min" | "sum" | "median" | "count")[];
|
|
2475
3198
|
attribute?: string | undefined;
|
|
2476
3199
|
};
|
|
2477
|
-
|
|
3200
|
+
layerId: string;
|
|
3201
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2478
3202
|
type: "Polygon";
|
|
2479
3203
|
coordinates: [number, number][][];
|
|
2480
|
-
} |
|
|
3204
|
+
} | {
|
|
3205
|
+
type: "MultiPolygon";
|
|
3206
|
+
coordinates: [number, number][][][];
|
|
3207
|
+
} | undefined;
|
|
2481
3208
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2482
3209
|
};
|
|
2483
3210
|
type: "getAggregates";
|
|
2484
3211
|
}, {
|
|
2485
3212
|
params: {
|
|
2486
|
-
layerId: string;
|
|
2487
3213
|
aggregation: {
|
|
2488
3214
|
methods: ("avg" | "max" | "min" | "sum" | "median" | "count")[];
|
|
2489
3215
|
attribute?: string | undefined;
|
|
2490
3216
|
};
|
|
2491
|
-
|
|
3217
|
+
layerId: string;
|
|
3218
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2492
3219
|
type: "Polygon";
|
|
2493
3220
|
coordinates: [number, number][][];
|
|
2494
|
-
} |
|
|
3221
|
+
} | {
|
|
3222
|
+
type: "MultiPolygon";
|
|
3223
|
+
coordinates: [number, number][][][];
|
|
3224
|
+
} | undefined;
|
|
2495
3225
|
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2496
3226
|
};
|
|
2497
3227
|
type: "getAggregates";
|
|
2498
3228
|
}>;
|
|
3229
|
+
declare const GetLayerSchemaMessage: z.ZodObject<{
|
|
3230
|
+
type: z.ZodLiteral<"getLayerSchema">;
|
|
3231
|
+
params: z.ZodString;
|
|
3232
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3233
|
+
params: string;
|
|
3234
|
+
type: "getLayerSchema";
|
|
3235
|
+
}, {
|
|
3236
|
+
params: string;
|
|
3237
|
+
type: "getLayerSchema";
|
|
3238
|
+
}>;
|
|
2499
3239
|
type LayersSchema = {
|
|
2500
3240
|
methods: {
|
|
2501
3241
|
getLayer: Method<zInfer<typeof GetLayerMessage>, Layer | null>;
|
|
@@ -2503,6 +3243,12 @@ type LayersSchema = {
|
|
|
2503
3243
|
setLayerVisibility: Method<zInfer<typeof SetLayerVisibilityMessage>, void>;
|
|
2504
3244
|
setLayerStyle: Method<zInfer<typeof SetLayerStyleMessage>, void>;
|
|
2505
3245
|
setLayerLegendVisibility: Method<zInfer<typeof SetLayerLegendVisibilityMessage>, void>;
|
|
3246
|
+
createLayersFromGeoJson: Method<zInfer<typeof CreateLayersFromGeoJsonMessage>, {
|
|
3247
|
+
layerGroup: LayerGroup;
|
|
3248
|
+
layers: Array<Layer>;
|
|
3249
|
+
} | null>;
|
|
3250
|
+
updateLayer: Method<zInfer<typeof UpdateLayerMessage>, Layer>;
|
|
3251
|
+
deleteLayer: Method<zInfer<typeof DeleteLayerMessage>, void>;
|
|
2506
3252
|
getLayerGroup: Method<zInfer<typeof GetGroupMessage>, LayerGroup | null>;
|
|
2507
3253
|
getLayerGroups: Method<zInfer<typeof GetGroupsMessage>, Array<LayerGroup | null>>;
|
|
2508
3254
|
setLayerGroupVisibility: Method<zInfer<typeof SetLayerGroupVisibilityMessage>, void>;
|
|
@@ -2512,10 +3258,13 @@ type LayersSchema = {
|
|
|
2512
3258
|
setLegendItemVisibility: Method<zInfer<typeof SetLegendItemVisibilityMessage>, void>;
|
|
2513
3259
|
getLayerFilters: Method<zInfer<typeof GetFiltersMessage>, LayerFilters | null>;
|
|
2514
3260
|
setLayerFilters: Method<zInfer<typeof SetFiltersMessage>, void>;
|
|
2515
|
-
getRenderedFeatures: Method<zInfer<typeof GetRenderedFeaturesMessage>, Array<
|
|
3261
|
+
getRenderedFeatures: Method<zInfer<typeof GetRenderedFeaturesMessage>, Array<LayerFeature>>;
|
|
3262
|
+
getFeature: Method<zInfer<typeof GetFeatureMessage>, LayerFeature | null>;
|
|
3263
|
+
getGeoJsonFeature: Method<zInfer<typeof GetGeoJsonFeatureMessage>, GeoJsonFeature | null>;
|
|
2516
3264
|
getCategoryData: Method<zInfer<typeof GetLayerCategoriesMessage>, Array<GetLayerCategoriesGroup>>;
|
|
2517
3265
|
getHistogramData: Method<zInfer<typeof GetLayerHistogramMessage>, Array<GetLayerHistogramBin>>;
|
|
2518
3266
|
getAggregates: Method<zInfer<typeof GetLayerCalculationMessage>, Record<AggregationMethod | "count", number | null>>;
|
|
3267
|
+
getLayerSchema: Method<zInfer<typeof GetLayerSchemaMessage>, LayerSchema>;
|
|
2519
3268
|
};
|
|
2520
3269
|
listeners: {
|
|
2521
3270
|
onLayerChange: Listener<zInfer<typeof OnLayerChangeMessage.shape.options>, LayerChangeCallbackParams>;
|
|
@@ -2708,8 +3457,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2708
3457
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
2709
3458
|
strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
|
|
2710
3459
|
distanceMarker: z.ZodOptional<z.ZodBoolean>;
|
|
2711
|
-
endCaps: z.ZodOptional<z.ZodBoolean>;
|
|
2712
3460
|
routingMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["driving", "cycling", "walking", "flying"]>>>;
|
|
3461
|
+
endCaps: z.ZodOptional<z.ZodBoolean>;
|
|
2713
3462
|
}, {
|
|
2714
3463
|
tool: z.ZodLiteral<"route">;
|
|
2715
3464
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -2719,8 +3468,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2719
3468
|
strokeWidth?: number | undefined;
|
|
2720
3469
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
2721
3470
|
distanceMarker?: boolean | undefined;
|
|
2722
|
-
endCaps?: boolean | undefined;
|
|
2723
3471
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
3472
|
+
endCaps?: boolean | undefined;
|
|
2724
3473
|
}, {
|
|
2725
3474
|
tool: "route";
|
|
2726
3475
|
color?: string | undefined;
|
|
@@ -2728,8 +3477,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2728
3477
|
strokeWidth?: number | undefined;
|
|
2729
3478
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
2730
3479
|
distanceMarker?: boolean | undefined;
|
|
2731
|
-
endCaps?: boolean | undefined;
|
|
2732
3480
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
3481
|
+
endCaps?: boolean | undefined;
|
|
2733
3482
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2734
3483
|
color: z.ZodOptional<z.ZodString>;
|
|
2735
3484
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2799,6 +3548,7 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2799
3548
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2800
3549
|
color: z.ZodOptional<z.ZodString>;
|
|
2801
3550
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
3551
|
+
renderHoles: z.ZodOptional<z.ZodBoolean>;
|
|
2802
3552
|
size: z.ZodOptional<z.ZodNumber>;
|
|
2803
3553
|
}, {
|
|
2804
3554
|
tool: z.ZodLiteral<"highlighter">;
|
|
@@ -2807,11 +3557,13 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2807
3557
|
color?: string | undefined;
|
|
2808
3558
|
opacity?: number | undefined;
|
|
2809
3559
|
size?: number | undefined;
|
|
3560
|
+
renderHoles?: boolean | undefined;
|
|
2810
3561
|
}, {
|
|
2811
3562
|
tool: "highlighter";
|
|
2812
3563
|
color?: string | undefined;
|
|
2813
3564
|
opacity?: number | undefined;
|
|
2814
3565
|
size?: number | undefined;
|
|
3566
|
+
renderHoles?: boolean | undefined;
|
|
2815
3567
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2816
3568
|
color: z.ZodOptional<z.ZodString>;
|
|
2817
3569
|
align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
|
@@ -2821,12 +3573,12 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2821
3573
|
}>, "strip", z.ZodTypeAny, {
|
|
2822
3574
|
tool: "text";
|
|
2823
3575
|
color?: string | undefined;
|
|
2824
|
-
align?: "
|
|
3576
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2825
3577
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2826
3578
|
}, {
|
|
2827
3579
|
tool: "text";
|
|
2828
3580
|
color?: string | undefined;
|
|
2829
|
-
align?: "
|
|
3581
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2830
3582
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2831
3583
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2832
3584
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -2837,12 +3589,12 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2837
3589
|
}>, "strip", z.ZodTypeAny, {
|
|
2838
3590
|
tool: "note";
|
|
2839
3591
|
color?: string | undefined;
|
|
2840
|
-
align?: "
|
|
3592
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2841
3593
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2842
3594
|
}, {
|
|
2843
3595
|
tool: "note";
|
|
2844
3596
|
color?: string | undefined;
|
|
2845
|
-
align?: "
|
|
3597
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2846
3598
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2847
3599
|
}>]>;
|
|
2848
3600
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -2866,8 +3618,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2866
3618
|
strokeWidth?: number | undefined;
|
|
2867
3619
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
2868
3620
|
distanceMarker?: boolean | undefined;
|
|
2869
|
-
endCaps?: boolean | undefined;
|
|
2870
3621
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
3622
|
+
endCaps?: boolean | undefined;
|
|
2871
3623
|
} | {
|
|
2872
3624
|
tool: "polygon";
|
|
2873
3625
|
color?: string | undefined;
|
|
@@ -2894,15 +3646,16 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2894
3646
|
color?: string | undefined;
|
|
2895
3647
|
opacity?: number | undefined;
|
|
2896
3648
|
size?: number | undefined;
|
|
3649
|
+
renderHoles?: boolean | undefined;
|
|
2897
3650
|
} | {
|
|
2898
3651
|
tool: "text";
|
|
2899
3652
|
color?: string | undefined;
|
|
2900
|
-
align?: "
|
|
3653
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2901
3654
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2902
3655
|
} | {
|
|
2903
3656
|
tool: "note";
|
|
2904
3657
|
color?: string | undefined;
|
|
2905
|
-
align?: "
|
|
3658
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2906
3659
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2907
3660
|
};
|
|
2908
3661
|
type: "setToolSettings";
|
|
@@ -2927,8 +3680,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2927
3680
|
strokeWidth?: number | undefined;
|
|
2928
3681
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
2929
3682
|
distanceMarker?: boolean | undefined;
|
|
2930
|
-
endCaps?: boolean | undefined;
|
|
2931
3683
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
3684
|
+
endCaps?: boolean | undefined;
|
|
2932
3685
|
} | {
|
|
2933
3686
|
tool: "polygon";
|
|
2934
3687
|
color?: string | undefined;
|
|
@@ -2955,15 +3708,16 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2955
3708
|
color?: string | undefined;
|
|
2956
3709
|
opacity?: number | undefined;
|
|
2957
3710
|
size?: number | undefined;
|
|
3711
|
+
renderHoles?: boolean | undefined;
|
|
2958
3712
|
} | {
|
|
2959
3713
|
tool: "text";
|
|
2960
3714
|
color?: string | undefined;
|
|
2961
|
-
align?: "
|
|
3715
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2962
3716
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2963
3717
|
} | {
|
|
2964
3718
|
tool: "note";
|
|
2965
3719
|
color?: string | undefined;
|
|
2966
|
-
align?: "
|
|
3720
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2967
3721
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2968
3722
|
};
|
|
2969
3723
|
type: "setToolSettings";
|
|
@@ -3167,34 +3921,34 @@ declare const GotoViewportMessage: z.ZodObject<{
|
|
|
3167
3921
|
}>>;
|
|
3168
3922
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
3169
3923
|
}, "strip", z.ZodTypeAny, {
|
|
3170
|
-
zoom?: number | undefined;
|
|
3171
3924
|
center?: {
|
|
3172
3925
|
latitude: number;
|
|
3173
3926
|
longitude: number;
|
|
3174
3927
|
} | undefined;
|
|
3175
|
-
}, {
|
|
3176
3928
|
zoom?: number | undefined;
|
|
3929
|
+
}, {
|
|
3177
3930
|
center?: {
|
|
3178
3931
|
latitude: number;
|
|
3179
3932
|
longitude: number;
|
|
3180
3933
|
} | undefined;
|
|
3934
|
+
zoom?: number | undefined;
|
|
3181
3935
|
}>;
|
|
3182
3936
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3183
3937
|
params: {
|
|
3184
|
-
zoom?: number | undefined;
|
|
3185
3938
|
center?: {
|
|
3186
3939
|
latitude: number;
|
|
3187
3940
|
longitude: number;
|
|
3188
3941
|
} | undefined;
|
|
3942
|
+
zoom?: number | undefined;
|
|
3189
3943
|
};
|
|
3190
3944
|
type: "setViewport";
|
|
3191
3945
|
}, {
|
|
3192
3946
|
params: {
|
|
3193
|
-
zoom?: number | undefined;
|
|
3194
3947
|
center?: {
|
|
3195
3948
|
latitude: number;
|
|
3196
3949
|
longitude: number;
|
|
3197
3950
|
} | undefined;
|
|
3951
|
+
zoom?: number | undefined;
|
|
3198
3952
|
};
|
|
3199
3953
|
type: "setViewport";
|
|
3200
3954
|
}>;
|
|
@@ -3360,7 +4114,7 @@ declare function createMessageHandler(feltWindow: Window, handlers: FeltHandlers
|
|
|
3360
4114
|
*
|
|
3361
4115
|
* @param message
|
|
3362
4116
|
*/
|
|
3363
|
-
onInvalidMessage?: (message: unknown) => void;
|
|
4117
|
+
onInvalidMessage?: (message: unknown, error: ZodError) => void;
|
|
3364
4118
|
}): VoidFunction;
|
|
3365
4119
|
|
|
3366
4120
|
export { createMessageHandler };
|