@feltmaps/js-sdk 1.5.0-next.15 → 1.5.0-next.17
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/chunk-QXPO53SH.js +1 -0
- package/dist/client.cjs +1 -1
- package/dist/client.d.cts +34 -15
- package/dist/client.d.ts +34 -15
- package/dist/client.js +1 -1
- package/dist/handler.cjs +1 -1
- package/dist/handler.d.cts +501 -203
- package/dist/handler.d.ts +501 -203
- package/dist/handler.js +1 -1
- package/dist/{types-PSY3LPGC.d.cts → types-DrMm8Los.d.cts} +2832 -434
- package/dist/{types-PSY3LPGC.d.ts → types-DrMm8Los.d.ts} +2832 -434
- package/handler.d.ts +501 -203
- package/handler.js +1 -1
- package/package.json +1 -2
- package/{types-PSY3LPGC.d.ts → types-DrMm8Los.d.ts} +2832 -434
package/handler.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z, ZodError } from 'zod';
|
|
2
|
-
import { Q as zInfer, E as Element, G as GeoJsonGeometry, b as ElementGroup, d as ElementChangeCallbackParams, e as ElementGroupChangeCallbackParams, M as MapInteractionEvent, L as Layer, m as LayerGroup, q as LegendItem, t as LayerFilters, v as LayerFeature, w as GeoJsonFeature, y as GetLayerCategoriesGroup, A as GetLayerHistogramBin, B as AggregationMethod, D as LayerSchema, i as LayerChangeCallbackParams, o as LayerGroupChangeCallbackParams, s as LegendItemChangeCallbackParams, aB as FilterTernary, H as MapDetails, I as EntityNode, T as ToolType, O as ToolSettingsMap, P as ToolSettingsChangeEvent, V as ViewportState, W as ViewportConstraints, b5 as UnionToIntersection, b6 as PromiseOrNot } from './types-
|
|
2
|
+
import { Q as zInfer, E as Element, G as GeoJsonGeometry, b as ElementGroup, d as ElementChangeCallbackParams, e as ElementGroupChangeCallbackParams, M as MapInteractionEvent, L as Layer, m as LayerGroup, q as LegendItem, t as LayerFilters, v as LayerFeature, w as GeoJsonFeature, y as GetLayerCategoriesGroup, A as GetLayerHistogramBin, B as AggregationMethod, D as LayerSchema, i as LayerChangeCallbackParams, o as LayerGroupChangeCallbackParams, s as LegendItemChangeCallbackParams, aB as FilterTernary, H as MapDetails, I as EntityNode, T as ToolType, O as ToolSettingsMap, P as ToolSettingsChangeEvent, V as ViewportState, W as ViewportConstraints, b5 as UnionToIntersection, b6 as PromiseOrNot } from './types-DrMm8Los.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,27 @@ 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
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">>;
|
|
606
|
+
text: z.ZodOptional<z.ZodString>;
|
|
489
607
|
align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
|
490
608
|
style: z.ZodOptional<z.ZodEnum<["italic", "light", "regular", "caps"]>>;
|
|
491
|
-
|
|
609
|
+
name: z.ZodOptional<z.ZodString>;
|
|
610
|
+
type: z.ZodOptional<z.ZodLiteral<"Text">>;
|
|
611
|
+
}, "type" | "coordinates" | "id" | "name">, {
|
|
612
|
+
type: z.ZodLiteral<"Text">;
|
|
613
|
+
text: z.ZodString;
|
|
614
|
+
}>, "strip", z.ZodTypeAny, {
|
|
492
615
|
type: "Text";
|
|
493
616
|
text: string;
|
|
494
617
|
groupId?: string | null | undefined;
|
|
@@ -500,7 +623,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
500
623
|
position?: [number, number] | undefined;
|
|
501
624
|
rotation?: number | undefined;
|
|
502
625
|
scale?: number | undefined;
|
|
503
|
-
align?: "
|
|
626
|
+
align?: "center" | "left" | "right" | undefined;
|
|
504
627
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
505
628
|
}, {
|
|
506
629
|
type: "Text";
|
|
@@ -514,27 +637,30 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
514
637
|
position?: [number, number] | undefined;
|
|
515
638
|
rotation?: number | undefined;
|
|
516
639
|
scale?: number | undefined;
|
|
517
|
-
align?: "
|
|
640
|
+
align?: "center" | "left" | "right" | undefined;
|
|
518
641
|
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">;
|
|
642
|
+
}>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
522
643
|
id: z.ZodOptional<z.ZodString>;
|
|
523
644
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
524
645
|
color: z.ZodOptional<z.ZodString>;
|
|
525
|
-
|
|
526
|
-
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
646
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
527
647
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
528
648
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
529
|
-
zoom: z.ZodOptional<z.ZodNumber>;
|
|
530
649
|
position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
531
650
|
rotation: z.ZodOptional<z.ZodNumber>;
|
|
532
651
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
533
|
-
|
|
652
|
+
zoom: z.ZodOptional<z.ZodNumber>;
|
|
653
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">>;
|
|
654
|
+
text: z.ZodOptional<z.ZodString>;
|
|
534
655
|
align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
|
535
656
|
style: z.ZodOptional<z.ZodEnum<["italic", "light", "regular", "caps"]>>;
|
|
657
|
+
name: z.ZodOptional<z.ZodString>;
|
|
658
|
+
type: z.ZodOptional<z.ZodLiteral<"Note">>;
|
|
536
659
|
widthScale: z.ZodOptional<z.ZodNumber>;
|
|
537
|
-
}, "
|
|
660
|
+
}, "type" | "coordinates" | "id" | "name">, {
|
|
661
|
+
type: z.ZodLiteral<"Note">;
|
|
662
|
+
text: z.ZodString;
|
|
663
|
+
}>, "strip", z.ZodTypeAny, {
|
|
538
664
|
type: "Note";
|
|
539
665
|
text: string;
|
|
540
666
|
groupId?: string | null | undefined;
|
|
@@ -546,7 +672,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
546
672
|
position?: [number, number] | undefined;
|
|
547
673
|
rotation?: number | undefined;
|
|
548
674
|
scale?: number | undefined;
|
|
549
|
-
align?: "
|
|
675
|
+
align?: "center" | "left" | "right" | undefined;
|
|
550
676
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
551
677
|
widthScale?: number | undefined;
|
|
552
678
|
}, {
|
|
@@ -561,7 +687,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
561
687
|
position?: [number, number] | undefined;
|
|
562
688
|
rotation?: number | undefined;
|
|
563
689
|
scale?: number | undefined;
|
|
564
|
-
align?: "
|
|
690
|
+
align?: "center" | "left" | "right" | undefined;
|
|
565
691
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
566
692
|
widthScale?: number | undefined;
|
|
567
693
|
}>]>;
|
|
@@ -593,8 +719,8 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
593
719
|
strokeWidth?: number | undefined;
|
|
594
720
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
595
721
|
distanceMarker?: boolean | undefined;
|
|
596
|
-
endCaps?: boolean | undefined;
|
|
597
722
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
723
|
+
endCaps?: boolean | undefined;
|
|
598
724
|
} | {
|
|
599
725
|
type: "Polygon";
|
|
600
726
|
coordinates: [number, number][][];
|
|
@@ -612,7 +738,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
612
738
|
areaMarker?: boolean | undefined;
|
|
613
739
|
} | {
|
|
614
740
|
type: "Circle";
|
|
615
|
-
|
|
741
|
+
center: [number, number];
|
|
616
742
|
radius: number;
|
|
617
743
|
groupId?: string | null | undefined;
|
|
618
744
|
color?: string | undefined;
|
|
@@ -625,9 +751,9 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
625
751
|
strokeWidth?: number | undefined;
|
|
626
752
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
627
753
|
fillOpacity?: number | undefined;
|
|
754
|
+
radiusMarker?: boolean | undefined;
|
|
628
755
|
radiusDisplayAngle?: number | undefined;
|
|
629
756
|
radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
|
|
630
|
-
radiusMarker?: boolean | undefined;
|
|
631
757
|
} | {
|
|
632
758
|
type: "Marker";
|
|
633
759
|
coordinates: [number, number][][];
|
|
@@ -642,7 +768,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
642
768
|
zoom?: number | undefined;
|
|
643
769
|
} | {
|
|
644
770
|
type: "Highlighter";
|
|
645
|
-
coordinates: [number, number][][];
|
|
771
|
+
coordinates: [number, number][][][];
|
|
646
772
|
groupId?: string | null | undefined;
|
|
647
773
|
color?: string | undefined;
|
|
648
774
|
name?: string | null | undefined;
|
|
@@ -650,6 +776,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
650
776
|
attributes?: Record<string, unknown> | undefined;
|
|
651
777
|
interaction?: "default" | "locked" | undefined;
|
|
652
778
|
opacity?: number | undefined;
|
|
779
|
+
renderHoles?: boolean | undefined;
|
|
653
780
|
} | {
|
|
654
781
|
type: "Text";
|
|
655
782
|
text: string;
|
|
@@ -662,7 +789,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
662
789
|
position?: [number, number] | undefined;
|
|
663
790
|
rotation?: number | undefined;
|
|
664
791
|
scale?: number | undefined;
|
|
665
|
-
align?: "
|
|
792
|
+
align?: "center" | "left" | "right" | undefined;
|
|
666
793
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
667
794
|
} | {
|
|
668
795
|
type: "Note";
|
|
@@ -676,7 +803,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
676
803
|
position?: [number, number] | undefined;
|
|
677
804
|
rotation?: number | undefined;
|
|
678
805
|
scale?: number | undefined;
|
|
679
|
-
align?: "
|
|
806
|
+
align?: "center" | "left" | "right" | undefined;
|
|
680
807
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
681
808
|
widthScale?: number | undefined;
|
|
682
809
|
} | {
|
|
@@ -719,8 +846,8 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
719
846
|
strokeWidth?: number | undefined;
|
|
720
847
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
721
848
|
distanceMarker?: boolean | undefined;
|
|
722
|
-
endCaps?: boolean | undefined;
|
|
723
849
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
850
|
+
endCaps?: boolean | undefined;
|
|
724
851
|
} | {
|
|
725
852
|
type: "Polygon";
|
|
726
853
|
coordinates: [number, number][][];
|
|
@@ -738,7 +865,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
738
865
|
areaMarker?: boolean | undefined;
|
|
739
866
|
} | {
|
|
740
867
|
type: "Circle";
|
|
741
|
-
|
|
868
|
+
center: [number, number];
|
|
742
869
|
radius: number;
|
|
743
870
|
groupId?: string | null | undefined;
|
|
744
871
|
color?: string | undefined;
|
|
@@ -751,9 +878,9 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
751
878
|
strokeWidth?: number | undefined;
|
|
752
879
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
753
880
|
fillOpacity?: number | undefined;
|
|
881
|
+
radiusMarker?: boolean | undefined;
|
|
754
882
|
radiusDisplayAngle?: number | undefined;
|
|
755
883
|
radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
|
|
756
|
-
radiusMarker?: boolean | undefined;
|
|
757
884
|
} | {
|
|
758
885
|
type: "Marker";
|
|
759
886
|
coordinates: [number, number][][];
|
|
@@ -768,7 +895,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
768
895
|
zoom?: number | undefined;
|
|
769
896
|
} | {
|
|
770
897
|
type: "Highlighter";
|
|
771
|
-
coordinates: [number, number][][];
|
|
898
|
+
coordinates: [number, number][][][];
|
|
772
899
|
groupId?: string | null | undefined;
|
|
773
900
|
color?: string | undefined;
|
|
774
901
|
name?: string | null | undefined;
|
|
@@ -776,6 +903,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
776
903
|
attributes?: Record<string, unknown> | undefined;
|
|
777
904
|
interaction?: "default" | "locked" | undefined;
|
|
778
905
|
opacity?: number | undefined;
|
|
906
|
+
renderHoles?: boolean | undefined;
|
|
779
907
|
} | {
|
|
780
908
|
type: "Text";
|
|
781
909
|
text: string;
|
|
@@ -788,7 +916,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
788
916
|
position?: [number, number] | undefined;
|
|
789
917
|
rotation?: number | undefined;
|
|
790
918
|
scale?: number | undefined;
|
|
791
|
-
align?: "
|
|
919
|
+
align?: "center" | "left" | "right" | undefined;
|
|
792
920
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
793
921
|
} | {
|
|
794
922
|
type: "Note";
|
|
@@ -802,7 +930,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
802
930
|
position?: [number, number] | undefined;
|
|
803
931
|
rotation?: number | undefined;
|
|
804
932
|
scale?: number | undefined;
|
|
805
|
-
align?: "
|
|
933
|
+
align?: "center" | "left" | "right" | undefined;
|
|
806
934
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
807
935
|
widthScale?: number | undefined;
|
|
808
936
|
} | {
|
|
@@ -820,21 +948,37 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
820
948
|
}>;
|
|
821
949
|
declare const UpdateElementMessage: z.ZodObject<{
|
|
822
950
|
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;
|
|
951
|
+
params: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
952
|
+
id: z.ZodOptional<z.ZodString>;
|
|
828
953
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
829
954
|
color: z.ZodOptional<z.ZodString>;
|
|
830
|
-
name: z.ZodOptional<z.
|
|
831
|
-
description: z.ZodOptional<z.
|
|
955
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
956
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
832
957
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
833
958
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
834
959
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
960
|
+
type: z.ZodOptional<z.ZodLiteral<"Place">>;
|
|
961
|
+
coordinates: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
962
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
835
963
|
frame: z.ZodOptional<z.ZodNullable<z.ZodEnum<["frame-circle", "frame-square"]>>>;
|
|
836
964
|
hideLabel: z.ZodOptional<z.ZodBoolean>;
|
|
837
|
-
},
|
|
965
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
966
|
+
id: z.ZodString;
|
|
967
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
968
|
+
color: z.ZodString;
|
|
969
|
+
name: z.ZodNullable<z.ZodString>;
|
|
970
|
+
description: z.ZodNullable<z.ZodString>;
|
|
971
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
972
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
973
|
+
}, {
|
|
974
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
975
|
+
}>, {
|
|
976
|
+
type: z.ZodLiteral<"Place">;
|
|
977
|
+
coordinates: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
978
|
+
symbol: z.ZodString;
|
|
979
|
+
frame: z.ZodNullable<z.ZodEnum<["frame-circle", "frame-square"]>>;
|
|
980
|
+
hideLabel: z.ZodBoolean;
|
|
981
|
+
}>, "type" | "id">>, "strip", z.ZodTypeAny, {
|
|
838
982
|
type: "Place";
|
|
839
983
|
id: string;
|
|
840
984
|
symbol?: string | undefined;
|
|
@@ -862,24 +1006,44 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
862
1006
|
imageUrl?: string | null | undefined;
|
|
863
1007
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
864
1008
|
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;
|
|
1009
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1010
|
+
id: z.ZodOptional<z.ZodString>;
|
|
869
1011
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
870
1012
|
color: z.ZodOptional<z.ZodString>;
|
|
871
|
-
name: z.ZodOptional<z.
|
|
872
|
-
description: z.ZodOptional<z.
|
|
1013
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1014
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
873
1015
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
874
1016
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
875
1017
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
876
1018
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
877
1019
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
878
1020
|
strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
|
|
1021
|
+
type: z.ZodOptional<z.ZodLiteral<"Path">>;
|
|
1022
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
|
|
879
1023
|
distanceMarker: z.ZodOptional<z.ZodBoolean>;
|
|
880
|
-
endCaps: z.ZodOptional<z.ZodBoolean>;
|
|
881
1024
|
routingMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["driving", "cycling", "walking", "flying"]>>>;
|
|
882
|
-
|
|
1025
|
+
endCaps: z.ZodOptional<z.ZodBoolean>;
|
|
1026
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1027
|
+
id: z.ZodString;
|
|
1028
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1029
|
+
color: z.ZodString;
|
|
1030
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1031
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1032
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1033
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1034
|
+
}, {
|
|
1035
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
1036
|
+
}>, {
|
|
1037
|
+
strokeOpacity: z.ZodNumber;
|
|
1038
|
+
strokeWidth: z.ZodNumber;
|
|
1039
|
+
strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
|
|
1040
|
+
}>, {
|
|
1041
|
+
type: z.ZodLiteral<"Path">;
|
|
1042
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
1043
|
+
distanceMarker: z.ZodBoolean;
|
|
1044
|
+
routingMode: z.ZodNullable<z.ZodEnum<["driving", "cycling", "walking", "flying"]>>;
|
|
1045
|
+
endCaps: z.ZodBoolean;
|
|
1046
|
+
}>, "type" | "id">>, "strip", z.ZodTypeAny, {
|
|
883
1047
|
type: "Path";
|
|
884
1048
|
id: string;
|
|
885
1049
|
coordinates?: [number, number][][] | undefined;
|
|
@@ -894,8 +1058,8 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
894
1058
|
strokeWidth?: number | undefined;
|
|
895
1059
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
896
1060
|
distanceMarker?: boolean | undefined;
|
|
897
|
-
endCaps?: boolean | undefined;
|
|
898
1061
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
1062
|
+
endCaps?: boolean | undefined;
|
|
899
1063
|
}, {
|
|
900
1064
|
type: "Path";
|
|
901
1065
|
id: string;
|
|
@@ -911,25 +1075,44 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
911
1075
|
strokeWidth?: number | undefined;
|
|
912
1076
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
913
1077
|
distanceMarker?: boolean | undefined;
|
|
914
|
-
endCaps?: boolean | undefined;
|
|
915
1078
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
id: z.ZodString;
|
|
1079
|
+
endCaps?: boolean | undefined;
|
|
1080
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1081
|
+
id: z.ZodOptional<z.ZodString>;
|
|
920
1082
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
921
1083
|
color: z.ZodOptional<z.ZodString>;
|
|
922
|
-
name: z.ZodOptional<z.
|
|
923
|
-
description: z.ZodOptional<z.
|
|
1084
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1085
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
924
1086
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
925
1087
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
926
1088
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
927
1089
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
928
1090
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
929
1091
|
strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
|
|
1092
|
+
type: z.ZodOptional<z.ZodLiteral<"Polygon">>;
|
|
1093
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">>;
|
|
930
1094
|
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
931
1095
|
areaMarker: z.ZodOptional<z.ZodBoolean>;
|
|
932
|
-
},
|
|
1096
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1097
|
+
id: z.ZodString;
|
|
1098
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1099
|
+
color: z.ZodString;
|
|
1100
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1101
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1102
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1103
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1104
|
+
}, {
|
|
1105
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
1106
|
+
}>, {
|
|
1107
|
+
strokeOpacity: z.ZodNumber;
|
|
1108
|
+
strokeWidth: z.ZodNumber;
|
|
1109
|
+
strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
|
|
1110
|
+
}>, {
|
|
1111
|
+
type: z.ZodLiteral<"Polygon">;
|
|
1112
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
1113
|
+
fillOpacity: z.ZodNumber;
|
|
1114
|
+
areaMarker: z.ZodBoolean;
|
|
1115
|
+
}>, "type" | "id">>, "strip", z.ZodTypeAny, {
|
|
933
1116
|
type: "Polygon";
|
|
934
1117
|
id: string;
|
|
935
1118
|
coordinates?: [number, number][][] | undefined;
|
|
@@ -961,29 +1144,50 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
961
1144
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
962
1145
|
fillOpacity?: number | undefined;
|
|
963
1146
|
areaMarker?: boolean | undefined;
|
|
964
|
-
}>, z.ZodObject<{
|
|
965
|
-
|
|
966
|
-
coordinates: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
967
|
-
id: z.ZodString;
|
|
1147
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1148
|
+
id: z.ZodOptional<z.ZodString>;
|
|
968
1149
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
969
1150
|
color: z.ZodOptional<z.ZodString>;
|
|
970
|
-
name: z.ZodOptional<z.
|
|
971
|
-
description: z.ZodOptional<z.
|
|
1151
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1152
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
972
1153
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
973
1154
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
974
1155
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
975
1156
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
976
1157
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
977
1158
|
strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
|
|
978
|
-
|
|
1159
|
+
type: z.ZodOptional<z.ZodLiteral<"Circle">>;
|
|
1160
|
+
center: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
979
1161
|
radius: z.ZodOptional<z.ZodNumber>;
|
|
1162
|
+
radiusMarker: z.ZodOptional<z.ZodBoolean>;
|
|
980
1163
|
radiusDisplayAngle: z.ZodOptional<z.ZodNumber>;
|
|
981
1164
|
radiusDisplayUnit: z.ZodOptional<z.ZodNullable<z.ZodEnum<["meter", "kilometer", "foot", "mile"]>>>;
|
|
982
|
-
|
|
983
|
-
},
|
|
1165
|
+
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
1166
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1167
|
+
id: z.ZodString;
|
|
1168
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1169
|
+
color: z.ZodString;
|
|
1170
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1171
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1172
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1173
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1174
|
+
}, {
|
|
1175
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
1176
|
+
}>, {
|
|
1177
|
+
strokeOpacity: z.ZodNumber;
|
|
1178
|
+
strokeWidth: z.ZodNumber;
|
|
1179
|
+
strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
|
|
1180
|
+
}>, {
|
|
1181
|
+
type: z.ZodLiteral<"Circle">;
|
|
1182
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
1183
|
+
radius: z.ZodNumber;
|
|
1184
|
+
radiusMarker: z.ZodBoolean;
|
|
1185
|
+
radiusDisplayAngle: z.ZodNumber;
|
|
1186
|
+
radiusDisplayUnit: z.ZodNullable<z.ZodEnum<["meter", "kilometer", "foot", "mile"]>>;
|
|
1187
|
+
fillOpacity: z.ZodNumber;
|
|
1188
|
+
}>, "type" | "id">>, "strip", z.ZodTypeAny, {
|
|
984
1189
|
type: "Circle";
|
|
985
1190
|
id: string;
|
|
986
|
-
coordinates?: [number, number] | undefined;
|
|
987
1191
|
groupId?: string | null | undefined;
|
|
988
1192
|
color?: string | undefined;
|
|
989
1193
|
name?: string | null | undefined;
|
|
@@ -995,14 +1199,14 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
995
1199
|
strokeWidth?: number | undefined;
|
|
996
1200
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
997
1201
|
fillOpacity?: number | undefined;
|
|
1202
|
+
center?: [number, number] | undefined;
|
|
998
1203
|
radius?: number | undefined;
|
|
1204
|
+
radiusMarker?: boolean | undefined;
|
|
999
1205
|
radiusDisplayAngle?: number | undefined;
|
|
1000
1206
|
radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
|
|
1001
|
-
radiusMarker?: boolean | undefined;
|
|
1002
1207
|
}, {
|
|
1003
1208
|
type: "Circle";
|
|
1004
1209
|
id: string;
|
|
1005
|
-
coordinates?: [number, number] | undefined;
|
|
1006
1210
|
groupId?: string | null | undefined;
|
|
1007
1211
|
color?: string | undefined;
|
|
1008
1212
|
name?: string | null | undefined;
|
|
@@ -1014,24 +1218,39 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1014
1218
|
strokeWidth?: number | undefined;
|
|
1015
1219
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
1016
1220
|
fillOpacity?: number | undefined;
|
|
1221
|
+
center?: [number, number] | undefined;
|
|
1017
1222
|
radius?: number | undefined;
|
|
1223
|
+
radiusMarker?: boolean | undefined;
|
|
1018
1224
|
radiusDisplayAngle?: number | undefined;
|
|
1019
1225
|
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;
|
|
1226
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1227
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1025
1228
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1026
1229
|
color: z.ZodOptional<z.ZodString>;
|
|
1027
|
-
name: z.ZodOptional<z.
|
|
1028
|
-
description: z.ZodOptional<z.
|
|
1230
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1231
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1029
1232
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1030
1233
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
1234
|
+
type: z.ZodOptional<z.ZodLiteral<"Marker">>;
|
|
1235
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
|
|
1031
1236
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1032
1237
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1033
1238
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1034
|
-
},
|
|
1239
|
+
}, Pick<z.objectUtil.extendShape<{
|
|
1240
|
+
id: z.ZodString;
|
|
1241
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1242
|
+
color: z.ZodString;
|
|
1243
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1244
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1245
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1246
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1247
|
+
}, {
|
|
1248
|
+
type: z.ZodLiteral<"Marker">;
|
|
1249
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
1250
|
+
opacity: z.ZodNumber;
|
|
1251
|
+
size: z.ZodNumber;
|
|
1252
|
+
zoom: z.ZodNumber;
|
|
1253
|
+
}>, "type" | "id">>, "strip", z.ZodTypeAny, {
|
|
1035
1254
|
type: "Marker";
|
|
1036
1255
|
id: string;
|
|
1037
1256
|
coordinates?: [number, number][][] | undefined;
|
|
@@ -1057,21 +1276,35 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1057
1276
|
opacity?: number | undefined;
|
|
1058
1277
|
size?: number | undefined;
|
|
1059
1278
|
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;
|
|
1279
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1280
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1064
1281
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1065
1282
|
color: z.ZodOptional<z.ZodString>;
|
|
1066
|
-
name: z.ZodOptional<z.
|
|
1067
|
-
description: z.ZodOptional<z.
|
|
1283
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1284
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1068
1285
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1069
1286
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
1287
|
+
type: z.ZodOptional<z.ZodLiteral<"Highlighter">>;
|
|
1288
|
+
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">>;
|
|
1289
|
+
renderHoles: z.ZodOptional<z.ZodBoolean>;
|
|
1070
1290
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1071
|
-
},
|
|
1291
|
+
}, Pick<z.objectUtil.extendShape<{
|
|
1292
|
+
id: z.ZodString;
|
|
1293
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1294
|
+
color: z.ZodString;
|
|
1295
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1296
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1297
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1298
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1299
|
+
}, {
|
|
1300
|
+
type: z.ZodLiteral<"Highlighter">;
|
|
1301
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
1302
|
+
renderHoles: z.ZodBoolean;
|
|
1303
|
+
opacity: z.ZodNumber;
|
|
1304
|
+
}>, "type" | "id">>, "strip", z.ZodTypeAny, {
|
|
1072
1305
|
type: "Highlighter";
|
|
1073
1306
|
id: string;
|
|
1074
|
-
coordinates?: [number, number][][] | undefined;
|
|
1307
|
+
coordinates?: [number, number][][][] | undefined;
|
|
1075
1308
|
groupId?: string | null | undefined;
|
|
1076
1309
|
color?: string | undefined;
|
|
1077
1310
|
name?: string | null | undefined;
|
|
@@ -1079,10 +1312,11 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1079
1312
|
attributes?: Record<string, unknown> | undefined;
|
|
1080
1313
|
interaction?: "default" | "locked" | undefined;
|
|
1081
1314
|
opacity?: number | undefined;
|
|
1315
|
+
renderHoles?: boolean | undefined;
|
|
1082
1316
|
}, {
|
|
1083
1317
|
type: "Highlighter";
|
|
1084
1318
|
id: string;
|
|
1085
|
-
coordinates?: [number, number][][] | undefined;
|
|
1319
|
+
coordinates?: [number, number][][][] | undefined;
|
|
1086
1320
|
groupId?: string | null | undefined;
|
|
1087
1321
|
color?: string | undefined;
|
|
1088
1322
|
name?: string | null | undefined;
|
|
@@ -1090,24 +1324,46 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1090
1324
|
attributes?: Record<string, unknown> | undefined;
|
|
1091
1325
|
interaction?: "default" | "locked" | undefined;
|
|
1092
1326
|
opacity?: number | undefined;
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
id: z.ZodString;
|
|
1327
|
+
renderHoles?: boolean | undefined;
|
|
1328
|
+
}>, z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
1329
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1097
1330
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1098
1331
|
color: z.ZodOptional<z.ZodString>;
|
|
1099
|
-
|
|
1100
|
-
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1332
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1101
1333
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1102
1334
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
1103
|
-
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1104
1335
|
position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1105
1336
|
rotation: z.ZodOptional<z.ZodNumber>;
|
|
1106
1337
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
1338
|
+
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1339
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">>;
|
|
1107
1340
|
text: z.ZodOptional<z.ZodString>;
|
|
1108
1341
|
align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
|
1109
1342
|
style: z.ZodOptional<z.ZodEnum<["italic", "light", "regular", "caps"]>>;
|
|
1110
|
-
|
|
1343
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1344
|
+
type: z.ZodOptional<z.ZodLiteral<"Text">>;
|
|
1345
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1346
|
+
id: z.ZodString;
|
|
1347
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1348
|
+
color: z.ZodString;
|
|
1349
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1350
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1351
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1352
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1353
|
+
}, {
|
|
1354
|
+
position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
1355
|
+
rotation: z.ZodNumber;
|
|
1356
|
+
scale: z.ZodNumber;
|
|
1357
|
+
zoom: z.ZodNumber;
|
|
1358
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
1359
|
+
}>, {
|
|
1360
|
+
text: z.ZodString;
|
|
1361
|
+
align: z.ZodEnum<["left", "center", "right"]>;
|
|
1362
|
+
style: z.ZodEnum<["italic", "light", "regular", "caps"]>;
|
|
1363
|
+
name: z.ZodString;
|
|
1364
|
+
}>, {
|
|
1365
|
+
type: z.ZodLiteral<"Text">;
|
|
1366
|
+
}>, "type" | "id">>, "coordinates" | "name">, "strip", z.ZodTypeAny, {
|
|
1111
1367
|
type: "Text";
|
|
1112
1368
|
id: string;
|
|
1113
1369
|
groupId?: string | null | undefined;
|
|
@@ -1120,7 +1376,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1120
1376
|
rotation?: number | undefined;
|
|
1121
1377
|
scale?: number | undefined;
|
|
1122
1378
|
text?: string | undefined;
|
|
1123
|
-
align?: "
|
|
1379
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1124
1380
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1125
1381
|
}, {
|
|
1126
1382
|
type: "Text";
|
|
@@ -1135,27 +1391,49 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1135
1391
|
rotation?: number | undefined;
|
|
1136
1392
|
scale?: number | undefined;
|
|
1137
1393
|
text?: string | undefined;
|
|
1138
|
-
align?: "
|
|
1394
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1139
1395
|
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;
|
|
1396
|
+
}>, z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
1397
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1144
1398
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1145
1399
|
color: z.ZodOptional<z.ZodString>;
|
|
1146
|
-
|
|
1147
|
-
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1400
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1148
1401
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1149
1402
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
1150
|
-
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1151
1403
|
position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1152
1404
|
rotation: z.ZodOptional<z.ZodNumber>;
|
|
1153
1405
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
1406
|
+
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1407
|
+
coordinates: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">>;
|
|
1154
1408
|
text: z.ZodOptional<z.ZodString>;
|
|
1155
1409
|
align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
|
1156
1410
|
style: z.ZodOptional<z.ZodEnum<["italic", "light", "regular", "caps"]>>;
|
|
1411
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1412
|
+
type: z.ZodOptional<z.ZodLiteral<"Note">>;
|
|
1157
1413
|
widthScale: z.ZodOptional<z.ZodNumber>;
|
|
1158
|
-
},
|
|
1414
|
+
}, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1415
|
+
id: z.ZodString;
|
|
1416
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1417
|
+
color: z.ZodString;
|
|
1418
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1419
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1420
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1421
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1422
|
+
}, {
|
|
1423
|
+
position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
1424
|
+
rotation: z.ZodNumber;
|
|
1425
|
+
scale: z.ZodNumber;
|
|
1426
|
+
zoom: z.ZodNumber;
|
|
1427
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
1428
|
+
}>, {
|
|
1429
|
+
text: z.ZodString;
|
|
1430
|
+
align: z.ZodEnum<["left", "center", "right"]>;
|
|
1431
|
+
style: z.ZodEnum<["italic", "light", "regular", "caps"]>;
|
|
1432
|
+
name: z.ZodString;
|
|
1433
|
+
}>, {
|
|
1434
|
+
type: z.ZodLiteral<"Note">;
|
|
1435
|
+
widthScale: z.ZodNumber;
|
|
1436
|
+
}>, "type" | "id">>, "coordinates" | "name">, "strip", z.ZodTypeAny, {
|
|
1159
1437
|
type: "Note";
|
|
1160
1438
|
id: string;
|
|
1161
1439
|
groupId?: string | null | undefined;
|
|
@@ -1168,7 +1446,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1168
1446
|
rotation?: number | undefined;
|
|
1169
1447
|
scale?: number | undefined;
|
|
1170
1448
|
text?: string | undefined;
|
|
1171
|
-
align?: "
|
|
1449
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1172
1450
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1173
1451
|
widthScale?: number | undefined;
|
|
1174
1452
|
}, {
|
|
@@ -1184,21 +1462,34 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1184
1462
|
rotation?: number | undefined;
|
|
1185
1463
|
scale?: number | undefined;
|
|
1186
1464
|
text?: string | undefined;
|
|
1187
|
-
align?: "
|
|
1465
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1188
1466
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1189
1467
|
widthScale?: number | undefined;
|
|
1190
|
-
}>, z.ZodObject<{
|
|
1191
|
-
type: z.ZodLiteral<"Image"
|
|
1468
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1469
|
+
type: z.ZodOptional<z.ZodLiteral<"Image">>;
|
|
1192
1470
|
coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
|
|
1193
|
-
id: z.ZodString
|
|
1471
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1194
1472
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1195
|
-
name: z.ZodOptional<z.
|
|
1196
|
-
description: z.ZodOptional<z.
|
|
1473
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1474
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1197
1475
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1198
1476
|
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
1199
1477
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1200
1478
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1201
|
-
},
|
|
1479
|
+
}, Pick<Omit<z.objectUtil.extendShape<{
|
|
1480
|
+
id: z.ZodString;
|
|
1481
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
1482
|
+
color: z.ZodString;
|
|
1483
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1484
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1485
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1486
|
+
interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
|
|
1487
|
+
}, {
|
|
1488
|
+
type: z.ZodLiteral<"Image">;
|
|
1489
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
1490
|
+
imageUrl: z.ZodString;
|
|
1491
|
+
opacity: z.ZodNumber;
|
|
1492
|
+
}>, "color">, "type" | "id">>, "strip", z.ZodTypeAny, {
|
|
1202
1493
|
type: "Image";
|
|
1203
1494
|
id: string;
|
|
1204
1495
|
coordinates?: [number, number][][] | undefined;
|
|
@@ -1251,8 +1542,8 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1251
1542
|
strokeWidth?: number | undefined;
|
|
1252
1543
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
1253
1544
|
distanceMarker?: boolean | undefined;
|
|
1254
|
-
endCaps?: boolean | undefined;
|
|
1255
1545
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
1546
|
+
endCaps?: boolean | undefined;
|
|
1256
1547
|
} | {
|
|
1257
1548
|
type: "Polygon";
|
|
1258
1549
|
id: string;
|
|
@@ -1272,7 +1563,6 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1272
1563
|
} | {
|
|
1273
1564
|
type: "Circle";
|
|
1274
1565
|
id: string;
|
|
1275
|
-
coordinates?: [number, number] | undefined;
|
|
1276
1566
|
groupId?: string | null | undefined;
|
|
1277
1567
|
color?: string | undefined;
|
|
1278
1568
|
name?: string | null | undefined;
|
|
@@ -1284,10 +1574,11 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1284
1574
|
strokeWidth?: number | undefined;
|
|
1285
1575
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
1286
1576
|
fillOpacity?: number | undefined;
|
|
1577
|
+
center?: [number, number] | undefined;
|
|
1287
1578
|
radius?: number | undefined;
|
|
1579
|
+
radiusMarker?: boolean | undefined;
|
|
1288
1580
|
radiusDisplayAngle?: number | undefined;
|
|
1289
1581
|
radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
|
|
1290
|
-
radiusMarker?: boolean | undefined;
|
|
1291
1582
|
} | {
|
|
1292
1583
|
type: "Marker";
|
|
1293
1584
|
id: string;
|
|
@@ -1304,7 +1595,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1304
1595
|
} | {
|
|
1305
1596
|
type: "Highlighter";
|
|
1306
1597
|
id: string;
|
|
1307
|
-
coordinates?: [number, number][][] | undefined;
|
|
1598
|
+
coordinates?: [number, number][][][] | undefined;
|
|
1308
1599
|
groupId?: string | null | undefined;
|
|
1309
1600
|
color?: string | undefined;
|
|
1310
1601
|
name?: string | null | undefined;
|
|
@@ -1312,6 +1603,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1312
1603
|
attributes?: Record<string, unknown> | undefined;
|
|
1313
1604
|
interaction?: "default" | "locked" | undefined;
|
|
1314
1605
|
opacity?: number | undefined;
|
|
1606
|
+
renderHoles?: boolean | undefined;
|
|
1315
1607
|
} | {
|
|
1316
1608
|
type: "Text";
|
|
1317
1609
|
id: string;
|
|
@@ -1325,7 +1617,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1325
1617
|
rotation?: number | undefined;
|
|
1326
1618
|
scale?: number | undefined;
|
|
1327
1619
|
text?: string | undefined;
|
|
1328
|
-
align?: "
|
|
1620
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1329
1621
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1330
1622
|
} | {
|
|
1331
1623
|
type: "Note";
|
|
@@ -1340,7 +1632,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1340
1632
|
rotation?: number | undefined;
|
|
1341
1633
|
scale?: number | undefined;
|
|
1342
1634
|
text?: string | undefined;
|
|
1343
|
-
align?: "
|
|
1635
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1344
1636
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1345
1637
|
widthScale?: number | undefined;
|
|
1346
1638
|
} | {
|
|
@@ -1386,8 +1678,8 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1386
1678
|
strokeWidth?: number | undefined;
|
|
1387
1679
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
1388
1680
|
distanceMarker?: boolean | undefined;
|
|
1389
|
-
endCaps?: boolean | undefined;
|
|
1390
1681
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
1682
|
+
endCaps?: boolean | undefined;
|
|
1391
1683
|
} | {
|
|
1392
1684
|
type: "Polygon";
|
|
1393
1685
|
id: string;
|
|
@@ -1407,7 +1699,6 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1407
1699
|
} | {
|
|
1408
1700
|
type: "Circle";
|
|
1409
1701
|
id: string;
|
|
1410
|
-
coordinates?: [number, number] | undefined;
|
|
1411
1702
|
groupId?: string | null | undefined;
|
|
1412
1703
|
color?: string | undefined;
|
|
1413
1704
|
name?: string | null | undefined;
|
|
@@ -1419,10 +1710,11 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1419
1710
|
strokeWidth?: number | undefined;
|
|
1420
1711
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
1421
1712
|
fillOpacity?: number | undefined;
|
|
1713
|
+
center?: [number, number] | undefined;
|
|
1422
1714
|
radius?: number | undefined;
|
|
1715
|
+
radiusMarker?: boolean | undefined;
|
|
1423
1716
|
radiusDisplayAngle?: number | undefined;
|
|
1424
1717
|
radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
|
|
1425
|
-
radiusMarker?: boolean | undefined;
|
|
1426
1718
|
} | {
|
|
1427
1719
|
type: "Marker";
|
|
1428
1720
|
id: string;
|
|
@@ -1439,7 +1731,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1439
1731
|
} | {
|
|
1440
1732
|
type: "Highlighter";
|
|
1441
1733
|
id: string;
|
|
1442
|
-
coordinates?: [number, number][][] | undefined;
|
|
1734
|
+
coordinates?: [number, number][][][] | undefined;
|
|
1443
1735
|
groupId?: string | null | undefined;
|
|
1444
1736
|
color?: string | undefined;
|
|
1445
1737
|
name?: string | null | undefined;
|
|
@@ -1447,6 +1739,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1447
1739
|
attributes?: Record<string, unknown> | undefined;
|
|
1448
1740
|
interaction?: "default" | "locked" | undefined;
|
|
1449
1741
|
opacity?: number | undefined;
|
|
1742
|
+
renderHoles?: boolean | undefined;
|
|
1450
1743
|
} | {
|
|
1451
1744
|
type: "Text";
|
|
1452
1745
|
id: string;
|
|
@@ -1460,7 +1753,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1460
1753
|
rotation?: number | undefined;
|
|
1461
1754
|
scale?: number | undefined;
|
|
1462
1755
|
text?: string | undefined;
|
|
1463
|
-
align?: "
|
|
1756
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1464
1757
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1465
1758
|
} | {
|
|
1466
1759
|
type: "Note";
|
|
@@ -1475,7 +1768,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1475
1768
|
rotation?: number | undefined;
|
|
1476
1769
|
scale?: number | undefined;
|
|
1477
1770
|
text?: string | undefined;
|
|
1478
|
-
align?: "
|
|
1771
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1479
1772
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
1480
1773
|
widthScale?: number | undefined;
|
|
1481
1774
|
} | {
|
|
@@ -2385,7 +2678,7 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2385
2678
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2386
2679
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2387
2680
|
type: z.ZodLiteral<"Polygon">;
|
|
2388
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
2681
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2389
2682
|
}, "strip", z.ZodTypeAny, {
|
|
2390
2683
|
type: "Polygon";
|
|
2391
2684
|
coordinates: [number, number][][];
|
|
@@ -2397,7 +2690,7 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2397
2690
|
values: z.ZodOptional<z.ZodObject<{
|
|
2398
2691
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2399
2692
|
type: z.ZodLiteral<"Polygon">;
|
|
2400
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
2693
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2401
2694
|
}, "strip", z.ZodTypeAny, {
|
|
2402
2695
|
type: "Polygon";
|
|
2403
2696
|
coordinates: [number, number][][];
|
|
@@ -2551,7 +2844,7 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2551
2844
|
}>, z.ZodArray<z.ZodNumber, "many">]>;
|
|
2552
2845
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2553
2846
|
type: z.ZodLiteral<"Polygon">;
|
|
2554
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
2847
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2555
2848
|
}, "strip", z.ZodTypeAny, {
|
|
2556
2849
|
type: "Polygon";
|
|
2557
2850
|
coordinates: [number, number][][];
|
|
@@ -2563,7 +2856,7 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2563
2856
|
values: z.ZodOptional<z.ZodObject<{
|
|
2564
2857
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2565
2858
|
type: z.ZodLiteral<"Polygon">;
|
|
2566
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
2859
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2567
2860
|
}, "strip", z.ZodTypeAny, {
|
|
2568
2861
|
type: "Polygon";
|
|
2569
2862
|
coordinates: [number, number][][];
|
|
@@ -2721,7 +3014,7 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
|
|
|
2721
3014
|
layerId: z.ZodString;
|
|
2722
3015
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2723
3016
|
type: z.ZodLiteral<"Polygon">;
|
|
2724
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
3017
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2725
3018
|
}, "strip", z.ZodTypeAny, {
|
|
2726
3019
|
type: "Polygon";
|
|
2727
3020
|
coordinates: [number, number][][];
|
|
@@ -3019,8 +3312,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
3019
3312
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
3020
3313
|
strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
|
|
3021
3314
|
distanceMarker: z.ZodOptional<z.ZodBoolean>;
|
|
3022
|
-
endCaps: z.ZodOptional<z.ZodBoolean>;
|
|
3023
3315
|
routingMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["driving", "cycling", "walking", "flying"]>>>;
|
|
3316
|
+
endCaps: z.ZodOptional<z.ZodBoolean>;
|
|
3024
3317
|
}, {
|
|
3025
3318
|
tool: z.ZodLiteral<"route">;
|
|
3026
3319
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -3030,8 +3323,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
3030
3323
|
strokeWidth?: number | undefined;
|
|
3031
3324
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
3032
3325
|
distanceMarker?: boolean | undefined;
|
|
3033
|
-
endCaps?: boolean | undefined;
|
|
3034
3326
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
3327
|
+
endCaps?: boolean | undefined;
|
|
3035
3328
|
}, {
|
|
3036
3329
|
tool: "route";
|
|
3037
3330
|
color?: string | undefined;
|
|
@@ -3039,8 +3332,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
3039
3332
|
strokeWidth?: number | undefined;
|
|
3040
3333
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
3041
3334
|
distanceMarker?: boolean | undefined;
|
|
3042
|
-
endCaps?: boolean | undefined;
|
|
3043
3335
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
3336
|
+
endCaps?: boolean | undefined;
|
|
3044
3337
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3045
3338
|
color: z.ZodOptional<z.ZodString>;
|
|
3046
3339
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3110,6 +3403,7 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
3110
3403
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3111
3404
|
color: z.ZodOptional<z.ZodString>;
|
|
3112
3405
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
3406
|
+
renderHoles: z.ZodOptional<z.ZodBoolean>;
|
|
3113
3407
|
size: z.ZodOptional<z.ZodNumber>;
|
|
3114
3408
|
}, {
|
|
3115
3409
|
tool: z.ZodLiteral<"highlighter">;
|
|
@@ -3118,11 +3412,13 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
3118
3412
|
color?: string | undefined;
|
|
3119
3413
|
opacity?: number | undefined;
|
|
3120
3414
|
size?: number | undefined;
|
|
3415
|
+
renderHoles?: boolean | undefined;
|
|
3121
3416
|
}, {
|
|
3122
3417
|
tool: "highlighter";
|
|
3123
3418
|
color?: string | undefined;
|
|
3124
3419
|
opacity?: number | undefined;
|
|
3125
3420
|
size?: number | undefined;
|
|
3421
|
+
renderHoles?: boolean | undefined;
|
|
3126
3422
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3127
3423
|
color: z.ZodOptional<z.ZodString>;
|
|
3128
3424
|
align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
|
@@ -3132,12 +3428,12 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
3132
3428
|
}>, "strip", z.ZodTypeAny, {
|
|
3133
3429
|
tool: "text";
|
|
3134
3430
|
color?: string | undefined;
|
|
3135
|
-
align?: "
|
|
3431
|
+
align?: "center" | "left" | "right" | undefined;
|
|
3136
3432
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
3137
3433
|
}, {
|
|
3138
3434
|
tool: "text";
|
|
3139
3435
|
color?: string | undefined;
|
|
3140
|
-
align?: "
|
|
3436
|
+
align?: "center" | "left" | "right" | undefined;
|
|
3141
3437
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
3142
3438
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3143
3439
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -3148,12 +3444,12 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
3148
3444
|
}>, "strip", z.ZodTypeAny, {
|
|
3149
3445
|
tool: "note";
|
|
3150
3446
|
color?: string | undefined;
|
|
3151
|
-
align?: "
|
|
3447
|
+
align?: "center" | "left" | "right" | undefined;
|
|
3152
3448
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
3153
3449
|
}, {
|
|
3154
3450
|
tool: "note";
|
|
3155
3451
|
color?: string | undefined;
|
|
3156
|
-
align?: "
|
|
3452
|
+
align?: "center" | "left" | "right" | undefined;
|
|
3157
3453
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
3158
3454
|
}>]>;
|
|
3159
3455
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -3177,8 +3473,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
3177
3473
|
strokeWidth?: number | undefined;
|
|
3178
3474
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
3179
3475
|
distanceMarker?: boolean | undefined;
|
|
3180
|
-
endCaps?: boolean | undefined;
|
|
3181
3476
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
3477
|
+
endCaps?: boolean | undefined;
|
|
3182
3478
|
} | {
|
|
3183
3479
|
tool: "polygon";
|
|
3184
3480
|
color?: string | undefined;
|
|
@@ -3205,15 +3501,16 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
3205
3501
|
color?: string | undefined;
|
|
3206
3502
|
opacity?: number | undefined;
|
|
3207
3503
|
size?: number | undefined;
|
|
3504
|
+
renderHoles?: boolean | undefined;
|
|
3208
3505
|
} | {
|
|
3209
3506
|
tool: "text";
|
|
3210
3507
|
color?: string | undefined;
|
|
3211
|
-
align?: "
|
|
3508
|
+
align?: "center" | "left" | "right" | undefined;
|
|
3212
3509
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
3213
3510
|
} | {
|
|
3214
3511
|
tool: "note";
|
|
3215
3512
|
color?: string | undefined;
|
|
3216
|
-
align?: "
|
|
3513
|
+
align?: "center" | "left" | "right" | undefined;
|
|
3217
3514
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
3218
3515
|
};
|
|
3219
3516
|
type: "setToolSettings";
|
|
@@ -3238,8 +3535,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
3238
3535
|
strokeWidth?: number | undefined;
|
|
3239
3536
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
3240
3537
|
distanceMarker?: boolean | undefined;
|
|
3241
|
-
endCaps?: boolean | undefined;
|
|
3242
3538
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
3539
|
+
endCaps?: boolean | undefined;
|
|
3243
3540
|
} | {
|
|
3244
3541
|
tool: "polygon";
|
|
3245
3542
|
color?: string | undefined;
|
|
@@ -3266,15 +3563,16 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
3266
3563
|
color?: string | undefined;
|
|
3267
3564
|
opacity?: number | undefined;
|
|
3268
3565
|
size?: number | undefined;
|
|
3566
|
+
renderHoles?: boolean | undefined;
|
|
3269
3567
|
} | {
|
|
3270
3568
|
tool: "text";
|
|
3271
3569
|
color?: string | undefined;
|
|
3272
|
-
align?: "
|
|
3570
|
+
align?: "center" | "left" | "right" | undefined;
|
|
3273
3571
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
3274
3572
|
} | {
|
|
3275
3573
|
tool: "note";
|
|
3276
3574
|
color?: string | undefined;
|
|
3277
|
-
align?: "
|
|
3575
|
+
align?: "center" | "left" | "right" | undefined;
|
|
3278
3576
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
3279
3577
|
};
|
|
3280
3578
|
type: "setToolSettings";
|
|
@@ -3478,34 +3776,34 @@ declare const GotoViewportMessage: z.ZodObject<{
|
|
|
3478
3776
|
}>>;
|
|
3479
3777
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
3480
3778
|
}, "strip", z.ZodTypeAny, {
|
|
3481
|
-
zoom?: number | undefined;
|
|
3482
3779
|
center?: {
|
|
3483
3780
|
latitude: number;
|
|
3484
3781
|
longitude: number;
|
|
3485
3782
|
} | undefined;
|
|
3486
|
-
}, {
|
|
3487
3783
|
zoom?: number | undefined;
|
|
3784
|
+
}, {
|
|
3488
3785
|
center?: {
|
|
3489
3786
|
latitude: number;
|
|
3490
3787
|
longitude: number;
|
|
3491
3788
|
} | undefined;
|
|
3789
|
+
zoom?: number | undefined;
|
|
3492
3790
|
}>;
|
|
3493
3791
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3494
3792
|
params: {
|
|
3495
|
-
zoom?: number | undefined;
|
|
3496
3793
|
center?: {
|
|
3497
3794
|
latitude: number;
|
|
3498
3795
|
longitude: number;
|
|
3499
3796
|
} | undefined;
|
|
3797
|
+
zoom?: number | undefined;
|
|
3500
3798
|
};
|
|
3501
3799
|
type: "setViewport";
|
|
3502
3800
|
}, {
|
|
3503
3801
|
params: {
|
|
3504
|
-
zoom?: number | undefined;
|
|
3505
3802
|
center?: {
|
|
3506
3803
|
latitude: number;
|
|
3507
3804
|
longitude: number;
|
|
3508
3805
|
} | undefined;
|
|
3806
|
+
zoom?: number | undefined;
|
|
3509
3807
|
};
|
|
3510
3808
|
type: "setViewport";
|
|
3511
3809
|
}>;
|