@syntrologie/runtime-sdk 2.4.0-canary.18 → 2.4.0-canary.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/schema.d.ts +7256 -384
- package/dist/actions/schema.js +2 -2
- package/dist/actions/types.d.ts +7 -0
- package/dist/anchor/AnchorResolver.d.ts +18 -0
- package/dist/anchor/index.d.ts +2 -0
- package/dist/{chunk-LZLDT5DA.js → chunk-LR5AA5SE.js} +2 -2
- package/dist/{chunk-NR57IT54.js → chunk-LRN3K2VD.js} +282 -100
- package/dist/chunk-LRN3K2VD.js.map +7 -0
- package/dist/{chunk-4NYS7GAW.js → chunk-P5G4KT2U.js} +39 -6
- package/dist/chunk-P5G4KT2U.js.map +7 -0
- package/dist/config/schema.d.ts +448 -40
- package/dist/config/schema.js +1 -1
- package/dist/context/schema.d.ts +8 -8
- package/dist/decisions/schema.d.ts +424 -1408
- package/dist/decisions/schema.js +5 -1
- package/dist/decisions/types.d.ts +22 -0
- package/dist/events/registerConfigPredicates.d.ts +6 -10
- package/dist/events/schema.d.ts +8 -8
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9 -77
- package/dist/index.js.map +3 -3
- package/dist/overlays/schema.d.ts +22 -22
- package/dist/react.js +3 -3
- package/dist/runtime.d.ts +3 -0
- package/dist/smart-canvas.esm.js +36 -37
- package/dist/smart-canvas.esm.js.map +4 -4
- package/dist/smart-canvas.js +318 -177
- package/dist/smart-canvas.js.map +4 -4
- package/dist/smart-canvas.min.js +36 -37
- package/dist/smart-canvas.min.js.map +4 -4
- package/dist/version.d.ts +1 -1
- package/package.json +7 -7
- package/schema/canvas-config.schema.json +996 -56
- package/dist/chunk-4NYS7GAW.js.map +0 -7
- package/dist/chunk-NR57IT54.js.map +0 -7
- /package/dist/{chunk-LZLDT5DA.js.map → chunk-LR5AA5SE.js.map} +0 -0
package/dist/config/schema.d.ts
CHANGED
|
@@ -212,18 +212,57 @@ export declare const TileZ: z.ZodObject<{
|
|
|
212
212
|
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
213
213
|
count: z.ZodNumber;
|
|
214
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
|
+
}>>;
|
|
215
240
|
}, "strip", z.ZodTypeAny, {
|
|
216
241
|
type: "event_count";
|
|
217
242
|
key: string;
|
|
218
243
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
219
244
|
count: number;
|
|
220
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;
|
|
221
253
|
}, {
|
|
222
254
|
type: "event_count";
|
|
223
255
|
key: string;
|
|
224
256
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
225
257
|
count: number;
|
|
226
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;
|
|
227
266
|
}>]>, "many">;
|
|
228
267
|
value: z.ZodUnknown;
|
|
229
268
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -275,6 +314,13 @@ export declare const TileZ: z.ZodObject<{
|
|
|
275
314
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
276
315
|
count: number;
|
|
277
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;
|
|
278
324
|
})[];
|
|
279
325
|
value?: unknown;
|
|
280
326
|
}, {
|
|
@@ -326,11 +372,19 @@ export declare const TileZ: z.ZodObject<{
|
|
|
326
372
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
327
373
|
count: number;
|
|
328
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;
|
|
329
382
|
})[];
|
|
330
383
|
value?: unknown;
|
|
331
384
|
}>, "many">;
|
|
332
385
|
default: z.ZodUnknown;
|
|
333
386
|
}, "strip", z.ZodTypeAny, {
|
|
387
|
+
type: "rules";
|
|
334
388
|
rules: {
|
|
335
389
|
conditions: ({
|
|
336
390
|
type: "page_url";
|
|
@@ -380,12 +434,19 @@ export declare const TileZ: z.ZodObject<{
|
|
|
380
434
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
381
435
|
count: number;
|
|
382
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;
|
|
383
444
|
})[];
|
|
384
445
|
value?: unknown;
|
|
385
446
|
}[];
|
|
386
|
-
type: "rules";
|
|
387
447
|
default?: unknown;
|
|
388
448
|
}, {
|
|
449
|
+
type: "rules";
|
|
389
450
|
rules: {
|
|
390
451
|
conditions: ({
|
|
391
452
|
type: "page_url";
|
|
@@ -435,10 +496,16 @@ export declare const TileZ: z.ZodObject<{
|
|
|
435
496
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
436
497
|
count: number;
|
|
437
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;
|
|
438
506
|
})[];
|
|
439
507
|
value?: unknown;
|
|
440
508
|
}[];
|
|
441
|
-
type: "rules";
|
|
442
509
|
default?: unknown;
|
|
443
510
|
}>, z.ZodObject<{
|
|
444
511
|
type: z.ZodLiteral<"score">;
|
|
@@ -501,6 +568,7 @@ export declare const TileZ: z.ZodObject<{
|
|
|
501
568
|
exclude?: string[] | undefined;
|
|
502
569
|
};
|
|
503
570
|
strategy?: {
|
|
571
|
+
type: "rules";
|
|
504
572
|
rules: {
|
|
505
573
|
conditions: ({
|
|
506
574
|
type: "page_url";
|
|
@@ -550,10 +618,16 @@ export declare const TileZ: z.ZodObject<{
|
|
|
550
618
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
551
619
|
count: number;
|
|
552
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;
|
|
553
628
|
})[];
|
|
554
629
|
value?: unknown;
|
|
555
630
|
}[];
|
|
556
|
-
type: "rules";
|
|
557
631
|
default?: unknown;
|
|
558
632
|
} | {
|
|
559
633
|
type: "score";
|
|
@@ -580,6 +654,7 @@ export declare const TileZ: z.ZodObject<{
|
|
|
580
654
|
exclude?: string[] | undefined;
|
|
581
655
|
};
|
|
582
656
|
strategy?: {
|
|
657
|
+
type: "rules";
|
|
583
658
|
rules: {
|
|
584
659
|
conditions: ({
|
|
585
660
|
type: "page_url";
|
|
@@ -629,10 +704,16 @@ export declare const TileZ: z.ZodObject<{
|
|
|
629
704
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
630
705
|
count: number;
|
|
631
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;
|
|
632
714
|
})[];
|
|
633
715
|
value?: unknown;
|
|
634
716
|
}[];
|
|
635
|
-
type: "rules";
|
|
636
717
|
default?: unknown;
|
|
637
718
|
} | {
|
|
638
719
|
type: "score";
|
|
@@ -706,6 +787,7 @@ export declare const TileZ: z.ZodObject<{
|
|
|
706
787
|
exclude?: string[] | undefined;
|
|
707
788
|
};
|
|
708
789
|
strategy?: {
|
|
790
|
+
type: "rules";
|
|
709
791
|
rules: {
|
|
710
792
|
conditions: ({
|
|
711
793
|
type: "page_url";
|
|
@@ -755,10 +837,16 @@ export declare const TileZ: z.ZodObject<{
|
|
|
755
837
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
756
838
|
count: number;
|
|
757
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;
|
|
758
847
|
})[];
|
|
759
848
|
value?: unknown;
|
|
760
849
|
}[];
|
|
761
|
-
type: "rules";
|
|
762
850
|
default?: unknown;
|
|
763
851
|
} | {
|
|
764
852
|
type: "score";
|
|
@@ -804,6 +892,7 @@ export declare const TileZ: z.ZodObject<{
|
|
|
804
892
|
exclude?: string[] | undefined;
|
|
805
893
|
};
|
|
806
894
|
strategy?: {
|
|
895
|
+
type: "rules";
|
|
807
896
|
rules: {
|
|
808
897
|
conditions: ({
|
|
809
898
|
type: "page_url";
|
|
@@ -853,10 +942,16 @@ export declare const TileZ: z.ZodObject<{
|
|
|
853
942
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
854
943
|
count: number;
|
|
855
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;
|
|
856
952
|
})[];
|
|
857
953
|
value?: unknown;
|
|
858
954
|
}[];
|
|
859
|
-
type: "rules";
|
|
860
955
|
default?: unknown;
|
|
861
956
|
} | {
|
|
862
957
|
type: "score";
|
|
@@ -1260,15 +1355,15 @@ export declare const LauncherConfigZ: z.ZodObject<{
|
|
|
1260
1355
|
}, "strict", z.ZodTypeAny, {
|
|
1261
1356
|
position?: string | undefined;
|
|
1262
1357
|
label?: string | undefined;
|
|
1263
|
-
enabled?: boolean | undefined;
|
|
1264
1358
|
animate?: boolean | undefined;
|
|
1359
|
+
enabled?: boolean | undefined;
|
|
1265
1360
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
1266
1361
|
notificationCount?: number | undefined;
|
|
1267
1362
|
}, {
|
|
1268
1363
|
position?: string | undefined;
|
|
1269
1364
|
label?: string | undefined;
|
|
1270
|
-
enabled?: boolean | undefined;
|
|
1271
1365
|
animate?: boolean | undefined;
|
|
1366
|
+
enabled?: boolean | undefined;
|
|
1272
1367
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
1273
1368
|
notificationCount?: number | undefined;
|
|
1274
1369
|
}>;
|
|
@@ -1429,18 +1524,57 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1429
1524
|
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
1430
1525
|
count: z.ZodNumber;
|
|
1431
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
|
+
}>>;
|
|
1432
1552
|
}, "strip", z.ZodTypeAny, {
|
|
1433
1553
|
type: "event_count";
|
|
1434
1554
|
key: string;
|
|
1435
1555
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1436
1556
|
count: number;
|
|
1437
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;
|
|
1438
1565
|
}, {
|
|
1439
1566
|
type: "event_count";
|
|
1440
1567
|
key: string;
|
|
1441
1568
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1442
1569
|
count: number;
|
|
1443
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;
|
|
1444
1578
|
}>]>, "many">;
|
|
1445
1579
|
value: z.ZodUnknown;
|
|
1446
1580
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1492,6 +1626,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1492
1626
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1493
1627
|
count: number;
|
|
1494
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;
|
|
1495
1636
|
})[];
|
|
1496
1637
|
value?: unknown;
|
|
1497
1638
|
}, {
|
|
@@ -1543,11 +1684,19 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1543
1684
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1544
1685
|
count: number;
|
|
1545
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;
|
|
1546
1694
|
})[];
|
|
1547
1695
|
value?: unknown;
|
|
1548
1696
|
}>, "many">;
|
|
1549
1697
|
default: z.ZodUnknown;
|
|
1550
1698
|
}, "strip", z.ZodTypeAny, {
|
|
1699
|
+
type: "rules";
|
|
1551
1700
|
rules: {
|
|
1552
1701
|
conditions: ({
|
|
1553
1702
|
type: "page_url";
|
|
@@ -1597,12 +1746,19 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1597
1746
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1598
1747
|
count: number;
|
|
1599
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;
|
|
1600
1756
|
})[];
|
|
1601
1757
|
value?: unknown;
|
|
1602
1758
|
}[];
|
|
1603
|
-
type: "rules";
|
|
1604
1759
|
default?: unknown;
|
|
1605
1760
|
}, {
|
|
1761
|
+
type: "rules";
|
|
1606
1762
|
rules: {
|
|
1607
1763
|
conditions: ({
|
|
1608
1764
|
type: "page_url";
|
|
@@ -1652,10 +1808,16 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1652
1808
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1653
1809
|
count: number;
|
|
1654
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;
|
|
1655
1818
|
})[];
|
|
1656
1819
|
value?: unknown;
|
|
1657
1820
|
}[];
|
|
1658
|
-
type: "rules";
|
|
1659
1821
|
default?: unknown;
|
|
1660
1822
|
}>, z.ZodObject<{
|
|
1661
1823
|
type: z.ZodLiteral<"score">;
|
|
@@ -1718,6 +1880,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1718
1880
|
exclude?: string[] | undefined;
|
|
1719
1881
|
};
|
|
1720
1882
|
strategy?: {
|
|
1883
|
+
type: "rules";
|
|
1721
1884
|
rules: {
|
|
1722
1885
|
conditions: ({
|
|
1723
1886
|
type: "page_url";
|
|
@@ -1767,10 +1930,16 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1767
1930
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1768
1931
|
count: number;
|
|
1769
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;
|
|
1770
1940
|
})[];
|
|
1771
1941
|
value?: unknown;
|
|
1772
1942
|
}[];
|
|
1773
|
-
type: "rules";
|
|
1774
1943
|
default?: unknown;
|
|
1775
1944
|
} | {
|
|
1776
1945
|
type: "score";
|
|
@@ -1797,6 +1966,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1797
1966
|
exclude?: string[] | undefined;
|
|
1798
1967
|
};
|
|
1799
1968
|
strategy?: {
|
|
1969
|
+
type: "rules";
|
|
1800
1970
|
rules: {
|
|
1801
1971
|
conditions: ({
|
|
1802
1972
|
type: "page_url";
|
|
@@ -1846,10 +2016,16 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1846
2016
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1847
2017
|
count: number;
|
|
1848
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;
|
|
1849
2026
|
})[];
|
|
1850
2027
|
value?: unknown;
|
|
1851
2028
|
}[];
|
|
1852
|
-
type: "rules";
|
|
1853
2029
|
default?: unknown;
|
|
1854
2030
|
} | {
|
|
1855
2031
|
type: "score";
|
|
@@ -1923,6 +2099,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1923
2099
|
exclude?: string[] | undefined;
|
|
1924
2100
|
};
|
|
1925
2101
|
strategy?: {
|
|
2102
|
+
type: "rules";
|
|
1926
2103
|
rules: {
|
|
1927
2104
|
conditions: ({
|
|
1928
2105
|
type: "page_url";
|
|
@@ -1972,10 +2149,16 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1972
2149
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1973
2150
|
count: number;
|
|
1974
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;
|
|
1975
2159
|
})[];
|
|
1976
2160
|
value?: unknown;
|
|
1977
2161
|
}[];
|
|
1978
|
-
type: "rules";
|
|
1979
2162
|
default?: unknown;
|
|
1980
2163
|
} | {
|
|
1981
2164
|
type: "score";
|
|
@@ -2021,6 +2204,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
2021
2204
|
exclude?: string[] | undefined;
|
|
2022
2205
|
};
|
|
2023
2206
|
strategy?: {
|
|
2207
|
+
type: "rules";
|
|
2024
2208
|
rules: {
|
|
2025
2209
|
conditions: ({
|
|
2026
2210
|
type: "page_url";
|
|
@@ -2070,10 +2254,16 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
2070
2254
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2071
2255
|
count: number;
|
|
2072
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;
|
|
2073
2264
|
})[];
|
|
2074
2265
|
value?: unknown;
|
|
2075
2266
|
}[];
|
|
2076
|
-
type: "rules";
|
|
2077
2267
|
default?: unknown;
|
|
2078
2268
|
} | {
|
|
2079
2269
|
type: "score";
|
|
@@ -2353,15 +2543,15 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
2353
2543
|
}, "strict", z.ZodTypeAny, {
|
|
2354
2544
|
position?: string | undefined;
|
|
2355
2545
|
label?: string | undefined;
|
|
2356
|
-
enabled?: boolean | undefined;
|
|
2357
2546
|
animate?: boolean | undefined;
|
|
2547
|
+
enabled?: boolean | undefined;
|
|
2358
2548
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
2359
2549
|
notificationCount?: number | undefined;
|
|
2360
2550
|
}, {
|
|
2361
2551
|
position?: string | undefined;
|
|
2362
2552
|
label?: string | undefined;
|
|
2363
|
-
enabled?: boolean | undefined;
|
|
2364
2553
|
animate?: boolean | undefined;
|
|
2554
|
+
enabled?: boolean | undefined;
|
|
2365
2555
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
2366
2556
|
notificationCount?: number | undefined;
|
|
2367
2557
|
}>>;
|
|
@@ -2381,6 +2571,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
2381
2571
|
exclude?: string[] | undefined;
|
|
2382
2572
|
};
|
|
2383
2573
|
strategy?: {
|
|
2574
|
+
type: "rules";
|
|
2384
2575
|
rules: {
|
|
2385
2576
|
conditions: ({
|
|
2386
2577
|
type: "page_url";
|
|
@@ -2430,10 +2621,16 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
2430
2621
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2431
2622
|
count: number;
|
|
2432
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;
|
|
2433
2631
|
})[];
|
|
2434
2632
|
value?: unknown;
|
|
2435
2633
|
}[];
|
|
2436
|
-
type: "rules";
|
|
2437
2634
|
default?: unknown;
|
|
2438
2635
|
} | {
|
|
2439
2636
|
type: "score";
|
|
@@ -2471,8 +2668,8 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
2471
2668
|
launcher?: {
|
|
2472
2669
|
position?: string | undefined;
|
|
2473
2670
|
label?: string | undefined;
|
|
2474
|
-
enabled?: boolean | undefined;
|
|
2475
2671
|
animate?: boolean | undefined;
|
|
2672
|
+
enabled?: boolean | undefined;
|
|
2476
2673
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
2477
2674
|
notificationCount?: number | undefined;
|
|
2478
2675
|
} | undefined;
|
|
@@ -2547,6 +2744,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
2547
2744
|
exclude?: string[] | undefined;
|
|
2548
2745
|
};
|
|
2549
2746
|
strategy?: {
|
|
2747
|
+
type: "rules";
|
|
2550
2748
|
rules: {
|
|
2551
2749
|
conditions: ({
|
|
2552
2750
|
type: "page_url";
|
|
@@ -2596,10 +2794,16 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
2596
2794
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2597
2795
|
count: number;
|
|
2598
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;
|
|
2599
2804
|
})[];
|
|
2600
2805
|
value?: unknown;
|
|
2601
2806
|
}[];
|
|
2602
|
-
type: "rules";
|
|
2603
2807
|
default?: unknown;
|
|
2604
2808
|
} | {
|
|
2605
2809
|
type: "score";
|
|
@@ -2637,8 +2841,8 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
2637
2841
|
launcher?: {
|
|
2638
2842
|
position?: string | undefined;
|
|
2639
2843
|
label?: string | undefined;
|
|
2640
|
-
enabled?: boolean | undefined;
|
|
2641
2844
|
animate?: boolean | undefined;
|
|
2845
|
+
enabled?: boolean | undefined;
|
|
2642
2846
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
2643
2847
|
notificationCount?: number | undefined;
|
|
2644
2848
|
} | undefined;
|
|
@@ -2857,18 +3061,57 @@ export declare const configSchemas: ({
|
|
|
2857
3061
|
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
2858
3062
|
count: z.ZodNumber;
|
|
2859
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
|
+
}>>;
|
|
2860
3089
|
}, "strip", z.ZodTypeAny, {
|
|
2861
3090
|
type: "event_count";
|
|
2862
3091
|
key: string;
|
|
2863
3092
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2864
3093
|
count: number;
|
|
2865
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;
|
|
2866
3102
|
}, {
|
|
2867
3103
|
type: "event_count";
|
|
2868
3104
|
key: string;
|
|
2869
3105
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2870
3106
|
count: number;
|
|
2871
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;
|
|
2872
3115
|
}>]>, "many">;
|
|
2873
3116
|
value: z.ZodUnknown;
|
|
2874
3117
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2920,6 +3163,13 @@ export declare const configSchemas: ({
|
|
|
2920
3163
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2921
3164
|
count: number;
|
|
2922
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;
|
|
2923
3173
|
})[];
|
|
2924
3174
|
value?: unknown;
|
|
2925
3175
|
}, {
|
|
@@ -2971,11 +3221,19 @@ export declare const configSchemas: ({
|
|
|
2971
3221
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2972
3222
|
count: number;
|
|
2973
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;
|
|
2974
3231
|
})[];
|
|
2975
3232
|
value?: unknown;
|
|
2976
3233
|
}>, "many">;
|
|
2977
3234
|
default: z.ZodUnknown;
|
|
2978
3235
|
}, "strip", z.ZodTypeAny, {
|
|
3236
|
+
type: "rules";
|
|
2979
3237
|
rules: {
|
|
2980
3238
|
conditions: ({
|
|
2981
3239
|
type: "page_url";
|
|
@@ -3025,12 +3283,19 @@ export declare const configSchemas: ({
|
|
|
3025
3283
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3026
3284
|
count: number;
|
|
3027
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;
|
|
3028
3293
|
})[];
|
|
3029
3294
|
value?: unknown;
|
|
3030
3295
|
}[];
|
|
3031
|
-
type: "rules";
|
|
3032
3296
|
default?: unknown;
|
|
3033
3297
|
}, {
|
|
3298
|
+
type: "rules";
|
|
3034
3299
|
rules: {
|
|
3035
3300
|
conditions: ({
|
|
3036
3301
|
type: "page_url";
|
|
@@ -3080,10 +3345,16 @@ export declare const configSchemas: ({
|
|
|
3080
3345
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3081
3346
|
count: number;
|
|
3082
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;
|
|
3083
3355
|
})[];
|
|
3084
3356
|
value?: unknown;
|
|
3085
3357
|
}[];
|
|
3086
|
-
type: "rules";
|
|
3087
3358
|
default?: unknown;
|
|
3088
3359
|
}>, z.ZodObject<{
|
|
3089
3360
|
type: z.ZodLiteral<"score">;
|
|
@@ -3146,6 +3417,7 @@ export declare const configSchemas: ({
|
|
|
3146
3417
|
exclude?: string[] | undefined;
|
|
3147
3418
|
};
|
|
3148
3419
|
strategy?: {
|
|
3420
|
+
type: "rules";
|
|
3149
3421
|
rules: {
|
|
3150
3422
|
conditions: ({
|
|
3151
3423
|
type: "page_url";
|
|
@@ -3195,10 +3467,16 @@ export declare const configSchemas: ({
|
|
|
3195
3467
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3196
3468
|
count: number;
|
|
3197
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;
|
|
3198
3477
|
})[];
|
|
3199
3478
|
value?: unknown;
|
|
3200
3479
|
}[];
|
|
3201
|
-
type: "rules";
|
|
3202
3480
|
default?: unknown;
|
|
3203
3481
|
} | {
|
|
3204
3482
|
type: "score";
|
|
@@ -3225,6 +3503,7 @@ export declare const configSchemas: ({
|
|
|
3225
3503
|
exclude?: string[] | undefined;
|
|
3226
3504
|
};
|
|
3227
3505
|
strategy?: {
|
|
3506
|
+
type: "rules";
|
|
3228
3507
|
rules: {
|
|
3229
3508
|
conditions: ({
|
|
3230
3509
|
type: "page_url";
|
|
@@ -3274,10 +3553,16 @@ export declare const configSchemas: ({
|
|
|
3274
3553
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3275
3554
|
count: number;
|
|
3276
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;
|
|
3277
3563
|
})[];
|
|
3278
3564
|
value?: unknown;
|
|
3279
3565
|
}[];
|
|
3280
|
-
type: "rules";
|
|
3281
3566
|
default?: unknown;
|
|
3282
3567
|
} | {
|
|
3283
3568
|
type: "score";
|
|
@@ -3351,6 +3636,7 @@ export declare const configSchemas: ({
|
|
|
3351
3636
|
exclude?: string[] | undefined;
|
|
3352
3637
|
};
|
|
3353
3638
|
strategy?: {
|
|
3639
|
+
type: "rules";
|
|
3354
3640
|
rules: {
|
|
3355
3641
|
conditions: ({
|
|
3356
3642
|
type: "page_url";
|
|
@@ -3400,10 +3686,16 @@ export declare const configSchemas: ({
|
|
|
3400
3686
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3401
3687
|
count: number;
|
|
3402
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;
|
|
3403
3696
|
})[];
|
|
3404
3697
|
value?: unknown;
|
|
3405
3698
|
}[];
|
|
3406
|
-
type: "rules";
|
|
3407
3699
|
default?: unknown;
|
|
3408
3700
|
} | {
|
|
3409
3701
|
type: "score";
|
|
@@ -3449,6 +3741,7 @@ export declare const configSchemas: ({
|
|
|
3449
3741
|
exclude?: string[] | undefined;
|
|
3450
3742
|
};
|
|
3451
3743
|
strategy?: {
|
|
3744
|
+
type: "rules";
|
|
3452
3745
|
rules: {
|
|
3453
3746
|
conditions: ({
|
|
3454
3747
|
type: "page_url";
|
|
@@ -3498,10 +3791,16 @@ export declare const configSchemas: ({
|
|
|
3498
3791
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3499
3792
|
count: number;
|
|
3500
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;
|
|
3501
3801
|
})[];
|
|
3502
3802
|
value?: unknown;
|
|
3503
3803
|
}[];
|
|
3504
|
-
type: "rules";
|
|
3505
3804
|
default?: unknown;
|
|
3506
3805
|
} | {
|
|
3507
3806
|
type: "score";
|
|
@@ -3784,15 +4083,15 @@ export declare const configSchemas: ({
|
|
|
3784
4083
|
}, "strict", z.ZodTypeAny, {
|
|
3785
4084
|
position?: string | undefined;
|
|
3786
4085
|
label?: string | undefined;
|
|
3787
|
-
enabled?: boolean | undefined;
|
|
3788
4086
|
animate?: boolean | undefined;
|
|
4087
|
+
enabled?: boolean | undefined;
|
|
3789
4088
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
3790
4089
|
notificationCount?: number | undefined;
|
|
3791
4090
|
}, {
|
|
3792
4091
|
position?: string | undefined;
|
|
3793
4092
|
label?: string | undefined;
|
|
3794
|
-
enabled?: boolean | undefined;
|
|
3795
4093
|
animate?: boolean | undefined;
|
|
4094
|
+
enabled?: boolean | undefined;
|
|
3796
4095
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
3797
4096
|
notificationCount?: number | undefined;
|
|
3798
4097
|
}>;
|
|
@@ -3955,18 +4254,57 @@ export declare const configSchemas: ({
|
|
|
3955
4254
|
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
3956
4255
|
count: z.ZodNumber;
|
|
3957
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
|
+
}>>;
|
|
3958
4282
|
}, "strip", z.ZodTypeAny, {
|
|
3959
4283
|
type: "event_count";
|
|
3960
4284
|
key: string;
|
|
3961
4285
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3962
4286
|
count: number;
|
|
3963
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;
|
|
3964
4295
|
}, {
|
|
3965
4296
|
type: "event_count";
|
|
3966
4297
|
key: string;
|
|
3967
4298
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3968
4299
|
count: number;
|
|
3969
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;
|
|
3970
4308
|
}>]>, "many">;
|
|
3971
4309
|
value: z.ZodUnknown;
|
|
3972
4310
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4018,6 +4356,13 @@ export declare const configSchemas: ({
|
|
|
4018
4356
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4019
4357
|
count: number;
|
|
4020
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;
|
|
4021
4366
|
})[];
|
|
4022
4367
|
value?: unknown;
|
|
4023
4368
|
}, {
|
|
@@ -4069,11 +4414,19 @@ export declare const configSchemas: ({
|
|
|
4069
4414
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4070
4415
|
count: number;
|
|
4071
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;
|
|
4072
4424
|
})[];
|
|
4073
4425
|
value?: unknown;
|
|
4074
4426
|
}>, "many">;
|
|
4075
4427
|
default: z.ZodUnknown;
|
|
4076
4428
|
}, "strip", z.ZodTypeAny, {
|
|
4429
|
+
type: "rules";
|
|
4077
4430
|
rules: {
|
|
4078
4431
|
conditions: ({
|
|
4079
4432
|
type: "page_url";
|
|
@@ -4123,12 +4476,19 @@ export declare const configSchemas: ({
|
|
|
4123
4476
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4124
4477
|
count: number;
|
|
4125
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;
|
|
4126
4486
|
})[];
|
|
4127
4487
|
value?: unknown;
|
|
4128
4488
|
}[];
|
|
4129
|
-
type: "rules";
|
|
4130
4489
|
default?: unknown;
|
|
4131
4490
|
}, {
|
|
4491
|
+
type: "rules";
|
|
4132
4492
|
rules: {
|
|
4133
4493
|
conditions: ({
|
|
4134
4494
|
type: "page_url";
|
|
@@ -4178,10 +4538,16 @@ export declare const configSchemas: ({
|
|
|
4178
4538
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4179
4539
|
count: number;
|
|
4180
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;
|
|
4181
4548
|
})[];
|
|
4182
4549
|
value?: unknown;
|
|
4183
4550
|
}[];
|
|
4184
|
-
type: "rules";
|
|
4185
4551
|
default?: unknown;
|
|
4186
4552
|
}>, z.ZodObject<{
|
|
4187
4553
|
type: z.ZodLiteral<"score">;
|
|
@@ -4244,6 +4610,7 @@ export declare const configSchemas: ({
|
|
|
4244
4610
|
exclude?: string[] | undefined;
|
|
4245
4611
|
};
|
|
4246
4612
|
strategy?: {
|
|
4613
|
+
type: "rules";
|
|
4247
4614
|
rules: {
|
|
4248
4615
|
conditions: ({
|
|
4249
4616
|
type: "page_url";
|
|
@@ -4293,10 +4660,16 @@ export declare const configSchemas: ({
|
|
|
4293
4660
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4294
4661
|
count: number;
|
|
4295
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;
|
|
4296
4670
|
})[];
|
|
4297
4671
|
value?: unknown;
|
|
4298
4672
|
}[];
|
|
4299
|
-
type: "rules";
|
|
4300
4673
|
default?: unknown;
|
|
4301
4674
|
} | {
|
|
4302
4675
|
type: "score";
|
|
@@ -4323,6 +4696,7 @@ export declare const configSchemas: ({
|
|
|
4323
4696
|
exclude?: string[] | undefined;
|
|
4324
4697
|
};
|
|
4325
4698
|
strategy?: {
|
|
4699
|
+
type: "rules";
|
|
4326
4700
|
rules: {
|
|
4327
4701
|
conditions: ({
|
|
4328
4702
|
type: "page_url";
|
|
@@ -4372,10 +4746,16 @@ export declare const configSchemas: ({
|
|
|
4372
4746
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4373
4747
|
count: number;
|
|
4374
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;
|
|
4375
4756
|
})[];
|
|
4376
4757
|
value?: unknown;
|
|
4377
4758
|
}[];
|
|
4378
|
-
type: "rules";
|
|
4379
4759
|
default?: unknown;
|
|
4380
4760
|
} | {
|
|
4381
4761
|
type: "score";
|
|
@@ -4449,6 +4829,7 @@ export declare const configSchemas: ({
|
|
|
4449
4829
|
exclude?: string[] | undefined;
|
|
4450
4830
|
};
|
|
4451
4831
|
strategy?: {
|
|
4832
|
+
type: "rules";
|
|
4452
4833
|
rules: {
|
|
4453
4834
|
conditions: ({
|
|
4454
4835
|
type: "page_url";
|
|
@@ -4498,10 +4879,16 @@ export declare const configSchemas: ({
|
|
|
4498
4879
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4499
4880
|
count: number;
|
|
4500
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;
|
|
4501
4889
|
})[];
|
|
4502
4890
|
value?: unknown;
|
|
4503
4891
|
}[];
|
|
4504
|
-
type: "rules";
|
|
4505
4892
|
default?: unknown;
|
|
4506
4893
|
} | {
|
|
4507
4894
|
type: "score";
|
|
@@ -4547,6 +4934,7 @@ export declare const configSchemas: ({
|
|
|
4547
4934
|
exclude?: string[] | undefined;
|
|
4548
4935
|
};
|
|
4549
4936
|
strategy?: {
|
|
4937
|
+
type: "rules";
|
|
4550
4938
|
rules: {
|
|
4551
4939
|
conditions: ({
|
|
4552
4940
|
type: "page_url";
|
|
@@ -4596,10 +4984,16 @@ export declare const configSchemas: ({
|
|
|
4596
4984
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4597
4985
|
count: number;
|
|
4598
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;
|
|
4599
4994
|
})[];
|
|
4600
4995
|
value?: unknown;
|
|
4601
4996
|
}[];
|
|
4602
|
-
type: "rules";
|
|
4603
4997
|
default?: unknown;
|
|
4604
4998
|
} | {
|
|
4605
4999
|
type: "score";
|
|
@@ -4879,15 +5273,15 @@ export declare const configSchemas: ({
|
|
|
4879
5273
|
}, "strict", z.ZodTypeAny, {
|
|
4880
5274
|
position?: string | undefined;
|
|
4881
5275
|
label?: string | undefined;
|
|
4882
|
-
enabled?: boolean | undefined;
|
|
4883
5276
|
animate?: boolean | undefined;
|
|
5277
|
+
enabled?: boolean | undefined;
|
|
4884
5278
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
4885
5279
|
notificationCount?: number | undefined;
|
|
4886
5280
|
}, {
|
|
4887
5281
|
position?: string | undefined;
|
|
4888
5282
|
label?: string | undefined;
|
|
4889
|
-
enabled?: boolean | undefined;
|
|
4890
5283
|
animate?: boolean | undefined;
|
|
5284
|
+
enabled?: boolean | undefined;
|
|
4891
5285
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
4892
5286
|
notificationCount?: number | undefined;
|
|
4893
5287
|
}>>;
|
|
@@ -4907,6 +5301,7 @@ export declare const configSchemas: ({
|
|
|
4907
5301
|
exclude?: string[] | undefined;
|
|
4908
5302
|
};
|
|
4909
5303
|
strategy?: {
|
|
5304
|
+
type: "rules";
|
|
4910
5305
|
rules: {
|
|
4911
5306
|
conditions: ({
|
|
4912
5307
|
type: "page_url";
|
|
@@ -4956,10 +5351,16 @@ export declare const configSchemas: ({
|
|
|
4956
5351
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4957
5352
|
count: number;
|
|
4958
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;
|
|
4959
5361
|
})[];
|
|
4960
5362
|
value?: unknown;
|
|
4961
5363
|
}[];
|
|
4962
|
-
type: "rules";
|
|
4963
5364
|
default?: unknown;
|
|
4964
5365
|
} | {
|
|
4965
5366
|
type: "score";
|
|
@@ -4997,8 +5398,8 @@ export declare const configSchemas: ({
|
|
|
4997
5398
|
launcher?: {
|
|
4998
5399
|
position?: string | undefined;
|
|
4999
5400
|
label?: string | undefined;
|
|
5000
|
-
enabled?: boolean | undefined;
|
|
5001
5401
|
animate?: boolean | undefined;
|
|
5402
|
+
enabled?: boolean | undefined;
|
|
5002
5403
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
5003
5404
|
notificationCount?: number | undefined;
|
|
5004
5405
|
} | undefined;
|
|
@@ -5073,6 +5474,7 @@ export declare const configSchemas: ({
|
|
|
5073
5474
|
exclude?: string[] | undefined;
|
|
5074
5475
|
};
|
|
5075
5476
|
strategy?: {
|
|
5477
|
+
type: "rules";
|
|
5076
5478
|
rules: {
|
|
5077
5479
|
conditions: ({
|
|
5078
5480
|
type: "page_url";
|
|
@@ -5122,10 +5524,16 @@ export declare const configSchemas: ({
|
|
|
5122
5524
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5123
5525
|
count: number;
|
|
5124
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;
|
|
5125
5534
|
})[];
|
|
5126
5535
|
value?: unknown;
|
|
5127
5536
|
}[];
|
|
5128
|
-
type: "rules";
|
|
5129
5537
|
default?: unknown;
|
|
5130
5538
|
} | {
|
|
5131
5539
|
type: "score";
|
|
@@ -5163,8 +5571,8 @@ export declare const configSchemas: ({
|
|
|
5163
5571
|
launcher?: {
|
|
5164
5572
|
position?: string | undefined;
|
|
5165
5573
|
label?: string | undefined;
|
|
5166
|
-
enabled?: boolean | undefined;
|
|
5167
5574
|
animate?: boolean | undefined;
|
|
5575
|
+
enabled?: boolean | undefined;
|
|
5168
5576
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
5169
5577
|
notificationCount?: number | undefined;
|
|
5170
5578
|
} | undefined;
|