@feltmaps/js-sdk 1.5.0-next.7 → 1.5.0-next.9
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 +37 -2
- package/dist/client.d.ts +37 -2
- package/dist/client.js +1 -1
- package/dist/handler.cjs +1 -1
- package/dist/handler.d.cts +120 -1
- package/dist/handler.d.ts +120 -1
- package/dist/handler.js +1 -1
- package/dist/{types-XLCA2cX-.d.cts → types-6AWHhIPp.d.cts} +97 -0
- package/dist/{types-XLCA2cX-.d.ts → types-6AWHhIPp.d.ts} +97 -0
- package/handler.d.ts +120 -1
- package/handler.js +1 -1
- package/package.json +1 -1
- package/{types-XLCA2cX-.d.ts → types-6AWHhIPp.d.ts} +97 -0
package/handler.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { J as zInfer, E as Element, G as Geometry, b as ElementGroup, d as ElementChangeCallbackParams, e as ElementGroupChangeCallbackParams, M as MapInteractionEvent, L as Layer, j as LayerGroup, n as LegendItem, q as LayerFilters, s as Feature, u as GetLayerCategoriesGroup, w as GetLayerHistogramBin, A as AggregationMethod, i as LayerChangeCallbackParams, l as LayerGroupChangeCallbackParams, p as LegendItemChangeCallbackParams, ao as FilterTernary, y as MapDetails, z as EntityNode, T as ToolType, D as ToolSettingsMap, H as ToolSettingsChangeEvent, V as ViewportState, O as ViewportConstraints, aS as UnionToIntersection, aT as PromiseOrNot } from './types-
|
|
2
|
+
import { J as zInfer, E as Element, G as Geometry, b as ElementGroup, d as ElementChangeCallbackParams, e as ElementGroupChangeCallbackParams, M as MapInteractionEvent, L as Layer, j as LayerGroup, n as LegendItem, q as LayerFilters, s as Feature, u as GetLayerCategoriesGroup, w as GetLayerHistogramBin, A as AggregationMethod, i as LayerChangeCallbackParams, l as LayerGroupChangeCallbackParams, p as LegendItemChangeCallbackParams, ao as FilterTernary, y as MapDetails, z as EntityNode, T as ToolType, D as ToolSettingsMap, H as ToolSettingsChangeEvent, V as ViewportState, O as ViewportConstraints, aS as UnionToIntersection, aT as PromiseOrNot } from './types-6AWHhIPp.js';
|
|
3
3
|
|
|
4
4
|
type Method<TRequest extends {
|
|
5
5
|
type: string;
|
|
@@ -192,6 +192,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
192
192
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
193
193
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
194
194
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
195
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
195
196
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
196
197
|
frame: z.ZodOptional<z.ZodNullable<z.ZodEnum<["frame-circle", "frame-square"]>>>;
|
|
197
198
|
hideLabel: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -204,6 +205,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
204
205
|
name?: string | null | undefined;
|
|
205
206
|
description?: string | null | undefined;
|
|
206
207
|
attributes?: Record<string, unknown> | undefined;
|
|
208
|
+
interaction?: "default" | "locked" | undefined;
|
|
207
209
|
imageUrl?: string | null | undefined;
|
|
208
210
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
209
211
|
hideLabel?: boolean | undefined;
|
|
@@ -216,6 +218,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
216
218
|
name?: string | null | undefined;
|
|
217
219
|
description?: string | null | undefined;
|
|
218
220
|
attributes?: Record<string, unknown> | undefined;
|
|
221
|
+
interaction?: "default" | "locked" | undefined;
|
|
219
222
|
imageUrl?: string | null | undefined;
|
|
220
223
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
221
224
|
hideLabel?: boolean | undefined;
|
|
@@ -228,6 +231,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
228
231
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
229
232
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
230
233
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
234
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
231
235
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
236
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
233
237
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
@@ -243,6 +247,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
243
247
|
name?: string | null | undefined;
|
|
244
248
|
description?: string | null | undefined;
|
|
245
249
|
attributes?: Record<string, unknown> | undefined;
|
|
250
|
+
interaction?: "default" | "locked" | undefined;
|
|
246
251
|
imageUrl?: string | null | undefined;
|
|
247
252
|
strokeOpacity?: number | undefined;
|
|
248
253
|
strokeWidth?: number | undefined;
|
|
@@ -258,6 +263,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
258
263
|
name?: string | null | undefined;
|
|
259
264
|
description?: string | null | undefined;
|
|
260
265
|
attributes?: Record<string, unknown> | undefined;
|
|
266
|
+
interaction?: "default" | "locked" | undefined;
|
|
261
267
|
imageUrl?: string | null | undefined;
|
|
262
268
|
strokeOpacity?: number | undefined;
|
|
263
269
|
strokeWidth?: number | undefined;
|
|
@@ -274,6 +280,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
274
280
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
275
281
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
276
282
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
283
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
277
284
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
278
285
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
279
286
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
@@ -288,6 +295,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
288
295
|
name?: string | null | undefined;
|
|
289
296
|
description?: string | null | undefined;
|
|
290
297
|
attributes?: Record<string, unknown> | undefined;
|
|
298
|
+
interaction?: "default" | "locked" | undefined;
|
|
291
299
|
imageUrl?: string | null | undefined;
|
|
292
300
|
strokeOpacity?: number | undefined;
|
|
293
301
|
strokeWidth?: number | undefined;
|
|
@@ -302,6 +310,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
302
310
|
name?: string | null | undefined;
|
|
303
311
|
description?: string | null | undefined;
|
|
304
312
|
attributes?: Record<string, unknown> | undefined;
|
|
313
|
+
interaction?: "default" | "locked" | undefined;
|
|
305
314
|
imageUrl?: string | null | undefined;
|
|
306
315
|
strokeOpacity?: number | undefined;
|
|
307
316
|
strokeWidth?: number | undefined;
|
|
@@ -317,6 +326,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
317
326
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
318
327
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
319
328
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
329
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
320
330
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
321
331
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
322
332
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
@@ -335,6 +345,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
335
345
|
name?: string | null | undefined;
|
|
336
346
|
description?: string | null | undefined;
|
|
337
347
|
attributes?: Record<string, unknown> | undefined;
|
|
348
|
+
interaction?: "default" | "locked" | undefined;
|
|
338
349
|
imageUrl?: string | null | undefined;
|
|
339
350
|
strokeOpacity?: number | undefined;
|
|
340
351
|
strokeWidth?: number | undefined;
|
|
@@ -352,6 +363,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
352
363
|
name?: string | null | undefined;
|
|
353
364
|
description?: string | null | undefined;
|
|
354
365
|
attributes?: Record<string, unknown> | undefined;
|
|
366
|
+
interaction?: "default" | "locked" | undefined;
|
|
355
367
|
imageUrl?: string | null | undefined;
|
|
356
368
|
strokeOpacity?: number | undefined;
|
|
357
369
|
strokeWidth?: number | undefined;
|
|
@@ -369,6 +381,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
369
381
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
370
382
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
371
383
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
384
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
372
385
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
373
386
|
size: z.ZodOptional<z.ZodNumber>;
|
|
374
387
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
@@ -380,6 +393,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
380
393
|
name?: string | null | undefined;
|
|
381
394
|
description?: string | null | undefined;
|
|
382
395
|
attributes?: Record<string, unknown> | undefined;
|
|
396
|
+
interaction?: "default" | "locked" | undefined;
|
|
383
397
|
opacity?: number | undefined;
|
|
384
398
|
size?: number | undefined;
|
|
385
399
|
zoom?: number | undefined;
|
|
@@ -391,6 +405,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
391
405
|
name?: string | null | undefined;
|
|
392
406
|
description?: string | null | undefined;
|
|
393
407
|
attributes?: Record<string, unknown> | undefined;
|
|
408
|
+
interaction?: "default" | "locked" | undefined;
|
|
394
409
|
opacity?: number | undefined;
|
|
395
410
|
size?: number | undefined;
|
|
396
411
|
zoom?: number | undefined;
|
|
@@ -403,6 +418,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
403
418
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
404
419
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
405
420
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
421
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
406
422
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
407
423
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
408
424
|
type: "Highlighter";
|
|
@@ -412,6 +428,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
412
428
|
name?: string | null | undefined;
|
|
413
429
|
description?: string | null | undefined;
|
|
414
430
|
attributes?: Record<string, unknown> | undefined;
|
|
431
|
+
interaction?: "default" | "locked" | undefined;
|
|
415
432
|
opacity?: number | undefined;
|
|
416
433
|
}, {
|
|
417
434
|
type: "Highlighter";
|
|
@@ -421,6 +438,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
421
438
|
name?: string | null | undefined;
|
|
422
439
|
description?: string | null | undefined;
|
|
423
440
|
attributes?: Record<string, unknown> | undefined;
|
|
441
|
+
interaction?: "default" | "locked" | undefined;
|
|
424
442
|
opacity?: number | undefined;
|
|
425
443
|
}>, z.ZodObject<Omit<{
|
|
426
444
|
type: z.ZodLiteral<"Image">;
|
|
@@ -430,6 +448,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
430
448
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
431
449
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
432
450
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
451
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
433
452
|
imageUrl: z.ZodString;
|
|
434
453
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
435
454
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
@@ -440,6 +459,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
440
459
|
name?: string | null | undefined;
|
|
441
460
|
description?: string | null | undefined;
|
|
442
461
|
attributes?: Record<string, unknown> | undefined;
|
|
462
|
+
interaction?: "default" | "locked" | undefined;
|
|
443
463
|
opacity?: number | undefined;
|
|
444
464
|
}, {
|
|
445
465
|
type: "Image";
|
|
@@ -449,6 +469,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
449
469
|
name?: string | null | undefined;
|
|
450
470
|
description?: string | null | undefined;
|
|
451
471
|
attributes?: Record<string, unknown> | undefined;
|
|
472
|
+
interaction?: "default" | "locked" | undefined;
|
|
452
473
|
opacity?: number | undefined;
|
|
453
474
|
}>, z.ZodObject<Omit<Omit<{
|
|
454
475
|
type: z.ZodLiteral<"Text">;
|
|
@@ -459,6 +480,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
459
480
|
name: z.ZodOptional<z.ZodString>;
|
|
460
481
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
461
482
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
483
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
462
484
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
463
485
|
position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
464
486
|
rotation: z.ZodOptional<z.ZodNumber>;
|
|
@@ -473,6 +495,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
473
495
|
color?: string | undefined;
|
|
474
496
|
description?: string | null | undefined;
|
|
475
497
|
attributes?: Record<string, unknown> | undefined;
|
|
498
|
+
interaction?: "default" | "locked" | undefined;
|
|
476
499
|
zoom?: number | undefined;
|
|
477
500
|
position?: [number, number] | undefined;
|
|
478
501
|
rotation?: number | undefined;
|
|
@@ -486,6 +509,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
486
509
|
color?: string | undefined;
|
|
487
510
|
description?: string | null | undefined;
|
|
488
511
|
attributes?: Record<string, unknown> | undefined;
|
|
512
|
+
interaction?: "default" | "locked" | undefined;
|
|
489
513
|
zoom?: number | undefined;
|
|
490
514
|
position?: [number, number] | undefined;
|
|
491
515
|
rotation?: number | undefined;
|
|
@@ -501,6 +525,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
501
525
|
name: z.ZodOptional<z.ZodString>;
|
|
502
526
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
503
527
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
528
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
504
529
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
505
530
|
position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
506
531
|
rotation: z.ZodOptional<z.ZodNumber>;
|
|
@@ -516,6 +541,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
516
541
|
color?: string | undefined;
|
|
517
542
|
description?: string | null | undefined;
|
|
518
543
|
attributes?: Record<string, unknown> | undefined;
|
|
544
|
+
interaction?: "default" | "locked" | undefined;
|
|
519
545
|
zoom?: number | undefined;
|
|
520
546
|
position?: [number, number] | undefined;
|
|
521
547
|
rotation?: number | undefined;
|
|
@@ -530,6 +556,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
530
556
|
color?: string | undefined;
|
|
531
557
|
description?: string | null | undefined;
|
|
532
558
|
attributes?: Record<string, unknown> | undefined;
|
|
559
|
+
interaction?: "default" | "locked" | undefined;
|
|
533
560
|
zoom?: number | undefined;
|
|
534
561
|
position?: [number, number] | undefined;
|
|
535
562
|
rotation?: number | undefined;
|
|
@@ -548,6 +575,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
548
575
|
name?: string | null | undefined;
|
|
549
576
|
description?: string | null | undefined;
|
|
550
577
|
attributes?: Record<string, unknown> | undefined;
|
|
578
|
+
interaction?: "default" | "locked" | undefined;
|
|
551
579
|
imageUrl?: string | null | undefined;
|
|
552
580
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
553
581
|
hideLabel?: boolean | undefined;
|
|
@@ -559,6 +587,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
559
587
|
name?: string | null | undefined;
|
|
560
588
|
description?: string | null | undefined;
|
|
561
589
|
attributes?: Record<string, unknown> | undefined;
|
|
590
|
+
interaction?: "default" | "locked" | undefined;
|
|
562
591
|
imageUrl?: string | null | undefined;
|
|
563
592
|
strokeOpacity?: number | undefined;
|
|
564
593
|
strokeWidth?: number | undefined;
|
|
@@ -574,6 +603,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
574
603
|
name?: string | null | undefined;
|
|
575
604
|
description?: string | null | undefined;
|
|
576
605
|
attributes?: Record<string, unknown> | undefined;
|
|
606
|
+
interaction?: "default" | "locked" | undefined;
|
|
577
607
|
imageUrl?: string | null | undefined;
|
|
578
608
|
strokeOpacity?: number | undefined;
|
|
579
609
|
strokeWidth?: number | undefined;
|
|
@@ -589,6 +619,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
589
619
|
name?: string | null | undefined;
|
|
590
620
|
description?: string | null | undefined;
|
|
591
621
|
attributes?: Record<string, unknown> | undefined;
|
|
622
|
+
interaction?: "default" | "locked" | undefined;
|
|
592
623
|
imageUrl?: string | null | undefined;
|
|
593
624
|
strokeOpacity?: number | undefined;
|
|
594
625
|
strokeWidth?: number | undefined;
|
|
@@ -605,6 +636,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
605
636
|
name?: string | null | undefined;
|
|
606
637
|
description?: string | null | undefined;
|
|
607
638
|
attributes?: Record<string, unknown> | undefined;
|
|
639
|
+
interaction?: "default" | "locked" | undefined;
|
|
608
640
|
opacity?: number | undefined;
|
|
609
641
|
size?: number | undefined;
|
|
610
642
|
zoom?: number | undefined;
|
|
@@ -616,6 +648,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
616
648
|
name?: string | null | undefined;
|
|
617
649
|
description?: string | null | undefined;
|
|
618
650
|
attributes?: Record<string, unknown> | undefined;
|
|
651
|
+
interaction?: "default" | "locked" | undefined;
|
|
619
652
|
opacity?: number | undefined;
|
|
620
653
|
} | {
|
|
621
654
|
type: "Text";
|
|
@@ -624,6 +657,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
624
657
|
color?: string | undefined;
|
|
625
658
|
description?: string | null | undefined;
|
|
626
659
|
attributes?: Record<string, unknown> | undefined;
|
|
660
|
+
interaction?: "default" | "locked" | undefined;
|
|
627
661
|
zoom?: number | undefined;
|
|
628
662
|
position?: [number, number] | undefined;
|
|
629
663
|
rotation?: number | undefined;
|
|
@@ -637,6 +671,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
637
671
|
color?: string | undefined;
|
|
638
672
|
description?: string | null | undefined;
|
|
639
673
|
attributes?: Record<string, unknown> | undefined;
|
|
674
|
+
interaction?: "default" | "locked" | undefined;
|
|
640
675
|
zoom?: number | undefined;
|
|
641
676
|
position?: [number, number] | undefined;
|
|
642
677
|
rotation?: number | undefined;
|
|
@@ -652,6 +687,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
652
687
|
name?: string | null | undefined;
|
|
653
688
|
description?: string | null | undefined;
|
|
654
689
|
attributes?: Record<string, unknown> | undefined;
|
|
690
|
+
interaction?: "default" | "locked" | undefined;
|
|
655
691
|
opacity?: number | undefined;
|
|
656
692
|
};
|
|
657
693
|
type: "createElement";
|
|
@@ -665,6 +701,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
665
701
|
name?: string | null | undefined;
|
|
666
702
|
description?: string | null | undefined;
|
|
667
703
|
attributes?: Record<string, unknown> | undefined;
|
|
704
|
+
interaction?: "default" | "locked" | undefined;
|
|
668
705
|
imageUrl?: string | null | undefined;
|
|
669
706
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
670
707
|
hideLabel?: boolean | undefined;
|
|
@@ -676,6 +713,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
676
713
|
name?: string | null | undefined;
|
|
677
714
|
description?: string | null | undefined;
|
|
678
715
|
attributes?: Record<string, unknown> | undefined;
|
|
716
|
+
interaction?: "default" | "locked" | undefined;
|
|
679
717
|
imageUrl?: string | null | undefined;
|
|
680
718
|
strokeOpacity?: number | undefined;
|
|
681
719
|
strokeWidth?: number | undefined;
|
|
@@ -691,6 +729,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
691
729
|
name?: string | null | undefined;
|
|
692
730
|
description?: string | null | undefined;
|
|
693
731
|
attributes?: Record<string, unknown> | undefined;
|
|
732
|
+
interaction?: "default" | "locked" | undefined;
|
|
694
733
|
imageUrl?: string | null | undefined;
|
|
695
734
|
strokeOpacity?: number | undefined;
|
|
696
735
|
strokeWidth?: number | undefined;
|
|
@@ -706,6 +745,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
706
745
|
name?: string | null | undefined;
|
|
707
746
|
description?: string | null | undefined;
|
|
708
747
|
attributes?: Record<string, unknown> | undefined;
|
|
748
|
+
interaction?: "default" | "locked" | undefined;
|
|
709
749
|
imageUrl?: string | null | undefined;
|
|
710
750
|
strokeOpacity?: number | undefined;
|
|
711
751
|
strokeWidth?: number | undefined;
|
|
@@ -722,6 +762,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
722
762
|
name?: string | null | undefined;
|
|
723
763
|
description?: string | null | undefined;
|
|
724
764
|
attributes?: Record<string, unknown> | undefined;
|
|
765
|
+
interaction?: "default" | "locked" | undefined;
|
|
725
766
|
opacity?: number | undefined;
|
|
726
767
|
size?: number | undefined;
|
|
727
768
|
zoom?: number | undefined;
|
|
@@ -733,6 +774,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
733
774
|
name?: string | null | undefined;
|
|
734
775
|
description?: string | null | undefined;
|
|
735
776
|
attributes?: Record<string, unknown> | undefined;
|
|
777
|
+
interaction?: "default" | "locked" | undefined;
|
|
736
778
|
opacity?: number | undefined;
|
|
737
779
|
} | {
|
|
738
780
|
type: "Text";
|
|
@@ -741,6 +783,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
741
783
|
color?: string | undefined;
|
|
742
784
|
description?: string | null | undefined;
|
|
743
785
|
attributes?: Record<string, unknown> | undefined;
|
|
786
|
+
interaction?: "default" | "locked" | undefined;
|
|
744
787
|
zoom?: number | undefined;
|
|
745
788
|
position?: [number, number] | undefined;
|
|
746
789
|
rotation?: number | undefined;
|
|
@@ -754,6 +797,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
754
797
|
color?: string | undefined;
|
|
755
798
|
description?: string | null | undefined;
|
|
756
799
|
attributes?: Record<string, unknown> | undefined;
|
|
800
|
+
interaction?: "default" | "locked" | undefined;
|
|
757
801
|
zoom?: number | undefined;
|
|
758
802
|
position?: [number, number] | undefined;
|
|
759
803
|
rotation?: number | undefined;
|
|
@@ -769,6 +813,7 @@ declare const CreateElementMessage: z.ZodObject<{
|
|
|
769
813
|
name?: string | null | undefined;
|
|
770
814
|
description?: string | null | undefined;
|
|
771
815
|
attributes?: Record<string, unknown> | undefined;
|
|
816
|
+
interaction?: "default" | "locked" | undefined;
|
|
772
817
|
opacity?: number | undefined;
|
|
773
818
|
};
|
|
774
819
|
type: "createElement";
|
|
@@ -785,6 +830,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
785
830
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
786
831
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
787
832
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
833
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
788
834
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
789
835
|
frame: z.ZodOptional<z.ZodNullable<z.ZodEnum<["frame-circle", "frame-square"]>>>;
|
|
790
836
|
hideLabel: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -798,6 +844,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
798
844
|
name?: string | null | undefined;
|
|
799
845
|
description?: string | null | undefined;
|
|
800
846
|
attributes?: Record<string, unknown> | undefined;
|
|
847
|
+
interaction?: "default" | "locked" | undefined;
|
|
801
848
|
imageUrl?: string | null | undefined;
|
|
802
849
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
803
850
|
hideLabel?: boolean | undefined;
|
|
@@ -811,6 +858,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
811
858
|
name?: string | null | undefined;
|
|
812
859
|
description?: string | null | undefined;
|
|
813
860
|
attributes?: Record<string, unknown> | undefined;
|
|
861
|
+
interaction?: "default" | "locked" | undefined;
|
|
814
862
|
imageUrl?: string | null | undefined;
|
|
815
863
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
816
864
|
hideLabel?: boolean | undefined;
|
|
@@ -823,6 +871,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
823
871
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
824
872
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
825
873
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
874
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
826
875
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
827
876
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
828
877
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
@@ -839,6 +888,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
839
888
|
name?: string | null | undefined;
|
|
840
889
|
description?: string | null | undefined;
|
|
841
890
|
attributes?: Record<string, unknown> | undefined;
|
|
891
|
+
interaction?: "default" | "locked" | undefined;
|
|
842
892
|
imageUrl?: string | null | undefined;
|
|
843
893
|
strokeOpacity?: number | undefined;
|
|
844
894
|
strokeWidth?: number | undefined;
|
|
@@ -855,6 +905,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
855
905
|
name?: string | null | undefined;
|
|
856
906
|
description?: string | null | undefined;
|
|
857
907
|
attributes?: Record<string, unknown> | undefined;
|
|
908
|
+
interaction?: "default" | "locked" | undefined;
|
|
858
909
|
imageUrl?: string | null | undefined;
|
|
859
910
|
strokeOpacity?: number | undefined;
|
|
860
911
|
strokeWidth?: number | undefined;
|
|
@@ -871,6 +922,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
871
922
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
872
923
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
873
924
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
925
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
874
926
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
875
927
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
876
928
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
@@ -886,6 +938,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
886
938
|
name?: string | null | undefined;
|
|
887
939
|
description?: string | null | undefined;
|
|
888
940
|
attributes?: Record<string, unknown> | undefined;
|
|
941
|
+
interaction?: "default" | "locked" | undefined;
|
|
889
942
|
imageUrl?: string | null | undefined;
|
|
890
943
|
strokeOpacity?: number | undefined;
|
|
891
944
|
strokeWidth?: number | undefined;
|
|
@@ -901,6 +954,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
901
954
|
name?: string | null | undefined;
|
|
902
955
|
description?: string | null | undefined;
|
|
903
956
|
attributes?: Record<string, unknown> | undefined;
|
|
957
|
+
interaction?: "default" | "locked" | undefined;
|
|
904
958
|
imageUrl?: string | null | undefined;
|
|
905
959
|
strokeOpacity?: number | undefined;
|
|
906
960
|
strokeWidth?: number | undefined;
|
|
@@ -916,6 +970,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
916
970
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
917
971
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
918
972
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
973
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
919
974
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
920
975
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
921
976
|
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
@@ -934,6 +989,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
934
989
|
name?: string | null | undefined;
|
|
935
990
|
description?: string | null | undefined;
|
|
936
991
|
attributes?: Record<string, unknown> | undefined;
|
|
992
|
+
interaction?: "default" | "locked" | undefined;
|
|
937
993
|
imageUrl?: string | null | undefined;
|
|
938
994
|
strokeOpacity?: number | undefined;
|
|
939
995
|
strokeWidth?: number | undefined;
|
|
@@ -952,6 +1008,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
952
1008
|
name?: string | null | undefined;
|
|
953
1009
|
description?: string | null | undefined;
|
|
954
1010
|
attributes?: Record<string, unknown> | undefined;
|
|
1011
|
+
interaction?: "default" | "locked" | undefined;
|
|
955
1012
|
imageUrl?: string | null | undefined;
|
|
956
1013
|
strokeOpacity?: number | undefined;
|
|
957
1014
|
strokeWidth?: number | undefined;
|
|
@@ -970,6 +1027,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
970
1027
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
971
1028
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
972
1029
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1030
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
973
1031
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
974
1032
|
size: z.ZodOptional<z.ZodNumber>;
|
|
975
1033
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
@@ -982,6 +1040,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
982
1040
|
name?: string | null | undefined;
|
|
983
1041
|
description?: string | null | undefined;
|
|
984
1042
|
attributes?: Record<string, unknown> | undefined;
|
|
1043
|
+
interaction?: "default" | "locked" | undefined;
|
|
985
1044
|
opacity?: number | undefined;
|
|
986
1045
|
size?: number | undefined;
|
|
987
1046
|
zoom?: number | undefined;
|
|
@@ -994,6 +1053,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
994
1053
|
name?: string | null | undefined;
|
|
995
1054
|
description?: string | null | undefined;
|
|
996
1055
|
attributes?: Record<string, unknown> | undefined;
|
|
1056
|
+
interaction?: "default" | "locked" | undefined;
|
|
997
1057
|
opacity?: number | undefined;
|
|
998
1058
|
size?: number | undefined;
|
|
999
1059
|
zoom?: number | undefined;
|
|
@@ -1006,6 +1066,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1006
1066
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1007
1067
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1008
1068
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1069
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
1009
1070
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1010
1071
|
}, "strip", z.ZodTypeAny, {
|
|
1011
1072
|
type: "Highlighter";
|
|
@@ -1016,6 +1077,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1016
1077
|
name?: string | null | undefined;
|
|
1017
1078
|
description?: string | null | undefined;
|
|
1018
1079
|
attributes?: Record<string, unknown> | undefined;
|
|
1080
|
+
interaction?: "default" | "locked" | undefined;
|
|
1019
1081
|
opacity?: number | undefined;
|
|
1020
1082
|
}, {
|
|
1021
1083
|
type: "Highlighter";
|
|
@@ -1026,6 +1088,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1026
1088
|
name?: string | null | undefined;
|
|
1027
1089
|
description?: string | null | undefined;
|
|
1028
1090
|
attributes?: Record<string, unknown> | undefined;
|
|
1091
|
+
interaction?: "default" | "locked" | undefined;
|
|
1029
1092
|
opacity?: number | undefined;
|
|
1030
1093
|
}>, z.ZodObject<Omit<{
|
|
1031
1094
|
type: z.ZodLiteral<"Text">;
|
|
@@ -1036,6 +1099,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1036
1099
|
name: z.ZodOptional<z.ZodString>;
|
|
1037
1100
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1038
1101
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1102
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
1039
1103
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1040
1104
|
position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1041
1105
|
rotation: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1050,6 +1114,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1050
1114
|
color?: string | undefined;
|
|
1051
1115
|
description?: string | null | undefined;
|
|
1052
1116
|
attributes?: Record<string, unknown> | undefined;
|
|
1117
|
+
interaction?: "default" | "locked" | undefined;
|
|
1053
1118
|
zoom?: number | undefined;
|
|
1054
1119
|
position?: [number, number] | undefined;
|
|
1055
1120
|
rotation?: number | undefined;
|
|
@@ -1064,6 +1129,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1064
1129
|
color?: string | undefined;
|
|
1065
1130
|
description?: string | null | undefined;
|
|
1066
1131
|
attributes?: Record<string, unknown> | undefined;
|
|
1132
|
+
interaction?: "default" | "locked" | undefined;
|
|
1067
1133
|
zoom?: number | undefined;
|
|
1068
1134
|
position?: [number, number] | undefined;
|
|
1069
1135
|
rotation?: number | undefined;
|
|
@@ -1080,6 +1146,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1080
1146
|
name: z.ZodOptional<z.ZodString>;
|
|
1081
1147
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1082
1148
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1149
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
1083
1150
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1084
1151
|
position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1085
1152
|
rotation: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1095,6 +1162,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1095
1162
|
color?: string | undefined;
|
|
1096
1163
|
description?: string | null | undefined;
|
|
1097
1164
|
attributes?: Record<string, unknown> | undefined;
|
|
1165
|
+
interaction?: "default" | "locked" | undefined;
|
|
1098
1166
|
zoom?: number | undefined;
|
|
1099
1167
|
position?: [number, number] | undefined;
|
|
1100
1168
|
rotation?: number | undefined;
|
|
@@ -1110,6 +1178,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1110
1178
|
color?: string | undefined;
|
|
1111
1179
|
description?: string | null | undefined;
|
|
1112
1180
|
attributes?: Record<string, unknown> | undefined;
|
|
1181
|
+
interaction?: "default" | "locked" | undefined;
|
|
1113
1182
|
zoom?: number | undefined;
|
|
1114
1183
|
position?: [number, number] | undefined;
|
|
1115
1184
|
rotation?: number | undefined;
|
|
@@ -1126,6 +1195,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1126
1195
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1127
1196
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1128
1197
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1198
|
+
interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
|
|
1129
1199
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1130
1200
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1131
1201
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1136,6 +1206,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1136
1206
|
name?: string | null | undefined;
|
|
1137
1207
|
description?: string | null | undefined;
|
|
1138
1208
|
attributes?: Record<string, unknown> | undefined;
|
|
1209
|
+
interaction?: "default" | "locked" | undefined;
|
|
1139
1210
|
imageUrl?: string | undefined;
|
|
1140
1211
|
opacity?: number | undefined;
|
|
1141
1212
|
}, {
|
|
@@ -1146,6 +1217,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1146
1217
|
name?: string | null | undefined;
|
|
1147
1218
|
description?: string | null | undefined;
|
|
1148
1219
|
attributes?: Record<string, unknown> | undefined;
|
|
1220
|
+
interaction?: "default" | "locked" | undefined;
|
|
1149
1221
|
imageUrl?: string | undefined;
|
|
1150
1222
|
opacity?: number | undefined;
|
|
1151
1223
|
}>]>;
|
|
@@ -1160,6 +1232,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1160
1232
|
name?: string | null | undefined;
|
|
1161
1233
|
description?: string | null | undefined;
|
|
1162
1234
|
attributes?: Record<string, unknown> | undefined;
|
|
1235
|
+
interaction?: "default" | "locked" | undefined;
|
|
1163
1236
|
imageUrl?: string | null | undefined;
|
|
1164
1237
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
1165
1238
|
hideLabel?: boolean | undefined;
|
|
@@ -1172,6 +1245,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1172
1245
|
name?: string | null | undefined;
|
|
1173
1246
|
description?: string | null | undefined;
|
|
1174
1247
|
attributes?: Record<string, unknown> | undefined;
|
|
1248
|
+
interaction?: "default" | "locked" | undefined;
|
|
1175
1249
|
imageUrl?: string | null | undefined;
|
|
1176
1250
|
strokeOpacity?: number | undefined;
|
|
1177
1251
|
strokeWidth?: number | undefined;
|
|
@@ -1188,6 +1262,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1188
1262
|
name?: string | null | undefined;
|
|
1189
1263
|
description?: string | null | undefined;
|
|
1190
1264
|
attributes?: Record<string, unknown> | undefined;
|
|
1265
|
+
interaction?: "default" | "locked" | undefined;
|
|
1191
1266
|
imageUrl?: string | null | undefined;
|
|
1192
1267
|
strokeOpacity?: number | undefined;
|
|
1193
1268
|
strokeWidth?: number | undefined;
|
|
@@ -1203,6 +1278,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1203
1278
|
name?: string | null | undefined;
|
|
1204
1279
|
description?: string | null | undefined;
|
|
1205
1280
|
attributes?: Record<string, unknown> | undefined;
|
|
1281
|
+
interaction?: "default" | "locked" | undefined;
|
|
1206
1282
|
imageUrl?: string | null | undefined;
|
|
1207
1283
|
strokeOpacity?: number | undefined;
|
|
1208
1284
|
strokeWidth?: number | undefined;
|
|
@@ -1221,6 +1297,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1221
1297
|
name?: string | null | undefined;
|
|
1222
1298
|
description?: string | null | undefined;
|
|
1223
1299
|
attributes?: Record<string, unknown> | undefined;
|
|
1300
|
+
interaction?: "default" | "locked" | undefined;
|
|
1224
1301
|
opacity?: number | undefined;
|
|
1225
1302
|
size?: number | undefined;
|
|
1226
1303
|
zoom?: number | undefined;
|
|
@@ -1233,6 +1310,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1233
1310
|
name?: string | null | undefined;
|
|
1234
1311
|
description?: string | null | undefined;
|
|
1235
1312
|
attributes?: Record<string, unknown> | undefined;
|
|
1313
|
+
interaction?: "default" | "locked" | undefined;
|
|
1236
1314
|
opacity?: number | undefined;
|
|
1237
1315
|
} | {
|
|
1238
1316
|
type: "Text";
|
|
@@ -1241,6 +1319,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1241
1319
|
color?: string | undefined;
|
|
1242
1320
|
description?: string | null | undefined;
|
|
1243
1321
|
attributes?: Record<string, unknown> | undefined;
|
|
1322
|
+
interaction?: "default" | "locked" | undefined;
|
|
1244
1323
|
zoom?: number | undefined;
|
|
1245
1324
|
position?: [number, number] | undefined;
|
|
1246
1325
|
rotation?: number | undefined;
|
|
@@ -1255,6 +1334,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1255
1334
|
color?: string | undefined;
|
|
1256
1335
|
description?: string | null | undefined;
|
|
1257
1336
|
attributes?: Record<string, unknown> | undefined;
|
|
1337
|
+
interaction?: "default" | "locked" | undefined;
|
|
1258
1338
|
zoom?: number | undefined;
|
|
1259
1339
|
position?: [number, number] | undefined;
|
|
1260
1340
|
rotation?: number | undefined;
|
|
@@ -1271,6 +1351,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1271
1351
|
name?: string | null | undefined;
|
|
1272
1352
|
description?: string | null | undefined;
|
|
1273
1353
|
attributes?: Record<string, unknown> | undefined;
|
|
1354
|
+
interaction?: "default" | "locked" | undefined;
|
|
1274
1355
|
imageUrl?: string | undefined;
|
|
1275
1356
|
opacity?: number | undefined;
|
|
1276
1357
|
};
|
|
@@ -1286,6 +1367,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1286
1367
|
name?: string | null | undefined;
|
|
1287
1368
|
description?: string | null | undefined;
|
|
1288
1369
|
attributes?: Record<string, unknown> | undefined;
|
|
1370
|
+
interaction?: "default" | "locked" | undefined;
|
|
1289
1371
|
imageUrl?: string | null | undefined;
|
|
1290
1372
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
1291
1373
|
hideLabel?: boolean | undefined;
|
|
@@ -1298,6 +1380,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1298
1380
|
name?: string | null | undefined;
|
|
1299
1381
|
description?: string | null | undefined;
|
|
1300
1382
|
attributes?: Record<string, unknown> | undefined;
|
|
1383
|
+
interaction?: "default" | "locked" | undefined;
|
|
1301
1384
|
imageUrl?: string | null | undefined;
|
|
1302
1385
|
strokeOpacity?: number | undefined;
|
|
1303
1386
|
strokeWidth?: number | undefined;
|
|
@@ -1314,6 +1397,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1314
1397
|
name?: string | null | undefined;
|
|
1315
1398
|
description?: string | null | undefined;
|
|
1316
1399
|
attributes?: Record<string, unknown> | undefined;
|
|
1400
|
+
interaction?: "default" | "locked" | undefined;
|
|
1317
1401
|
imageUrl?: string | null | undefined;
|
|
1318
1402
|
strokeOpacity?: number | undefined;
|
|
1319
1403
|
strokeWidth?: number | undefined;
|
|
@@ -1329,6 +1413,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1329
1413
|
name?: string | null | undefined;
|
|
1330
1414
|
description?: string | null | undefined;
|
|
1331
1415
|
attributes?: Record<string, unknown> | undefined;
|
|
1416
|
+
interaction?: "default" | "locked" | undefined;
|
|
1332
1417
|
imageUrl?: string | null | undefined;
|
|
1333
1418
|
strokeOpacity?: number | undefined;
|
|
1334
1419
|
strokeWidth?: number | undefined;
|
|
@@ -1347,6 +1432,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1347
1432
|
name?: string | null | undefined;
|
|
1348
1433
|
description?: string | null | undefined;
|
|
1349
1434
|
attributes?: Record<string, unknown> | undefined;
|
|
1435
|
+
interaction?: "default" | "locked" | undefined;
|
|
1350
1436
|
opacity?: number | undefined;
|
|
1351
1437
|
size?: number | undefined;
|
|
1352
1438
|
zoom?: number | undefined;
|
|
@@ -1359,6 +1445,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1359
1445
|
name?: string | null | undefined;
|
|
1360
1446
|
description?: string | null | undefined;
|
|
1361
1447
|
attributes?: Record<string, unknown> | undefined;
|
|
1448
|
+
interaction?: "default" | "locked" | undefined;
|
|
1362
1449
|
opacity?: number | undefined;
|
|
1363
1450
|
} | {
|
|
1364
1451
|
type: "Text";
|
|
@@ -1367,6 +1454,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1367
1454
|
color?: string | undefined;
|
|
1368
1455
|
description?: string | null | undefined;
|
|
1369
1456
|
attributes?: Record<string, unknown> | undefined;
|
|
1457
|
+
interaction?: "default" | "locked" | undefined;
|
|
1370
1458
|
zoom?: number | undefined;
|
|
1371
1459
|
position?: [number, number] | undefined;
|
|
1372
1460
|
rotation?: number | undefined;
|
|
@@ -1381,6 +1469,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1381
1469
|
color?: string | undefined;
|
|
1382
1470
|
description?: string | null | undefined;
|
|
1383
1471
|
attributes?: Record<string, unknown> | undefined;
|
|
1472
|
+
interaction?: "default" | "locked" | undefined;
|
|
1384
1473
|
zoom?: number | undefined;
|
|
1385
1474
|
position?: [number, number] | undefined;
|
|
1386
1475
|
rotation?: number | undefined;
|
|
@@ -1397,6 +1486,7 @@ declare const UpdateElementMessage: z.ZodObject<{
|
|
|
1397
1486
|
name?: string | null | undefined;
|
|
1398
1487
|
description?: string | null | undefined;
|
|
1399
1488
|
attributes?: Record<string, unknown> | undefined;
|
|
1489
|
+
interaction?: "default" | "locked" | undefined;
|
|
1400
1490
|
imageUrl?: string | undefined;
|
|
1401
1491
|
opacity?: number | undefined;
|
|
1402
1492
|
};
|
|
@@ -1888,6 +1978,29 @@ declare const SetFiltersMessage: z.ZodObject<{
|
|
|
1888
1978
|
};
|
|
1889
1979
|
type: "setLayerFilters";
|
|
1890
1980
|
}>;
|
|
1981
|
+
declare const OnLayerFiltersChangeMessage: z.ZodObject<{
|
|
1982
|
+
eventName: z.ZodLiteral<"onLayerFiltersChange">;
|
|
1983
|
+
id: z.ZodString;
|
|
1984
|
+
options: z.ZodObject<{
|
|
1985
|
+
layerId: z.ZodString;
|
|
1986
|
+
}, "strip", z.ZodTypeAny, {
|
|
1987
|
+
layerId: string;
|
|
1988
|
+
}, {
|
|
1989
|
+
layerId: string;
|
|
1990
|
+
}>;
|
|
1991
|
+
}, "strict", z.ZodTypeAny, {
|
|
1992
|
+
options: {
|
|
1993
|
+
layerId: string;
|
|
1994
|
+
};
|
|
1995
|
+
id: string;
|
|
1996
|
+
eventName: "onLayerFiltersChange";
|
|
1997
|
+
}, {
|
|
1998
|
+
options: {
|
|
1999
|
+
layerId: string;
|
|
2000
|
+
};
|
|
2001
|
+
id: string;
|
|
2002
|
+
eventName: "onLayerFiltersChange";
|
|
2003
|
+
}>;
|
|
1891
2004
|
declare const GetRenderedFeaturesMessage: z.ZodObject<{
|
|
1892
2005
|
type: z.ZodLiteral<"getRenderedFeatures">;
|
|
1893
2006
|
params: z.ZodOptional<z.ZodObject<{
|
|
@@ -2408,6 +2521,7 @@ type LayersSchema = {
|
|
|
2408
2521
|
onLayerChange: Listener<zInfer<typeof OnLayerChangeMessage.shape.options>, LayerChangeCallbackParams>;
|
|
2409
2522
|
onLayerGroupChange: Listener<zInfer<typeof OnLayerGroupChangeMessage.shape.options>, LayerGroupChangeCallbackParams>;
|
|
2410
2523
|
onLegendItemChange: Listener<zInfer<typeof OnLegendItemChangeMessage.shape.options>, LegendItemChangeCallbackParams>;
|
|
2524
|
+
onLayerFiltersChange: Listener<zInfer<typeof OnLayerFiltersChangeMessage.shape.options>, LayerFilters>;
|
|
2411
2525
|
};
|
|
2412
2526
|
};
|
|
2413
2527
|
|
|
@@ -2551,6 +2665,7 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2551
2665
|
symbol: z.ZodOptional<z.ZodString>;
|
|
2552
2666
|
color: z.ZodOptional<z.ZodString>;
|
|
2553
2667
|
frame: z.ZodOptional<z.ZodNullable<z.ZodEnum<["frame-circle", "frame-square"]>>>;
|
|
2668
|
+
afterCreation: z.ZodOptional<z.ZodEnum<["enter name", "add another", "select"]>>;
|
|
2554
2669
|
}, {
|
|
2555
2670
|
tool: z.ZodLiteral<"pin">;
|
|
2556
2671
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -2558,11 +2673,13 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2558
2673
|
symbol?: string | undefined;
|
|
2559
2674
|
color?: string | undefined;
|
|
2560
2675
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
2676
|
+
afterCreation?: "enter name" | "add another" | "select" | undefined;
|
|
2561
2677
|
}, {
|
|
2562
2678
|
tool: "pin";
|
|
2563
2679
|
symbol?: string | undefined;
|
|
2564
2680
|
color?: string | undefined;
|
|
2565
2681
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
2682
|
+
afterCreation?: "enter name" | "add another" | "select" | undefined;
|
|
2566
2683
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2567
2684
|
color: z.ZodOptional<z.ZodString>;
|
|
2568
2685
|
strokeOpacity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2734,6 +2851,7 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2734
2851
|
symbol?: string | undefined;
|
|
2735
2852
|
color?: string | undefined;
|
|
2736
2853
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
2854
|
+
afterCreation?: "enter name" | "add another" | "select" | undefined;
|
|
2737
2855
|
} | {
|
|
2738
2856
|
tool: "line";
|
|
2739
2857
|
color?: string | undefined;
|
|
@@ -2794,6 +2912,7 @@ declare const SetToolSettingsMessage: z.ZodObject<{
|
|
|
2794
2912
|
symbol?: string | undefined;
|
|
2795
2913
|
color?: string | undefined;
|
|
2796
2914
|
frame?: "frame-circle" | "frame-square" | null | undefined;
|
|
2915
|
+
afterCreation?: "enter name" | "add another" | "select" | undefined;
|
|
2797
2916
|
} | {
|
|
2798
2917
|
tool: "line";
|
|
2799
2918
|
color?: string | undefined;
|