@syntrologie/runtime-sdk 2.4.0-canary.2 → 2.4.0-canary.21
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/CAPABILITIES.md +116 -1
- package/dist/SmartCanvasApp.d.ts +5 -3
- package/dist/actions/executors/index.d.ts +1 -2
- package/dist/actions/index.d.ts +2 -2
- package/dist/actions/schema.d.ts +58243 -201
- package/dist/actions/schema.js +5 -2
- package/dist/actions/types.d.ts +45 -48
- package/dist/anchor/AnchorResolver.d.ts +18 -0
- package/dist/anchor/index.d.ts +2 -0
- package/dist/api.d.ts +3 -8
- package/dist/apps/examples/gamification-app.example.d.ts +8 -8
- package/dist/chunk-2UYZ5DWI.js +126 -0
- package/dist/chunk-2UYZ5DWI.js.map +7 -0
- package/dist/{chunk-DOJR7R46.js → chunk-HF3D7YFQ.js} +49 -31
- package/dist/chunk-HF3D7YFQ.js.map +7 -0
- package/dist/{chunk-ZDZ3IYFN.js → chunk-IPU3WVPY.js} +3449 -2110
- package/dist/chunk-IPU3WVPY.js.map +7 -0
- package/dist/{chunk-BIYMC56J.js → chunk-P5G4KT2U.js} +54 -6
- package/dist/chunk-P5G4KT2U.js.map +7 -0
- package/dist/components/ShadowCanvasOverlay.d.ts +1 -20
- package/dist/config/schema.d.ts +1797 -267
- package/dist/config/schema.js +19 -62
- package/dist/config/schema.js.map +3 -3
- package/dist/context/schema.d.ts +8 -8
- package/dist/decisions/schema.d.ts +506 -1490
- package/dist/decisions/schema.js +5 -2
- package/dist/decisions/types.d.ts +22 -0
- package/dist/events/registerConfigPredicates.d.ts +7 -10
- package/dist/events/schema.d.ts +12 -12
- package/dist/experiments/adapters/growthbook.d.ts +2 -0
- package/dist/experiments/types.d.ts +7 -0
- package/dist/hooks/useShadowCanvasConfig.d.ts +4 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +72 -98
- package/dist/index.js.map +3 -3
- package/dist/overlays/schema.d.ts +48 -48
- package/dist/react.js +4 -3
- package/dist/react.js.map +1 -1
- package/dist/runtime.d.ts +3 -0
- package/dist/smart-canvas.esm.js +62 -66
- package/dist/smart-canvas.esm.js.map +4 -4
- package/dist/smart-canvas.js +2591 -1167
- package/dist/smart-canvas.js.map +4 -4
- package/dist/smart-canvas.min.js +62 -66
- package/dist/smart-canvas.min.js.map +4 -4
- package/dist/surfaces/types.d.ts +2 -1
- package/dist/theme/ThemeProvider.d.ts +11 -16
- package/dist/theme/defaultTheme.d.ts +6 -1
- package/dist/theme/index.d.ts +3 -4
- package/dist/theme/types.d.ts +10 -0
- package/dist/version.d.ts +1 -1
- package/package.json +7 -7
- package/schema/canvas-config.schema.json +9418 -790
- package/scripts/validate-config.mjs +78 -0
- package/dist/actions/executors/tour.d.ts +0 -18
- package/dist/chunk-BIYMC56J.js.map +0 -7
- package/dist/chunk-DOJR7R46.js.map +0 -7
- package/dist/chunk-JMHRHAEL.js +0 -18
- package/dist/chunk-JMHRHAEL.js.map +0 -7
- package/dist/chunk-ZDZ3IYFN.js.map +0 -7
- package/dist/hooks/useHostPatches.d.ts +0 -9
- package/dist/theme/extractHostTheme.d.ts +0 -14
package/dist/config/schema.d.ts
CHANGED
|
@@ -6,9 +6,8 @@
|
|
|
6
6
|
* during build and merged into the unified canvas-config.schema.json.
|
|
7
7
|
*
|
|
8
8
|
* Design decisions:
|
|
9
|
-
* - `.strict()` on
|
|
10
|
-
* -
|
|
11
|
-
* that were previously missing from the hand-written JSON schema)
|
|
9
|
+
* - `.strict()` on top-level objects → `additionalProperties: false` in JSON Schema
|
|
10
|
+
* - Element sub-schemas (canvas, tile, etc.) are NOT strict to allow future expansion
|
|
12
11
|
*/
|
|
13
12
|
import { z } from 'zod';
|
|
14
13
|
declare const NotificationDeepLinkZ: z.ZodObject<{
|
|
@@ -72,11 +71,11 @@ export declare const TileZ: z.ZodObject<{
|
|
|
72
71
|
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
73
72
|
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
74
73
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
exclude?: string[] | undefined;
|
|
76
74
|
include?: string[] | undefined;
|
|
77
|
-
}, {
|
|
78
75
|
exclude?: string[] | undefined;
|
|
76
|
+
}, {
|
|
79
77
|
include?: string[] | undefined;
|
|
78
|
+
exclude?: string[] | undefined;
|
|
80
79
|
}>;
|
|
81
80
|
strategy: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
82
81
|
type: z.ZodLiteral<"rules">;
|
|
@@ -85,11 +84,11 @@ export declare const TileZ: z.ZodObject<{
|
|
|
85
84
|
type: z.ZodLiteral<"page_url">;
|
|
86
85
|
url: z.ZodString;
|
|
87
86
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
url: string;
|
|
89
87
|
type: "page_url";
|
|
90
|
-
}, {
|
|
91
88
|
url: string;
|
|
89
|
+
}, {
|
|
92
90
|
type: "page_url";
|
|
91
|
+
url: string;
|
|
93
92
|
}>, z.ZodObject<{
|
|
94
93
|
type: z.ZodLiteral<"route">;
|
|
95
94
|
routeId: z.ZodString;
|
|
@@ -104,13 +103,13 @@ export declare const TileZ: z.ZodObject<{
|
|
|
104
103
|
anchorId: z.ZodString;
|
|
105
104
|
state: z.ZodEnum<["visible", "present", "absent"]>;
|
|
106
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
type: "anchor_visible";
|
|
107
107
|
anchorId: string;
|
|
108
108
|
state: "visible" | "present" | "absent";
|
|
109
|
-
type: "anchor_visible";
|
|
110
109
|
}, {
|
|
110
|
+
type: "anchor_visible";
|
|
111
111
|
anchorId: string;
|
|
112
112
|
state: "visible" | "present" | "absent";
|
|
113
|
-
type: "anchor_visible";
|
|
114
113
|
}>, z.ZodObject<{
|
|
115
114
|
type: z.ZodLiteral<"event_occurred">;
|
|
116
115
|
eventName: z.ZodString;
|
|
@@ -213,31 +212,70 @@ export declare const TileZ: z.ZodObject<{
|
|
|
213
212
|
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
214
213
|
count: z.ZodNumber;
|
|
215
214
|
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
215
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
216
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
217
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
218
|
+
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
219
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
220
|
+
}, "strip", z.ZodTypeAny, {
|
|
221
|
+
equals?: string | number | boolean | undefined;
|
|
222
|
+
contains?: string | undefined;
|
|
223
|
+
}, {
|
|
224
|
+
equals?: string | number | boolean | undefined;
|
|
225
|
+
contains?: string | undefined;
|
|
226
|
+
}>>>;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
events: string[];
|
|
229
|
+
match?: Record<string, {
|
|
230
|
+
equals?: string | number | boolean | undefined;
|
|
231
|
+
contains?: string | undefined;
|
|
232
|
+
}> | undefined;
|
|
233
|
+
}, {
|
|
234
|
+
events: string[];
|
|
235
|
+
match?: Record<string, {
|
|
236
|
+
equals?: string | number | boolean | undefined;
|
|
237
|
+
contains?: string | undefined;
|
|
238
|
+
}> | undefined;
|
|
239
|
+
}>>;
|
|
216
240
|
}, "strip", z.ZodTypeAny, {
|
|
217
241
|
type: "event_count";
|
|
218
242
|
key: string;
|
|
219
243
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
220
244
|
count: number;
|
|
221
245
|
withinMs?: number | undefined;
|
|
246
|
+
counter?: {
|
|
247
|
+
events: string[];
|
|
248
|
+
match?: Record<string, {
|
|
249
|
+
equals?: string | number | boolean | undefined;
|
|
250
|
+
contains?: string | undefined;
|
|
251
|
+
}> | undefined;
|
|
252
|
+
} | undefined;
|
|
222
253
|
}, {
|
|
223
254
|
type: "event_count";
|
|
224
255
|
key: string;
|
|
225
256
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
226
257
|
count: number;
|
|
227
258
|
withinMs?: number | undefined;
|
|
259
|
+
counter?: {
|
|
260
|
+
events: string[];
|
|
261
|
+
match?: Record<string, {
|
|
262
|
+
equals?: string | number | boolean | undefined;
|
|
263
|
+
contains?: string | undefined;
|
|
264
|
+
}> | undefined;
|
|
265
|
+
} | undefined;
|
|
228
266
|
}>]>, "many">;
|
|
229
267
|
value: z.ZodUnknown;
|
|
230
268
|
}, "strip", z.ZodTypeAny, {
|
|
231
269
|
conditions: ({
|
|
232
|
-
url: string;
|
|
233
270
|
type: "page_url";
|
|
271
|
+
url: string;
|
|
234
272
|
} | {
|
|
235
273
|
type: "route";
|
|
236
274
|
routeId: string;
|
|
237
275
|
} | {
|
|
276
|
+
type: "anchor_visible";
|
|
238
277
|
anchorId: string;
|
|
239
278
|
state: "visible" | "present" | "absent";
|
|
240
|
-
type: "anchor_visible";
|
|
241
279
|
} | {
|
|
242
280
|
type: "event_occurred";
|
|
243
281
|
eventName: string;
|
|
@@ -276,19 +314,26 @@ export declare const TileZ: z.ZodObject<{
|
|
|
276
314
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
277
315
|
count: number;
|
|
278
316
|
withinMs?: number | undefined;
|
|
317
|
+
counter?: {
|
|
318
|
+
events: string[];
|
|
319
|
+
match?: Record<string, {
|
|
320
|
+
equals?: string | number | boolean | undefined;
|
|
321
|
+
contains?: string | undefined;
|
|
322
|
+
}> | undefined;
|
|
323
|
+
} | undefined;
|
|
279
324
|
})[];
|
|
280
325
|
value?: unknown;
|
|
281
326
|
}, {
|
|
282
327
|
conditions: ({
|
|
283
|
-
url: string;
|
|
284
328
|
type: "page_url";
|
|
329
|
+
url: string;
|
|
285
330
|
} | {
|
|
286
331
|
type: "route";
|
|
287
332
|
routeId: string;
|
|
288
333
|
} | {
|
|
334
|
+
type: "anchor_visible";
|
|
289
335
|
anchorId: string;
|
|
290
336
|
state: "visible" | "present" | "absent";
|
|
291
|
-
type: "anchor_visible";
|
|
292
337
|
} | {
|
|
293
338
|
type: "event_occurred";
|
|
294
339
|
eventName: string;
|
|
@@ -327,6 +372,13 @@ export declare const TileZ: z.ZodObject<{
|
|
|
327
372
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
328
373
|
count: number;
|
|
329
374
|
withinMs?: number | undefined;
|
|
375
|
+
counter?: {
|
|
376
|
+
events: string[];
|
|
377
|
+
match?: Record<string, {
|
|
378
|
+
equals?: string | number | boolean | undefined;
|
|
379
|
+
contains?: string | undefined;
|
|
380
|
+
}> | undefined;
|
|
381
|
+
} | undefined;
|
|
330
382
|
})[];
|
|
331
383
|
value?: unknown;
|
|
332
384
|
}>, "many">;
|
|
@@ -335,15 +387,15 @@ export declare const TileZ: z.ZodObject<{
|
|
|
335
387
|
type: "rules";
|
|
336
388
|
rules: {
|
|
337
389
|
conditions: ({
|
|
338
|
-
url: string;
|
|
339
390
|
type: "page_url";
|
|
391
|
+
url: string;
|
|
340
392
|
} | {
|
|
341
393
|
type: "route";
|
|
342
394
|
routeId: string;
|
|
343
395
|
} | {
|
|
396
|
+
type: "anchor_visible";
|
|
344
397
|
anchorId: string;
|
|
345
398
|
state: "visible" | "present" | "absent";
|
|
346
|
-
type: "anchor_visible";
|
|
347
399
|
} | {
|
|
348
400
|
type: "event_occurred";
|
|
349
401
|
eventName: string;
|
|
@@ -382,6 +434,13 @@ export declare const TileZ: z.ZodObject<{
|
|
|
382
434
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
383
435
|
count: number;
|
|
384
436
|
withinMs?: number | undefined;
|
|
437
|
+
counter?: {
|
|
438
|
+
events: string[];
|
|
439
|
+
match?: Record<string, {
|
|
440
|
+
equals?: string | number | boolean | undefined;
|
|
441
|
+
contains?: string | undefined;
|
|
442
|
+
}> | undefined;
|
|
443
|
+
} | undefined;
|
|
385
444
|
})[];
|
|
386
445
|
value?: unknown;
|
|
387
446
|
}[];
|
|
@@ -390,15 +449,15 @@ export declare const TileZ: z.ZodObject<{
|
|
|
390
449
|
type: "rules";
|
|
391
450
|
rules: {
|
|
392
451
|
conditions: ({
|
|
393
|
-
url: string;
|
|
394
452
|
type: "page_url";
|
|
453
|
+
url: string;
|
|
395
454
|
} | {
|
|
396
455
|
type: "route";
|
|
397
456
|
routeId: string;
|
|
398
457
|
} | {
|
|
458
|
+
type: "anchor_visible";
|
|
399
459
|
anchorId: string;
|
|
400
460
|
state: "visible" | "present" | "absent";
|
|
401
|
-
type: "anchor_visible";
|
|
402
461
|
} | {
|
|
403
462
|
type: "event_occurred";
|
|
404
463
|
eventName: string;
|
|
@@ -437,6 +496,13 @@ export declare const TileZ: z.ZodObject<{
|
|
|
437
496
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
438
497
|
count: number;
|
|
439
498
|
withinMs?: number | undefined;
|
|
499
|
+
counter?: {
|
|
500
|
+
events: string[];
|
|
501
|
+
match?: Record<string, {
|
|
502
|
+
equals?: string | number | boolean | undefined;
|
|
503
|
+
contains?: string | undefined;
|
|
504
|
+
}> | undefined;
|
|
505
|
+
} | undefined;
|
|
440
506
|
})[];
|
|
441
507
|
value?: unknown;
|
|
442
508
|
}[];
|
|
@@ -486,34 +552,34 @@ export declare const TileZ: z.ZodObject<{
|
|
|
486
552
|
}, "strip", z.ZodTypeAny, {
|
|
487
553
|
type: "external";
|
|
488
554
|
endpoint: string;
|
|
489
|
-
timeoutMs?: number | undefined;
|
|
490
555
|
default?: unknown;
|
|
491
556
|
method?: "GET" | "POST" | undefined;
|
|
557
|
+
timeoutMs?: number | undefined;
|
|
492
558
|
}, {
|
|
493
559
|
type: "external";
|
|
494
560
|
endpoint: string;
|
|
495
|
-
timeoutMs?: number | undefined;
|
|
496
561
|
default?: unknown;
|
|
497
562
|
method?: "GET" | "POST" | undefined;
|
|
563
|
+
timeoutMs?: number | undefined;
|
|
498
564
|
}>]>>;
|
|
499
565
|
}, "strip", z.ZodTypeAny, {
|
|
500
566
|
routes: {
|
|
501
|
-
exclude?: string[] | undefined;
|
|
502
567
|
include?: string[] | undefined;
|
|
568
|
+
exclude?: string[] | undefined;
|
|
503
569
|
};
|
|
504
570
|
strategy?: {
|
|
505
571
|
type: "rules";
|
|
506
572
|
rules: {
|
|
507
573
|
conditions: ({
|
|
508
|
-
url: string;
|
|
509
574
|
type: "page_url";
|
|
575
|
+
url: string;
|
|
510
576
|
} | {
|
|
511
577
|
type: "route";
|
|
512
578
|
routeId: string;
|
|
513
579
|
} | {
|
|
580
|
+
type: "anchor_visible";
|
|
514
581
|
anchorId: string;
|
|
515
582
|
state: "visible" | "present" | "absent";
|
|
516
|
-
type: "anchor_visible";
|
|
517
583
|
} | {
|
|
518
584
|
type: "event_occurred";
|
|
519
585
|
eventName: string;
|
|
@@ -552,6 +618,13 @@ export declare const TileZ: z.ZodObject<{
|
|
|
552
618
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
553
619
|
count: number;
|
|
554
620
|
withinMs?: number | undefined;
|
|
621
|
+
counter?: {
|
|
622
|
+
events: string[];
|
|
623
|
+
match?: Record<string, {
|
|
624
|
+
equals?: string | number | boolean | undefined;
|
|
625
|
+
contains?: string | undefined;
|
|
626
|
+
}> | undefined;
|
|
627
|
+
} | undefined;
|
|
555
628
|
})[];
|
|
556
629
|
value?: unknown;
|
|
557
630
|
}[];
|
|
@@ -571,28 +644,28 @@ export declare const TileZ: z.ZodObject<{
|
|
|
571
644
|
} | {
|
|
572
645
|
type: "external";
|
|
573
646
|
endpoint: string;
|
|
574
|
-
timeoutMs?: number | undefined;
|
|
575
647
|
default?: unknown;
|
|
576
648
|
method?: "GET" | "POST" | undefined;
|
|
649
|
+
timeoutMs?: number | undefined;
|
|
577
650
|
} | undefined;
|
|
578
651
|
}, {
|
|
579
652
|
routes: {
|
|
580
|
-
exclude?: string[] | undefined;
|
|
581
653
|
include?: string[] | undefined;
|
|
654
|
+
exclude?: string[] | undefined;
|
|
582
655
|
};
|
|
583
656
|
strategy?: {
|
|
584
657
|
type: "rules";
|
|
585
658
|
rules: {
|
|
586
659
|
conditions: ({
|
|
587
|
-
url: string;
|
|
588
660
|
type: "page_url";
|
|
661
|
+
url: string;
|
|
589
662
|
} | {
|
|
590
663
|
type: "route";
|
|
591
664
|
routeId: string;
|
|
592
665
|
} | {
|
|
666
|
+
type: "anchor_visible";
|
|
593
667
|
anchorId: string;
|
|
594
668
|
state: "visible" | "present" | "absent";
|
|
595
|
-
type: "anchor_visible";
|
|
596
669
|
} | {
|
|
597
670
|
type: "event_occurred";
|
|
598
671
|
eventName: string;
|
|
@@ -631,6 +704,13 @@ export declare const TileZ: z.ZodObject<{
|
|
|
631
704
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
632
705
|
count: number;
|
|
633
706
|
withinMs?: number | undefined;
|
|
707
|
+
counter?: {
|
|
708
|
+
events: string[];
|
|
709
|
+
match?: Record<string, {
|
|
710
|
+
equals?: string | number | boolean | undefined;
|
|
711
|
+
contains?: string | undefined;
|
|
712
|
+
}> | undefined;
|
|
713
|
+
} | undefined;
|
|
634
714
|
})[];
|
|
635
715
|
value?: unknown;
|
|
636
716
|
}[];
|
|
@@ -650,9 +730,9 @@ export declare const TileZ: z.ZodObject<{
|
|
|
650
730
|
} | {
|
|
651
731
|
type: "external";
|
|
652
732
|
endpoint: string;
|
|
653
|
-
timeoutMs?: number | undefined;
|
|
654
733
|
default?: unknown;
|
|
655
734
|
method?: "GET" | "POST" | undefined;
|
|
735
|
+
timeoutMs?: number | undefined;
|
|
656
736
|
} | undefined;
|
|
657
737
|
}>>;
|
|
658
738
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -703,22 +783,22 @@ export declare const TileZ: z.ZodObject<{
|
|
|
703
783
|
title?: string | undefined;
|
|
704
784
|
activation?: {
|
|
705
785
|
routes: {
|
|
706
|
-
exclude?: string[] | undefined;
|
|
707
786
|
include?: string[] | undefined;
|
|
787
|
+
exclude?: string[] | undefined;
|
|
708
788
|
};
|
|
709
789
|
strategy?: {
|
|
710
790
|
type: "rules";
|
|
711
791
|
rules: {
|
|
712
792
|
conditions: ({
|
|
713
|
-
url: string;
|
|
714
793
|
type: "page_url";
|
|
794
|
+
url: string;
|
|
715
795
|
} | {
|
|
716
796
|
type: "route";
|
|
717
797
|
routeId: string;
|
|
718
798
|
} | {
|
|
799
|
+
type: "anchor_visible";
|
|
719
800
|
anchorId: string;
|
|
720
801
|
state: "visible" | "present" | "absent";
|
|
721
|
-
type: "anchor_visible";
|
|
722
802
|
} | {
|
|
723
803
|
type: "event_occurred";
|
|
724
804
|
eventName: string;
|
|
@@ -757,6 +837,13 @@ export declare const TileZ: z.ZodObject<{
|
|
|
757
837
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
758
838
|
count: number;
|
|
759
839
|
withinMs?: number | undefined;
|
|
840
|
+
counter?: {
|
|
841
|
+
events: string[];
|
|
842
|
+
match?: Record<string, {
|
|
843
|
+
equals?: string | number | boolean | undefined;
|
|
844
|
+
contains?: string | undefined;
|
|
845
|
+
}> | undefined;
|
|
846
|
+
} | undefined;
|
|
760
847
|
})[];
|
|
761
848
|
value?: unknown;
|
|
762
849
|
}[];
|
|
@@ -776,9 +863,9 @@ export declare const TileZ: z.ZodObject<{
|
|
|
776
863
|
} | {
|
|
777
864
|
type: "external";
|
|
778
865
|
endpoint: string;
|
|
779
|
-
timeoutMs?: number | undefined;
|
|
780
866
|
default?: unknown;
|
|
781
867
|
method?: "GET" | "POST" | undefined;
|
|
868
|
+
timeoutMs?: number | undefined;
|
|
782
869
|
} | undefined;
|
|
783
870
|
} | undefined;
|
|
784
871
|
notifications?: {
|
|
@@ -801,22 +888,22 @@ export declare const TileZ: z.ZodObject<{
|
|
|
801
888
|
title?: string | undefined;
|
|
802
889
|
activation?: {
|
|
803
890
|
routes: {
|
|
804
|
-
exclude?: string[] | undefined;
|
|
805
891
|
include?: string[] | undefined;
|
|
892
|
+
exclude?: string[] | undefined;
|
|
806
893
|
};
|
|
807
894
|
strategy?: {
|
|
808
895
|
type: "rules";
|
|
809
896
|
rules: {
|
|
810
897
|
conditions: ({
|
|
811
|
-
url: string;
|
|
812
898
|
type: "page_url";
|
|
899
|
+
url: string;
|
|
813
900
|
} | {
|
|
814
901
|
type: "route";
|
|
815
902
|
routeId: string;
|
|
816
903
|
} | {
|
|
904
|
+
type: "anchor_visible";
|
|
817
905
|
anchorId: string;
|
|
818
906
|
state: "visible" | "present" | "absent";
|
|
819
|
-
type: "anchor_visible";
|
|
820
907
|
} | {
|
|
821
908
|
type: "event_occurred";
|
|
822
909
|
eventName: string;
|
|
@@ -855,6 +942,13 @@ export declare const TileZ: z.ZodObject<{
|
|
|
855
942
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
856
943
|
count: number;
|
|
857
944
|
withinMs?: number | undefined;
|
|
945
|
+
counter?: {
|
|
946
|
+
events: string[];
|
|
947
|
+
match?: Record<string, {
|
|
948
|
+
equals?: string | number | boolean | undefined;
|
|
949
|
+
contains?: string | undefined;
|
|
950
|
+
}> | undefined;
|
|
951
|
+
} | undefined;
|
|
858
952
|
})[];
|
|
859
953
|
value?: unknown;
|
|
860
954
|
}[];
|
|
@@ -874,9 +968,9 @@ export declare const TileZ: z.ZodObject<{
|
|
|
874
968
|
} | {
|
|
875
969
|
type: "external";
|
|
876
970
|
endpoint: string;
|
|
877
|
-
timeoutMs?: number | undefined;
|
|
878
971
|
default?: unknown;
|
|
879
972
|
method?: "GET" | "POST" | undefined;
|
|
973
|
+
timeoutMs?: number | undefined;
|
|
880
974
|
} | undefined;
|
|
881
975
|
} | undefined;
|
|
882
976
|
notifications?: {
|
|
@@ -892,33 +986,364 @@ export declare const TileZ: z.ZodObject<{
|
|
|
892
986
|
} | undefined;
|
|
893
987
|
}[] | undefined;
|
|
894
988
|
}>;
|
|
989
|
+
export declare const CanvasElementConfigZ: z.ZodObject<{
|
|
990
|
+
position: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
|
|
991
|
+
background: z.ZodOptional<z.ZodString>;
|
|
992
|
+
blur: z.ZodOptional<z.ZodString>;
|
|
993
|
+
border: z.ZodOptional<z.ZodString>;
|
|
994
|
+
width: z.ZodOptional<z.ZodString>;
|
|
995
|
+
}, "strip", z.ZodTypeAny, {
|
|
996
|
+
position?: "right" | "left" | undefined;
|
|
997
|
+
background?: string | undefined;
|
|
998
|
+
blur?: string | undefined;
|
|
999
|
+
border?: string | undefined;
|
|
1000
|
+
width?: string | undefined;
|
|
1001
|
+
}, {
|
|
1002
|
+
position?: "right" | "left" | undefined;
|
|
1003
|
+
background?: string | undefined;
|
|
1004
|
+
blur?: string | undefined;
|
|
1005
|
+
border?: string | undefined;
|
|
1006
|
+
width?: string | undefined;
|
|
1007
|
+
}>;
|
|
1008
|
+
export declare const LauncherElementConfigZ: z.ZodObject<{
|
|
1009
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1010
|
+
backgroundHover: z.ZodOptional<z.ZodString>;
|
|
1011
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1012
|
+
size: z.ZodOptional<z.ZodString>;
|
|
1013
|
+
shadow: z.ZodOptional<z.ZodString>;
|
|
1014
|
+
}, "strip", z.ZodTypeAny, {
|
|
1015
|
+
size?: string | undefined;
|
|
1016
|
+
background?: string | undefined;
|
|
1017
|
+
backgroundHover?: string | undefined;
|
|
1018
|
+
color?: string | undefined;
|
|
1019
|
+
shadow?: string | undefined;
|
|
1020
|
+
}, {
|
|
1021
|
+
size?: string | undefined;
|
|
1022
|
+
background?: string | undefined;
|
|
1023
|
+
backgroundHover?: string | undefined;
|
|
1024
|
+
color?: string | undefined;
|
|
1025
|
+
shadow?: string | undefined;
|
|
1026
|
+
}>;
|
|
1027
|
+
export declare const TileElementConfigZ: z.ZodObject<{
|
|
1028
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1029
|
+
backgroundHover: z.ZodOptional<z.ZodString>;
|
|
1030
|
+
border: z.ZodOptional<z.ZodString>;
|
|
1031
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
shadow: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
titleColor: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1035
|
+
iconBackground: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
iconShadow: z.ZodOptional<z.ZodString>;
|
|
1037
|
+
}, "strip", z.ZodTypeAny, {
|
|
1038
|
+
background?: string | undefined;
|
|
1039
|
+
border?: string | undefined;
|
|
1040
|
+
backgroundHover?: string | undefined;
|
|
1041
|
+
shadow?: string | undefined;
|
|
1042
|
+
borderRadius?: string | undefined;
|
|
1043
|
+
titleColor?: string | undefined;
|
|
1044
|
+
textColor?: string | undefined;
|
|
1045
|
+
iconBackground?: string | undefined;
|
|
1046
|
+
iconShadow?: string | undefined;
|
|
1047
|
+
}, {
|
|
1048
|
+
background?: string | undefined;
|
|
1049
|
+
border?: string | undefined;
|
|
1050
|
+
backgroundHover?: string | undefined;
|
|
1051
|
+
shadow?: string | undefined;
|
|
1052
|
+
borderRadius?: string | undefined;
|
|
1053
|
+
titleColor?: string | undefined;
|
|
1054
|
+
textColor?: string | undefined;
|
|
1055
|
+
iconBackground?: string | undefined;
|
|
1056
|
+
iconShadow?: string | undefined;
|
|
1057
|
+
}>;
|
|
1058
|
+
export declare const OverlayElementConfigZ: z.ZodObject<{
|
|
1059
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1060
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1061
|
+
border: z.ZodOptional<z.ZodString>;
|
|
1062
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
scrimOpacity: z.ZodOptional<z.ZodString>;
|
|
1064
|
+
highlightRing: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
}, "strip", z.ZodTypeAny, {
|
|
1066
|
+
background?: string | undefined;
|
|
1067
|
+
border?: string | undefined;
|
|
1068
|
+
borderRadius?: string | undefined;
|
|
1069
|
+
textColor?: string | undefined;
|
|
1070
|
+
scrimOpacity?: string | undefined;
|
|
1071
|
+
highlightRing?: string | undefined;
|
|
1072
|
+
}, {
|
|
1073
|
+
background?: string | undefined;
|
|
1074
|
+
border?: string | undefined;
|
|
1075
|
+
borderRadius?: string | undefined;
|
|
1076
|
+
textColor?: string | undefined;
|
|
1077
|
+
scrimOpacity?: string | undefined;
|
|
1078
|
+
highlightRing?: string | undefined;
|
|
1079
|
+
}>;
|
|
1080
|
+
export declare const NotificationElementConfigZ: z.ZodObject<{
|
|
1081
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1082
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1083
|
+
textSecondaryColor: z.ZodOptional<z.ZodString>;
|
|
1084
|
+
border: z.ZodOptional<z.ZodString>;
|
|
1085
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
1086
|
+
successColor: z.ZodOptional<z.ZodString>;
|
|
1087
|
+
warningColor: z.ZodOptional<z.ZodString>;
|
|
1088
|
+
errorColor: z.ZodOptional<z.ZodString>;
|
|
1089
|
+
iconBackground: z.ZodOptional<z.ZodString>;
|
|
1090
|
+
progressGradient: z.ZodOptional<z.ZodString>;
|
|
1091
|
+
}, "strip", z.ZodTypeAny, {
|
|
1092
|
+
background?: string | undefined;
|
|
1093
|
+
border?: string | undefined;
|
|
1094
|
+
borderRadius?: string | undefined;
|
|
1095
|
+
textColor?: string | undefined;
|
|
1096
|
+
iconBackground?: string | undefined;
|
|
1097
|
+
textSecondaryColor?: string | undefined;
|
|
1098
|
+
successColor?: string | undefined;
|
|
1099
|
+
warningColor?: string | undefined;
|
|
1100
|
+
errorColor?: string | undefined;
|
|
1101
|
+
progressGradient?: string | undefined;
|
|
1102
|
+
}, {
|
|
1103
|
+
background?: string | undefined;
|
|
1104
|
+
border?: string | undefined;
|
|
1105
|
+
borderRadius?: string | undefined;
|
|
1106
|
+
textColor?: string | undefined;
|
|
1107
|
+
iconBackground?: string | undefined;
|
|
1108
|
+
textSecondaryColor?: string | undefined;
|
|
1109
|
+
successColor?: string | undefined;
|
|
1110
|
+
warningColor?: string | undefined;
|
|
1111
|
+
errorColor?: string | undefined;
|
|
1112
|
+
progressGradient?: string | undefined;
|
|
1113
|
+
}>;
|
|
895
1114
|
export declare const CanvasThemeConfigZ: z.ZodObject<{
|
|
896
|
-
name: z.ZodOptional<z.ZodString>;
|
|
897
1115
|
mode: z.ZodOptional<z.ZodEnum<["dark", "light"]>>;
|
|
898
|
-
|
|
1116
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
899
1117
|
colorPrimary: z.ZodOptional<z.ZodString>;
|
|
900
|
-
|
|
901
|
-
colorText: z.ZodOptional<z.ZodString>;
|
|
902
|
-
colorTextSecondary: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
colorPrimaryHover: z.ZodOptional<z.ZodString>;
|
|
903
1119
|
borderRadius: z.ZodOptional<z.ZodString>;
|
|
1120
|
+
canvas: z.ZodOptional<z.ZodObject<{
|
|
1121
|
+
position: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
|
|
1122
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1123
|
+
blur: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
border: z.ZodOptional<z.ZodString>;
|
|
1125
|
+
width: z.ZodOptional<z.ZodString>;
|
|
1126
|
+
}, "strip", z.ZodTypeAny, {
|
|
1127
|
+
position?: "right" | "left" | undefined;
|
|
1128
|
+
background?: string | undefined;
|
|
1129
|
+
blur?: string | undefined;
|
|
1130
|
+
border?: string | undefined;
|
|
1131
|
+
width?: string | undefined;
|
|
1132
|
+
}, {
|
|
1133
|
+
position?: "right" | "left" | undefined;
|
|
1134
|
+
background?: string | undefined;
|
|
1135
|
+
blur?: string | undefined;
|
|
1136
|
+
border?: string | undefined;
|
|
1137
|
+
width?: string | undefined;
|
|
1138
|
+
}>>;
|
|
1139
|
+
launcher: z.ZodOptional<z.ZodObject<{
|
|
1140
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1141
|
+
backgroundHover: z.ZodOptional<z.ZodString>;
|
|
1142
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
size: z.ZodOptional<z.ZodString>;
|
|
1144
|
+
shadow: z.ZodOptional<z.ZodString>;
|
|
1145
|
+
}, "strip", z.ZodTypeAny, {
|
|
1146
|
+
size?: string | undefined;
|
|
1147
|
+
background?: string | undefined;
|
|
1148
|
+
backgroundHover?: string | undefined;
|
|
1149
|
+
color?: string | undefined;
|
|
1150
|
+
shadow?: string | undefined;
|
|
1151
|
+
}, {
|
|
1152
|
+
size?: string | undefined;
|
|
1153
|
+
background?: string | undefined;
|
|
1154
|
+
backgroundHover?: string | undefined;
|
|
1155
|
+
color?: string | undefined;
|
|
1156
|
+
shadow?: string | undefined;
|
|
1157
|
+
}>>;
|
|
1158
|
+
tile: z.ZodOptional<z.ZodObject<{
|
|
1159
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1160
|
+
backgroundHover: z.ZodOptional<z.ZodString>;
|
|
1161
|
+
border: z.ZodOptional<z.ZodString>;
|
|
1162
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
1163
|
+
shadow: z.ZodOptional<z.ZodString>;
|
|
1164
|
+
titleColor: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1166
|
+
iconBackground: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
iconShadow: z.ZodOptional<z.ZodString>;
|
|
1168
|
+
}, "strip", z.ZodTypeAny, {
|
|
1169
|
+
background?: string | undefined;
|
|
1170
|
+
border?: string | undefined;
|
|
1171
|
+
backgroundHover?: string | undefined;
|
|
1172
|
+
shadow?: string | undefined;
|
|
1173
|
+
borderRadius?: string | undefined;
|
|
1174
|
+
titleColor?: string | undefined;
|
|
1175
|
+
textColor?: string | undefined;
|
|
1176
|
+
iconBackground?: string | undefined;
|
|
1177
|
+
iconShadow?: string | undefined;
|
|
1178
|
+
}, {
|
|
1179
|
+
background?: string | undefined;
|
|
1180
|
+
border?: string | undefined;
|
|
1181
|
+
backgroundHover?: string | undefined;
|
|
1182
|
+
shadow?: string | undefined;
|
|
1183
|
+
borderRadius?: string | undefined;
|
|
1184
|
+
titleColor?: string | undefined;
|
|
1185
|
+
textColor?: string | undefined;
|
|
1186
|
+
iconBackground?: string | undefined;
|
|
1187
|
+
iconShadow?: string | undefined;
|
|
1188
|
+
}>>;
|
|
1189
|
+
overlay: z.ZodOptional<z.ZodObject<{
|
|
1190
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1191
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1192
|
+
border: z.ZodOptional<z.ZodString>;
|
|
1193
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
1194
|
+
scrimOpacity: z.ZodOptional<z.ZodString>;
|
|
1195
|
+
highlightRing: z.ZodOptional<z.ZodString>;
|
|
1196
|
+
}, "strip", z.ZodTypeAny, {
|
|
1197
|
+
background?: string | undefined;
|
|
1198
|
+
border?: string | undefined;
|
|
1199
|
+
borderRadius?: string | undefined;
|
|
1200
|
+
textColor?: string | undefined;
|
|
1201
|
+
scrimOpacity?: string | undefined;
|
|
1202
|
+
highlightRing?: string | undefined;
|
|
1203
|
+
}, {
|
|
1204
|
+
background?: string | undefined;
|
|
1205
|
+
border?: string | undefined;
|
|
1206
|
+
borderRadius?: string | undefined;
|
|
1207
|
+
textColor?: string | undefined;
|
|
1208
|
+
scrimOpacity?: string | undefined;
|
|
1209
|
+
highlightRing?: string | undefined;
|
|
1210
|
+
}>>;
|
|
1211
|
+
notification: z.ZodOptional<z.ZodObject<{
|
|
1212
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1213
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1214
|
+
textSecondaryColor: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
border: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
1217
|
+
successColor: z.ZodOptional<z.ZodString>;
|
|
1218
|
+
warningColor: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
errorColor: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
iconBackground: z.ZodOptional<z.ZodString>;
|
|
1221
|
+
progressGradient: z.ZodOptional<z.ZodString>;
|
|
1222
|
+
}, "strip", z.ZodTypeAny, {
|
|
1223
|
+
background?: string | undefined;
|
|
1224
|
+
border?: string | undefined;
|
|
1225
|
+
borderRadius?: string | undefined;
|
|
1226
|
+
textColor?: string | undefined;
|
|
1227
|
+
iconBackground?: string | undefined;
|
|
1228
|
+
textSecondaryColor?: string | undefined;
|
|
1229
|
+
successColor?: string | undefined;
|
|
1230
|
+
warningColor?: string | undefined;
|
|
1231
|
+
errorColor?: string | undefined;
|
|
1232
|
+
progressGradient?: string | undefined;
|
|
1233
|
+
}, {
|
|
1234
|
+
background?: string | undefined;
|
|
1235
|
+
border?: string | undefined;
|
|
1236
|
+
borderRadius?: string | undefined;
|
|
1237
|
+
textColor?: string | undefined;
|
|
1238
|
+
iconBackground?: string | undefined;
|
|
1239
|
+
textSecondaryColor?: string | undefined;
|
|
1240
|
+
successColor?: string | undefined;
|
|
1241
|
+
warningColor?: string | undefined;
|
|
1242
|
+
errorColor?: string | undefined;
|
|
1243
|
+
progressGradient?: string | undefined;
|
|
1244
|
+
}>>;
|
|
904
1245
|
}, "strict", z.ZodTypeAny, {
|
|
905
|
-
|
|
906
|
-
name?: string | undefined;
|
|
1246
|
+
borderRadius?: string | undefined;
|
|
907
1247
|
mode?: "dark" | "light" | undefined;
|
|
1248
|
+
fontFamily?: string | undefined;
|
|
908
1249
|
colorPrimary?: string | undefined;
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
1250
|
+
colorPrimaryHover?: string | undefined;
|
|
1251
|
+
canvas?: {
|
|
1252
|
+
position?: "right" | "left" | undefined;
|
|
1253
|
+
background?: string | undefined;
|
|
1254
|
+
blur?: string | undefined;
|
|
1255
|
+
border?: string | undefined;
|
|
1256
|
+
width?: string | undefined;
|
|
1257
|
+
} | undefined;
|
|
1258
|
+
launcher?: {
|
|
1259
|
+
size?: string | undefined;
|
|
1260
|
+
background?: string | undefined;
|
|
1261
|
+
backgroundHover?: string | undefined;
|
|
1262
|
+
color?: string | undefined;
|
|
1263
|
+
shadow?: string | undefined;
|
|
1264
|
+
} | undefined;
|
|
1265
|
+
tile?: {
|
|
1266
|
+
background?: string | undefined;
|
|
1267
|
+
border?: string | undefined;
|
|
1268
|
+
backgroundHover?: string | undefined;
|
|
1269
|
+
shadow?: string | undefined;
|
|
1270
|
+
borderRadius?: string | undefined;
|
|
1271
|
+
titleColor?: string | undefined;
|
|
1272
|
+
textColor?: string | undefined;
|
|
1273
|
+
iconBackground?: string | undefined;
|
|
1274
|
+
iconShadow?: string | undefined;
|
|
1275
|
+
} | undefined;
|
|
1276
|
+
overlay?: {
|
|
1277
|
+
background?: string | undefined;
|
|
1278
|
+
border?: string | undefined;
|
|
1279
|
+
borderRadius?: string | undefined;
|
|
1280
|
+
textColor?: string | undefined;
|
|
1281
|
+
scrimOpacity?: string | undefined;
|
|
1282
|
+
highlightRing?: string | undefined;
|
|
1283
|
+
} | undefined;
|
|
1284
|
+
notification?: {
|
|
1285
|
+
background?: string | undefined;
|
|
1286
|
+
border?: string | undefined;
|
|
1287
|
+
borderRadius?: string | undefined;
|
|
1288
|
+
textColor?: string | undefined;
|
|
1289
|
+
iconBackground?: string | undefined;
|
|
1290
|
+
textSecondaryColor?: string | undefined;
|
|
1291
|
+
successColor?: string | undefined;
|
|
1292
|
+
warningColor?: string | undefined;
|
|
1293
|
+
errorColor?: string | undefined;
|
|
1294
|
+
progressGradient?: string | undefined;
|
|
1295
|
+
} | undefined;
|
|
913
1296
|
}, {
|
|
914
|
-
|
|
915
|
-
name?: string | undefined;
|
|
1297
|
+
borderRadius?: string | undefined;
|
|
916
1298
|
mode?: "dark" | "light" | undefined;
|
|
1299
|
+
fontFamily?: string | undefined;
|
|
917
1300
|
colorPrimary?: string | undefined;
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
1301
|
+
colorPrimaryHover?: string | undefined;
|
|
1302
|
+
canvas?: {
|
|
1303
|
+
position?: "right" | "left" | undefined;
|
|
1304
|
+
background?: string | undefined;
|
|
1305
|
+
blur?: string | undefined;
|
|
1306
|
+
border?: string | undefined;
|
|
1307
|
+
width?: string | undefined;
|
|
1308
|
+
} | undefined;
|
|
1309
|
+
launcher?: {
|
|
1310
|
+
size?: string | undefined;
|
|
1311
|
+
background?: string | undefined;
|
|
1312
|
+
backgroundHover?: string | undefined;
|
|
1313
|
+
color?: string | undefined;
|
|
1314
|
+
shadow?: string | undefined;
|
|
1315
|
+
} | undefined;
|
|
1316
|
+
tile?: {
|
|
1317
|
+
background?: string | undefined;
|
|
1318
|
+
border?: string | undefined;
|
|
1319
|
+
backgroundHover?: string | undefined;
|
|
1320
|
+
shadow?: string | undefined;
|
|
1321
|
+
borderRadius?: string | undefined;
|
|
1322
|
+
titleColor?: string | undefined;
|
|
1323
|
+
textColor?: string | undefined;
|
|
1324
|
+
iconBackground?: string | undefined;
|
|
1325
|
+
iconShadow?: string | undefined;
|
|
1326
|
+
} | undefined;
|
|
1327
|
+
overlay?: {
|
|
1328
|
+
background?: string | undefined;
|
|
1329
|
+
border?: string | undefined;
|
|
1330
|
+
borderRadius?: string | undefined;
|
|
1331
|
+
textColor?: string | undefined;
|
|
1332
|
+
scrimOpacity?: string | undefined;
|
|
1333
|
+
highlightRing?: string | undefined;
|
|
1334
|
+
} | undefined;
|
|
1335
|
+
notification?: {
|
|
1336
|
+
background?: string | undefined;
|
|
1337
|
+
border?: string | undefined;
|
|
1338
|
+
borderRadius?: string | undefined;
|
|
1339
|
+
textColor?: string | undefined;
|
|
1340
|
+
iconBackground?: string | undefined;
|
|
1341
|
+
textSecondaryColor?: string | undefined;
|
|
1342
|
+
successColor?: string | undefined;
|
|
1343
|
+
warningColor?: string | undefined;
|
|
1344
|
+
errorColor?: string | undefined;
|
|
1345
|
+
progressGradient?: string | undefined;
|
|
1346
|
+
} | undefined;
|
|
922
1347
|
}>;
|
|
923
1348
|
export declare const LauncherConfigZ: z.ZodObject<{
|
|
924
1349
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -958,11 +1383,11 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
958
1383
|
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
959
1384
|
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
960
1385
|
}, "strip", z.ZodTypeAny, {
|
|
961
|
-
exclude?: string[] | undefined;
|
|
962
1386
|
include?: string[] | undefined;
|
|
963
|
-
}, {
|
|
964
1387
|
exclude?: string[] | undefined;
|
|
1388
|
+
}, {
|
|
965
1389
|
include?: string[] | undefined;
|
|
1390
|
+
exclude?: string[] | undefined;
|
|
966
1391
|
}>;
|
|
967
1392
|
strategy: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
968
1393
|
type: z.ZodLiteral<"rules">;
|
|
@@ -971,11 +1396,11 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
971
1396
|
type: z.ZodLiteral<"page_url">;
|
|
972
1397
|
url: z.ZodString;
|
|
973
1398
|
}, "strip", z.ZodTypeAny, {
|
|
974
|
-
url: string;
|
|
975
1399
|
type: "page_url";
|
|
976
|
-
}, {
|
|
977
1400
|
url: string;
|
|
1401
|
+
}, {
|
|
978
1402
|
type: "page_url";
|
|
1403
|
+
url: string;
|
|
979
1404
|
}>, z.ZodObject<{
|
|
980
1405
|
type: z.ZodLiteral<"route">;
|
|
981
1406
|
routeId: z.ZodString;
|
|
@@ -990,13 +1415,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
990
1415
|
anchorId: z.ZodString;
|
|
991
1416
|
state: z.ZodEnum<["visible", "present", "absent"]>;
|
|
992
1417
|
}, "strip", z.ZodTypeAny, {
|
|
1418
|
+
type: "anchor_visible";
|
|
993
1419
|
anchorId: string;
|
|
994
1420
|
state: "visible" | "present" | "absent";
|
|
995
|
-
type: "anchor_visible";
|
|
996
1421
|
}, {
|
|
1422
|
+
type: "anchor_visible";
|
|
997
1423
|
anchorId: string;
|
|
998
1424
|
state: "visible" | "present" | "absent";
|
|
999
|
-
type: "anchor_visible";
|
|
1000
1425
|
}>, z.ZodObject<{
|
|
1001
1426
|
type: z.ZodLiteral<"event_occurred">;
|
|
1002
1427
|
eventName: z.ZodString;
|
|
@@ -1099,31 +1524,70 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1099
1524
|
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
1100
1525
|
count: z.ZodNumber;
|
|
1101
1526
|
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
1527
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
1528
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
1529
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1530
|
+
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1531
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
1532
|
+
}, "strip", z.ZodTypeAny, {
|
|
1533
|
+
equals?: string | number | boolean | undefined;
|
|
1534
|
+
contains?: string | undefined;
|
|
1535
|
+
}, {
|
|
1536
|
+
equals?: string | number | boolean | undefined;
|
|
1537
|
+
contains?: string | undefined;
|
|
1538
|
+
}>>>;
|
|
1539
|
+
}, "strip", z.ZodTypeAny, {
|
|
1540
|
+
events: string[];
|
|
1541
|
+
match?: Record<string, {
|
|
1542
|
+
equals?: string | number | boolean | undefined;
|
|
1543
|
+
contains?: string | undefined;
|
|
1544
|
+
}> | undefined;
|
|
1545
|
+
}, {
|
|
1546
|
+
events: string[];
|
|
1547
|
+
match?: Record<string, {
|
|
1548
|
+
equals?: string | number | boolean | undefined;
|
|
1549
|
+
contains?: string | undefined;
|
|
1550
|
+
}> | undefined;
|
|
1551
|
+
}>>;
|
|
1102
1552
|
}, "strip", z.ZodTypeAny, {
|
|
1103
1553
|
type: "event_count";
|
|
1104
1554
|
key: string;
|
|
1105
1555
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1106
1556
|
count: number;
|
|
1107
1557
|
withinMs?: number | undefined;
|
|
1558
|
+
counter?: {
|
|
1559
|
+
events: string[];
|
|
1560
|
+
match?: Record<string, {
|
|
1561
|
+
equals?: string | number | boolean | undefined;
|
|
1562
|
+
contains?: string | undefined;
|
|
1563
|
+
}> | undefined;
|
|
1564
|
+
} | undefined;
|
|
1108
1565
|
}, {
|
|
1109
1566
|
type: "event_count";
|
|
1110
1567
|
key: string;
|
|
1111
1568
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1112
1569
|
count: number;
|
|
1113
1570
|
withinMs?: number | undefined;
|
|
1571
|
+
counter?: {
|
|
1572
|
+
events: string[];
|
|
1573
|
+
match?: Record<string, {
|
|
1574
|
+
equals?: string | number | boolean | undefined;
|
|
1575
|
+
contains?: string | undefined;
|
|
1576
|
+
}> | undefined;
|
|
1577
|
+
} | undefined;
|
|
1114
1578
|
}>]>, "many">;
|
|
1115
1579
|
value: z.ZodUnknown;
|
|
1116
1580
|
}, "strip", z.ZodTypeAny, {
|
|
1117
1581
|
conditions: ({
|
|
1118
|
-
url: string;
|
|
1119
1582
|
type: "page_url";
|
|
1583
|
+
url: string;
|
|
1120
1584
|
} | {
|
|
1121
1585
|
type: "route";
|
|
1122
1586
|
routeId: string;
|
|
1123
1587
|
} | {
|
|
1588
|
+
type: "anchor_visible";
|
|
1124
1589
|
anchorId: string;
|
|
1125
1590
|
state: "visible" | "present" | "absent";
|
|
1126
|
-
type: "anchor_visible";
|
|
1127
1591
|
} | {
|
|
1128
1592
|
type: "event_occurred";
|
|
1129
1593
|
eventName: string;
|
|
@@ -1162,19 +1626,26 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1162
1626
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1163
1627
|
count: number;
|
|
1164
1628
|
withinMs?: number | undefined;
|
|
1629
|
+
counter?: {
|
|
1630
|
+
events: string[];
|
|
1631
|
+
match?: Record<string, {
|
|
1632
|
+
equals?: string | number | boolean | undefined;
|
|
1633
|
+
contains?: string | undefined;
|
|
1634
|
+
}> | undefined;
|
|
1635
|
+
} | undefined;
|
|
1165
1636
|
})[];
|
|
1166
1637
|
value?: unknown;
|
|
1167
1638
|
}, {
|
|
1168
1639
|
conditions: ({
|
|
1169
|
-
url: string;
|
|
1170
1640
|
type: "page_url";
|
|
1641
|
+
url: string;
|
|
1171
1642
|
} | {
|
|
1172
1643
|
type: "route";
|
|
1173
1644
|
routeId: string;
|
|
1174
1645
|
} | {
|
|
1646
|
+
type: "anchor_visible";
|
|
1175
1647
|
anchorId: string;
|
|
1176
1648
|
state: "visible" | "present" | "absent";
|
|
1177
|
-
type: "anchor_visible";
|
|
1178
1649
|
} | {
|
|
1179
1650
|
type: "event_occurred";
|
|
1180
1651
|
eventName: string;
|
|
@@ -1213,6 +1684,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1213
1684
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1214
1685
|
count: number;
|
|
1215
1686
|
withinMs?: number | undefined;
|
|
1687
|
+
counter?: {
|
|
1688
|
+
events: string[];
|
|
1689
|
+
match?: Record<string, {
|
|
1690
|
+
equals?: string | number | boolean | undefined;
|
|
1691
|
+
contains?: string | undefined;
|
|
1692
|
+
}> | undefined;
|
|
1693
|
+
} | undefined;
|
|
1216
1694
|
})[];
|
|
1217
1695
|
value?: unknown;
|
|
1218
1696
|
}>, "many">;
|
|
@@ -1221,15 +1699,15 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1221
1699
|
type: "rules";
|
|
1222
1700
|
rules: {
|
|
1223
1701
|
conditions: ({
|
|
1224
|
-
url: string;
|
|
1225
1702
|
type: "page_url";
|
|
1703
|
+
url: string;
|
|
1226
1704
|
} | {
|
|
1227
1705
|
type: "route";
|
|
1228
1706
|
routeId: string;
|
|
1229
1707
|
} | {
|
|
1708
|
+
type: "anchor_visible";
|
|
1230
1709
|
anchorId: string;
|
|
1231
1710
|
state: "visible" | "present" | "absent";
|
|
1232
|
-
type: "anchor_visible";
|
|
1233
1711
|
} | {
|
|
1234
1712
|
type: "event_occurred";
|
|
1235
1713
|
eventName: string;
|
|
@@ -1268,6 +1746,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1268
1746
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1269
1747
|
count: number;
|
|
1270
1748
|
withinMs?: number | undefined;
|
|
1749
|
+
counter?: {
|
|
1750
|
+
events: string[];
|
|
1751
|
+
match?: Record<string, {
|
|
1752
|
+
equals?: string | number | boolean | undefined;
|
|
1753
|
+
contains?: string | undefined;
|
|
1754
|
+
}> | undefined;
|
|
1755
|
+
} | undefined;
|
|
1271
1756
|
})[];
|
|
1272
1757
|
value?: unknown;
|
|
1273
1758
|
}[];
|
|
@@ -1276,15 +1761,15 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1276
1761
|
type: "rules";
|
|
1277
1762
|
rules: {
|
|
1278
1763
|
conditions: ({
|
|
1279
|
-
url: string;
|
|
1280
1764
|
type: "page_url";
|
|
1765
|
+
url: string;
|
|
1281
1766
|
} | {
|
|
1282
1767
|
type: "route";
|
|
1283
1768
|
routeId: string;
|
|
1284
1769
|
} | {
|
|
1770
|
+
type: "anchor_visible";
|
|
1285
1771
|
anchorId: string;
|
|
1286
1772
|
state: "visible" | "present" | "absent";
|
|
1287
|
-
type: "anchor_visible";
|
|
1288
1773
|
} | {
|
|
1289
1774
|
type: "event_occurred";
|
|
1290
1775
|
eventName: string;
|
|
@@ -1323,6 +1808,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1323
1808
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1324
1809
|
count: number;
|
|
1325
1810
|
withinMs?: number | undefined;
|
|
1811
|
+
counter?: {
|
|
1812
|
+
events: string[];
|
|
1813
|
+
match?: Record<string, {
|
|
1814
|
+
equals?: string | number | boolean | undefined;
|
|
1815
|
+
contains?: string | undefined;
|
|
1816
|
+
}> | undefined;
|
|
1817
|
+
} | undefined;
|
|
1326
1818
|
})[];
|
|
1327
1819
|
value?: unknown;
|
|
1328
1820
|
}[];
|
|
@@ -1372,34 +1864,34 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1372
1864
|
}, "strip", z.ZodTypeAny, {
|
|
1373
1865
|
type: "external";
|
|
1374
1866
|
endpoint: string;
|
|
1375
|
-
timeoutMs?: number | undefined;
|
|
1376
1867
|
default?: unknown;
|
|
1377
1868
|
method?: "GET" | "POST" | undefined;
|
|
1869
|
+
timeoutMs?: number | undefined;
|
|
1378
1870
|
}, {
|
|
1379
1871
|
type: "external";
|
|
1380
1872
|
endpoint: string;
|
|
1381
|
-
timeoutMs?: number | undefined;
|
|
1382
1873
|
default?: unknown;
|
|
1383
1874
|
method?: "GET" | "POST" | undefined;
|
|
1875
|
+
timeoutMs?: number | undefined;
|
|
1384
1876
|
}>]>>;
|
|
1385
1877
|
}, "strip", z.ZodTypeAny, {
|
|
1386
1878
|
routes: {
|
|
1387
|
-
exclude?: string[] | undefined;
|
|
1388
1879
|
include?: string[] | undefined;
|
|
1880
|
+
exclude?: string[] | undefined;
|
|
1389
1881
|
};
|
|
1390
1882
|
strategy?: {
|
|
1391
1883
|
type: "rules";
|
|
1392
1884
|
rules: {
|
|
1393
1885
|
conditions: ({
|
|
1394
|
-
url: string;
|
|
1395
1886
|
type: "page_url";
|
|
1887
|
+
url: string;
|
|
1396
1888
|
} | {
|
|
1397
1889
|
type: "route";
|
|
1398
1890
|
routeId: string;
|
|
1399
1891
|
} | {
|
|
1892
|
+
type: "anchor_visible";
|
|
1400
1893
|
anchorId: string;
|
|
1401
1894
|
state: "visible" | "present" | "absent";
|
|
1402
|
-
type: "anchor_visible";
|
|
1403
1895
|
} | {
|
|
1404
1896
|
type: "event_occurred";
|
|
1405
1897
|
eventName: string;
|
|
@@ -1438,6 +1930,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1438
1930
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1439
1931
|
count: number;
|
|
1440
1932
|
withinMs?: number | undefined;
|
|
1933
|
+
counter?: {
|
|
1934
|
+
events: string[];
|
|
1935
|
+
match?: Record<string, {
|
|
1936
|
+
equals?: string | number | boolean | undefined;
|
|
1937
|
+
contains?: string | undefined;
|
|
1938
|
+
}> | undefined;
|
|
1939
|
+
} | undefined;
|
|
1441
1940
|
})[];
|
|
1442
1941
|
value?: unknown;
|
|
1443
1942
|
}[];
|
|
@@ -1457,28 +1956,28 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1457
1956
|
} | {
|
|
1458
1957
|
type: "external";
|
|
1459
1958
|
endpoint: string;
|
|
1460
|
-
timeoutMs?: number | undefined;
|
|
1461
1959
|
default?: unknown;
|
|
1462
1960
|
method?: "GET" | "POST" | undefined;
|
|
1961
|
+
timeoutMs?: number | undefined;
|
|
1463
1962
|
} | undefined;
|
|
1464
1963
|
}, {
|
|
1465
1964
|
routes: {
|
|
1466
|
-
exclude?: string[] | undefined;
|
|
1467
1965
|
include?: string[] | undefined;
|
|
1966
|
+
exclude?: string[] | undefined;
|
|
1468
1967
|
};
|
|
1469
1968
|
strategy?: {
|
|
1470
1969
|
type: "rules";
|
|
1471
1970
|
rules: {
|
|
1472
1971
|
conditions: ({
|
|
1473
|
-
url: string;
|
|
1474
1972
|
type: "page_url";
|
|
1973
|
+
url: string;
|
|
1475
1974
|
} | {
|
|
1476
1975
|
type: "route";
|
|
1477
1976
|
routeId: string;
|
|
1478
1977
|
} | {
|
|
1978
|
+
type: "anchor_visible";
|
|
1479
1979
|
anchorId: string;
|
|
1480
1980
|
state: "visible" | "present" | "absent";
|
|
1481
|
-
type: "anchor_visible";
|
|
1482
1981
|
} | {
|
|
1483
1982
|
type: "event_occurred";
|
|
1484
1983
|
eventName: string;
|
|
@@ -1517,6 +2016,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1517
2016
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1518
2017
|
count: number;
|
|
1519
2018
|
withinMs?: number | undefined;
|
|
2019
|
+
counter?: {
|
|
2020
|
+
events: string[];
|
|
2021
|
+
match?: Record<string, {
|
|
2022
|
+
equals?: string | number | boolean | undefined;
|
|
2023
|
+
contains?: string | undefined;
|
|
2024
|
+
}> | undefined;
|
|
2025
|
+
} | undefined;
|
|
1520
2026
|
})[];
|
|
1521
2027
|
value?: unknown;
|
|
1522
2028
|
}[];
|
|
@@ -1536,9 +2042,9 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1536
2042
|
} | {
|
|
1537
2043
|
type: "external";
|
|
1538
2044
|
endpoint: string;
|
|
1539
|
-
timeoutMs?: number | undefined;
|
|
1540
2045
|
default?: unknown;
|
|
1541
2046
|
method?: "GET" | "POST" | undefined;
|
|
2047
|
+
timeoutMs?: number | undefined;
|
|
1542
2048
|
} | undefined;
|
|
1543
2049
|
}>>;
|
|
1544
2050
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1589,22 +2095,22 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1589
2095
|
title?: string | undefined;
|
|
1590
2096
|
activation?: {
|
|
1591
2097
|
routes: {
|
|
1592
|
-
exclude?: string[] | undefined;
|
|
1593
2098
|
include?: string[] | undefined;
|
|
2099
|
+
exclude?: string[] | undefined;
|
|
1594
2100
|
};
|
|
1595
2101
|
strategy?: {
|
|
1596
2102
|
type: "rules";
|
|
1597
2103
|
rules: {
|
|
1598
2104
|
conditions: ({
|
|
1599
|
-
url: string;
|
|
1600
2105
|
type: "page_url";
|
|
2106
|
+
url: string;
|
|
1601
2107
|
} | {
|
|
1602
2108
|
type: "route";
|
|
1603
2109
|
routeId: string;
|
|
1604
2110
|
} | {
|
|
2111
|
+
type: "anchor_visible";
|
|
1605
2112
|
anchorId: string;
|
|
1606
2113
|
state: "visible" | "present" | "absent";
|
|
1607
|
-
type: "anchor_visible";
|
|
1608
2114
|
} | {
|
|
1609
2115
|
type: "event_occurred";
|
|
1610
2116
|
eventName: string;
|
|
@@ -1643,6 +2149,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1643
2149
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1644
2150
|
count: number;
|
|
1645
2151
|
withinMs?: number | undefined;
|
|
2152
|
+
counter?: {
|
|
2153
|
+
events: string[];
|
|
2154
|
+
match?: Record<string, {
|
|
2155
|
+
equals?: string | number | boolean | undefined;
|
|
2156
|
+
contains?: string | undefined;
|
|
2157
|
+
}> | undefined;
|
|
2158
|
+
} | undefined;
|
|
1646
2159
|
})[];
|
|
1647
2160
|
value?: unknown;
|
|
1648
2161
|
}[];
|
|
@@ -1662,9 +2175,9 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1662
2175
|
} | {
|
|
1663
2176
|
type: "external";
|
|
1664
2177
|
endpoint: string;
|
|
1665
|
-
timeoutMs?: number | undefined;
|
|
1666
2178
|
default?: unknown;
|
|
1667
2179
|
method?: "GET" | "POST" | undefined;
|
|
2180
|
+
timeoutMs?: number | undefined;
|
|
1668
2181
|
} | undefined;
|
|
1669
2182
|
} | undefined;
|
|
1670
2183
|
notifications?: {
|
|
@@ -1687,22 +2200,22 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1687
2200
|
title?: string | undefined;
|
|
1688
2201
|
activation?: {
|
|
1689
2202
|
routes: {
|
|
1690
|
-
exclude?: string[] | undefined;
|
|
1691
2203
|
include?: string[] | undefined;
|
|
2204
|
+
exclude?: string[] | undefined;
|
|
1692
2205
|
};
|
|
1693
2206
|
strategy?: {
|
|
1694
2207
|
type: "rules";
|
|
1695
2208
|
rules: {
|
|
1696
2209
|
conditions: ({
|
|
1697
|
-
url: string;
|
|
1698
2210
|
type: "page_url";
|
|
2211
|
+
url: string;
|
|
1699
2212
|
} | {
|
|
1700
2213
|
type: "route";
|
|
1701
2214
|
routeId: string;
|
|
1702
2215
|
} | {
|
|
2216
|
+
type: "anchor_visible";
|
|
1703
2217
|
anchorId: string;
|
|
1704
2218
|
state: "visible" | "present" | "absent";
|
|
1705
|
-
type: "anchor_visible";
|
|
1706
2219
|
} | {
|
|
1707
2220
|
type: "event_occurred";
|
|
1708
2221
|
eventName: string;
|
|
@@ -1741,6 +2254,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1741
2254
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1742
2255
|
count: number;
|
|
1743
2256
|
withinMs?: number | undefined;
|
|
2257
|
+
counter?: {
|
|
2258
|
+
events: string[];
|
|
2259
|
+
match?: Record<string, {
|
|
2260
|
+
equals?: string | number | boolean | undefined;
|
|
2261
|
+
contains?: string | undefined;
|
|
2262
|
+
}> | undefined;
|
|
2263
|
+
} | undefined;
|
|
1744
2264
|
})[];
|
|
1745
2265
|
value?: unknown;
|
|
1746
2266
|
}[];
|
|
@@ -1760,9 +2280,9 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1760
2280
|
} | {
|
|
1761
2281
|
type: "external";
|
|
1762
2282
|
endpoint: string;
|
|
1763
|
-
timeoutMs?: number | undefined;
|
|
1764
2283
|
default?: unknown;
|
|
1765
2284
|
method?: "GET" | "POST" | undefined;
|
|
2285
|
+
timeoutMs?: number | undefined;
|
|
1766
2286
|
} | undefined;
|
|
1767
2287
|
} | undefined;
|
|
1768
2288
|
notifications?: {
|
|
@@ -1780,32 +2300,238 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1780
2300
|
}>, "many">;
|
|
1781
2301
|
actions: z.ZodArray<z.ZodAny, "many">;
|
|
1782
2302
|
theme: z.ZodOptional<z.ZodObject<{
|
|
1783
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1784
2303
|
mode: z.ZodOptional<z.ZodEnum<["dark", "light"]>>;
|
|
1785
|
-
|
|
2304
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1786
2305
|
colorPrimary: z.ZodOptional<z.ZodString>;
|
|
1787
|
-
|
|
1788
|
-
colorText: z.ZodOptional<z.ZodString>;
|
|
1789
|
-
colorTextSecondary: z.ZodOptional<z.ZodString>;
|
|
2306
|
+
colorPrimaryHover: z.ZodOptional<z.ZodString>;
|
|
1790
2307
|
borderRadius: z.ZodOptional<z.ZodString>;
|
|
2308
|
+
canvas: z.ZodOptional<z.ZodObject<{
|
|
2309
|
+
position: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
|
|
2310
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2311
|
+
blur: z.ZodOptional<z.ZodString>;
|
|
2312
|
+
border: z.ZodOptional<z.ZodString>;
|
|
2313
|
+
width: z.ZodOptional<z.ZodString>;
|
|
2314
|
+
}, "strip", z.ZodTypeAny, {
|
|
2315
|
+
position?: "right" | "left" | undefined;
|
|
2316
|
+
background?: string | undefined;
|
|
2317
|
+
blur?: string | undefined;
|
|
2318
|
+
border?: string | undefined;
|
|
2319
|
+
width?: string | undefined;
|
|
2320
|
+
}, {
|
|
2321
|
+
position?: "right" | "left" | undefined;
|
|
2322
|
+
background?: string | undefined;
|
|
2323
|
+
blur?: string | undefined;
|
|
2324
|
+
border?: string | undefined;
|
|
2325
|
+
width?: string | undefined;
|
|
2326
|
+
}>>;
|
|
2327
|
+
launcher: z.ZodOptional<z.ZodObject<{
|
|
2328
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2329
|
+
backgroundHover: z.ZodOptional<z.ZodString>;
|
|
2330
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2331
|
+
size: z.ZodOptional<z.ZodString>;
|
|
2332
|
+
shadow: z.ZodOptional<z.ZodString>;
|
|
2333
|
+
}, "strip", z.ZodTypeAny, {
|
|
2334
|
+
size?: string | undefined;
|
|
2335
|
+
background?: string | undefined;
|
|
2336
|
+
backgroundHover?: string | undefined;
|
|
2337
|
+
color?: string | undefined;
|
|
2338
|
+
shadow?: string | undefined;
|
|
2339
|
+
}, {
|
|
2340
|
+
size?: string | undefined;
|
|
2341
|
+
background?: string | undefined;
|
|
2342
|
+
backgroundHover?: string | undefined;
|
|
2343
|
+
color?: string | undefined;
|
|
2344
|
+
shadow?: string | undefined;
|
|
2345
|
+
}>>;
|
|
2346
|
+
tile: z.ZodOptional<z.ZodObject<{
|
|
2347
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2348
|
+
backgroundHover: z.ZodOptional<z.ZodString>;
|
|
2349
|
+
border: z.ZodOptional<z.ZodString>;
|
|
2350
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
2351
|
+
shadow: z.ZodOptional<z.ZodString>;
|
|
2352
|
+
titleColor: z.ZodOptional<z.ZodString>;
|
|
2353
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2354
|
+
iconBackground: z.ZodOptional<z.ZodString>;
|
|
2355
|
+
iconShadow: z.ZodOptional<z.ZodString>;
|
|
2356
|
+
}, "strip", z.ZodTypeAny, {
|
|
2357
|
+
background?: string | undefined;
|
|
2358
|
+
border?: string | undefined;
|
|
2359
|
+
backgroundHover?: string | undefined;
|
|
2360
|
+
shadow?: string | undefined;
|
|
2361
|
+
borderRadius?: string | undefined;
|
|
2362
|
+
titleColor?: string | undefined;
|
|
2363
|
+
textColor?: string | undefined;
|
|
2364
|
+
iconBackground?: string | undefined;
|
|
2365
|
+
iconShadow?: string | undefined;
|
|
2366
|
+
}, {
|
|
2367
|
+
background?: string | undefined;
|
|
2368
|
+
border?: string | undefined;
|
|
2369
|
+
backgroundHover?: string | undefined;
|
|
2370
|
+
shadow?: string | undefined;
|
|
2371
|
+
borderRadius?: string | undefined;
|
|
2372
|
+
titleColor?: string | undefined;
|
|
2373
|
+
textColor?: string | undefined;
|
|
2374
|
+
iconBackground?: string | undefined;
|
|
2375
|
+
iconShadow?: string | undefined;
|
|
2376
|
+
}>>;
|
|
2377
|
+
overlay: z.ZodOptional<z.ZodObject<{
|
|
2378
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2379
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2380
|
+
border: z.ZodOptional<z.ZodString>;
|
|
2381
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
2382
|
+
scrimOpacity: z.ZodOptional<z.ZodString>;
|
|
2383
|
+
highlightRing: z.ZodOptional<z.ZodString>;
|
|
2384
|
+
}, "strip", z.ZodTypeAny, {
|
|
2385
|
+
background?: string | undefined;
|
|
2386
|
+
border?: string | undefined;
|
|
2387
|
+
borderRadius?: string | undefined;
|
|
2388
|
+
textColor?: string | undefined;
|
|
2389
|
+
scrimOpacity?: string | undefined;
|
|
2390
|
+
highlightRing?: string | undefined;
|
|
2391
|
+
}, {
|
|
2392
|
+
background?: string | undefined;
|
|
2393
|
+
border?: string | undefined;
|
|
2394
|
+
borderRadius?: string | undefined;
|
|
2395
|
+
textColor?: string | undefined;
|
|
2396
|
+
scrimOpacity?: string | undefined;
|
|
2397
|
+
highlightRing?: string | undefined;
|
|
2398
|
+
}>>;
|
|
2399
|
+
notification: z.ZodOptional<z.ZodObject<{
|
|
2400
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2401
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2402
|
+
textSecondaryColor: z.ZodOptional<z.ZodString>;
|
|
2403
|
+
border: z.ZodOptional<z.ZodString>;
|
|
2404
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
2405
|
+
successColor: z.ZodOptional<z.ZodString>;
|
|
2406
|
+
warningColor: z.ZodOptional<z.ZodString>;
|
|
2407
|
+
errorColor: z.ZodOptional<z.ZodString>;
|
|
2408
|
+
iconBackground: z.ZodOptional<z.ZodString>;
|
|
2409
|
+
progressGradient: z.ZodOptional<z.ZodString>;
|
|
2410
|
+
}, "strip", z.ZodTypeAny, {
|
|
2411
|
+
background?: string | undefined;
|
|
2412
|
+
border?: string | undefined;
|
|
2413
|
+
borderRadius?: string | undefined;
|
|
2414
|
+
textColor?: string | undefined;
|
|
2415
|
+
iconBackground?: string | undefined;
|
|
2416
|
+
textSecondaryColor?: string | undefined;
|
|
2417
|
+
successColor?: string | undefined;
|
|
2418
|
+
warningColor?: string | undefined;
|
|
2419
|
+
errorColor?: string | undefined;
|
|
2420
|
+
progressGradient?: string | undefined;
|
|
2421
|
+
}, {
|
|
2422
|
+
background?: string | undefined;
|
|
2423
|
+
border?: string | undefined;
|
|
2424
|
+
borderRadius?: string | undefined;
|
|
2425
|
+
textColor?: string | undefined;
|
|
2426
|
+
iconBackground?: string | undefined;
|
|
2427
|
+
textSecondaryColor?: string | undefined;
|
|
2428
|
+
successColor?: string | undefined;
|
|
2429
|
+
warningColor?: string | undefined;
|
|
2430
|
+
errorColor?: string | undefined;
|
|
2431
|
+
progressGradient?: string | undefined;
|
|
2432
|
+
}>>;
|
|
1791
2433
|
}, "strict", z.ZodTypeAny, {
|
|
1792
|
-
|
|
1793
|
-
name?: string | undefined;
|
|
2434
|
+
borderRadius?: string | undefined;
|
|
1794
2435
|
mode?: "dark" | "light" | undefined;
|
|
2436
|
+
fontFamily?: string | undefined;
|
|
1795
2437
|
colorPrimary?: string | undefined;
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
2438
|
+
colorPrimaryHover?: string | undefined;
|
|
2439
|
+
canvas?: {
|
|
2440
|
+
position?: "right" | "left" | undefined;
|
|
2441
|
+
background?: string | undefined;
|
|
2442
|
+
blur?: string | undefined;
|
|
2443
|
+
border?: string | undefined;
|
|
2444
|
+
width?: string | undefined;
|
|
2445
|
+
} | undefined;
|
|
2446
|
+
launcher?: {
|
|
2447
|
+
size?: string | undefined;
|
|
2448
|
+
background?: string | undefined;
|
|
2449
|
+
backgroundHover?: string | undefined;
|
|
2450
|
+
color?: string | undefined;
|
|
2451
|
+
shadow?: string | undefined;
|
|
2452
|
+
} | undefined;
|
|
2453
|
+
tile?: {
|
|
2454
|
+
background?: string | undefined;
|
|
2455
|
+
border?: string | undefined;
|
|
2456
|
+
backgroundHover?: string | undefined;
|
|
2457
|
+
shadow?: string | undefined;
|
|
2458
|
+
borderRadius?: string | undefined;
|
|
2459
|
+
titleColor?: string | undefined;
|
|
2460
|
+
textColor?: string | undefined;
|
|
2461
|
+
iconBackground?: string | undefined;
|
|
2462
|
+
iconShadow?: string | undefined;
|
|
2463
|
+
} | undefined;
|
|
2464
|
+
overlay?: {
|
|
2465
|
+
background?: string | undefined;
|
|
2466
|
+
border?: string | undefined;
|
|
2467
|
+
borderRadius?: string | undefined;
|
|
2468
|
+
textColor?: string | undefined;
|
|
2469
|
+
scrimOpacity?: string | undefined;
|
|
2470
|
+
highlightRing?: string | undefined;
|
|
2471
|
+
} | undefined;
|
|
2472
|
+
notification?: {
|
|
2473
|
+
background?: string | undefined;
|
|
2474
|
+
border?: string | undefined;
|
|
2475
|
+
borderRadius?: string | undefined;
|
|
2476
|
+
textColor?: string | undefined;
|
|
2477
|
+
iconBackground?: string | undefined;
|
|
2478
|
+
textSecondaryColor?: string | undefined;
|
|
2479
|
+
successColor?: string | undefined;
|
|
2480
|
+
warningColor?: string | undefined;
|
|
2481
|
+
errorColor?: string | undefined;
|
|
2482
|
+
progressGradient?: string | undefined;
|
|
2483
|
+
} | undefined;
|
|
1800
2484
|
}, {
|
|
1801
|
-
|
|
1802
|
-
name?: string | undefined;
|
|
2485
|
+
borderRadius?: string | undefined;
|
|
1803
2486
|
mode?: "dark" | "light" | undefined;
|
|
2487
|
+
fontFamily?: string | undefined;
|
|
1804
2488
|
colorPrimary?: string | undefined;
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
2489
|
+
colorPrimaryHover?: string | undefined;
|
|
2490
|
+
canvas?: {
|
|
2491
|
+
position?: "right" | "left" | undefined;
|
|
2492
|
+
background?: string | undefined;
|
|
2493
|
+
blur?: string | undefined;
|
|
2494
|
+
border?: string | undefined;
|
|
2495
|
+
width?: string | undefined;
|
|
2496
|
+
} | undefined;
|
|
2497
|
+
launcher?: {
|
|
2498
|
+
size?: string | undefined;
|
|
2499
|
+
background?: string | undefined;
|
|
2500
|
+
backgroundHover?: string | undefined;
|
|
2501
|
+
color?: string | undefined;
|
|
2502
|
+
shadow?: string | undefined;
|
|
2503
|
+
} | undefined;
|
|
2504
|
+
tile?: {
|
|
2505
|
+
background?: string | undefined;
|
|
2506
|
+
border?: string | undefined;
|
|
2507
|
+
backgroundHover?: string | undefined;
|
|
2508
|
+
shadow?: string | undefined;
|
|
2509
|
+
borderRadius?: string | undefined;
|
|
2510
|
+
titleColor?: string | undefined;
|
|
2511
|
+
textColor?: string | undefined;
|
|
2512
|
+
iconBackground?: string | undefined;
|
|
2513
|
+
iconShadow?: string | undefined;
|
|
2514
|
+
} | undefined;
|
|
2515
|
+
overlay?: {
|
|
2516
|
+
background?: string | undefined;
|
|
2517
|
+
border?: string | undefined;
|
|
2518
|
+
borderRadius?: string | undefined;
|
|
2519
|
+
textColor?: string | undefined;
|
|
2520
|
+
scrimOpacity?: string | undefined;
|
|
2521
|
+
highlightRing?: string | undefined;
|
|
2522
|
+
} | undefined;
|
|
2523
|
+
notification?: {
|
|
2524
|
+
background?: string | undefined;
|
|
2525
|
+
border?: string | undefined;
|
|
2526
|
+
borderRadius?: string | undefined;
|
|
2527
|
+
textColor?: string | undefined;
|
|
2528
|
+
iconBackground?: string | undefined;
|
|
2529
|
+
textSecondaryColor?: string | undefined;
|
|
2530
|
+
successColor?: string | undefined;
|
|
2531
|
+
warningColor?: string | undefined;
|
|
2532
|
+
errorColor?: string | undefined;
|
|
2533
|
+
progressGradient?: string | undefined;
|
|
2534
|
+
} | undefined;
|
|
1809
2535
|
}>>;
|
|
1810
2536
|
launcher: z.ZodOptional<z.ZodObject<{
|
|
1811
2537
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1829,6 +2555,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1829
2555
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
1830
2556
|
notificationCount?: number | undefined;
|
|
1831
2557
|
}>>;
|
|
2558
|
+
verificationSteps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1832
2559
|
}, "strict", z.ZodTypeAny, {
|
|
1833
2560
|
actions: any[];
|
|
1834
2561
|
fetchedAt: string;
|
|
@@ -1840,22 +2567,22 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1840
2567
|
title?: string | undefined;
|
|
1841
2568
|
activation?: {
|
|
1842
2569
|
routes: {
|
|
1843
|
-
exclude?: string[] | undefined;
|
|
1844
2570
|
include?: string[] | undefined;
|
|
2571
|
+
exclude?: string[] | undefined;
|
|
1845
2572
|
};
|
|
1846
2573
|
strategy?: {
|
|
1847
2574
|
type: "rules";
|
|
1848
2575
|
rules: {
|
|
1849
2576
|
conditions: ({
|
|
1850
|
-
url: string;
|
|
1851
2577
|
type: "page_url";
|
|
2578
|
+
url: string;
|
|
1852
2579
|
} | {
|
|
1853
2580
|
type: "route";
|
|
1854
2581
|
routeId: string;
|
|
1855
2582
|
} | {
|
|
2583
|
+
type: "anchor_visible";
|
|
1856
2584
|
anchorId: string;
|
|
1857
2585
|
state: "visible" | "present" | "absent";
|
|
1858
|
-
type: "anchor_visible";
|
|
1859
2586
|
} | {
|
|
1860
2587
|
type: "event_occurred";
|
|
1861
2588
|
eventName: string;
|
|
@@ -1894,6 +2621,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1894
2621
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1895
2622
|
count: number;
|
|
1896
2623
|
withinMs?: number | undefined;
|
|
2624
|
+
counter?: {
|
|
2625
|
+
events: string[];
|
|
2626
|
+
match?: Record<string, {
|
|
2627
|
+
equals?: string | number | boolean | undefined;
|
|
2628
|
+
contains?: string | undefined;
|
|
2629
|
+
}> | undefined;
|
|
2630
|
+
} | undefined;
|
|
1897
2631
|
})[];
|
|
1898
2632
|
value?: unknown;
|
|
1899
2633
|
}[];
|
|
@@ -1913,9 +2647,9 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1913
2647
|
} | {
|
|
1914
2648
|
type: "external";
|
|
1915
2649
|
endpoint: string;
|
|
1916
|
-
timeoutMs?: number | undefined;
|
|
1917
2650
|
default?: unknown;
|
|
1918
2651
|
method?: "GET" | "POST" | undefined;
|
|
2652
|
+
timeoutMs?: number | undefined;
|
|
1919
2653
|
} | undefined;
|
|
1920
2654
|
} | undefined;
|
|
1921
2655
|
notifications?: {
|
|
@@ -1931,19 +2665,6 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1931
2665
|
} | undefined;
|
|
1932
2666
|
}[] | undefined;
|
|
1933
2667
|
}[];
|
|
1934
|
-
schemaVersion?: string | undefined;
|
|
1935
|
-
configVersion?: string | undefined;
|
|
1936
|
-
canvasTitle?: string | undefined;
|
|
1937
|
-
theme?: {
|
|
1938
|
-
position?: "right" | "left" | undefined;
|
|
1939
|
-
name?: string | undefined;
|
|
1940
|
-
mode?: "dark" | "light" | undefined;
|
|
1941
|
-
colorPrimary?: string | undefined;
|
|
1942
|
-
colorBackground?: string | undefined;
|
|
1943
|
-
colorText?: string | undefined;
|
|
1944
|
-
colorTextSecondary?: string | undefined;
|
|
1945
|
-
borderRadius?: string | undefined;
|
|
1946
|
-
} | undefined;
|
|
1947
2668
|
launcher?: {
|
|
1948
2669
|
position?: string | undefined;
|
|
1949
2670
|
label?: string | undefined;
|
|
@@ -1952,6 +2673,62 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1952
2673
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
1953
2674
|
notificationCount?: number | undefined;
|
|
1954
2675
|
} | undefined;
|
|
2676
|
+
schemaVersion?: string | undefined;
|
|
2677
|
+
configVersion?: string | undefined;
|
|
2678
|
+
canvasTitle?: string | undefined;
|
|
2679
|
+
theme?: {
|
|
2680
|
+
borderRadius?: string | undefined;
|
|
2681
|
+
mode?: "dark" | "light" | undefined;
|
|
2682
|
+
fontFamily?: string | undefined;
|
|
2683
|
+
colorPrimary?: string | undefined;
|
|
2684
|
+
colorPrimaryHover?: string | undefined;
|
|
2685
|
+
canvas?: {
|
|
2686
|
+
position?: "right" | "left" | undefined;
|
|
2687
|
+
background?: string | undefined;
|
|
2688
|
+
blur?: string | undefined;
|
|
2689
|
+
border?: string | undefined;
|
|
2690
|
+
width?: string | undefined;
|
|
2691
|
+
} | undefined;
|
|
2692
|
+
launcher?: {
|
|
2693
|
+
size?: string | undefined;
|
|
2694
|
+
background?: string | undefined;
|
|
2695
|
+
backgroundHover?: string | undefined;
|
|
2696
|
+
color?: string | undefined;
|
|
2697
|
+
shadow?: string | undefined;
|
|
2698
|
+
} | undefined;
|
|
2699
|
+
tile?: {
|
|
2700
|
+
background?: string | undefined;
|
|
2701
|
+
border?: string | undefined;
|
|
2702
|
+
backgroundHover?: string | undefined;
|
|
2703
|
+
shadow?: string | undefined;
|
|
2704
|
+
borderRadius?: string | undefined;
|
|
2705
|
+
titleColor?: string | undefined;
|
|
2706
|
+
textColor?: string | undefined;
|
|
2707
|
+
iconBackground?: string | undefined;
|
|
2708
|
+
iconShadow?: string | undefined;
|
|
2709
|
+
} | undefined;
|
|
2710
|
+
overlay?: {
|
|
2711
|
+
background?: string | undefined;
|
|
2712
|
+
border?: string | undefined;
|
|
2713
|
+
borderRadius?: string | undefined;
|
|
2714
|
+
textColor?: string | undefined;
|
|
2715
|
+
scrimOpacity?: string | undefined;
|
|
2716
|
+
highlightRing?: string | undefined;
|
|
2717
|
+
} | undefined;
|
|
2718
|
+
notification?: {
|
|
2719
|
+
background?: string | undefined;
|
|
2720
|
+
border?: string | undefined;
|
|
2721
|
+
borderRadius?: string | undefined;
|
|
2722
|
+
textColor?: string | undefined;
|
|
2723
|
+
iconBackground?: string | undefined;
|
|
2724
|
+
textSecondaryColor?: string | undefined;
|
|
2725
|
+
successColor?: string | undefined;
|
|
2726
|
+
warningColor?: string | undefined;
|
|
2727
|
+
errorColor?: string | undefined;
|
|
2728
|
+
progressGradient?: string | undefined;
|
|
2729
|
+
} | undefined;
|
|
2730
|
+
} | undefined;
|
|
2731
|
+
verificationSteps?: string[] | undefined;
|
|
1955
2732
|
}, {
|
|
1956
2733
|
actions: any[];
|
|
1957
2734
|
fetchedAt: string;
|
|
@@ -1963,22 +2740,22 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1963
2740
|
title?: string | undefined;
|
|
1964
2741
|
activation?: {
|
|
1965
2742
|
routes: {
|
|
1966
|
-
exclude?: string[] | undefined;
|
|
1967
2743
|
include?: string[] | undefined;
|
|
2744
|
+
exclude?: string[] | undefined;
|
|
1968
2745
|
};
|
|
1969
2746
|
strategy?: {
|
|
1970
2747
|
type: "rules";
|
|
1971
2748
|
rules: {
|
|
1972
2749
|
conditions: ({
|
|
1973
|
-
url: string;
|
|
1974
2750
|
type: "page_url";
|
|
2751
|
+
url: string;
|
|
1975
2752
|
} | {
|
|
1976
2753
|
type: "route";
|
|
1977
2754
|
routeId: string;
|
|
1978
2755
|
} | {
|
|
2756
|
+
type: "anchor_visible";
|
|
1979
2757
|
anchorId: string;
|
|
1980
2758
|
state: "visible" | "present" | "absent";
|
|
1981
|
-
type: "anchor_visible";
|
|
1982
2759
|
} | {
|
|
1983
2760
|
type: "event_occurred";
|
|
1984
2761
|
eventName: string;
|
|
@@ -2017,6 +2794,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
2017
2794
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2018
2795
|
count: number;
|
|
2019
2796
|
withinMs?: number | undefined;
|
|
2797
|
+
counter?: {
|
|
2798
|
+
events: string[];
|
|
2799
|
+
match?: Record<string, {
|
|
2800
|
+
equals?: string | number | boolean | undefined;
|
|
2801
|
+
contains?: string | undefined;
|
|
2802
|
+
}> | undefined;
|
|
2803
|
+
} | undefined;
|
|
2020
2804
|
})[];
|
|
2021
2805
|
value?: unknown;
|
|
2022
2806
|
}[];
|
|
@@ -2036,9 +2820,9 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
2036
2820
|
} | {
|
|
2037
2821
|
type: "external";
|
|
2038
2822
|
endpoint: string;
|
|
2039
|
-
timeoutMs?: number | undefined;
|
|
2040
2823
|
default?: unknown;
|
|
2041
2824
|
method?: "GET" | "POST" | undefined;
|
|
2825
|
+
timeoutMs?: number | undefined;
|
|
2042
2826
|
} | undefined;
|
|
2043
2827
|
} | undefined;
|
|
2044
2828
|
notifications?: {
|
|
@@ -2054,19 +2838,6 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
2054
2838
|
} | undefined;
|
|
2055
2839
|
}[] | undefined;
|
|
2056
2840
|
}[];
|
|
2057
|
-
schemaVersion?: string | undefined;
|
|
2058
|
-
configVersion?: string | undefined;
|
|
2059
|
-
canvasTitle?: string | undefined;
|
|
2060
|
-
theme?: {
|
|
2061
|
-
position?: "right" | "left" | undefined;
|
|
2062
|
-
name?: string | undefined;
|
|
2063
|
-
mode?: "dark" | "light" | undefined;
|
|
2064
|
-
colorPrimary?: string | undefined;
|
|
2065
|
-
colorBackground?: string | undefined;
|
|
2066
|
-
colorText?: string | undefined;
|
|
2067
|
-
colorTextSecondary?: string | undefined;
|
|
2068
|
-
borderRadius?: string | undefined;
|
|
2069
|
-
} | undefined;
|
|
2070
2841
|
launcher?: {
|
|
2071
2842
|
position?: string | undefined;
|
|
2072
2843
|
label?: string | undefined;
|
|
@@ -2075,6 +2846,62 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
2075
2846
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
2076
2847
|
notificationCount?: number | undefined;
|
|
2077
2848
|
} | undefined;
|
|
2849
|
+
schemaVersion?: string | undefined;
|
|
2850
|
+
configVersion?: string | undefined;
|
|
2851
|
+
canvasTitle?: string | undefined;
|
|
2852
|
+
theme?: {
|
|
2853
|
+
borderRadius?: string | undefined;
|
|
2854
|
+
mode?: "dark" | "light" | undefined;
|
|
2855
|
+
fontFamily?: string | undefined;
|
|
2856
|
+
colorPrimary?: string | undefined;
|
|
2857
|
+
colorPrimaryHover?: string | undefined;
|
|
2858
|
+
canvas?: {
|
|
2859
|
+
position?: "right" | "left" | undefined;
|
|
2860
|
+
background?: string | undefined;
|
|
2861
|
+
blur?: string | undefined;
|
|
2862
|
+
border?: string | undefined;
|
|
2863
|
+
width?: string | undefined;
|
|
2864
|
+
} | undefined;
|
|
2865
|
+
launcher?: {
|
|
2866
|
+
size?: string | undefined;
|
|
2867
|
+
background?: string | undefined;
|
|
2868
|
+
backgroundHover?: string | undefined;
|
|
2869
|
+
color?: string | undefined;
|
|
2870
|
+
shadow?: string | undefined;
|
|
2871
|
+
} | undefined;
|
|
2872
|
+
tile?: {
|
|
2873
|
+
background?: string | undefined;
|
|
2874
|
+
border?: string | undefined;
|
|
2875
|
+
backgroundHover?: string | undefined;
|
|
2876
|
+
shadow?: string | undefined;
|
|
2877
|
+
borderRadius?: string | undefined;
|
|
2878
|
+
titleColor?: string | undefined;
|
|
2879
|
+
textColor?: string | undefined;
|
|
2880
|
+
iconBackground?: string | undefined;
|
|
2881
|
+
iconShadow?: string | undefined;
|
|
2882
|
+
} | undefined;
|
|
2883
|
+
overlay?: {
|
|
2884
|
+
background?: string | undefined;
|
|
2885
|
+
border?: string | undefined;
|
|
2886
|
+
borderRadius?: string | undefined;
|
|
2887
|
+
textColor?: string | undefined;
|
|
2888
|
+
scrimOpacity?: string | undefined;
|
|
2889
|
+
highlightRing?: string | undefined;
|
|
2890
|
+
} | undefined;
|
|
2891
|
+
notification?: {
|
|
2892
|
+
background?: string | undefined;
|
|
2893
|
+
border?: string | undefined;
|
|
2894
|
+
borderRadius?: string | undefined;
|
|
2895
|
+
textColor?: string | undefined;
|
|
2896
|
+
iconBackground?: string | undefined;
|
|
2897
|
+
textSecondaryColor?: string | undefined;
|
|
2898
|
+
successColor?: string | undefined;
|
|
2899
|
+
warningColor?: string | undefined;
|
|
2900
|
+
errorColor?: string | undefined;
|
|
2901
|
+
progressGradient?: string | undefined;
|
|
2902
|
+
} | undefined;
|
|
2903
|
+
} | undefined;
|
|
2904
|
+
verificationSteps?: string[] | undefined;
|
|
2078
2905
|
}>;
|
|
2079
2906
|
/**
|
|
2080
2907
|
* Config schemas for unified JSON Schema generation.
|
|
@@ -2093,11 +2920,11 @@ export declare const configSchemas: ({
|
|
|
2093
2920
|
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2094
2921
|
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2095
2922
|
}, "strip", z.ZodTypeAny, {
|
|
2096
|
-
exclude?: string[] | undefined;
|
|
2097
2923
|
include?: string[] | undefined;
|
|
2098
|
-
}, {
|
|
2099
2924
|
exclude?: string[] | undefined;
|
|
2925
|
+
}, {
|
|
2100
2926
|
include?: string[] | undefined;
|
|
2927
|
+
exclude?: string[] | undefined;
|
|
2101
2928
|
}>;
|
|
2102
2929
|
strategy: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2103
2930
|
type: z.ZodLiteral<"rules">;
|
|
@@ -2106,11 +2933,11 @@ export declare const configSchemas: ({
|
|
|
2106
2933
|
type: z.ZodLiteral<"page_url">;
|
|
2107
2934
|
url: z.ZodString;
|
|
2108
2935
|
}, "strip", z.ZodTypeAny, {
|
|
2109
|
-
url: string;
|
|
2110
2936
|
type: "page_url";
|
|
2111
|
-
}, {
|
|
2112
2937
|
url: string;
|
|
2938
|
+
}, {
|
|
2113
2939
|
type: "page_url";
|
|
2940
|
+
url: string;
|
|
2114
2941
|
}>, z.ZodObject<{
|
|
2115
2942
|
type: z.ZodLiteral<"route">;
|
|
2116
2943
|
routeId: z.ZodString;
|
|
@@ -2125,13 +2952,13 @@ export declare const configSchemas: ({
|
|
|
2125
2952
|
anchorId: z.ZodString;
|
|
2126
2953
|
state: z.ZodEnum<["visible", "present", "absent"]>;
|
|
2127
2954
|
}, "strip", z.ZodTypeAny, {
|
|
2955
|
+
type: "anchor_visible";
|
|
2128
2956
|
anchorId: string;
|
|
2129
2957
|
state: "visible" | "present" | "absent";
|
|
2130
|
-
type: "anchor_visible";
|
|
2131
2958
|
}, {
|
|
2959
|
+
type: "anchor_visible";
|
|
2132
2960
|
anchorId: string;
|
|
2133
2961
|
state: "visible" | "present" | "absent";
|
|
2134
|
-
type: "anchor_visible";
|
|
2135
2962
|
}>, z.ZodObject<{
|
|
2136
2963
|
type: z.ZodLiteral<"event_occurred">;
|
|
2137
2964
|
eventName: z.ZodString;
|
|
@@ -2234,31 +3061,70 @@ export declare const configSchemas: ({
|
|
|
2234
3061
|
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
2235
3062
|
count: z.ZodNumber;
|
|
2236
3063
|
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
3064
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
3065
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
3066
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3067
|
+
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3068
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
3069
|
+
}, "strip", z.ZodTypeAny, {
|
|
3070
|
+
equals?: string | number | boolean | undefined;
|
|
3071
|
+
contains?: string | undefined;
|
|
3072
|
+
}, {
|
|
3073
|
+
equals?: string | number | boolean | undefined;
|
|
3074
|
+
contains?: string | undefined;
|
|
3075
|
+
}>>>;
|
|
3076
|
+
}, "strip", z.ZodTypeAny, {
|
|
3077
|
+
events: string[];
|
|
3078
|
+
match?: Record<string, {
|
|
3079
|
+
equals?: string | number | boolean | undefined;
|
|
3080
|
+
contains?: string | undefined;
|
|
3081
|
+
}> | undefined;
|
|
3082
|
+
}, {
|
|
3083
|
+
events: string[];
|
|
3084
|
+
match?: Record<string, {
|
|
3085
|
+
equals?: string | number | boolean | undefined;
|
|
3086
|
+
contains?: string | undefined;
|
|
3087
|
+
}> | undefined;
|
|
3088
|
+
}>>;
|
|
2237
3089
|
}, "strip", z.ZodTypeAny, {
|
|
2238
3090
|
type: "event_count";
|
|
2239
3091
|
key: string;
|
|
2240
3092
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2241
3093
|
count: number;
|
|
2242
3094
|
withinMs?: number | undefined;
|
|
3095
|
+
counter?: {
|
|
3096
|
+
events: string[];
|
|
3097
|
+
match?: Record<string, {
|
|
3098
|
+
equals?: string | number | boolean | undefined;
|
|
3099
|
+
contains?: string | undefined;
|
|
3100
|
+
}> | undefined;
|
|
3101
|
+
} | undefined;
|
|
2243
3102
|
}, {
|
|
2244
3103
|
type: "event_count";
|
|
2245
3104
|
key: string;
|
|
2246
3105
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2247
3106
|
count: number;
|
|
2248
3107
|
withinMs?: number | undefined;
|
|
3108
|
+
counter?: {
|
|
3109
|
+
events: string[];
|
|
3110
|
+
match?: Record<string, {
|
|
3111
|
+
equals?: string | number | boolean | undefined;
|
|
3112
|
+
contains?: string | undefined;
|
|
3113
|
+
}> | undefined;
|
|
3114
|
+
} | undefined;
|
|
2249
3115
|
}>]>, "many">;
|
|
2250
3116
|
value: z.ZodUnknown;
|
|
2251
3117
|
}, "strip", z.ZodTypeAny, {
|
|
2252
3118
|
conditions: ({
|
|
2253
|
-
url: string;
|
|
2254
3119
|
type: "page_url";
|
|
3120
|
+
url: string;
|
|
2255
3121
|
} | {
|
|
2256
3122
|
type: "route";
|
|
2257
3123
|
routeId: string;
|
|
2258
3124
|
} | {
|
|
3125
|
+
type: "anchor_visible";
|
|
2259
3126
|
anchorId: string;
|
|
2260
3127
|
state: "visible" | "present" | "absent";
|
|
2261
|
-
type: "anchor_visible";
|
|
2262
3128
|
} | {
|
|
2263
3129
|
type: "event_occurred";
|
|
2264
3130
|
eventName: string;
|
|
@@ -2297,19 +3163,26 @@ export declare const configSchemas: ({
|
|
|
2297
3163
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2298
3164
|
count: number;
|
|
2299
3165
|
withinMs?: number | undefined;
|
|
3166
|
+
counter?: {
|
|
3167
|
+
events: string[];
|
|
3168
|
+
match?: Record<string, {
|
|
3169
|
+
equals?: string | number | boolean | undefined;
|
|
3170
|
+
contains?: string | undefined;
|
|
3171
|
+
}> | undefined;
|
|
3172
|
+
} | undefined;
|
|
2300
3173
|
})[];
|
|
2301
3174
|
value?: unknown;
|
|
2302
3175
|
}, {
|
|
2303
3176
|
conditions: ({
|
|
2304
|
-
url: string;
|
|
2305
3177
|
type: "page_url";
|
|
3178
|
+
url: string;
|
|
2306
3179
|
} | {
|
|
2307
3180
|
type: "route";
|
|
2308
3181
|
routeId: string;
|
|
2309
3182
|
} | {
|
|
3183
|
+
type: "anchor_visible";
|
|
2310
3184
|
anchorId: string;
|
|
2311
3185
|
state: "visible" | "present" | "absent";
|
|
2312
|
-
type: "anchor_visible";
|
|
2313
3186
|
} | {
|
|
2314
3187
|
type: "event_occurred";
|
|
2315
3188
|
eventName: string;
|
|
@@ -2348,6 +3221,13 @@ export declare const configSchemas: ({
|
|
|
2348
3221
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2349
3222
|
count: number;
|
|
2350
3223
|
withinMs?: number | undefined;
|
|
3224
|
+
counter?: {
|
|
3225
|
+
events: string[];
|
|
3226
|
+
match?: Record<string, {
|
|
3227
|
+
equals?: string | number | boolean | undefined;
|
|
3228
|
+
contains?: string | undefined;
|
|
3229
|
+
}> | undefined;
|
|
3230
|
+
} | undefined;
|
|
2351
3231
|
})[];
|
|
2352
3232
|
value?: unknown;
|
|
2353
3233
|
}>, "many">;
|
|
@@ -2356,15 +3236,15 @@ export declare const configSchemas: ({
|
|
|
2356
3236
|
type: "rules";
|
|
2357
3237
|
rules: {
|
|
2358
3238
|
conditions: ({
|
|
2359
|
-
url: string;
|
|
2360
3239
|
type: "page_url";
|
|
3240
|
+
url: string;
|
|
2361
3241
|
} | {
|
|
2362
3242
|
type: "route";
|
|
2363
3243
|
routeId: string;
|
|
2364
3244
|
} | {
|
|
3245
|
+
type: "anchor_visible";
|
|
2365
3246
|
anchorId: string;
|
|
2366
3247
|
state: "visible" | "present" | "absent";
|
|
2367
|
-
type: "anchor_visible";
|
|
2368
3248
|
} | {
|
|
2369
3249
|
type: "event_occurred";
|
|
2370
3250
|
eventName: string;
|
|
@@ -2403,6 +3283,13 @@ export declare const configSchemas: ({
|
|
|
2403
3283
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2404
3284
|
count: number;
|
|
2405
3285
|
withinMs?: number | undefined;
|
|
3286
|
+
counter?: {
|
|
3287
|
+
events: string[];
|
|
3288
|
+
match?: Record<string, {
|
|
3289
|
+
equals?: string | number | boolean | undefined;
|
|
3290
|
+
contains?: string | undefined;
|
|
3291
|
+
}> | undefined;
|
|
3292
|
+
} | undefined;
|
|
2406
3293
|
})[];
|
|
2407
3294
|
value?: unknown;
|
|
2408
3295
|
}[];
|
|
@@ -2411,15 +3298,15 @@ export declare const configSchemas: ({
|
|
|
2411
3298
|
type: "rules";
|
|
2412
3299
|
rules: {
|
|
2413
3300
|
conditions: ({
|
|
2414
|
-
url: string;
|
|
2415
3301
|
type: "page_url";
|
|
3302
|
+
url: string;
|
|
2416
3303
|
} | {
|
|
2417
3304
|
type: "route";
|
|
2418
3305
|
routeId: string;
|
|
2419
3306
|
} | {
|
|
3307
|
+
type: "anchor_visible";
|
|
2420
3308
|
anchorId: string;
|
|
2421
3309
|
state: "visible" | "present" | "absent";
|
|
2422
|
-
type: "anchor_visible";
|
|
2423
3310
|
} | {
|
|
2424
3311
|
type: "event_occurred";
|
|
2425
3312
|
eventName: string;
|
|
@@ -2458,6 +3345,13 @@ export declare const configSchemas: ({
|
|
|
2458
3345
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2459
3346
|
count: number;
|
|
2460
3347
|
withinMs?: number | undefined;
|
|
3348
|
+
counter?: {
|
|
3349
|
+
events: string[];
|
|
3350
|
+
match?: Record<string, {
|
|
3351
|
+
equals?: string | number | boolean | undefined;
|
|
3352
|
+
contains?: string | undefined;
|
|
3353
|
+
}> | undefined;
|
|
3354
|
+
} | undefined;
|
|
2461
3355
|
})[];
|
|
2462
3356
|
value?: unknown;
|
|
2463
3357
|
}[];
|
|
@@ -2507,34 +3401,34 @@ export declare const configSchemas: ({
|
|
|
2507
3401
|
}, "strip", z.ZodTypeAny, {
|
|
2508
3402
|
type: "external";
|
|
2509
3403
|
endpoint: string;
|
|
2510
|
-
timeoutMs?: number | undefined;
|
|
2511
3404
|
default?: unknown;
|
|
2512
3405
|
method?: "GET" | "POST" | undefined;
|
|
3406
|
+
timeoutMs?: number | undefined;
|
|
2513
3407
|
}, {
|
|
2514
3408
|
type: "external";
|
|
2515
3409
|
endpoint: string;
|
|
2516
|
-
timeoutMs?: number | undefined;
|
|
2517
3410
|
default?: unknown;
|
|
2518
3411
|
method?: "GET" | "POST" | undefined;
|
|
3412
|
+
timeoutMs?: number | undefined;
|
|
2519
3413
|
}>]>>;
|
|
2520
3414
|
}, "strip", z.ZodTypeAny, {
|
|
2521
3415
|
routes: {
|
|
2522
|
-
exclude?: string[] | undefined;
|
|
2523
3416
|
include?: string[] | undefined;
|
|
3417
|
+
exclude?: string[] | undefined;
|
|
2524
3418
|
};
|
|
2525
3419
|
strategy?: {
|
|
2526
3420
|
type: "rules";
|
|
2527
3421
|
rules: {
|
|
2528
3422
|
conditions: ({
|
|
2529
|
-
url: string;
|
|
2530
3423
|
type: "page_url";
|
|
3424
|
+
url: string;
|
|
2531
3425
|
} | {
|
|
2532
3426
|
type: "route";
|
|
2533
3427
|
routeId: string;
|
|
2534
3428
|
} | {
|
|
3429
|
+
type: "anchor_visible";
|
|
2535
3430
|
anchorId: string;
|
|
2536
3431
|
state: "visible" | "present" | "absent";
|
|
2537
|
-
type: "anchor_visible";
|
|
2538
3432
|
} | {
|
|
2539
3433
|
type: "event_occurred";
|
|
2540
3434
|
eventName: string;
|
|
@@ -2573,6 +3467,13 @@ export declare const configSchemas: ({
|
|
|
2573
3467
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2574
3468
|
count: number;
|
|
2575
3469
|
withinMs?: number | undefined;
|
|
3470
|
+
counter?: {
|
|
3471
|
+
events: string[];
|
|
3472
|
+
match?: Record<string, {
|
|
3473
|
+
equals?: string | number | boolean | undefined;
|
|
3474
|
+
contains?: string | undefined;
|
|
3475
|
+
}> | undefined;
|
|
3476
|
+
} | undefined;
|
|
2576
3477
|
})[];
|
|
2577
3478
|
value?: unknown;
|
|
2578
3479
|
}[];
|
|
@@ -2592,28 +3493,28 @@ export declare const configSchemas: ({
|
|
|
2592
3493
|
} | {
|
|
2593
3494
|
type: "external";
|
|
2594
3495
|
endpoint: string;
|
|
2595
|
-
timeoutMs?: number | undefined;
|
|
2596
3496
|
default?: unknown;
|
|
2597
3497
|
method?: "GET" | "POST" | undefined;
|
|
3498
|
+
timeoutMs?: number | undefined;
|
|
2598
3499
|
} | undefined;
|
|
2599
3500
|
}, {
|
|
2600
3501
|
routes: {
|
|
2601
|
-
exclude?: string[] | undefined;
|
|
2602
3502
|
include?: string[] | undefined;
|
|
3503
|
+
exclude?: string[] | undefined;
|
|
2603
3504
|
};
|
|
2604
3505
|
strategy?: {
|
|
2605
3506
|
type: "rules";
|
|
2606
3507
|
rules: {
|
|
2607
3508
|
conditions: ({
|
|
2608
|
-
url: string;
|
|
2609
3509
|
type: "page_url";
|
|
3510
|
+
url: string;
|
|
2610
3511
|
} | {
|
|
2611
3512
|
type: "route";
|
|
2612
3513
|
routeId: string;
|
|
2613
3514
|
} | {
|
|
3515
|
+
type: "anchor_visible";
|
|
2614
3516
|
anchorId: string;
|
|
2615
3517
|
state: "visible" | "present" | "absent";
|
|
2616
|
-
type: "anchor_visible";
|
|
2617
3518
|
} | {
|
|
2618
3519
|
type: "event_occurred";
|
|
2619
3520
|
eventName: string;
|
|
@@ -2652,6 +3553,13 @@ export declare const configSchemas: ({
|
|
|
2652
3553
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2653
3554
|
count: number;
|
|
2654
3555
|
withinMs?: number | undefined;
|
|
3556
|
+
counter?: {
|
|
3557
|
+
events: string[];
|
|
3558
|
+
match?: Record<string, {
|
|
3559
|
+
equals?: string | number | boolean | undefined;
|
|
3560
|
+
contains?: string | undefined;
|
|
3561
|
+
}> | undefined;
|
|
3562
|
+
} | undefined;
|
|
2655
3563
|
})[];
|
|
2656
3564
|
value?: unknown;
|
|
2657
3565
|
}[];
|
|
@@ -2671,9 +3579,9 @@ export declare const configSchemas: ({
|
|
|
2671
3579
|
} | {
|
|
2672
3580
|
type: "external";
|
|
2673
3581
|
endpoint: string;
|
|
2674
|
-
timeoutMs?: number | undefined;
|
|
2675
3582
|
default?: unknown;
|
|
2676
3583
|
method?: "GET" | "POST" | undefined;
|
|
3584
|
+
timeoutMs?: number | undefined;
|
|
2677
3585
|
} | undefined;
|
|
2678
3586
|
}>>;
|
|
2679
3587
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2724,22 +3632,22 @@ export declare const configSchemas: ({
|
|
|
2724
3632
|
title?: string | undefined;
|
|
2725
3633
|
activation?: {
|
|
2726
3634
|
routes: {
|
|
2727
|
-
exclude?: string[] | undefined;
|
|
2728
3635
|
include?: string[] | undefined;
|
|
3636
|
+
exclude?: string[] | undefined;
|
|
2729
3637
|
};
|
|
2730
3638
|
strategy?: {
|
|
2731
3639
|
type: "rules";
|
|
2732
3640
|
rules: {
|
|
2733
3641
|
conditions: ({
|
|
2734
|
-
url: string;
|
|
2735
3642
|
type: "page_url";
|
|
3643
|
+
url: string;
|
|
2736
3644
|
} | {
|
|
2737
3645
|
type: "route";
|
|
2738
3646
|
routeId: string;
|
|
2739
3647
|
} | {
|
|
3648
|
+
type: "anchor_visible";
|
|
2740
3649
|
anchorId: string;
|
|
2741
3650
|
state: "visible" | "present" | "absent";
|
|
2742
|
-
type: "anchor_visible";
|
|
2743
3651
|
} | {
|
|
2744
3652
|
type: "event_occurred";
|
|
2745
3653
|
eventName: string;
|
|
@@ -2778,6 +3686,13 @@ export declare const configSchemas: ({
|
|
|
2778
3686
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2779
3687
|
count: number;
|
|
2780
3688
|
withinMs?: number | undefined;
|
|
3689
|
+
counter?: {
|
|
3690
|
+
events: string[];
|
|
3691
|
+
match?: Record<string, {
|
|
3692
|
+
equals?: string | number | boolean | undefined;
|
|
3693
|
+
contains?: string | undefined;
|
|
3694
|
+
}> | undefined;
|
|
3695
|
+
} | undefined;
|
|
2781
3696
|
})[];
|
|
2782
3697
|
value?: unknown;
|
|
2783
3698
|
}[];
|
|
@@ -2797,9 +3712,9 @@ export declare const configSchemas: ({
|
|
|
2797
3712
|
} | {
|
|
2798
3713
|
type: "external";
|
|
2799
3714
|
endpoint: string;
|
|
2800
|
-
timeoutMs?: number | undefined;
|
|
2801
3715
|
default?: unknown;
|
|
2802
3716
|
method?: "GET" | "POST" | undefined;
|
|
3717
|
+
timeoutMs?: number | undefined;
|
|
2803
3718
|
} | undefined;
|
|
2804
3719
|
} | undefined;
|
|
2805
3720
|
notifications?: {
|
|
@@ -2822,22 +3737,22 @@ export declare const configSchemas: ({
|
|
|
2822
3737
|
title?: string | undefined;
|
|
2823
3738
|
activation?: {
|
|
2824
3739
|
routes: {
|
|
2825
|
-
exclude?: string[] | undefined;
|
|
2826
3740
|
include?: string[] | undefined;
|
|
3741
|
+
exclude?: string[] | undefined;
|
|
2827
3742
|
};
|
|
2828
3743
|
strategy?: {
|
|
2829
3744
|
type: "rules";
|
|
2830
3745
|
rules: {
|
|
2831
3746
|
conditions: ({
|
|
2832
|
-
url: string;
|
|
2833
3747
|
type: "page_url";
|
|
3748
|
+
url: string;
|
|
2834
3749
|
} | {
|
|
2835
3750
|
type: "route";
|
|
2836
3751
|
routeId: string;
|
|
2837
3752
|
} | {
|
|
3753
|
+
type: "anchor_visible";
|
|
2838
3754
|
anchorId: string;
|
|
2839
3755
|
state: "visible" | "present" | "absent";
|
|
2840
|
-
type: "anchor_visible";
|
|
2841
3756
|
} | {
|
|
2842
3757
|
type: "event_occurred";
|
|
2843
3758
|
eventName: string;
|
|
@@ -2876,6 +3791,13 @@ export declare const configSchemas: ({
|
|
|
2876
3791
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2877
3792
|
count: number;
|
|
2878
3793
|
withinMs?: number | undefined;
|
|
3794
|
+
counter?: {
|
|
3795
|
+
events: string[];
|
|
3796
|
+
match?: Record<string, {
|
|
3797
|
+
equals?: string | number | boolean | undefined;
|
|
3798
|
+
contains?: string | undefined;
|
|
3799
|
+
}> | undefined;
|
|
3800
|
+
} | undefined;
|
|
2879
3801
|
})[];
|
|
2880
3802
|
value?: unknown;
|
|
2881
3803
|
}[];
|
|
@@ -2895,9 +3817,9 @@ export declare const configSchemas: ({
|
|
|
2895
3817
|
} | {
|
|
2896
3818
|
type: "external";
|
|
2897
3819
|
endpoint: string;
|
|
2898
|
-
timeoutMs?: number | undefined;
|
|
2899
3820
|
default?: unknown;
|
|
2900
3821
|
method?: "GET" | "POST" | undefined;
|
|
3822
|
+
timeoutMs?: number | undefined;
|
|
2901
3823
|
} | undefined;
|
|
2902
3824
|
} | undefined;
|
|
2903
3825
|
notifications?: {
|
|
@@ -2916,32 +3838,238 @@ export declare const configSchemas: ({
|
|
|
2916
3838
|
} | {
|
|
2917
3839
|
defName: string;
|
|
2918
3840
|
schema: z.ZodObject<{
|
|
2919
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2920
3841
|
mode: z.ZodOptional<z.ZodEnum<["dark", "light"]>>;
|
|
2921
|
-
|
|
3842
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
2922
3843
|
colorPrimary: z.ZodOptional<z.ZodString>;
|
|
2923
|
-
|
|
2924
|
-
colorText: z.ZodOptional<z.ZodString>;
|
|
2925
|
-
colorTextSecondary: z.ZodOptional<z.ZodString>;
|
|
3844
|
+
colorPrimaryHover: z.ZodOptional<z.ZodString>;
|
|
2926
3845
|
borderRadius: z.ZodOptional<z.ZodString>;
|
|
3846
|
+
canvas: z.ZodOptional<z.ZodObject<{
|
|
3847
|
+
position: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
|
|
3848
|
+
background: z.ZodOptional<z.ZodString>;
|
|
3849
|
+
blur: z.ZodOptional<z.ZodString>;
|
|
3850
|
+
border: z.ZodOptional<z.ZodString>;
|
|
3851
|
+
width: z.ZodOptional<z.ZodString>;
|
|
3852
|
+
}, "strip", z.ZodTypeAny, {
|
|
3853
|
+
position?: "right" | "left" | undefined;
|
|
3854
|
+
background?: string | undefined;
|
|
3855
|
+
blur?: string | undefined;
|
|
3856
|
+
border?: string | undefined;
|
|
3857
|
+
width?: string | undefined;
|
|
3858
|
+
}, {
|
|
3859
|
+
position?: "right" | "left" | undefined;
|
|
3860
|
+
background?: string | undefined;
|
|
3861
|
+
blur?: string | undefined;
|
|
3862
|
+
border?: string | undefined;
|
|
3863
|
+
width?: string | undefined;
|
|
3864
|
+
}>>;
|
|
3865
|
+
launcher: z.ZodOptional<z.ZodObject<{
|
|
3866
|
+
background: z.ZodOptional<z.ZodString>;
|
|
3867
|
+
backgroundHover: z.ZodOptional<z.ZodString>;
|
|
3868
|
+
color: z.ZodOptional<z.ZodString>;
|
|
3869
|
+
size: z.ZodOptional<z.ZodString>;
|
|
3870
|
+
shadow: z.ZodOptional<z.ZodString>;
|
|
3871
|
+
}, "strip", z.ZodTypeAny, {
|
|
3872
|
+
size?: string | undefined;
|
|
3873
|
+
background?: string | undefined;
|
|
3874
|
+
backgroundHover?: string | undefined;
|
|
3875
|
+
color?: string | undefined;
|
|
3876
|
+
shadow?: string | undefined;
|
|
3877
|
+
}, {
|
|
3878
|
+
size?: string | undefined;
|
|
3879
|
+
background?: string | undefined;
|
|
3880
|
+
backgroundHover?: string | undefined;
|
|
3881
|
+
color?: string | undefined;
|
|
3882
|
+
shadow?: string | undefined;
|
|
3883
|
+
}>>;
|
|
3884
|
+
tile: z.ZodOptional<z.ZodObject<{
|
|
3885
|
+
background: z.ZodOptional<z.ZodString>;
|
|
3886
|
+
backgroundHover: z.ZodOptional<z.ZodString>;
|
|
3887
|
+
border: z.ZodOptional<z.ZodString>;
|
|
3888
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
3889
|
+
shadow: z.ZodOptional<z.ZodString>;
|
|
3890
|
+
titleColor: z.ZodOptional<z.ZodString>;
|
|
3891
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
3892
|
+
iconBackground: z.ZodOptional<z.ZodString>;
|
|
3893
|
+
iconShadow: z.ZodOptional<z.ZodString>;
|
|
3894
|
+
}, "strip", z.ZodTypeAny, {
|
|
3895
|
+
background?: string | undefined;
|
|
3896
|
+
border?: string | undefined;
|
|
3897
|
+
backgroundHover?: string | undefined;
|
|
3898
|
+
shadow?: string | undefined;
|
|
3899
|
+
borderRadius?: string | undefined;
|
|
3900
|
+
titleColor?: string | undefined;
|
|
3901
|
+
textColor?: string | undefined;
|
|
3902
|
+
iconBackground?: string | undefined;
|
|
3903
|
+
iconShadow?: string | undefined;
|
|
3904
|
+
}, {
|
|
3905
|
+
background?: string | undefined;
|
|
3906
|
+
border?: string | undefined;
|
|
3907
|
+
backgroundHover?: string | undefined;
|
|
3908
|
+
shadow?: string | undefined;
|
|
3909
|
+
borderRadius?: string | undefined;
|
|
3910
|
+
titleColor?: string | undefined;
|
|
3911
|
+
textColor?: string | undefined;
|
|
3912
|
+
iconBackground?: string | undefined;
|
|
3913
|
+
iconShadow?: string | undefined;
|
|
3914
|
+
}>>;
|
|
3915
|
+
overlay: z.ZodOptional<z.ZodObject<{
|
|
3916
|
+
background: z.ZodOptional<z.ZodString>;
|
|
3917
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
3918
|
+
border: z.ZodOptional<z.ZodString>;
|
|
3919
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
3920
|
+
scrimOpacity: z.ZodOptional<z.ZodString>;
|
|
3921
|
+
highlightRing: z.ZodOptional<z.ZodString>;
|
|
3922
|
+
}, "strip", z.ZodTypeAny, {
|
|
3923
|
+
background?: string | undefined;
|
|
3924
|
+
border?: string | undefined;
|
|
3925
|
+
borderRadius?: string | undefined;
|
|
3926
|
+
textColor?: string | undefined;
|
|
3927
|
+
scrimOpacity?: string | undefined;
|
|
3928
|
+
highlightRing?: string | undefined;
|
|
3929
|
+
}, {
|
|
3930
|
+
background?: string | undefined;
|
|
3931
|
+
border?: string | undefined;
|
|
3932
|
+
borderRadius?: string | undefined;
|
|
3933
|
+
textColor?: string | undefined;
|
|
3934
|
+
scrimOpacity?: string | undefined;
|
|
3935
|
+
highlightRing?: string | undefined;
|
|
3936
|
+
}>>;
|
|
3937
|
+
notification: z.ZodOptional<z.ZodObject<{
|
|
3938
|
+
background: z.ZodOptional<z.ZodString>;
|
|
3939
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
3940
|
+
textSecondaryColor: z.ZodOptional<z.ZodString>;
|
|
3941
|
+
border: z.ZodOptional<z.ZodString>;
|
|
3942
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
3943
|
+
successColor: z.ZodOptional<z.ZodString>;
|
|
3944
|
+
warningColor: z.ZodOptional<z.ZodString>;
|
|
3945
|
+
errorColor: z.ZodOptional<z.ZodString>;
|
|
3946
|
+
iconBackground: z.ZodOptional<z.ZodString>;
|
|
3947
|
+
progressGradient: z.ZodOptional<z.ZodString>;
|
|
3948
|
+
}, "strip", z.ZodTypeAny, {
|
|
3949
|
+
background?: string | undefined;
|
|
3950
|
+
border?: string | undefined;
|
|
3951
|
+
borderRadius?: string | undefined;
|
|
3952
|
+
textColor?: string | undefined;
|
|
3953
|
+
iconBackground?: string | undefined;
|
|
3954
|
+
textSecondaryColor?: string | undefined;
|
|
3955
|
+
successColor?: string | undefined;
|
|
3956
|
+
warningColor?: string | undefined;
|
|
3957
|
+
errorColor?: string | undefined;
|
|
3958
|
+
progressGradient?: string | undefined;
|
|
3959
|
+
}, {
|
|
3960
|
+
background?: string | undefined;
|
|
3961
|
+
border?: string | undefined;
|
|
3962
|
+
borderRadius?: string | undefined;
|
|
3963
|
+
textColor?: string | undefined;
|
|
3964
|
+
iconBackground?: string | undefined;
|
|
3965
|
+
textSecondaryColor?: string | undefined;
|
|
3966
|
+
successColor?: string | undefined;
|
|
3967
|
+
warningColor?: string | undefined;
|
|
3968
|
+
errorColor?: string | undefined;
|
|
3969
|
+
progressGradient?: string | undefined;
|
|
3970
|
+
}>>;
|
|
2927
3971
|
}, "strict", z.ZodTypeAny, {
|
|
2928
|
-
|
|
2929
|
-
name?: string | undefined;
|
|
3972
|
+
borderRadius?: string | undefined;
|
|
2930
3973
|
mode?: "dark" | "light" | undefined;
|
|
3974
|
+
fontFamily?: string | undefined;
|
|
2931
3975
|
colorPrimary?: string | undefined;
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
3976
|
+
colorPrimaryHover?: string | undefined;
|
|
3977
|
+
canvas?: {
|
|
3978
|
+
position?: "right" | "left" | undefined;
|
|
3979
|
+
background?: string | undefined;
|
|
3980
|
+
blur?: string | undefined;
|
|
3981
|
+
border?: string | undefined;
|
|
3982
|
+
width?: string | undefined;
|
|
3983
|
+
} | undefined;
|
|
3984
|
+
launcher?: {
|
|
3985
|
+
size?: string | undefined;
|
|
3986
|
+
background?: string | undefined;
|
|
3987
|
+
backgroundHover?: string | undefined;
|
|
3988
|
+
color?: string | undefined;
|
|
3989
|
+
shadow?: string | undefined;
|
|
3990
|
+
} | undefined;
|
|
3991
|
+
tile?: {
|
|
3992
|
+
background?: string | undefined;
|
|
3993
|
+
border?: string | undefined;
|
|
3994
|
+
backgroundHover?: string | undefined;
|
|
3995
|
+
shadow?: string | undefined;
|
|
3996
|
+
borderRadius?: string | undefined;
|
|
3997
|
+
titleColor?: string | undefined;
|
|
3998
|
+
textColor?: string | undefined;
|
|
3999
|
+
iconBackground?: string | undefined;
|
|
4000
|
+
iconShadow?: string | undefined;
|
|
4001
|
+
} | undefined;
|
|
4002
|
+
overlay?: {
|
|
4003
|
+
background?: string | undefined;
|
|
4004
|
+
border?: string | undefined;
|
|
4005
|
+
borderRadius?: string | undefined;
|
|
4006
|
+
textColor?: string | undefined;
|
|
4007
|
+
scrimOpacity?: string | undefined;
|
|
4008
|
+
highlightRing?: string | undefined;
|
|
4009
|
+
} | undefined;
|
|
4010
|
+
notification?: {
|
|
4011
|
+
background?: string | undefined;
|
|
4012
|
+
border?: string | undefined;
|
|
4013
|
+
borderRadius?: string | undefined;
|
|
4014
|
+
textColor?: string | undefined;
|
|
4015
|
+
iconBackground?: string | undefined;
|
|
4016
|
+
textSecondaryColor?: string | undefined;
|
|
4017
|
+
successColor?: string | undefined;
|
|
4018
|
+
warningColor?: string | undefined;
|
|
4019
|
+
errorColor?: string | undefined;
|
|
4020
|
+
progressGradient?: string | undefined;
|
|
4021
|
+
} | undefined;
|
|
2936
4022
|
}, {
|
|
2937
|
-
|
|
2938
|
-
name?: string | undefined;
|
|
4023
|
+
borderRadius?: string | undefined;
|
|
2939
4024
|
mode?: "dark" | "light" | undefined;
|
|
4025
|
+
fontFamily?: string | undefined;
|
|
2940
4026
|
colorPrimary?: string | undefined;
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
4027
|
+
colorPrimaryHover?: string | undefined;
|
|
4028
|
+
canvas?: {
|
|
4029
|
+
position?: "right" | "left" | undefined;
|
|
4030
|
+
background?: string | undefined;
|
|
4031
|
+
blur?: string | undefined;
|
|
4032
|
+
border?: string | undefined;
|
|
4033
|
+
width?: string | undefined;
|
|
4034
|
+
} | undefined;
|
|
4035
|
+
launcher?: {
|
|
4036
|
+
size?: string | undefined;
|
|
4037
|
+
background?: string | undefined;
|
|
4038
|
+
backgroundHover?: string | undefined;
|
|
4039
|
+
color?: string | undefined;
|
|
4040
|
+
shadow?: string | undefined;
|
|
4041
|
+
} | undefined;
|
|
4042
|
+
tile?: {
|
|
4043
|
+
background?: string | undefined;
|
|
4044
|
+
border?: string | undefined;
|
|
4045
|
+
backgroundHover?: string | undefined;
|
|
4046
|
+
shadow?: string | undefined;
|
|
4047
|
+
borderRadius?: string | undefined;
|
|
4048
|
+
titleColor?: string | undefined;
|
|
4049
|
+
textColor?: string | undefined;
|
|
4050
|
+
iconBackground?: string | undefined;
|
|
4051
|
+
iconShadow?: string | undefined;
|
|
4052
|
+
} | undefined;
|
|
4053
|
+
overlay?: {
|
|
4054
|
+
background?: string | undefined;
|
|
4055
|
+
border?: string | undefined;
|
|
4056
|
+
borderRadius?: string | undefined;
|
|
4057
|
+
textColor?: string | undefined;
|
|
4058
|
+
scrimOpacity?: string | undefined;
|
|
4059
|
+
highlightRing?: string | undefined;
|
|
4060
|
+
} | undefined;
|
|
4061
|
+
notification?: {
|
|
4062
|
+
background?: string | undefined;
|
|
4063
|
+
border?: string | undefined;
|
|
4064
|
+
borderRadius?: string | undefined;
|
|
4065
|
+
textColor?: string | undefined;
|
|
4066
|
+
iconBackground?: string | undefined;
|
|
4067
|
+
textSecondaryColor?: string | undefined;
|
|
4068
|
+
successColor?: string | undefined;
|
|
4069
|
+
warningColor?: string | undefined;
|
|
4070
|
+
errorColor?: string | undefined;
|
|
4071
|
+
progressGradient?: string | undefined;
|
|
4072
|
+
} | undefined;
|
|
2945
4073
|
}>;
|
|
2946
4074
|
} | {
|
|
2947
4075
|
defName: string;
|
|
@@ -2985,11 +4113,11 @@ export declare const configSchemas: ({
|
|
|
2985
4113
|
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2986
4114
|
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2987
4115
|
}, "strip", z.ZodTypeAny, {
|
|
2988
|
-
exclude?: string[] | undefined;
|
|
2989
4116
|
include?: string[] | undefined;
|
|
2990
|
-
}, {
|
|
2991
4117
|
exclude?: string[] | undefined;
|
|
4118
|
+
}, {
|
|
2992
4119
|
include?: string[] | undefined;
|
|
4120
|
+
exclude?: string[] | undefined;
|
|
2993
4121
|
}>;
|
|
2994
4122
|
strategy: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2995
4123
|
type: z.ZodLiteral<"rules">;
|
|
@@ -2998,11 +4126,11 @@ export declare const configSchemas: ({
|
|
|
2998
4126
|
type: z.ZodLiteral<"page_url">;
|
|
2999
4127
|
url: z.ZodString;
|
|
3000
4128
|
}, "strip", z.ZodTypeAny, {
|
|
3001
|
-
url: string;
|
|
3002
4129
|
type: "page_url";
|
|
3003
|
-
}, {
|
|
3004
4130
|
url: string;
|
|
4131
|
+
}, {
|
|
3005
4132
|
type: "page_url";
|
|
4133
|
+
url: string;
|
|
3006
4134
|
}>, z.ZodObject<{
|
|
3007
4135
|
type: z.ZodLiteral<"route">;
|
|
3008
4136
|
routeId: z.ZodString;
|
|
@@ -3017,13 +4145,13 @@ export declare const configSchemas: ({
|
|
|
3017
4145
|
anchorId: z.ZodString;
|
|
3018
4146
|
state: z.ZodEnum<["visible", "present", "absent"]>;
|
|
3019
4147
|
}, "strip", z.ZodTypeAny, {
|
|
4148
|
+
type: "anchor_visible";
|
|
3020
4149
|
anchorId: string;
|
|
3021
4150
|
state: "visible" | "present" | "absent";
|
|
3022
|
-
type: "anchor_visible";
|
|
3023
4151
|
}, {
|
|
4152
|
+
type: "anchor_visible";
|
|
3024
4153
|
anchorId: string;
|
|
3025
4154
|
state: "visible" | "present" | "absent";
|
|
3026
|
-
type: "anchor_visible";
|
|
3027
4155
|
}>, z.ZodObject<{
|
|
3028
4156
|
type: z.ZodLiteral<"event_occurred">;
|
|
3029
4157
|
eventName: z.ZodString;
|
|
@@ -3126,31 +4254,70 @@ export declare const configSchemas: ({
|
|
|
3126
4254
|
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
3127
4255
|
count: z.ZodNumber;
|
|
3128
4256
|
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
4257
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
4258
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
4259
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4260
|
+
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4261
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
4262
|
+
}, "strip", z.ZodTypeAny, {
|
|
4263
|
+
equals?: string | number | boolean | undefined;
|
|
4264
|
+
contains?: string | undefined;
|
|
4265
|
+
}, {
|
|
4266
|
+
equals?: string | number | boolean | undefined;
|
|
4267
|
+
contains?: string | undefined;
|
|
4268
|
+
}>>>;
|
|
4269
|
+
}, "strip", z.ZodTypeAny, {
|
|
4270
|
+
events: string[];
|
|
4271
|
+
match?: Record<string, {
|
|
4272
|
+
equals?: string | number | boolean | undefined;
|
|
4273
|
+
contains?: string | undefined;
|
|
4274
|
+
}> | undefined;
|
|
4275
|
+
}, {
|
|
4276
|
+
events: string[];
|
|
4277
|
+
match?: Record<string, {
|
|
4278
|
+
equals?: string | number | boolean | undefined;
|
|
4279
|
+
contains?: string | undefined;
|
|
4280
|
+
}> | undefined;
|
|
4281
|
+
}>>;
|
|
3129
4282
|
}, "strip", z.ZodTypeAny, {
|
|
3130
4283
|
type: "event_count";
|
|
3131
4284
|
key: string;
|
|
3132
4285
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3133
4286
|
count: number;
|
|
3134
4287
|
withinMs?: number | undefined;
|
|
4288
|
+
counter?: {
|
|
4289
|
+
events: string[];
|
|
4290
|
+
match?: Record<string, {
|
|
4291
|
+
equals?: string | number | boolean | undefined;
|
|
4292
|
+
contains?: string | undefined;
|
|
4293
|
+
}> | undefined;
|
|
4294
|
+
} | undefined;
|
|
3135
4295
|
}, {
|
|
3136
4296
|
type: "event_count";
|
|
3137
4297
|
key: string;
|
|
3138
4298
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3139
4299
|
count: number;
|
|
3140
4300
|
withinMs?: number | undefined;
|
|
4301
|
+
counter?: {
|
|
4302
|
+
events: string[];
|
|
4303
|
+
match?: Record<string, {
|
|
4304
|
+
equals?: string | number | boolean | undefined;
|
|
4305
|
+
contains?: string | undefined;
|
|
4306
|
+
}> | undefined;
|
|
4307
|
+
} | undefined;
|
|
3141
4308
|
}>]>, "many">;
|
|
3142
4309
|
value: z.ZodUnknown;
|
|
3143
4310
|
}, "strip", z.ZodTypeAny, {
|
|
3144
4311
|
conditions: ({
|
|
3145
|
-
url: string;
|
|
3146
4312
|
type: "page_url";
|
|
4313
|
+
url: string;
|
|
3147
4314
|
} | {
|
|
3148
4315
|
type: "route";
|
|
3149
4316
|
routeId: string;
|
|
3150
4317
|
} | {
|
|
4318
|
+
type: "anchor_visible";
|
|
3151
4319
|
anchorId: string;
|
|
3152
4320
|
state: "visible" | "present" | "absent";
|
|
3153
|
-
type: "anchor_visible";
|
|
3154
4321
|
} | {
|
|
3155
4322
|
type: "event_occurred";
|
|
3156
4323
|
eventName: string;
|
|
@@ -3189,19 +4356,26 @@ export declare const configSchemas: ({
|
|
|
3189
4356
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3190
4357
|
count: number;
|
|
3191
4358
|
withinMs?: number | undefined;
|
|
4359
|
+
counter?: {
|
|
4360
|
+
events: string[];
|
|
4361
|
+
match?: Record<string, {
|
|
4362
|
+
equals?: string | number | boolean | undefined;
|
|
4363
|
+
contains?: string | undefined;
|
|
4364
|
+
}> | undefined;
|
|
4365
|
+
} | undefined;
|
|
3192
4366
|
})[];
|
|
3193
4367
|
value?: unknown;
|
|
3194
4368
|
}, {
|
|
3195
4369
|
conditions: ({
|
|
3196
|
-
url: string;
|
|
3197
4370
|
type: "page_url";
|
|
4371
|
+
url: string;
|
|
3198
4372
|
} | {
|
|
3199
4373
|
type: "route";
|
|
3200
4374
|
routeId: string;
|
|
3201
4375
|
} | {
|
|
4376
|
+
type: "anchor_visible";
|
|
3202
4377
|
anchorId: string;
|
|
3203
4378
|
state: "visible" | "present" | "absent";
|
|
3204
|
-
type: "anchor_visible";
|
|
3205
4379
|
} | {
|
|
3206
4380
|
type: "event_occurred";
|
|
3207
4381
|
eventName: string;
|
|
@@ -3240,6 +4414,13 @@ export declare const configSchemas: ({
|
|
|
3240
4414
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3241
4415
|
count: number;
|
|
3242
4416
|
withinMs?: number | undefined;
|
|
4417
|
+
counter?: {
|
|
4418
|
+
events: string[];
|
|
4419
|
+
match?: Record<string, {
|
|
4420
|
+
equals?: string | number | boolean | undefined;
|
|
4421
|
+
contains?: string | undefined;
|
|
4422
|
+
}> | undefined;
|
|
4423
|
+
} | undefined;
|
|
3243
4424
|
})[];
|
|
3244
4425
|
value?: unknown;
|
|
3245
4426
|
}>, "many">;
|
|
@@ -3248,15 +4429,15 @@ export declare const configSchemas: ({
|
|
|
3248
4429
|
type: "rules";
|
|
3249
4430
|
rules: {
|
|
3250
4431
|
conditions: ({
|
|
3251
|
-
url: string;
|
|
3252
4432
|
type: "page_url";
|
|
4433
|
+
url: string;
|
|
3253
4434
|
} | {
|
|
3254
4435
|
type: "route";
|
|
3255
4436
|
routeId: string;
|
|
3256
4437
|
} | {
|
|
4438
|
+
type: "anchor_visible";
|
|
3257
4439
|
anchorId: string;
|
|
3258
4440
|
state: "visible" | "present" | "absent";
|
|
3259
|
-
type: "anchor_visible";
|
|
3260
4441
|
} | {
|
|
3261
4442
|
type: "event_occurred";
|
|
3262
4443
|
eventName: string;
|
|
@@ -3295,6 +4476,13 @@ export declare const configSchemas: ({
|
|
|
3295
4476
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3296
4477
|
count: number;
|
|
3297
4478
|
withinMs?: number | undefined;
|
|
4479
|
+
counter?: {
|
|
4480
|
+
events: string[];
|
|
4481
|
+
match?: Record<string, {
|
|
4482
|
+
equals?: string | number | boolean | undefined;
|
|
4483
|
+
contains?: string | undefined;
|
|
4484
|
+
}> | undefined;
|
|
4485
|
+
} | undefined;
|
|
3298
4486
|
})[];
|
|
3299
4487
|
value?: unknown;
|
|
3300
4488
|
}[];
|
|
@@ -3303,15 +4491,15 @@ export declare const configSchemas: ({
|
|
|
3303
4491
|
type: "rules";
|
|
3304
4492
|
rules: {
|
|
3305
4493
|
conditions: ({
|
|
3306
|
-
url: string;
|
|
3307
4494
|
type: "page_url";
|
|
4495
|
+
url: string;
|
|
3308
4496
|
} | {
|
|
3309
4497
|
type: "route";
|
|
3310
4498
|
routeId: string;
|
|
3311
4499
|
} | {
|
|
4500
|
+
type: "anchor_visible";
|
|
3312
4501
|
anchorId: string;
|
|
3313
4502
|
state: "visible" | "present" | "absent";
|
|
3314
|
-
type: "anchor_visible";
|
|
3315
4503
|
} | {
|
|
3316
4504
|
type: "event_occurred";
|
|
3317
4505
|
eventName: string;
|
|
@@ -3350,6 +4538,13 @@ export declare const configSchemas: ({
|
|
|
3350
4538
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3351
4539
|
count: number;
|
|
3352
4540
|
withinMs?: number | undefined;
|
|
4541
|
+
counter?: {
|
|
4542
|
+
events: string[];
|
|
4543
|
+
match?: Record<string, {
|
|
4544
|
+
equals?: string | number | boolean | undefined;
|
|
4545
|
+
contains?: string | undefined;
|
|
4546
|
+
}> | undefined;
|
|
4547
|
+
} | undefined;
|
|
3353
4548
|
})[];
|
|
3354
4549
|
value?: unknown;
|
|
3355
4550
|
}[];
|
|
@@ -3399,34 +4594,34 @@ export declare const configSchemas: ({
|
|
|
3399
4594
|
}, "strip", z.ZodTypeAny, {
|
|
3400
4595
|
type: "external";
|
|
3401
4596
|
endpoint: string;
|
|
3402
|
-
timeoutMs?: number | undefined;
|
|
3403
4597
|
default?: unknown;
|
|
3404
4598
|
method?: "GET" | "POST" | undefined;
|
|
4599
|
+
timeoutMs?: number | undefined;
|
|
3405
4600
|
}, {
|
|
3406
4601
|
type: "external";
|
|
3407
4602
|
endpoint: string;
|
|
3408
|
-
timeoutMs?: number | undefined;
|
|
3409
4603
|
default?: unknown;
|
|
3410
4604
|
method?: "GET" | "POST" | undefined;
|
|
4605
|
+
timeoutMs?: number | undefined;
|
|
3411
4606
|
}>]>>;
|
|
3412
4607
|
}, "strip", z.ZodTypeAny, {
|
|
3413
4608
|
routes: {
|
|
3414
|
-
exclude?: string[] | undefined;
|
|
3415
4609
|
include?: string[] | undefined;
|
|
4610
|
+
exclude?: string[] | undefined;
|
|
3416
4611
|
};
|
|
3417
4612
|
strategy?: {
|
|
3418
4613
|
type: "rules";
|
|
3419
4614
|
rules: {
|
|
3420
4615
|
conditions: ({
|
|
3421
|
-
url: string;
|
|
3422
4616
|
type: "page_url";
|
|
4617
|
+
url: string;
|
|
3423
4618
|
} | {
|
|
3424
4619
|
type: "route";
|
|
3425
4620
|
routeId: string;
|
|
3426
4621
|
} | {
|
|
4622
|
+
type: "anchor_visible";
|
|
3427
4623
|
anchorId: string;
|
|
3428
4624
|
state: "visible" | "present" | "absent";
|
|
3429
|
-
type: "anchor_visible";
|
|
3430
4625
|
} | {
|
|
3431
4626
|
type: "event_occurred";
|
|
3432
4627
|
eventName: string;
|
|
@@ -3465,6 +4660,13 @@ export declare const configSchemas: ({
|
|
|
3465
4660
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3466
4661
|
count: number;
|
|
3467
4662
|
withinMs?: number | undefined;
|
|
4663
|
+
counter?: {
|
|
4664
|
+
events: string[];
|
|
4665
|
+
match?: Record<string, {
|
|
4666
|
+
equals?: string | number | boolean | undefined;
|
|
4667
|
+
contains?: string | undefined;
|
|
4668
|
+
}> | undefined;
|
|
4669
|
+
} | undefined;
|
|
3468
4670
|
})[];
|
|
3469
4671
|
value?: unknown;
|
|
3470
4672
|
}[];
|
|
@@ -3484,28 +4686,28 @@ export declare const configSchemas: ({
|
|
|
3484
4686
|
} | {
|
|
3485
4687
|
type: "external";
|
|
3486
4688
|
endpoint: string;
|
|
3487
|
-
timeoutMs?: number | undefined;
|
|
3488
4689
|
default?: unknown;
|
|
3489
4690
|
method?: "GET" | "POST" | undefined;
|
|
4691
|
+
timeoutMs?: number | undefined;
|
|
3490
4692
|
} | undefined;
|
|
3491
4693
|
}, {
|
|
3492
4694
|
routes: {
|
|
3493
|
-
exclude?: string[] | undefined;
|
|
3494
4695
|
include?: string[] | undefined;
|
|
4696
|
+
exclude?: string[] | undefined;
|
|
3495
4697
|
};
|
|
3496
4698
|
strategy?: {
|
|
3497
4699
|
type: "rules";
|
|
3498
4700
|
rules: {
|
|
3499
4701
|
conditions: ({
|
|
3500
|
-
url: string;
|
|
3501
4702
|
type: "page_url";
|
|
4703
|
+
url: string;
|
|
3502
4704
|
} | {
|
|
3503
4705
|
type: "route";
|
|
3504
4706
|
routeId: string;
|
|
3505
4707
|
} | {
|
|
4708
|
+
type: "anchor_visible";
|
|
3506
4709
|
anchorId: string;
|
|
3507
4710
|
state: "visible" | "present" | "absent";
|
|
3508
|
-
type: "anchor_visible";
|
|
3509
4711
|
} | {
|
|
3510
4712
|
type: "event_occurred";
|
|
3511
4713
|
eventName: string;
|
|
@@ -3544,6 +4746,13 @@ export declare const configSchemas: ({
|
|
|
3544
4746
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3545
4747
|
count: number;
|
|
3546
4748
|
withinMs?: number | undefined;
|
|
4749
|
+
counter?: {
|
|
4750
|
+
events: string[];
|
|
4751
|
+
match?: Record<string, {
|
|
4752
|
+
equals?: string | number | boolean | undefined;
|
|
4753
|
+
contains?: string | undefined;
|
|
4754
|
+
}> | undefined;
|
|
4755
|
+
} | undefined;
|
|
3547
4756
|
})[];
|
|
3548
4757
|
value?: unknown;
|
|
3549
4758
|
}[];
|
|
@@ -3563,9 +4772,9 @@ export declare const configSchemas: ({
|
|
|
3563
4772
|
} | {
|
|
3564
4773
|
type: "external";
|
|
3565
4774
|
endpoint: string;
|
|
3566
|
-
timeoutMs?: number | undefined;
|
|
3567
4775
|
default?: unknown;
|
|
3568
4776
|
method?: "GET" | "POST" | undefined;
|
|
4777
|
+
timeoutMs?: number | undefined;
|
|
3569
4778
|
} | undefined;
|
|
3570
4779
|
}>>;
|
|
3571
4780
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3616,22 +4825,22 @@ export declare const configSchemas: ({
|
|
|
3616
4825
|
title?: string | undefined;
|
|
3617
4826
|
activation?: {
|
|
3618
4827
|
routes: {
|
|
3619
|
-
exclude?: string[] | undefined;
|
|
3620
4828
|
include?: string[] | undefined;
|
|
4829
|
+
exclude?: string[] | undefined;
|
|
3621
4830
|
};
|
|
3622
4831
|
strategy?: {
|
|
3623
4832
|
type: "rules";
|
|
3624
4833
|
rules: {
|
|
3625
4834
|
conditions: ({
|
|
3626
|
-
url: string;
|
|
3627
4835
|
type: "page_url";
|
|
4836
|
+
url: string;
|
|
3628
4837
|
} | {
|
|
3629
4838
|
type: "route";
|
|
3630
4839
|
routeId: string;
|
|
3631
4840
|
} | {
|
|
4841
|
+
type: "anchor_visible";
|
|
3632
4842
|
anchorId: string;
|
|
3633
4843
|
state: "visible" | "present" | "absent";
|
|
3634
|
-
type: "anchor_visible";
|
|
3635
4844
|
} | {
|
|
3636
4845
|
type: "event_occurred";
|
|
3637
4846
|
eventName: string;
|
|
@@ -3670,6 +4879,13 @@ export declare const configSchemas: ({
|
|
|
3670
4879
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3671
4880
|
count: number;
|
|
3672
4881
|
withinMs?: number | undefined;
|
|
4882
|
+
counter?: {
|
|
4883
|
+
events: string[];
|
|
4884
|
+
match?: Record<string, {
|
|
4885
|
+
equals?: string | number | boolean | undefined;
|
|
4886
|
+
contains?: string | undefined;
|
|
4887
|
+
}> | undefined;
|
|
4888
|
+
} | undefined;
|
|
3673
4889
|
})[];
|
|
3674
4890
|
value?: unknown;
|
|
3675
4891
|
}[];
|
|
@@ -3689,9 +4905,9 @@ export declare const configSchemas: ({
|
|
|
3689
4905
|
} | {
|
|
3690
4906
|
type: "external";
|
|
3691
4907
|
endpoint: string;
|
|
3692
|
-
timeoutMs?: number | undefined;
|
|
3693
4908
|
default?: unknown;
|
|
3694
4909
|
method?: "GET" | "POST" | undefined;
|
|
4910
|
+
timeoutMs?: number | undefined;
|
|
3695
4911
|
} | undefined;
|
|
3696
4912
|
} | undefined;
|
|
3697
4913
|
notifications?: {
|
|
@@ -3714,22 +4930,22 @@ export declare const configSchemas: ({
|
|
|
3714
4930
|
title?: string | undefined;
|
|
3715
4931
|
activation?: {
|
|
3716
4932
|
routes: {
|
|
3717
|
-
exclude?: string[] | undefined;
|
|
3718
4933
|
include?: string[] | undefined;
|
|
4934
|
+
exclude?: string[] | undefined;
|
|
3719
4935
|
};
|
|
3720
4936
|
strategy?: {
|
|
3721
4937
|
type: "rules";
|
|
3722
4938
|
rules: {
|
|
3723
4939
|
conditions: ({
|
|
3724
|
-
url: string;
|
|
3725
4940
|
type: "page_url";
|
|
4941
|
+
url: string;
|
|
3726
4942
|
} | {
|
|
3727
4943
|
type: "route";
|
|
3728
4944
|
routeId: string;
|
|
3729
4945
|
} | {
|
|
4946
|
+
type: "anchor_visible";
|
|
3730
4947
|
anchorId: string;
|
|
3731
4948
|
state: "visible" | "present" | "absent";
|
|
3732
|
-
type: "anchor_visible";
|
|
3733
4949
|
} | {
|
|
3734
4950
|
type: "event_occurred";
|
|
3735
4951
|
eventName: string;
|
|
@@ -3768,6 +4984,13 @@ export declare const configSchemas: ({
|
|
|
3768
4984
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3769
4985
|
count: number;
|
|
3770
4986
|
withinMs?: number | undefined;
|
|
4987
|
+
counter?: {
|
|
4988
|
+
events: string[];
|
|
4989
|
+
match?: Record<string, {
|
|
4990
|
+
equals?: string | number | boolean | undefined;
|
|
4991
|
+
contains?: string | undefined;
|
|
4992
|
+
}> | undefined;
|
|
4993
|
+
} | undefined;
|
|
3771
4994
|
})[];
|
|
3772
4995
|
value?: unknown;
|
|
3773
4996
|
}[];
|
|
@@ -3787,9 +5010,9 @@ export declare const configSchemas: ({
|
|
|
3787
5010
|
} | {
|
|
3788
5011
|
type: "external";
|
|
3789
5012
|
endpoint: string;
|
|
3790
|
-
timeoutMs?: number | undefined;
|
|
3791
5013
|
default?: unknown;
|
|
3792
5014
|
method?: "GET" | "POST" | undefined;
|
|
5015
|
+
timeoutMs?: number | undefined;
|
|
3793
5016
|
} | undefined;
|
|
3794
5017
|
} | undefined;
|
|
3795
5018
|
notifications?: {
|
|
@@ -3807,32 +5030,238 @@ export declare const configSchemas: ({
|
|
|
3807
5030
|
}>, "many">;
|
|
3808
5031
|
actions: z.ZodArray<z.ZodAny, "many">;
|
|
3809
5032
|
theme: z.ZodOptional<z.ZodObject<{
|
|
3810
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3811
5033
|
mode: z.ZodOptional<z.ZodEnum<["dark", "light"]>>;
|
|
3812
|
-
|
|
5034
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
3813
5035
|
colorPrimary: z.ZodOptional<z.ZodString>;
|
|
3814
|
-
|
|
3815
|
-
colorText: z.ZodOptional<z.ZodString>;
|
|
3816
|
-
colorTextSecondary: z.ZodOptional<z.ZodString>;
|
|
5036
|
+
colorPrimaryHover: z.ZodOptional<z.ZodString>;
|
|
3817
5037
|
borderRadius: z.ZodOptional<z.ZodString>;
|
|
5038
|
+
canvas: z.ZodOptional<z.ZodObject<{
|
|
5039
|
+
position: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
|
|
5040
|
+
background: z.ZodOptional<z.ZodString>;
|
|
5041
|
+
blur: z.ZodOptional<z.ZodString>;
|
|
5042
|
+
border: z.ZodOptional<z.ZodString>;
|
|
5043
|
+
width: z.ZodOptional<z.ZodString>;
|
|
5044
|
+
}, "strip", z.ZodTypeAny, {
|
|
5045
|
+
position?: "right" | "left" | undefined;
|
|
5046
|
+
background?: string | undefined;
|
|
5047
|
+
blur?: string | undefined;
|
|
5048
|
+
border?: string | undefined;
|
|
5049
|
+
width?: string | undefined;
|
|
5050
|
+
}, {
|
|
5051
|
+
position?: "right" | "left" | undefined;
|
|
5052
|
+
background?: string | undefined;
|
|
5053
|
+
blur?: string | undefined;
|
|
5054
|
+
border?: string | undefined;
|
|
5055
|
+
width?: string | undefined;
|
|
5056
|
+
}>>;
|
|
5057
|
+
launcher: z.ZodOptional<z.ZodObject<{
|
|
5058
|
+
background: z.ZodOptional<z.ZodString>;
|
|
5059
|
+
backgroundHover: z.ZodOptional<z.ZodString>;
|
|
5060
|
+
color: z.ZodOptional<z.ZodString>;
|
|
5061
|
+
size: z.ZodOptional<z.ZodString>;
|
|
5062
|
+
shadow: z.ZodOptional<z.ZodString>;
|
|
5063
|
+
}, "strip", z.ZodTypeAny, {
|
|
5064
|
+
size?: string | undefined;
|
|
5065
|
+
background?: string | undefined;
|
|
5066
|
+
backgroundHover?: string | undefined;
|
|
5067
|
+
color?: string | undefined;
|
|
5068
|
+
shadow?: string | undefined;
|
|
5069
|
+
}, {
|
|
5070
|
+
size?: string | undefined;
|
|
5071
|
+
background?: string | undefined;
|
|
5072
|
+
backgroundHover?: string | undefined;
|
|
5073
|
+
color?: string | undefined;
|
|
5074
|
+
shadow?: string | undefined;
|
|
5075
|
+
}>>;
|
|
5076
|
+
tile: z.ZodOptional<z.ZodObject<{
|
|
5077
|
+
background: z.ZodOptional<z.ZodString>;
|
|
5078
|
+
backgroundHover: z.ZodOptional<z.ZodString>;
|
|
5079
|
+
border: z.ZodOptional<z.ZodString>;
|
|
5080
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
5081
|
+
shadow: z.ZodOptional<z.ZodString>;
|
|
5082
|
+
titleColor: z.ZodOptional<z.ZodString>;
|
|
5083
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
5084
|
+
iconBackground: z.ZodOptional<z.ZodString>;
|
|
5085
|
+
iconShadow: z.ZodOptional<z.ZodString>;
|
|
5086
|
+
}, "strip", z.ZodTypeAny, {
|
|
5087
|
+
background?: string | undefined;
|
|
5088
|
+
border?: string | undefined;
|
|
5089
|
+
backgroundHover?: string | undefined;
|
|
5090
|
+
shadow?: string | undefined;
|
|
5091
|
+
borderRadius?: string | undefined;
|
|
5092
|
+
titleColor?: string | undefined;
|
|
5093
|
+
textColor?: string | undefined;
|
|
5094
|
+
iconBackground?: string | undefined;
|
|
5095
|
+
iconShadow?: string | undefined;
|
|
5096
|
+
}, {
|
|
5097
|
+
background?: string | undefined;
|
|
5098
|
+
border?: string | undefined;
|
|
5099
|
+
backgroundHover?: string | undefined;
|
|
5100
|
+
shadow?: string | undefined;
|
|
5101
|
+
borderRadius?: string | undefined;
|
|
5102
|
+
titleColor?: string | undefined;
|
|
5103
|
+
textColor?: string | undefined;
|
|
5104
|
+
iconBackground?: string | undefined;
|
|
5105
|
+
iconShadow?: string | undefined;
|
|
5106
|
+
}>>;
|
|
5107
|
+
overlay: z.ZodOptional<z.ZodObject<{
|
|
5108
|
+
background: z.ZodOptional<z.ZodString>;
|
|
5109
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
5110
|
+
border: z.ZodOptional<z.ZodString>;
|
|
5111
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
5112
|
+
scrimOpacity: z.ZodOptional<z.ZodString>;
|
|
5113
|
+
highlightRing: z.ZodOptional<z.ZodString>;
|
|
5114
|
+
}, "strip", z.ZodTypeAny, {
|
|
5115
|
+
background?: string | undefined;
|
|
5116
|
+
border?: string | undefined;
|
|
5117
|
+
borderRadius?: string | undefined;
|
|
5118
|
+
textColor?: string | undefined;
|
|
5119
|
+
scrimOpacity?: string | undefined;
|
|
5120
|
+
highlightRing?: string | undefined;
|
|
5121
|
+
}, {
|
|
5122
|
+
background?: string | undefined;
|
|
5123
|
+
border?: string | undefined;
|
|
5124
|
+
borderRadius?: string | undefined;
|
|
5125
|
+
textColor?: string | undefined;
|
|
5126
|
+
scrimOpacity?: string | undefined;
|
|
5127
|
+
highlightRing?: string | undefined;
|
|
5128
|
+
}>>;
|
|
5129
|
+
notification: z.ZodOptional<z.ZodObject<{
|
|
5130
|
+
background: z.ZodOptional<z.ZodString>;
|
|
5131
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
5132
|
+
textSecondaryColor: z.ZodOptional<z.ZodString>;
|
|
5133
|
+
border: z.ZodOptional<z.ZodString>;
|
|
5134
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
5135
|
+
successColor: z.ZodOptional<z.ZodString>;
|
|
5136
|
+
warningColor: z.ZodOptional<z.ZodString>;
|
|
5137
|
+
errorColor: z.ZodOptional<z.ZodString>;
|
|
5138
|
+
iconBackground: z.ZodOptional<z.ZodString>;
|
|
5139
|
+
progressGradient: z.ZodOptional<z.ZodString>;
|
|
5140
|
+
}, "strip", z.ZodTypeAny, {
|
|
5141
|
+
background?: string | undefined;
|
|
5142
|
+
border?: string | undefined;
|
|
5143
|
+
borderRadius?: string | undefined;
|
|
5144
|
+
textColor?: string | undefined;
|
|
5145
|
+
iconBackground?: string | undefined;
|
|
5146
|
+
textSecondaryColor?: string | undefined;
|
|
5147
|
+
successColor?: string | undefined;
|
|
5148
|
+
warningColor?: string | undefined;
|
|
5149
|
+
errorColor?: string | undefined;
|
|
5150
|
+
progressGradient?: string | undefined;
|
|
5151
|
+
}, {
|
|
5152
|
+
background?: string | undefined;
|
|
5153
|
+
border?: string | undefined;
|
|
5154
|
+
borderRadius?: string | undefined;
|
|
5155
|
+
textColor?: string | undefined;
|
|
5156
|
+
iconBackground?: string | undefined;
|
|
5157
|
+
textSecondaryColor?: string | undefined;
|
|
5158
|
+
successColor?: string | undefined;
|
|
5159
|
+
warningColor?: string | undefined;
|
|
5160
|
+
errorColor?: string | undefined;
|
|
5161
|
+
progressGradient?: string | undefined;
|
|
5162
|
+
}>>;
|
|
3818
5163
|
}, "strict", z.ZodTypeAny, {
|
|
3819
|
-
|
|
3820
|
-
name?: string | undefined;
|
|
5164
|
+
borderRadius?: string | undefined;
|
|
3821
5165
|
mode?: "dark" | "light" | undefined;
|
|
5166
|
+
fontFamily?: string | undefined;
|
|
3822
5167
|
colorPrimary?: string | undefined;
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
5168
|
+
colorPrimaryHover?: string | undefined;
|
|
5169
|
+
canvas?: {
|
|
5170
|
+
position?: "right" | "left" | undefined;
|
|
5171
|
+
background?: string | undefined;
|
|
5172
|
+
blur?: string | undefined;
|
|
5173
|
+
border?: string | undefined;
|
|
5174
|
+
width?: string | undefined;
|
|
5175
|
+
} | undefined;
|
|
5176
|
+
launcher?: {
|
|
5177
|
+
size?: string | undefined;
|
|
5178
|
+
background?: string | undefined;
|
|
5179
|
+
backgroundHover?: string | undefined;
|
|
5180
|
+
color?: string | undefined;
|
|
5181
|
+
shadow?: string | undefined;
|
|
5182
|
+
} | undefined;
|
|
5183
|
+
tile?: {
|
|
5184
|
+
background?: string | undefined;
|
|
5185
|
+
border?: string | undefined;
|
|
5186
|
+
backgroundHover?: string | undefined;
|
|
5187
|
+
shadow?: string | undefined;
|
|
5188
|
+
borderRadius?: string | undefined;
|
|
5189
|
+
titleColor?: string | undefined;
|
|
5190
|
+
textColor?: string | undefined;
|
|
5191
|
+
iconBackground?: string | undefined;
|
|
5192
|
+
iconShadow?: string | undefined;
|
|
5193
|
+
} | undefined;
|
|
5194
|
+
overlay?: {
|
|
5195
|
+
background?: string | undefined;
|
|
5196
|
+
border?: string | undefined;
|
|
5197
|
+
borderRadius?: string | undefined;
|
|
5198
|
+
textColor?: string | undefined;
|
|
5199
|
+
scrimOpacity?: string | undefined;
|
|
5200
|
+
highlightRing?: string | undefined;
|
|
5201
|
+
} | undefined;
|
|
5202
|
+
notification?: {
|
|
5203
|
+
background?: string | undefined;
|
|
5204
|
+
border?: string | undefined;
|
|
5205
|
+
borderRadius?: string | undefined;
|
|
5206
|
+
textColor?: string | undefined;
|
|
5207
|
+
iconBackground?: string | undefined;
|
|
5208
|
+
textSecondaryColor?: string | undefined;
|
|
5209
|
+
successColor?: string | undefined;
|
|
5210
|
+
warningColor?: string | undefined;
|
|
5211
|
+
errorColor?: string | undefined;
|
|
5212
|
+
progressGradient?: string | undefined;
|
|
5213
|
+
} | undefined;
|
|
3827
5214
|
}, {
|
|
3828
|
-
|
|
3829
|
-
name?: string | undefined;
|
|
5215
|
+
borderRadius?: string | undefined;
|
|
3830
5216
|
mode?: "dark" | "light" | undefined;
|
|
5217
|
+
fontFamily?: string | undefined;
|
|
3831
5218
|
colorPrimary?: string | undefined;
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
5219
|
+
colorPrimaryHover?: string | undefined;
|
|
5220
|
+
canvas?: {
|
|
5221
|
+
position?: "right" | "left" | undefined;
|
|
5222
|
+
background?: string | undefined;
|
|
5223
|
+
blur?: string | undefined;
|
|
5224
|
+
border?: string | undefined;
|
|
5225
|
+
width?: string | undefined;
|
|
5226
|
+
} | undefined;
|
|
5227
|
+
launcher?: {
|
|
5228
|
+
size?: string | undefined;
|
|
5229
|
+
background?: string | undefined;
|
|
5230
|
+
backgroundHover?: string | undefined;
|
|
5231
|
+
color?: string | undefined;
|
|
5232
|
+
shadow?: string | undefined;
|
|
5233
|
+
} | undefined;
|
|
5234
|
+
tile?: {
|
|
5235
|
+
background?: string | undefined;
|
|
5236
|
+
border?: string | undefined;
|
|
5237
|
+
backgroundHover?: string | undefined;
|
|
5238
|
+
shadow?: string | undefined;
|
|
5239
|
+
borderRadius?: string | undefined;
|
|
5240
|
+
titleColor?: string | undefined;
|
|
5241
|
+
textColor?: string | undefined;
|
|
5242
|
+
iconBackground?: string | undefined;
|
|
5243
|
+
iconShadow?: string | undefined;
|
|
5244
|
+
} | undefined;
|
|
5245
|
+
overlay?: {
|
|
5246
|
+
background?: string | undefined;
|
|
5247
|
+
border?: string | undefined;
|
|
5248
|
+
borderRadius?: string | undefined;
|
|
5249
|
+
textColor?: string | undefined;
|
|
5250
|
+
scrimOpacity?: string | undefined;
|
|
5251
|
+
highlightRing?: string | undefined;
|
|
5252
|
+
} | undefined;
|
|
5253
|
+
notification?: {
|
|
5254
|
+
background?: string | undefined;
|
|
5255
|
+
border?: string | undefined;
|
|
5256
|
+
borderRadius?: string | undefined;
|
|
5257
|
+
textColor?: string | undefined;
|
|
5258
|
+
iconBackground?: string | undefined;
|
|
5259
|
+
textSecondaryColor?: string | undefined;
|
|
5260
|
+
successColor?: string | undefined;
|
|
5261
|
+
warningColor?: string | undefined;
|
|
5262
|
+
errorColor?: string | undefined;
|
|
5263
|
+
progressGradient?: string | undefined;
|
|
5264
|
+
} | undefined;
|
|
3836
5265
|
}>>;
|
|
3837
5266
|
launcher: z.ZodOptional<z.ZodObject<{
|
|
3838
5267
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3856,6 +5285,7 @@ export declare const configSchemas: ({
|
|
|
3856
5285
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
3857
5286
|
notificationCount?: number | undefined;
|
|
3858
5287
|
}>>;
|
|
5288
|
+
verificationSteps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3859
5289
|
}, "strict", z.ZodTypeAny, {
|
|
3860
5290
|
actions: any[];
|
|
3861
5291
|
fetchedAt: string;
|
|
@@ -3867,22 +5297,22 @@ export declare const configSchemas: ({
|
|
|
3867
5297
|
title?: string | undefined;
|
|
3868
5298
|
activation?: {
|
|
3869
5299
|
routes: {
|
|
3870
|
-
exclude?: string[] | undefined;
|
|
3871
5300
|
include?: string[] | undefined;
|
|
5301
|
+
exclude?: string[] | undefined;
|
|
3872
5302
|
};
|
|
3873
5303
|
strategy?: {
|
|
3874
5304
|
type: "rules";
|
|
3875
5305
|
rules: {
|
|
3876
5306
|
conditions: ({
|
|
3877
|
-
url: string;
|
|
3878
5307
|
type: "page_url";
|
|
5308
|
+
url: string;
|
|
3879
5309
|
} | {
|
|
3880
5310
|
type: "route";
|
|
3881
5311
|
routeId: string;
|
|
3882
5312
|
} | {
|
|
5313
|
+
type: "anchor_visible";
|
|
3883
5314
|
anchorId: string;
|
|
3884
5315
|
state: "visible" | "present" | "absent";
|
|
3885
|
-
type: "anchor_visible";
|
|
3886
5316
|
} | {
|
|
3887
5317
|
type: "event_occurred";
|
|
3888
5318
|
eventName: string;
|
|
@@ -3921,6 +5351,13 @@ export declare const configSchemas: ({
|
|
|
3921
5351
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3922
5352
|
count: number;
|
|
3923
5353
|
withinMs?: number | undefined;
|
|
5354
|
+
counter?: {
|
|
5355
|
+
events: string[];
|
|
5356
|
+
match?: Record<string, {
|
|
5357
|
+
equals?: string | number | boolean | undefined;
|
|
5358
|
+
contains?: string | undefined;
|
|
5359
|
+
}> | undefined;
|
|
5360
|
+
} | undefined;
|
|
3924
5361
|
})[];
|
|
3925
5362
|
value?: unknown;
|
|
3926
5363
|
}[];
|
|
@@ -3940,9 +5377,9 @@ export declare const configSchemas: ({
|
|
|
3940
5377
|
} | {
|
|
3941
5378
|
type: "external";
|
|
3942
5379
|
endpoint: string;
|
|
3943
|
-
timeoutMs?: number | undefined;
|
|
3944
5380
|
default?: unknown;
|
|
3945
5381
|
method?: "GET" | "POST" | undefined;
|
|
5382
|
+
timeoutMs?: number | undefined;
|
|
3946
5383
|
} | undefined;
|
|
3947
5384
|
} | undefined;
|
|
3948
5385
|
notifications?: {
|
|
@@ -3958,19 +5395,6 @@ export declare const configSchemas: ({
|
|
|
3958
5395
|
} | undefined;
|
|
3959
5396
|
}[] | undefined;
|
|
3960
5397
|
}[];
|
|
3961
|
-
schemaVersion?: string | undefined;
|
|
3962
|
-
configVersion?: string | undefined;
|
|
3963
|
-
canvasTitle?: string | undefined;
|
|
3964
|
-
theme?: {
|
|
3965
|
-
position?: "right" | "left" | undefined;
|
|
3966
|
-
name?: string | undefined;
|
|
3967
|
-
mode?: "dark" | "light" | undefined;
|
|
3968
|
-
colorPrimary?: string | undefined;
|
|
3969
|
-
colorBackground?: string | undefined;
|
|
3970
|
-
colorText?: string | undefined;
|
|
3971
|
-
colorTextSecondary?: string | undefined;
|
|
3972
|
-
borderRadius?: string | undefined;
|
|
3973
|
-
} | undefined;
|
|
3974
5398
|
launcher?: {
|
|
3975
5399
|
position?: string | undefined;
|
|
3976
5400
|
label?: string | undefined;
|
|
@@ -3979,6 +5403,62 @@ export declare const configSchemas: ({
|
|
|
3979
5403
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
3980
5404
|
notificationCount?: number | undefined;
|
|
3981
5405
|
} | undefined;
|
|
5406
|
+
schemaVersion?: string | undefined;
|
|
5407
|
+
configVersion?: string | undefined;
|
|
5408
|
+
canvasTitle?: string | undefined;
|
|
5409
|
+
theme?: {
|
|
5410
|
+
borderRadius?: string | undefined;
|
|
5411
|
+
mode?: "dark" | "light" | undefined;
|
|
5412
|
+
fontFamily?: string | undefined;
|
|
5413
|
+
colorPrimary?: string | undefined;
|
|
5414
|
+
colorPrimaryHover?: string | undefined;
|
|
5415
|
+
canvas?: {
|
|
5416
|
+
position?: "right" | "left" | undefined;
|
|
5417
|
+
background?: string | undefined;
|
|
5418
|
+
blur?: string | undefined;
|
|
5419
|
+
border?: string | undefined;
|
|
5420
|
+
width?: string | undefined;
|
|
5421
|
+
} | undefined;
|
|
5422
|
+
launcher?: {
|
|
5423
|
+
size?: string | undefined;
|
|
5424
|
+
background?: string | undefined;
|
|
5425
|
+
backgroundHover?: string | undefined;
|
|
5426
|
+
color?: string | undefined;
|
|
5427
|
+
shadow?: string | undefined;
|
|
5428
|
+
} | undefined;
|
|
5429
|
+
tile?: {
|
|
5430
|
+
background?: string | undefined;
|
|
5431
|
+
border?: string | undefined;
|
|
5432
|
+
backgroundHover?: string | undefined;
|
|
5433
|
+
shadow?: string | undefined;
|
|
5434
|
+
borderRadius?: string | undefined;
|
|
5435
|
+
titleColor?: string | undefined;
|
|
5436
|
+
textColor?: string | undefined;
|
|
5437
|
+
iconBackground?: string | undefined;
|
|
5438
|
+
iconShadow?: string | undefined;
|
|
5439
|
+
} | undefined;
|
|
5440
|
+
overlay?: {
|
|
5441
|
+
background?: string | undefined;
|
|
5442
|
+
border?: string | undefined;
|
|
5443
|
+
borderRadius?: string | undefined;
|
|
5444
|
+
textColor?: string | undefined;
|
|
5445
|
+
scrimOpacity?: string | undefined;
|
|
5446
|
+
highlightRing?: string | undefined;
|
|
5447
|
+
} | undefined;
|
|
5448
|
+
notification?: {
|
|
5449
|
+
background?: string | undefined;
|
|
5450
|
+
border?: string | undefined;
|
|
5451
|
+
borderRadius?: string | undefined;
|
|
5452
|
+
textColor?: string | undefined;
|
|
5453
|
+
iconBackground?: string | undefined;
|
|
5454
|
+
textSecondaryColor?: string | undefined;
|
|
5455
|
+
successColor?: string | undefined;
|
|
5456
|
+
warningColor?: string | undefined;
|
|
5457
|
+
errorColor?: string | undefined;
|
|
5458
|
+
progressGradient?: string | undefined;
|
|
5459
|
+
} | undefined;
|
|
5460
|
+
} | undefined;
|
|
5461
|
+
verificationSteps?: string[] | undefined;
|
|
3982
5462
|
}, {
|
|
3983
5463
|
actions: any[];
|
|
3984
5464
|
fetchedAt: string;
|
|
@@ -3990,22 +5470,22 @@ export declare const configSchemas: ({
|
|
|
3990
5470
|
title?: string | undefined;
|
|
3991
5471
|
activation?: {
|
|
3992
5472
|
routes: {
|
|
3993
|
-
exclude?: string[] | undefined;
|
|
3994
5473
|
include?: string[] | undefined;
|
|
5474
|
+
exclude?: string[] | undefined;
|
|
3995
5475
|
};
|
|
3996
5476
|
strategy?: {
|
|
3997
5477
|
type: "rules";
|
|
3998
5478
|
rules: {
|
|
3999
5479
|
conditions: ({
|
|
4000
|
-
url: string;
|
|
4001
5480
|
type: "page_url";
|
|
5481
|
+
url: string;
|
|
4002
5482
|
} | {
|
|
4003
5483
|
type: "route";
|
|
4004
5484
|
routeId: string;
|
|
4005
5485
|
} | {
|
|
5486
|
+
type: "anchor_visible";
|
|
4006
5487
|
anchorId: string;
|
|
4007
5488
|
state: "visible" | "present" | "absent";
|
|
4008
|
-
type: "anchor_visible";
|
|
4009
5489
|
} | {
|
|
4010
5490
|
type: "event_occurred";
|
|
4011
5491
|
eventName: string;
|
|
@@ -4044,6 +5524,13 @@ export declare const configSchemas: ({
|
|
|
4044
5524
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4045
5525
|
count: number;
|
|
4046
5526
|
withinMs?: number | undefined;
|
|
5527
|
+
counter?: {
|
|
5528
|
+
events: string[];
|
|
5529
|
+
match?: Record<string, {
|
|
5530
|
+
equals?: string | number | boolean | undefined;
|
|
5531
|
+
contains?: string | undefined;
|
|
5532
|
+
}> | undefined;
|
|
5533
|
+
} | undefined;
|
|
4047
5534
|
})[];
|
|
4048
5535
|
value?: unknown;
|
|
4049
5536
|
}[];
|
|
@@ -4063,9 +5550,9 @@ export declare const configSchemas: ({
|
|
|
4063
5550
|
} | {
|
|
4064
5551
|
type: "external";
|
|
4065
5552
|
endpoint: string;
|
|
4066
|
-
timeoutMs?: number | undefined;
|
|
4067
5553
|
default?: unknown;
|
|
4068
5554
|
method?: "GET" | "POST" | undefined;
|
|
5555
|
+
timeoutMs?: number | undefined;
|
|
4069
5556
|
} | undefined;
|
|
4070
5557
|
} | undefined;
|
|
4071
5558
|
notifications?: {
|
|
@@ -4081,19 +5568,6 @@ export declare const configSchemas: ({
|
|
|
4081
5568
|
} | undefined;
|
|
4082
5569
|
}[] | undefined;
|
|
4083
5570
|
}[];
|
|
4084
|
-
schemaVersion?: string | undefined;
|
|
4085
|
-
configVersion?: string | undefined;
|
|
4086
|
-
canvasTitle?: string | undefined;
|
|
4087
|
-
theme?: {
|
|
4088
|
-
position?: "right" | "left" | undefined;
|
|
4089
|
-
name?: string | undefined;
|
|
4090
|
-
mode?: "dark" | "light" | undefined;
|
|
4091
|
-
colorPrimary?: string | undefined;
|
|
4092
|
-
colorBackground?: string | undefined;
|
|
4093
|
-
colorText?: string | undefined;
|
|
4094
|
-
colorTextSecondary?: string | undefined;
|
|
4095
|
-
borderRadius?: string | undefined;
|
|
4096
|
-
} | undefined;
|
|
4097
5571
|
launcher?: {
|
|
4098
5572
|
position?: string | undefined;
|
|
4099
5573
|
label?: string | undefined;
|
|
@@ -4102,6 +5576,62 @@ export declare const configSchemas: ({
|
|
|
4102
5576
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
4103
5577
|
notificationCount?: number | undefined;
|
|
4104
5578
|
} | undefined;
|
|
5579
|
+
schemaVersion?: string | undefined;
|
|
5580
|
+
configVersion?: string | undefined;
|
|
5581
|
+
canvasTitle?: string | undefined;
|
|
5582
|
+
theme?: {
|
|
5583
|
+
borderRadius?: string | undefined;
|
|
5584
|
+
mode?: "dark" | "light" | undefined;
|
|
5585
|
+
fontFamily?: string | undefined;
|
|
5586
|
+
colorPrimary?: string | undefined;
|
|
5587
|
+
colorPrimaryHover?: string | undefined;
|
|
5588
|
+
canvas?: {
|
|
5589
|
+
position?: "right" | "left" | undefined;
|
|
5590
|
+
background?: string | undefined;
|
|
5591
|
+
blur?: string | undefined;
|
|
5592
|
+
border?: string | undefined;
|
|
5593
|
+
width?: string | undefined;
|
|
5594
|
+
} | undefined;
|
|
5595
|
+
launcher?: {
|
|
5596
|
+
size?: string | undefined;
|
|
5597
|
+
background?: string | undefined;
|
|
5598
|
+
backgroundHover?: string | undefined;
|
|
5599
|
+
color?: string | undefined;
|
|
5600
|
+
shadow?: string | undefined;
|
|
5601
|
+
} | undefined;
|
|
5602
|
+
tile?: {
|
|
5603
|
+
background?: string | undefined;
|
|
5604
|
+
border?: string | undefined;
|
|
5605
|
+
backgroundHover?: string | undefined;
|
|
5606
|
+
shadow?: string | undefined;
|
|
5607
|
+
borderRadius?: string | undefined;
|
|
5608
|
+
titleColor?: string | undefined;
|
|
5609
|
+
textColor?: string | undefined;
|
|
5610
|
+
iconBackground?: string | undefined;
|
|
5611
|
+
iconShadow?: string | undefined;
|
|
5612
|
+
} | undefined;
|
|
5613
|
+
overlay?: {
|
|
5614
|
+
background?: string | undefined;
|
|
5615
|
+
border?: string | undefined;
|
|
5616
|
+
borderRadius?: string | undefined;
|
|
5617
|
+
textColor?: string | undefined;
|
|
5618
|
+
scrimOpacity?: string | undefined;
|
|
5619
|
+
highlightRing?: string | undefined;
|
|
5620
|
+
} | undefined;
|
|
5621
|
+
notification?: {
|
|
5622
|
+
background?: string | undefined;
|
|
5623
|
+
border?: string | undefined;
|
|
5624
|
+
borderRadius?: string | undefined;
|
|
5625
|
+
textColor?: string | undefined;
|
|
5626
|
+
iconBackground?: string | undefined;
|
|
5627
|
+
textSecondaryColor?: string | undefined;
|
|
5628
|
+
successColor?: string | undefined;
|
|
5629
|
+
warningColor?: string | undefined;
|
|
5630
|
+
errorColor?: string | undefined;
|
|
5631
|
+
progressGradient?: string | undefined;
|
|
5632
|
+
} | undefined;
|
|
5633
|
+
} | undefined;
|
|
5634
|
+
verificationSteps?: string[] | undefined;
|
|
4105
5635
|
}>;
|
|
4106
5636
|
})[];
|
|
4107
5637
|
export { NotificationDeepLinkZ, TileNotificationRuleZ };
|