@feltmaps/js-sdk 1.5.0-next.9 → 1.6.0-next.0
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 +139 -520
- package/dist/client.d.ts +139 -520
- package/dist/client.js +1 -1
- package/dist/handler.cjs +1 -1
- package/dist/handler.d.cts +1159 -296
- package/dist/handler.d.ts +1159 -296
- package/dist/handler.js +1 -1
- package/dist/types-B241Rd9q.d.cts +7395 -0
- package/dist/types-B241Rd9q.d.ts +7395 -0
- package/handler.d.ts +1159 -296
- package/handler.js +1 -1
- package/package.json +8 -7
- package/types-B241Rd9q.d.ts +7395 -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 { z as zInfer, E as Element, G as GeoJsonGeometry, b as ElementGroup, d as ElementChangeCallbackParams, e as ElementGroupChangeCallbackParams, M as MapInteractionEvent, aa as Layer, ad as LayerGroup, ag as LegendItem, aE as LayerFilters, ap as LayerFeature, bf as UnwrapPromise, L as LayersController, aV as GeoJsonFeature, aI as GetLayerCategoriesGroup, aK as GetLayerHistogramBin, aG as AggregationMethod, ar as LayerSchema, ab as LayerChangeCallbackParams, ae as LayerGroupChangeCallbackParams, ah as LegendItemChangeCallbackParams, aB as FilterTernary, h as MapDetails, i as EntityNode, T as ToolType, j as ToolSettingsMap, k as ToolSettingsChangeEvent, V as ViewportState, n as ViewportConstraints, bg as UnionToIntersection, bh as PromiseOrNot } from './types-B241Rd9q.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>>;
|
|
@@ -1623,51 +1908,329 @@ declare const SetLayerStyleMessage: z.ZodObject<{
|
|
|
1623
1908
|
};
|
|
1624
1909
|
}, {
|
|
1625
1910
|
id: string;
|
|
1626
|
-
style: {} & {
|
|
1627
|
-
[k: string]: unknown;
|
|
1628
|
-
};
|
|
1911
|
+
style: {} & {
|
|
1912
|
+
[k: string]: unknown;
|
|
1913
|
+
};
|
|
1914
|
+
}>;
|
|
1915
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1916
|
+
params: {
|
|
1917
|
+
id: string;
|
|
1918
|
+
style: {} & {
|
|
1919
|
+
[k: string]: unknown;
|
|
1920
|
+
};
|
|
1921
|
+
};
|
|
1922
|
+
type: "setLayerStyle";
|
|
1923
|
+
}, {
|
|
1924
|
+
params: {
|
|
1925
|
+
id: string;
|
|
1926
|
+
style: {} & {
|
|
1927
|
+
[k: string]: unknown;
|
|
1928
|
+
};
|
|
1929
|
+
};
|
|
1930
|
+
type: "setLayerStyle";
|
|
1931
|
+
}>;
|
|
1932
|
+
declare const SetLayerLegendVisibilityMessage: z.ZodObject<{
|
|
1933
|
+
type: z.ZodLiteral<"setLayerLegendVisibility">;
|
|
1934
|
+
params: z.ZodObject<{
|
|
1935
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1936
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1937
|
+
}, "strip", z.ZodTypeAny, {
|
|
1938
|
+
show?: string[] | undefined;
|
|
1939
|
+
hide?: string[] | undefined;
|
|
1940
|
+
}, {
|
|
1941
|
+
show?: string[] | undefined;
|
|
1942
|
+
hide?: string[] | undefined;
|
|
1943
|
+
}>;
|
|
1944
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1945
|
+
params: {
|
|
1946
|
+
show?: string[] | undefined;
|
|
1947
|
+
hide?: string[] | undefined;
|
|
1948
|
+
};
|
|
1949
|
+
type: "setLayerLegendVisibility";
|
|
1950
|
+
}, {
|
|
1951
|
+
params: {
|
|
1952
|
+
show?: string[] | undefined;
|
|
1953
|
+
hide?: string[] | undefined;
|
|
1954
|
+
};
|
|
1955
|
+
type: "setLayerLegendVisibility";
|
|
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;
|
|
1629
2179
|
}>;
|
|
1630
2180
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1631
2181
|
params: {
|
|
1632
2182
|
id: string;
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
};
|
|
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;
|
|
1636
2200
|
};
|
|
1637
|
-
type: "
|
|
2201
|
+
type: "updateLayer";
|
|
1638
2202
|
}, {
|
|
1639
2203
|
params: {
|
|
1640
2204
|
id: string;
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
};
|
|
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;
|
|
1644
2222
|
};
|
|
1645
|
-
type: "
|
|
2223
|
+
type: "updateLayer";
|
|
1646
2224
|
}>;
|
|
1647
|
-
declare const
|
|
1648
|
-
type: z.ZodLiteral<"
|
|
1649
|
-
params: z.
|
|
1650
|
-
show: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1651
|
-
hide: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1652
|
-
}, "strip", z.ZodTypeAny, {
|
|
1653
|
-
show?: string[] | undefined;
|
|
1654
|
-
hide?: string[] | undefined;
|
|
1655
|
-
}, {
|
|
1656
|
-
show?: string[] | undefined;
|
|
1657
|
-
hide?: string[] | undefined;
|
|
1658
|
-
}>;
|
|
2225
|
+
declare const DeleteLayerMessage: z.ZodObject<{
|
|
2226
|
+
type: z.ZodLiteral<"deleteLayer">;
|
|
2227
|
+
params: z.ZodString;
|
|
1659
2228
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1660
|
-
params:
|
|
1661
|
-
|
|
1662
|
-
hide?: string[] | undefined;
|
|
1663
|
-
};
|
|
1664
|
-
type: "setLayerLegendVisibility";
|
|
2229
|
+
params: string;
|
|
2230
|
+
type: "deleteLayer";
|
|
1665
2231
|
}, {
|
|
1666
|
-
params:
|
|
1667
|
-
|
|
1668
|
-
hide?: string[] | undefined;
|
|
1669
|
-
};
|
|
1670
|
-
type: "setLayerLegendVisibility";
|
|
2232
|
+
params: string;
|
|
2233
|
+
type: "deleteLayer";
|
|
1671
2234
|
}>;
|
|
1672
2235
|
declare const GetGroupMessage: z.ZodObject<{
|
|
1673
2236
|
type: z.ZodLiteral<"getLayerGroup">;
|
|
@@ -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,164 @@ 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 GetFeaturesMessage: z.ZodObject<{
|
|
2673
|
+
type: z.ZodLiteral<"getFeatures">;
|
|
2674
|
+
params: z.ZodObject<{
|
|
2675
|
+
layerId: z.ZodString;
|
|
2676
|
+
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]>>;
|
|
2677
|
+
sorting: z.ZodOptional<z.ZodObject<{
|
|
2678
|
+
attribute: z.ZodString;
|
|
2679
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
2680
|
+
}, "strip", z.ZodTypeAny, {
|
|
2681
|
+
attribute: string;
|
|
2682
|
+
direction: "asc" | "desc";
|
|
2683
|
+
}, {
|
|
2684
|
+
attribute: string;
|
|
2685
|
+
direction: "asc" | "desc";
|
|
2686
|
+
}>>;
|
|
2687
|
+
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2688
|
+
type: z.ZodLiteral<"Polygon">;
|
|
2689
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2690
|
+
}, "strip", z.ZodTypeAny, {
|
|
2691
|
+
type: "Polygon";
|
|
2692
|
+
coordinates: [number, number][][];
|
|
2693
|
+
}, {
|
|
2694
|
+
type: "Polygon";
|
|
2695
|
+
coordinates: [number, number][][];
|
|
2696
|
+
}>, z.ZodObject<{
|
|
2697
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
2698
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
2699
|
+
}, "strip", z.ZodTypeAny, {
|
|
2700
|
+
type: "MultiPolygon";
|
|
2701
|
+
coordinates: [number, number][][][];
|
|
2702
|
+
}, {
|
|
2703
|
+
type: "MultiPolygon";
|
|
2704
|
+
coordinates: [number, number][][][];
|
|
2705
|
+
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2706
|
+
search: z.ZodOptional<z.ZodString>;
|
|
2707
|
+
pagination: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
2708
|
+
}, "strip", z.ZodTypeAny, {
|
|
2709
|
+
layerId: string;
|
|
2710
|
+
search?: string | undefined;
|
|
2711
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2712
|
+
type: "Polygon";
|
|
2713
|
+
coordinates: [number, number][][];
|
|
2714
|
+
} | {
|
|
2715
|
+
type: "MultiPolygon";
|
|
2716
|
+
coordinates: [number, number][][][];
|
|
2717
|
+
} | undefined;
|
|
2718
|
+
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;
|
|
2719
|
+
sorting?: {
|
|
2720
|
+
attribute: string;
|
|
2721
|
+
direction: "asc" | "desc";
|
|
2722
|
+
} | undefined;
|
|
2723
|
+
pagination?: string | null | undefined;
|
|
2724
|
+
}, {
|
|
2725
|
+
layerId: string;
|
|
2726
|
+
search?: string | undefined;
|
|
2727
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2728
|
+
type: "Polygon";
|
|
2729
|
+
coordinates: [number, number][][];
|
|
2730
|
+
} | {
|
|
2731
|
+
type: "MultiPolygon";
|
|
2732
|
+
coordinates: [number, number][][][];
|
|
2733
|
+
} | undefined;
|
|
2734
|
+
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;
|
|
2735
|
+
sorting?: {
|
|
2736
|
+
attribute: string;
|
|
2737
|
+
direction: "asc" | "desc";
|
|
2738
|
+
} | undefined;
|
|
2739
|
+
pagination?: string | null | undefined;
|
|
2740
|
+
}>;
|
|
2741
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2742
|
+
params: {
|
|
2743
|
+
layerId: string;
|
|
2744
|
+
search?: string | undefined;
|
|
2745
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2746
|
+
type: "Polygon";
|
|
2747
|
+
coordinates: [number, number][][];
|
|
2748
|
+
} | {
|
|
2749
|
+
type: "MultiPolygon";
|
|
2750
|
+
coordinates: [number, number][][][];
|
|
2751
|
+
} | undefined;
|
|
2752
|
+
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;
|
|
2753
|
+
sorting?: {
|
|
2754
|
+
attribute: string;
|
|
2755
|
+
direction: "asc" | "desc";
|
|
2756
|
+
} | undefined;
|
|
2757
|
+
pagination?: string | null | undefined;
|
|
2758
|
+
};
|
|
2759
|
+
type: "getFeatures";
|
|
2760
|
+
}, {
|
|
2761
|
+
params: {
|
|
2762
|
+
layerId: string;
|
|
2763
|
+
search?: string | undefined;
|
|
2764
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2765
|
+
type: "Polygon";
|
|
2766
|
+
coordinates: [number, number][][];
|
|
2767
|
+
} | {
|
|
2768
|
+
type: "MultiPolygon";
|
|
2769
|
+
coordinates: [number, number][][][];
|
|
2770
|
+
} | undefined;
|
|
2771
|
+
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;
|
|
2772
|
+
sorting?: {
|
|
2773
|
+
attribute: string;
|
|
2774
|
+
direction: "asc" | "desc";
|
|
2775
|
+
} | undefined;
|
|
2776
|
+
pagination?: string | null | undefined;
|
|
2777
|
+
};
|
|
2778
|
+
type: "getFeatures";
|
|
2779
|
+
}>;
|
|
2780
|
+
declare const GetGeoJsonFeatureMessage: z.ZodObject<{
|
|
2781
|
+
type: z.ZodLiteral<"getGeoJsonFeature">;
|
|
2782
|
+
params: z.ZodObject<{
|
|
2783
|
+
id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
2784
|
+
layerId: z.ZodString;
|
|
2785
|
+
}, "strip", z.ZodTypeAny, {
|
|
2786
|
+
id: string | number;
|
|
2787
|
+
layerId: string;
|
|
2788
|
+
}, {
|
|
2789
|
+
id: string | number;
|
|
2790
|
+
layerId: string;
|
|
2791
|
+
}>;
|
|
2792
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2793
|
+
params: {
|
|
2794
|
+
id: string | number;
|
|
2795
|
+
layerId: string;
|
|
2796
|
+
};
|
|
2797
|
+
type: "getGeoJsonFeature";
|
|
2798
|
+
}, {
|
|
2799
|
+
params: {
|
|
2800
|
+
id: string | number;
|
|
2801
|
+
layerId: string;
|
|
2802
|
+
};
|
|
2803
|
+
type: "getGeoJsonFeature";
|
|
2804
|
+
}>;
|
|
2084
2805
|
declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
2085
2806
|
type: z.ZodLiteral<"getCategoryData">;
|
|
2086
2807
|
params: z.ZodObject<{
|
|
@@ -2089,25 +2810,43 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2089
2810
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2090
2811
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2091
2812
|
type: z.ZodLiteral<"Polygon">;
|
|
2092
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
2813
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2093
2814
|
}, "strip", z.ZodTypeAny, {
|
|
2094
2815
|
type: "Polygon";
|
|
2095
2816
|
coordinates: [number, number][][];
|
|
2096
2817
|
}, {
|
|
2097
2818
|
type: "Polygon";
|
|
2098
2819
|
coordinates: [number, number][][];
|
|
2820
|
+
}>, z.ZodObject<{
|
|
2821
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
2822
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
2823
|
+
}, "strip", z.ZodTypeAny, {
|
|
2824
|
+
type: "MultiPolygon";
|
|
2825
|
+
coordinates: [number, number][][][];
|
|
2826
|
+
}, {
|
|
2827
|
+
type: "MultiPolygon";
|
|
2828
|
+
coordinates: [number, number][][][];
|
|
2099
2829
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2100
2830
|
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
2831
|
values: z.ZodOptional<z.ZodObject<{
|
|
2102
2832
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2103
2833
|
type: z.ZodLiteral<"Polygon">;
|
|
2104
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
2834
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2105
2835
|
}, "strip", z.ZodTypeAny, {
|
|
2106
2836
|
type: "Polygon";
|
|
2107
2837
|
coordinates: [number, number][][];
|
|
2108
2838
|
}, {
|
|
2109
2839
|
type: "Polygon";
|
|
2110
2840
|
coordinates: [number, number][][];
|
|
2841
|
+
}>, z.ZodObject<{
|
|
2842
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
2843
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
2844
|
+
}, "strip", z.ZodTypeAny, {
|
|
2845
|
+
type: "MultiPolygon";
|
|
2846
|
+
coordinates: [number, number][][][];
|
|
2847
|
+
}, {
|
|
2848
|
+
type: "MultiPolygon";
|
|
2849
|
+
coordinates: [number, number][][][];
|
|
2111
2850
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2112
2851
|
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
2852
|
aggregation: z.ZodOptional<z.ZodObject<{
|
|
@@ -2121,20 +2860,26 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2121
2860
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2122
2861
|
}>>;
|
|
2123
2862
|
}, "strip", z.ZodTypeAny, {
|
|
2124
|
-
boundary?: [number, number][] | {
|
|
2863
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2125
2864
|
type: "Polygon";
|
|
2126
2865
|
coordinates: [number, number][][];
|
|
2127
|
-
} |
|
|
2866
|
+
} | {
|
|
2867
|
+
type: "MultiPolygon";
|
|
2868
|
+
coordinates: [number, number][][][];
|
|
2869
|
+
} | undefined;
|
|
2128
2870
|
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
2871
|
aggregation?: {
|
|
2130
2872
|
attribute: string;
|
|
2131
2873
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2132
2874
|
} | undefined;
|
|
2133
2875
|
}, {
|
|
2134
|
-
boundary?: [number, number][] | {
|
|
2876
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2135
2877
|
type: "Polygon";
|
|
2136
2878
|
coordinates: [number, number][][];
|
|
2137
|
-
} |
|
|
2879
|
+
} | {
|
|
2880
|
+
type: "MultiPolygon";
|
|
2881
|
+
coordinates: [number, number][][][];
|
|
2882
|
+
} | undefined;
|
|
2138
2883
|
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
2884
|
aggregation?: {
|
|
2140
2885
|
attribute: string;
|
|
@@ -2145,40 +2890,52 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2145
2890
|
attribute: string;
|
|
2146
2891
|
layerId: string;
|
|
2147
2892
|
values?: {
|
|
2148
|
-
boundary?: [number, number][] | {
|
|
2893
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2149
2894
|
type: "Polygon";
|
|
2150
2895
|
coordinates: [number, number][][];
|
|
2151
|
-
} |
|
|
2896
|
+
} | {
|
|
2897
|
+
type: "MultiPolygon";
|
|
2898
|
+
coordinates: [number, number][][][];
|
|
2899
|
+
} | undefined;
|
|
2152
2900
|
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
2901
|
aggregation?: {
|
|
2154
2902
|
attribute: string;
|
|
2155
2903
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2156
2904
|
} | undefined;
|
|
2157
2905
|
} | undefined;
|
|
2158
|
-
boundary?: [number, number][] | {
|
|
2906
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2159
2907
|
type: "Polygon";
|
|
2160
2908
|
coordinates: [number, number][][];
|
|
2161
|
-
} |
|
|
2909
|
+
} | {
|
|
2910
|
+
type: "MultiPolygon";
|
|
2911
|
+
coordinates: [number, number][][][];
|
|
2912
|
+
} | undefined;
|
|
2162
2913
|
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
2914
|
limit?: number | undefined;
|
|
2164
2915
|
}, {
|
|
2165
2916
|
attribute: string;
|
|
2166
2917
|
layerId: string;
|
|
2167
2918
|
values?: {
|
|
2168
|
-
boundary?: [number, number][] | {
|
|
2919
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2169
2920
|
type: "Polygon";
|
|
2170
2921
|
coordinates: [number, number][][];
|
|
2171
|
-
} |
|
|
2922
|
+
} | {
|
|
2923
|
+
type: "MultiPolygon";
|
|
2924
|
+
coordinates: [number, number][][][];
|
|
2925
|
+
} | undefined;
|
|
2172
2926
|
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
2927
|
aggregation?: {
|
|
2174
2928
|
attribute: string;
|
|
2175
2929
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2176
2930
|
} | undefined;
|
|
2177
2931
|
} | undefined;
|
|
2178
|
-
boundary?: [number, number][] | {
|
|
2932
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2179
2933
|
type: "Polygon";
|
|
2180
2934
|
coordinates: [number, number][][];
|
|
2181
|
-
} |
|
|
2935
|
+
} | {
|
|
2936
|
+
type: "MultiPolygon";
|
|
2937
|
+
coordinates: [number, number][][][];
|
|
2938
|
+
} | undefined;
|
|
2182
2939
|
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
2940
|
limit?: number | undefined;
|
|
2184
2941
|
}>;
|
|
@@ -2187,20 +2944,26 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2187
2944
|
attribute: string;
|
|
2188
2945
|
layerId: string;
|
|
2189
2946
|
values?: {
|
|
2190
|
-
boundary?: [number, number][] | {
|
|
2947
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2191
2948
|
type: "Polygon";
|
|
2192
2949
|
coordinates: [number, number][][];
|
|
2193
|
-
} |
|
|
2950
|
+
} | {
|
|
2951
|
+
type: "MultiPolygon";
|
|
2952
|
+
coordinates: [number, number][][][];
|
|
2953
|
+
} | undefined;
|
|
2194
2954
|
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
2955
|
aggregation?: {
|
|
2196
2956
|
attribute: string;
|
|
2197
2957
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2198
2958
|
} | undefined;
|
|
2199
2959
|
} | undefined;
|
|
2200
|
-
boundary?: [number, number][] | {
|
|
2960
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2201
2961
|
type: "Polygon";
|
|
2202
2962
|
coordinates: [number, number][][];
|
|
2203
|
-
} |
|
|
2963
|
+
} | {
|
|
2964
|
+
type: "MultiPolygon";
|
|
2965
|
+
coordinates: [number, number][][][];
|
|
2966
|
+
} | undefined;
|
|
2204
2967
|
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
2968
|
limit?: number | undefined;
|
|
2206
2969
|
};
|
|
@@ -2210,20 +2973,26 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2210
2973
|
attribute: string;
|
|
2211
2974
|
layerId: string;
|
|
2212
2975
|
values?: {
|
|
2213
|
-
boundary?: [number, number][] | {
|
|
2976
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2214
2977
|
type: "Polygon";
|
|
2215
2978
|
coordinates: [number, number][][];
|
|
2216
|
-
} |
|
|
2979
|
+
} | {
|
|
2980
|
+
type: "MultiPolygon";
|
|
2981
|
+
coordinates: [number, number][][][];
|
|
2982
|
+
} | undefined;
|
|
2217
2983
|
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
2984
|
aggregation?: {
|
|
2219
2985
|
attribute: string;
|
|
2220
2986
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2221
2987
|
} | undefined;
|
|
2222
2988
|
} | undefined;
|
|
2223
|
-
boundary?: [number, number][] | {
|
|
2989
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2224
2990
|
type: "Polygon";
|
|
2225
2991
|
coordinates: [number, number][][];
|
|
2226
|
-
} |
|
|
2992
|
+
} | {
|
|
2993
|
+
type: "MultiPolygon";
|
|
2994
|
+
coordinates: [number, number][][][];
|
|
2995
|
+
} | undefined;
|
|
2227
2996
|
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
2997
|
limit?: number | undefined;
|
|
2229
2998
|
};
|
|
@@ -2255,25 +3024,43 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2255
3024
|
}>, z.ZodArray<z.ZodNumber, "many">]>;
|
|
2256
3025
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2257
3026
|
type: z.ZodLiteral<"Polygon">;
|
|
2258
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
3027
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2259
3028
|
}, "strip", z.ZodTypeAny, {
|
|
2260
3029
|
type: "Polygon";
|
|
2261
3030
|
coordinates: [number, number][][];
|
|
2262
3031
|
}, {
|
|
2263
3032
|
type: "Polygon";
|
|
2264
3033
|
coordinates: [number, number][][];
|
|
3034
|
+
}>, z.ZodObject<{
|
|
3035
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
3036
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
3037
|
+
}, "strip", z.ZodTypeAny, {
|
|
3038
|
+
type: "MultiPolygon";
|
|
3039
|
+
coordinates: [number, number][][][];
|
|
3040
|
+
}, {
|
|
3041
|
+
type: "MultiPolygon";
|
|
3042
|
+
coordinates: [number, number][][][];
|
|
2265
3043
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2266
3044
|
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
3045
|
values: z.ZodOptional<z.ZodObject<{
|
|
2268
3046
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2269
3047
|
type: z.ZodLiteral<"Polygon">;
|
|
2270
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
3048
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2271
3049
|
}, "strip", z.ZodTypeAny, {
|
|
2272
3050
|
type: "Polygon";
|
|
2273
3051
|
coordinates: [number, number][][];
|
|
2274
3052
|
}, {
|
|
2275
3053
|
type: "Polygon";
|
|
2276
3054
|
coordinates: [number, number][][];
|
|
3055
|
+
}>, z.ZodObject<{
|
|
3056
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
3057
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
3058
|
+
}, "strip", z.ZodTypeAny, {
|
|
3059
|
+
type: "MultiPolygon";
|
|
3060
|
+
coordinates: [number, number][][][];
|
|
3061
|
+
}, {
|
|
3062
|
+
type: "MultiPolygon";
|
|
3063
|
+
coordinates: [number, number][][][];
|
|
2277
3064
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2278
3065
|
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
3066
|
aggregation: z.ZodOptional<z.ZodObject<{
|
|
@@ -2287,20 +3074,26 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2287
3074
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2288
3075
|
}>>;
|
|
2289
3076
|
}, "strip", z.ZodTypeAny, {
|
|
2290
|
-
boundary?: [number, number][] | {
|
|
3077
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2291
3078
|
type: "Polygon";
|
|
2292
3079
|
coordinates: [number, number][][];
|
|
2293
|
-
} |
|
|
3080
|
+
} | {
|
|
3081
|
+
type: "MultiPolygon";
|
|
3082
|
+
coordinates: [number, number][][][];
|
|
3083
|
+
} | undefined;
|
|
2294
3084
|
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
3085
|
aggregation?: {
|
|
2296
3086
|
attribute: string;
|
|
2297
3087
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2298
3088
|
} | undefined;
|
|
2299
3089
|
}, {
|
|
2300
|
-
boundary?: [number, number][] | {
|
|
3090
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2301
3091
|
type: "Polygon";
|
|
2302
3092
|
coordinates: [number, number][][];
|
|
2303
|
-
} |
|
|
3093
|
+
} | {
|
|
3094
|
+
type: "MultiPolygon";
|
|
3095
|
+
coordinates: [number, number][][][];
|
|
3096
|
+
} | undefined;
|
|
2304
3097
|
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
3098
|
aggregation?: {
|
|
2306
3099
|
attribute: string;
|
|
@@ -2318,20 +3111,26 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2318
3111
|
interval: "hour" | "day" | "week" | "month" | "year";
|
|
2319
3112
|
};
|
|
2320
3113
|
values?: {
|
|
2321
|
-
boundary?: [number, number][] | {
|
|
3114
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2322
3115
|
type: "Polygon";
|
|
2323
3116
|
coordinates: [number, number][][];
|
|
2324
|
-
} |
|
|
3117
|
+
} | {
|
|
3118
|
+
type: "MultiPolygon";
|
|
3119
|
+
coordinates: [number, number][][][];
|
|
3120
|
+
} | undefined;
|
|
2325
3121
|
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
3122
|
aggregation?: {
|
|
2327
3123
|
attribute: string;
|
|
2328
3124
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2329
3125
|
} | undefined;
|
|
2330
3126
|
} | undefined;
|
|
2331
|
-
boundary?: [number, number][] | {
|
|
3127
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2332
3128
|
type: "Polygon";
|
|
2333
3129
|
coordinates: [number, number][][];
|
|
2334
|
-
} |
|
|
3130
|
+
} | {
|
|
3131
|
+
type: "MultiPolygon";
|
|
3132
|
+
coordinates: [number, number][][][];
|
|
3133
|
+
} | undefined;
|
|
2335
3134
|
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
3135
|
}, {
|
|
2337
3136
|
attribute: string;
|
|
@@ -2344,20 +3143,26 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2344
3143
|
interval: "hour" | "day" | "week" | "month" | "year";
|
|
2345
3144
|
};
|
|
2346
3145
|
values?: {
|
|
2347
|
-
boundary?: [number, number][] | {
|
|
3146
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2348
3147
|
type: "Polygon";
|
|
2349
3148
|
coordinates: [number, number][][];
|
|
2350
|
-
} |
|
|
3149
|
+
} | {
|
|
3150
|
+
type: "MultiPolygon";
|
|
3151
|
+
coordinates: [number, number][][][];
|
|
3152
|
+
} | undefined;
|
|
2351
3153
|
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
3154
|
aggregation?: {
|
|
2353
3155
|
attribute: string;
|
|
2354
3156
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2355
3157
|
} | undefined;
|
|
2356
3158
|
} | undefined;
|
|
2357
|
-
boundary?: [number, number][] | {
|
|
3159
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2358
3160
|
type: "Polygon";
|
|
2359
3161
|
coordinates: [number, number][][];
|
|
2360
|
-
} |
|
|
3162
|
+
} | {
|
|
3163
|
+
type: "MultiPolygon";
|
|
3164
|
+
coordinates: [number, number][][][];
|
|
3165
|
+
} | undefined;
|
|
2361
3166
|
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
3167
|
}>;
|
|
2363
3168
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -2372,20 +3177,26 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2372
3177
|
interval: "hour" | "day" | "week" | "month" | "year";
|
|
2373
3178
|
};
|
|
2374
3179
|
values?: {
|
|
2375
|
-
boundary?: [number, number][] | {
|
|
3180
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2376
3181
|
type: "Polygon";
|
|
2377
3182
|
coordinates: [number, number][][];
|
|
2378
|
-
} |
|
|
3183
|
+
} | {
|
|
3184
|
+
type: "MultiPolygon";
|
|
3185
|
+
coordinates: [number, number][][][];
|
|
3186
|
+
} | undefined;
|
|
2379
3187
|
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
3188
|
aggregation?: {
|
|
2381
3189
|
attribute: string;
|
|
2382
3190
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2383
3191
|
} | undefined;
|
|
2384
3192
|
} | undefined;
|
|
2385
|
-
boundary?: [number, number][] | {
|
|
3193
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2386
3194
|
type: "Polygon";
|
|
2387
3195
|
coordinates: [number, number][][];
|
|
2388
|
-
} |
|
|
3196
|
+
} | {
|
|
3197
|
+
type: "MultiPolygon";
|
|
3198
|
+
coordinates: [number, number][][][];
|
|
3199
|
+
} | undefined;
|
|
2389
3200
|
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
3201
|
};
|
|
2391
3202
|
type: "getHistogramData";
|
|
@@ -2401,20 +3212,26 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2401
3212
|
interval: "hour" | "day" | "week" | "month" | "year";
|
|
2402
3213
|
};
|
|
2403
3214
|
values?: {
|
|
2404
|
-
boundary?: [number, number][] | {
|
|
3215
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2405
3216
|
type: "Polygon";
|
|
2406
3217
|
coordinates: [number, number][][];
|
|
2407
|
-
} |
|
|
3218
|
+
} | {
|
|
3219
|
+
type: "MultiPolygon";
|
|
3220
|
+
coordinates: [number, number][][][];
|
|
3221
|
+
} | undefined;
|
|
2408
3222
|
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
3223
|
aggregation?: {
|
|
2410
3224
|
attribute: string;
|
|
2411
3225
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2412
3226
|
} | undefined;
|
|
2413
3227
|
} | undefined;
|
|
2414
|
-
boundary?: [number, number][] | {
|
|
3228
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2415
3229
|
type: "Polygon";
|
|
2416
3230
|
coordinates: [number, number][][];
|
|
2417
|
-
} |
|
|
3231
|
+
} | {
|
|
3232
|
+
type: "MultiPolygon";
|
|
3233
|
+
coordinates: [number, number][][][];
|
|
3234
|
+
} | undefined;
|
|
2418
3235
|
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
3236
|
};
|
|
2420
3237
|
type: "getHistogramData";
|
|
@@ -2425,13 +3242,22 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
|
|
|
2425
3242
|
layerId: z.ZodString;
|
|
2426
3243
|
boundary: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
2427
3244
|
type: z.ZodLiteral<"Polygon">;
|
|
2428
|
-
coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
|
|
3245
|
+
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|
|
2429
3246
|
}, "strip", z.ZodTypeAny, {
|
|
2430
3247
|
type: "Polygon";
|
|
2431
3248
|
coordinates: [number, number][][];
|
|
2432
3249
|
}, {
|
|
2433
3250
|
type: "Polygon";
|
|
2434
3251
|
coordinates: [number, number][][];
|
|
3252
|
+
}>, z.ZodObject<{
|
|
3253
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
3254
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
3255
|
+
}, "strip", z.ZodTypeAny, {
|
|
3256
|
+
type: "MultiPolygon";
|
|
3257
|
+
coordinates: [number, number][][][];
|
|
3258
|
+
}, {
|
|
3259
|
+
type: "MultiPolygon";
|
|
3260
|
+
coordinates: [number, number][][][];
|
|
2435
3261
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2436
3262
|
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
3263
|
aggregation: z.ZodObject<{
|
|
@@ -2445,57 +3271,79 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
|
|
|
2445
3271
|
attribute?: string | undefined;
|
|
2446
3272
|
}>;
|
|
2447
3273
|
}, "strip", z.ZodTypeAny, {
|
|
2448
|
-
layerId: string;
|
|
2449
3274
|
aggregation: {
|
|
2450
3275
|
methods: ("avg" | "max" | "min" | "sum" | "median" | "count")[];
|
|
2451
3276
|
attribute?: string | undefined;
|
|
2452
3277
|
};
|
|
2453
|
-
|
|
3278
|
+
layerId: string;
|
|
3279
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2454
3280
|
type: "Polygon";
|
|
2455
3281
|
coordinates: [number, number][][];
|
|
2456
|
-
} |
|
|
3282
|
+
} | {
|
|
3283
|
+
type: "MultiPolygon";
|
|
3284
|
+
coordinates: [number, number][][][];
|
|
3285
|
+
} | undefined;
|
|
2457
3286
|
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
3287
|
}, {
|
|
2459
|
-
layerId: string;
|
|
2460
3288
|
aggregation: {
|
|
2461
3289
|
methods: ("avg" | "max" | "min" | "sum" | "median" | "count")[];
|
|
2462
3290
|
attribute?: string | undefined;
|
|
2463
3291
|
};
|
|
2464
|
-
|
|
3292
|
+
layerId: string;
|
|
3293
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2465
3294
|
type: "Polygon";
|
|
2466
3295
|
coordinates: [number, number][][];
|
|
2467
|
-
} |
|
|
3296
|
+
} | {
|
|
3297
|
+
type: "MultiPolygon";
|
|
3298
|
+
coordinates: [number, number][][][];
|
|
3299
|
+
} | undefined;
|
|
2468
3300
|
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
3301
|
}>;
|
|
2470
3302
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2471
3303
|
params: {
|
|
2472
|
-
layerId: string;
|
|
2473
3304
|
aggregation: {
|
|
2474
3305
|
methods: ("avg" | "max" | "min" | "sum" | "median" | "count")[];
|
|
2475
3306
|
attribute?: string | undefined;
|
|
2476
3307
|
};
|
|
2477
|
-
|
|
3308
|
+
layerId: string;
|
|
3309
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2478
3310
|
type: "Polygon";
|
|
2479
3311
|
coordinates: [number, number][][];
|
|
2480
|
-
} |
|
|
3312
|
+
} | {
|
|
3313
|
+
type: "MultiPolygon";
|
|
3314
|
+
coordinates: [number, number][][][];
|
|
3315
|
+
} | undefined;
|
|
2481
3316
|
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
3317
|
};
|
|
2483
3318
|
type: "getAggregates";
|
|
2484
3319
|
}, {
|
|
2485
3320
|
params: {
|
|
2486
|
-
layerId: string;
|
|
2487
3321
|
aggregation: {
|
|
2488
3322
|
methods: ("avg" | "max" | "min" | "sum" | "median" | "count")[];
|
|
2489
3323
|
attribute?: string | undefined;
|
|
2490
3324
|
};
|
|
2491
|
-
|
|
3325
|
+
layerId: string;
|
|
3326
|
+
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2492
3327
|
type: "Polygon";
|
|
2493
3328
|
coordinates: [number, number][][];
|
|
2494
|
-
} |
|
|
3329
|
+
} | {
|
|
3330
|
+
type: "MultiPolygon";
|
|
3331
|
+
coordinates: [number, number][][][];
|
|
3332
|
+
} | undefined;
|
|
2495
3333
|
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
3334
|
};
|
|
2497
3335
|
type: "getAggregates";
|
|
2498
3336
|
}>;
|
|
3337
|
+
declare const GetLayerSchemaMessage: z.ZodObject<{
|
|
3338
|
+
type: z.ZodLiteral<"getLayerSchema">;
|
|
3339
|
+
params: z.ZodString;
|
|
3340
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3341
|
+
params: string;
|
|
3342
|
+
type: "getLayerSchema";
|
|
3343
|
+
}, {
|
|
3344
|
+
params: string;
|
|
3345
|
+
type: "getLayerSchema";
|
|
3346
|
+
}>;
|
|
2499
3347
|
type LayersSchema = {
|
|
2500
3348
|
methods: {
|
|
2501
3349
|
getLayer: Method<zInfer<typeof GetLayerMessage>, Layer | null>;
|
|
@@ -2503,6 +3351,12 @@ type LayersSchema = {
|
|
|
2503
3351
|
setLayerVisibility: Method<zInfer<typeof SetLayerVisibilityMessage>, void>;
|
|
2504
3352
|
setLayerStyle: Method<zInfer<typeof SetLayerStyleMessage>, void>;
|
|
2505
3353
|
setLayerLegendVisibility: Method<zInfer<typeof SetLayerLegendVisibilityMessage>, void>;
|
|
3354
|
+
createLayersFromGeoJson: Method<zInfer<typeof CreateLayersFromGeoJsonMessage>, {
|
|
3355
|
+
layerGroup: LayerGroup;
|
|
3356
|
+
layers: Array<Layer>;
|
|
3357
|
+
} | null>;
|
|
3358
|
+
updateLayer: Method<zInfer<typeof UpdateLayerMessage>, Layer>;
|
|
3359
|
+
deleteLayer: Method<zInfer<typeof DeleteLayerMessage>, void>;
|
|
2506
3360
|
getLayerGroup: Method<zInfer<typeof GetGroupMessage>, LayerGroup | null>;
|
|
2507
3361
|
getLayerGroups: Method<zInfer<typeof GetGroupsMessage>, Array<LayerGroup | null>>;
|
|
2508
3362
|
setLayerGroupVisibility: Method<zInfer<typeof SetLayerGroupVisibilityMessage>, void>;
|
|
@@ -2512,10 +3366,14 @@ type LayersSchema = {
|
|
|
2512
3366
|
setLegendItemVisibility: Method<zInfer<typeof SetLegendItemVisibilityMessage>, void>;
|
|
2513
3367
|
getLayerFilters: Method<zInfer<typeof GetFiltersMessage>, LayerFilters | null>;
|
|
2514
3368
|
setLayerFilters: Method<zInfer<typeof SetFiltersMessage>, void>;
|
|
2515
|
-
getRenderedFeatures: Method<zInfer<typeof GetRenderedFeaturesMessage>, Array<
|
|
3369
|
+
getRenderedFeatures: Method<zInfer<typeof GetRenderedFeaturesMessage>, Array<LayerFeature>>;
|
|
3370
|
+
getFeature: Method<zInfer<typeof GetFeatureMessage>, LayerFeature | null>;
|
|
3371
|
+
getFeatures: Method<zInfer<typeof GetFeaturesMessage>, UnwrapPromise<ReturnType<LayersController["getFeatures"]>>>;
|
|
3372
|
+
getGeoJsonFeature: Method<zInfer<typeof GetGeoJsonFeatureMessage>, GeoJsonFeature | null>;
|
|
2516
3373
|
getCategoryData: Method<zInfer<typeof GetLayerCategoriesMessage>, Array<GetLayerCategoriesGroup>>;
|
|
2517
3374
|
getHistogramData: Method<zInfer<typeof GetLayerHistogramMessage>, Array<GetLayerHistogramBin>>;
|
|
2518
3375
|
getAggregates: Method<zInfer<typeof GetLayerCalculationMessage>, Record<AggregationMethod | "count", number | null>>;
|
|
3376
|
+
getLayerSchema: Method<zInfer<typeof GetLayerSchemaMessage>, LayerSchema>;
|
|
2519
3377
|
};
|
|
2520
3378
|
listeners: {
|
|
2521
3379
|
onLayerChange: Listener<zInfer<typeof OnLayerChangeMessage.shape.options>, LayerChangeCallbackParams>;
|
|
@@ -2708,8 +3566,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2708
3566
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
2709
3567
|
strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
|
|
2710
3568
|
distanceMarker: z.ZodOptional<z.ZodBoolean>;
|
|
2711
|
-
endCaps: z.ZodOptional<z.ZodBoolean>;
|
|
2712
3569
|
routingMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["driving", "cycling", "walking", "flying"]>>>;
|
|
3570
|
+
endCaps: z.ZodOptional<z.ZodBoolean>;
|
|
2713
3571
|
}, {
|
|
2714
3572
|
tool: z.ZodLiteral<"route">;
|
|
2715
3573
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -2719,8 +3577,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2719
3577
|
strokeWidth?: number | undefined;
|
|
2720
3578
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
2721
3579
|
distanceMarker?: boolean | undefined;
|
|
2722
|
-
endCaps?: boolean | undefined;
|
|
2723
3580
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
3581
|
+
endCaps?: boolean | undefined;
|
|
2724
3582
|
}, {
|
|
2725
3583
|
tool: "route";
|
|
2726
3584
|
color?: string | undefined;
|
|
@@ -2728,8 +3586,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2728
3586
|
strokeWidth?: number | undefined;
|
|
2729
3587
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
2730
3588
|
distanceMarker?: boolean | undefined;
|
|
2731
|
-
endCaps?: boolean | undefined;
|
|
2732
3589
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
3590
|
+
endCaps?: boolean | undefined;
|
|
2733
3591
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2734
3592
|
color: z.ZodOptional<z.ZodString>;
|
|
2735
3593
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2799,6 +3657,7 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2799
3657
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2800
3658
|
color: z.ZodOptional<z.ZodString>;
|
|
2801
3659
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
3660
|
+
renderHoles: z.ZodOptional<z.ZodBoolean>;
|
|
2802
3661
|
size: z.ZodOptional<z.ZodNumber>;
|
|
2803
3662
|
}, {
|
|
2804
3663
|
tool: z.ZodLiteral<"highlighter">;
|
|
@@ -2807,11 +3666,13 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2807
3666
|
color?: string | undefined;
|
|
2808
3667
|
opacity?: number | undefined;
|
|
2809
3668
|
size?: number | undefined;
|
|
3669
|
+
renderHoles?: boolean | undefined;
|
|
2810
3670
|
}, {
|
|
2811
3671
|
tool: "highlighter";
|
|
2812
3672
|
color?: string | undefined;
|
|
2813
3673
|
opacity?: number | undefined;
|
|
2814
3674
|
size?: number | undefined;
|
|
3675
|
+
renderHoles?: boolean | undefined;
|
|
2815
3676
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2816
3677
|
color: z.ZodOptional<z.ZodString>;
|
|
2817
3678
|
align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
|
@@ -2821,12 +3682,12 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2821
3682
|
}>, "strip", z.ZodTypeAny, {
|
|
2822
3683
|
tool: "text";
|
|
2823
3684
|
color?: string | undefined;
|
|
2824
|
-
align?: "
|
|
3685
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2825
3686
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2826
3687
|
}, {
|
|
2827
3688
|
tool: "text";
|
|
2828
3689
|
color?: string | undefined;
|
|
2829
|
-
align?: "
|
|
3690
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2830
3691
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2831
3692
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2832
3693
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -2837,12 +3698,12 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2837
3698
|
}>, "strip", z.ZodTypeAny, {
|
|
2838
3699
|
tool: "note";
|
|
2839
3700
|
color?: string | undefined;
|
|
2840
|
-
align?: "
|
|
3701
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2841
3702
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2842
3703
|
}, {
|
|
2843
3704
|
tool: "note";
|
|
2844
3705
|
color?: string | undefined;
|
|
2845
|
-
align?: "
|
|
3706
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2846
3707
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2847
3708
|
}>]>;
|
|
2848
3709
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -2866,8 +3727,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2866
3727
|
strokeWidth?: number | undefined;
|
|
2867
3728
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
2868
3729
|
distanceMarker?: boolean | undefined;
|
|
2869
|
-
endCaps?: boolean | undefined;
|
|
2870
3730
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
3731
|
+
endCaps?: boolean | undefined;
|
|
2871
3732
|
} | {
|
|
2872
3733
|
tool: "polygon";
|
|
2873
3734
|
color?: string | undefined;
|
|
@@ -2894,15 +3755,16 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2894
3755
|
color?: string | undefined;
|
|
2895
3756
|
opacity?: number | undefined;
|
|
2896
3757
|
size?: number | undefined;
|
|
3758
|
+
renderHoles?: boolean | undefined;
|
|
2897
3759
|
} | {
|
|
2898
3760
|
tool: "text";
|
|
2899
3761
|
color?: string | undefined;
|
|
2900
|
-
align?: "
|
|
3762
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2901
3763
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2902
3764
|
} | {
|
|
2903
3765
|
tool: "note";
|
|
2904
3766
|
color?: string | undefined;
|
|
2905
|
-
align?: "
|
|
3767
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2906
3768
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2907
3769
|
};
|
|
2908
3770
|
type: "setToolSettings";
|
|
@@ -2927,8 +3789,8 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2927
3789
|
strokeWidth?: number | undefined;
|
|
2928
3790
|
strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
2929
3791
|
distanceMarker?: boolean | undefined;
|
|
2930
|
-
endCaps?: boolean | undefined;
|
|
2931
3792
|
routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
|
|
3793
|
+
endCaps?: boolean | undefined;
|
|
2932
3794
|
} | {
|
|
2933
3795
|
tool: "polygon";
|
|
2934
3796
|
color?: string | undefined;
|
|
@@ -2955,15 +3817,16 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2955
3817
|
color?: string | undefined;
|
|
2956
3818
|
opacity?: number | undefined;
|
|
2957
3819
|
size?: number | undefined;
|
|
3820
|
+
renderHoles?: boolean | undefined;
|
|
2958
3821
|
} | {
|
|
2959
3822
|
tool: "text";
|
|
2960
3823
|
color?: string | undefined;
|
|
2961
|
-
align?: "
|
|
3824
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2962
3825
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2963
3826
|
} | {
|
|
2964
3827
|
tool: "note";
|
|
2965
3828
|
color?: string | undefined;
|
|
2966
|
-
align?: "
|
|
3829
|
+
align?: "center" | "left" | "right" | undefined;
|
|
2967
3830
|
style?: "italic" | "light" | "regular" | "caps" | undefined;
|
|
2968
3831
|
};
|
|
2969
3832
|
type: "setToolSettings";
|
|
@@ -3167,34 +4030,34 @@ declare const GotoViewportMessage: z.ZodObject<{
|
|
|
3167
4030
|
}>>;
|
|
3168
4031
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
3169
4032
|
}, "strip", z.ZodTypeAny, {
|
|
3170
|
-
zoom?: number | undefined;
|
|
3171
4033
|
center?: {
|
|
3172
4034
|
latitude: number;
|
|
3173
4035
|
longitude: number;
|
|
3174
4036
|
} | undefined;
|
|
3175
|
-
}, {
|
|
3176
4037
|
zoom?: number | undefined;
|
|
4038
|
+
}, {
|
|
3177
4039
|
center?: {
|
|
3178
4040
|
latitude: number;
|
|
3179
4041
|
longitude: number;
|
|
3180
4042
|
} | undefined;
|
|
4043
|
+
zoom?: number | undefined;
|
|
3181
4044
|
}>;
|
|
3182
4045
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3183
4046
|
params: {
|
|
3184
|
-
zoom?: number | undefined;
|
|
3185
4047
|
center?: {
|
|
3186
4048
|
latitude: number;
|
|
3187
4049
|
longitude: number;
|
|
3188
4050
|
} | undefined;
|
|
4051
|
+
zoom?: number | undefined;
|
|
3189
4052
|
};
|
|
3190
4053
|
type: "setViewport";
|
|
3191
4054
|
}, {
|
|
3192
4055
|
params: {
|
|
3193
|
-
zoom?: number | undefined;
|
|
3194
4056
|
center?: {
|
|
3195
4057
|
latitude: number;
|
|
3196
4058
|
longitude: number;
|
|
3197
4059
|
} | undefined;
|
|
4060
|
+
zoom?: number | undefined;
|
|
3198
4061
|
};
|
|
3199
4062
|
type: "setViewport";
|
|
3200
4063
|
}>;
|
|
@@ -3360,7 +4223,7 @@ declare function createMessageHandler(feltWindow: Window, handlers: FeltHandlers
|
|
|
3360
4223
|
*
|
|
3361
4224
|
* @param message
|
|
3362
4225
|
*/
|
|
3363
|
-
onInvalidMessage?: (message: unknown) => void;
|
|
4226
|
+
onInvalidMessage?: (message: unknown, error: ZodError) => void;
|
|
3364
4227
|
}): VoidFunction;
|
|
3365
4228
|
|
|
3366
4229
|
export { createMessageHandler };
|