@syntrologie/adapt-gamification 2.8.0-canary.7 → 2.8.0-canary.70
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/schema.d.ts +116 -86
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +2 -2
- package/package.json +9 -9
package/dist/schema.d.ts
CHANGED
|
@@ -145,7 +145,16 @@ export type GamificationConfig = z.infer<typeof configSchema>;
|
|
|
145
145
|
export declare const AwardBadgeSchema: z.ZodObject<{
|
|
146
146
|
kind: z.ZodLiteral<"gamification:awardBadge">;
|
|
147
147
|
badgeId: z.ZodString;
|
|
148
|
-
anchorId: z.ZodOptional<z.
|
|
148
|
+
anchorId: z.ZodOptional<z.ZodObject<{
|
|
149
|
+
selector: z.ZodString;
|
|
150
|
+
route: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
151
|
+
}, "strict", z.ZodTypeAny, {
|
|
152
|
+
selector: string;
|
|
153
|
+
route: string | string[];
|
|
154
|
+
}, {
|
|
155
|
+
selector: string;
|
|
156
|
+
route: string | string[];
|
|
157
|
+
}>>;
|
|
149
158
|
label: z.ZodOptional<z.ZodString>;
|
|
150
159
|
} & {
|
|
151
160
|
triggerWhen: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -225,17 +234,17 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
225
234
|
maxHeight?: number | undefined;
|
|
226
235
|
}>, z.ZodObject<{
|
|
227
236
|
type: z.ZodLiteral<"session_metric">;
|
|
228
|
-
key: z.
|
|
237
|
+
key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
|
|
229
238
|
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
230
239
|
threshold: z.ZodNumber;
|
|
231
240
|
}, "strip", z.ZodTypeAny, {
|
|
232
241
|
type: "session_metric";
|
|
233
|
-
key:
|
|
242
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
234
243
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
235
244
|
threshold: number;
|
|
236
245
|
}, {
|
|
237
246
|
type: "session_metric";
|
|
238
|
-
key:
|
|
247
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
239
248
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
240
249
|
threshold: number;
|
|
241
250
|
}>, z.ZodObject<{
|
|
@@ -284,7 +293,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
284
293
|
count: z.ZodNumber;
|
|
285
294
|
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
286
295
|
counter: z.ZodOptional<z.ZodObject<{
|
|
287
|
-
events: z.ZodArray<z.
|
|
296
|
+
events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
|
|
288
297
|
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
289
298
|
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
290
299
|
contains: z.ZodOptional<z.ZodString>;
|
|
@@ -296,13 +305,13 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
296
305
|
contains?: string | undefined;
|
|
297
306
|
}>>>;
|
|
298
307
|
}, "strip", z.ZodTypeAny, {
|
|
299
|
-
events:
|
|
308
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
300
309
|
match?: Record<string, {
|
|
301
310
|
equals?: string | number | boolean | undefined;
|
|
302
311
|
contains?: string | undefined;
|
|
303
312
|
}> | undefined;
|
|
304
313
|
}, {
|
|
305
|
-
events:
|
|
314
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
306
315
|
match?: Record<string, {
|
|
307
316
|
equals?: string | number | boolean | undefined;
|
|
308
317
|
contains?: string | undefined;
|
|
@@ -315,7 +324,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
315
324
|
count: number;
|
|
316
325
|
withinMs?: number | undefined;
|
|
317
326
|
counter?: {
|
|
318
|
-
events:
|
|
327
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
319
328
|
match?: Record<string, {
|
|
320
329
|
equals?: string | number | boolean | undefined;
|
|
321
330
|
contains?: string | undefined;
|
|
@@ -328,7 +337,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
328
337
|
count: number;
|
|
329
338
|
withinMs?: number | undefined;
|
|
330
339
|
counter?: {
|
|
331
|
-
events:
|
|
340
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
332
341
|
match?: Record<string, {
|
|
333
342
|
equals?: string | number | boolean | undefined;
|
|
334
343
|
contains?: string | undefined;
|
|
@@ -363,7 +372,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
363
372
|
maxHeight?: number | undefined;
|
|
364
373
|
} | {
|
|
365
374
|
type: "session_metric";
|
|
366
|
-
key:
|
|
375
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
367
376
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
368
377
|
threshold: number;
|
|
369
378
|
} | {
|
|
@@ -386,7 +395,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
386
395
|
count: number;
|
|
387
396
|
withinMs?: number | undefined;
|
|
388
397
|
counter?: {
|
|
389
|
-
events:
|
|
398
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
390
399
|
match?: Record<string, {
|
|
391
400
|
equals?: string | number | boolean | undefined;
|
|
392
401
|
contains?: string | undefined;
|
|
@@ -421,7 +430,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
421
430
|
maxHeight?: number | undefined;
|
|
422
431
|
} | {
|
|
423
432
|
type: "session_metric";
|
|
424
|
-
key:
|
|
433
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
425
434
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
426
435
|
threshold: number;
|
|
427
436
|
} | {
|
|
@@ -444,7 +453,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
444
453
|
count: number;
|
|
445
454
|
withinMs?: number | undefined;
|
|
446
455
|
counter?: {
|
|
447
|
-
events:
|
|
456
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
448
457
|
match?: Record<string, {
|
|
449
458
|
equals?: string | number | boolean | undefined;
|
|
450
459
|
contains?: string | undefined;
|
|
@@ -483,7 +492,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
483
492
|
maxHeight?: number | undefined;
|
|
484
493
|
} | {
|
|
485
494
|
type: "session_metric";
|
|
486
|
-
key:
|
|
495
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
487
496
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
488
497
|
threshold: number;
|
|
489
498
|
} | {
|
|
@@ -506,7 +515,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
506
515
|
count: number;
|
|
507
516
|
withinMs?: number | undefined;
|
|
508
517
|
counter?: {
|
|
509
|
-
events:
|
|
518
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
510
519
|
match?: Record<string, {
|
|
511
520
|
equals?: string | number | boolean | undefined;
|
|
512
521
|
contains?: string | undefined;
|
|
@@ -545,7 +554,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
545
554
|
maxHeight?: number | undefined;
|
|
546
555
|
} | {
|
|
547
556
|
type: "session_metric";
|
|
548
|
-
key:
|
|
557
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
549
558
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
550
559
|
threshold: number;
|
|
551
560
|
} | {
|
|
@@ -568,7 +577,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
568
577
|
count: number;
|
|
569
578
|
withinMs?: number | undefined;
|
|
570
579
|
counter?: {
|
|
571
|
-
events:
|
|
580
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
572
581
|
match?: Record<string, {
|
|
573
582
|
equals?: string | number | boolean | undefined;
|
|
574
583
|
contains?: string | undefined;
|
|
@@ -636,7 +645,10 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
636
645
|
}, "strip", z.ZodTypeAny, {
|
|
637
646
|
badgeId: string;
|
|
638
647
|
kind: "gamification:awardBadge";
|
|
639
|
-
anchorId?:
|
|
648
|
+
anchorId?: {
|
|
649
|
+
selector: string;
|
|
650
|
+
route: string | string[];
|
|
651
|
+
} | undefined;
|
|
640
652
|
label?: string | undefined;
|
|
641
653
|
triggerWhen?: {
|
|
642
654
|
type: "rules";
|
|
@@ -667,7 +679,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
667
679
|
maxHeight?: number | undefined;
|
|
668
680
|
} | {
|
|
669
681
|
type: "session_metric";
|
|
670
|
-
key:
|
|
682
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
671
683
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
672
684
|
threshold: number;
|
|
673
685
|
} | {
|
|
@@ -690,7 +702,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
690
702
|
count: number;
|
|
691
703
|
withinMs?: number | undefined;
|
|
692
704
|
counter?: {
|
|
693
|
-
events:
|
|
705
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
694
706
|
match?: Record<string, {
|
|
695
707
|
equals?: string | number | boolean | undefined;
|
|
696
708
|
contains?: string | undefined;
|
|
@@ -722,7 +734,10 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
722
734
|
}, {
|
|
723
735
|
badgeId: string;
|
|
724
736
|
kind: "gamification:awardBadge";
|
|
725
|
-
anchorId?:
|
|
737
|
+
anchorId?: {
|
|
738
|
+
selector: string;
|
|
739
|
+
route: string | string[];
|
|
740
|
+
} | undefined;
|
|
726
741
|
label?: string | undefined;
|
|
727
742
|
triggerWhen?: {
|
|
728
743
|
type: "rules";
|
|
@@ -753,7 +768,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
753
768
|
maxHeight?: number | undefined;
|
|
754
769
|
} | {
|
|
755
770
|
type: "session_metric";
|
|
756
|
-
key:
|
|
771
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
757
772
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
758
773
|
threshold: number;
|
|
759
774
|
} | {
|
|
@@ -776,7 +791,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
|
|
|
776
791
|
count: number;
|
|
777
792
|
withinMs?: number | undefined;
|
|
778
793
|
counter?: {
|
|
779
|
-
events:
|
|
794
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
780
795
|
match?: Record<string, {
|
|
781
796
|
equals?: string | number | boolean | undefined;
|
|
782
797
|
contains?: string | undefined;
|
|
@@ -892,17 +907,17 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
892
907
|
maxHeight?: number | undefined;
|
|
893
908
|
}>, z.ZodObject<{
|
|
894
909
|
type: z.ZodLiteral<"session_metric">;
|
|
895
|
-
key: z.
|
|
910
|
+
key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
|
|
896
911
|
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
897
912
|
threshold: z.ZodNumber;
|
|
898
913
|
}, "strip", z.ZodTypeAny, {
|
|
899
914
|
type: "session_metric";
|
|
900
|
-
key:
|
|
915
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
901
916
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
902
917
|
threshold: number;
|
|
903
918
|
}, {
|
|
904
919
|
type: "session_metric";
|
|
905
|
-
key:
|
|
920
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
906
921
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
907
922
|
threshold: number;
|
|
908
923
|
}>, z.ZodObject<{
|
|
@@ -951,7 +966,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
951
966
|
count: z.ZodNumber;
|
|
952
967
|
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
953
968
|
counter: z.ZodOptional<z.ZodObject<{
|
|
954
|
-
events: z.ZodArray<z.
|
|
969
|
+
events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
|
|
955
970
|
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
956
971
|
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
957
972
|
contains: z.ZodOptional<z.ZodString>;
|
|
@@ -963,13 +978,13 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
963
978
|
contains?: string | undefined;
|
|
964
979
|
}>>>;
|
|
965
980
|
}, "strip", z.ZodTypeAny, {
|
|
966
|
-
events:
|
|
981
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
967
982
|
match?: Record<string, {
|
|
968
983
|
equals?: string | number | boolean | undefined;
|
|
969
984
|
contains?: string | undefined;
|
|
970
985
|
}> | undefined;
|
|
971
986
|
}, {
|
|
972
|
-
events:
|
|
987
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
973
988
|
match?: Record<string, {
|
|
974
989
|
equals?: string | number | boolean | undefined;
|
|
975
990
|
contains?: string | undefined;
|
|
@@ -982,7 +997,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
982
997
|
count: number;
|
|
983
998
|
withinMs?: number | undefined;
|
|
984
999
|
counter?: {
|
|
985
|
-
events:
|
|
1000
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
986
1001
|
match?: Record<string, {
|
|
987
1002
|
equals?: string | number | boolean | undefined;
|
|
988
1003
|
contains?: string | undefined;
|
|
@@ -995,7 +1010,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
995
1010
|
count: number;
|
|
996
1011
|
withinMs?: number | undefined;
|
|
997
1012
|
counter?: {
|
|
998
|
-
events:
|
|
1013
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
999
1014
|
match?: Record<string, {
|
|
1000
1015
|
equals?: string | number | boolean | undefined;
|
|
1001
1016
|
contains?: string | undefined;
|
|
@@ -1030,7 +1045,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
1030
1045
|
maxHeight?: number | undefined;
|
|
1031
1046
|
} | {
|
|
1032
1047
|
type: "session_metric";
|
|
1033
|
-
key:
|
|
1048
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
1034
1049
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1035
1050
|
threshold: number;
|
|
1036
1051
|
} | {
|
|
@@ -1053,7 +1068,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
1053
1068
|
count: number;
|
|
1054
1069
|
withinMs?: number | undefined;
|
|
1055
1070
|
counter?: {
|
|
1056
|
-
events:
|
|
1071
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
1057
1072
|
match?: Record<string, {
|
|
1058
1073
|
equals?: string | number | boolean | undefined;
|
|
1059
1074
|
contains?: string | undefined;
|
|
@@ -1088,7 +1103,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
1088
1103
|
maxHeight?: number | undefined;
|
|
1089
1104
|
} | {
|
|
1090
1105
|
type: "session_metric";
|
|
1091
|
-
key:
|
|
1106
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
1092
1107
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1093
1108
|
threshold: number;
|
|
1094
1109
|
} | {
|
|
@@ -1111,7 +1126,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
1111
1126
|
count: number;
|
|
1112
1127
|
withinMs?: number | undefined;
|
|
1113
1128
|
counter?: {
|
|
1114
|
-
events:
|
|
1129
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
1115
1130
|
match?: Record<string, {
|
|
1116
1131
|
equals?: string | number | boolean | undefined;
|
|
1117
1132
|
contains?: string | undefined;
|
|
@@ -1150,7 +1165,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
1150
1165
|
maxHeight?: number | undefined;
|
|
1151
1166
|
} | {
|
|
1152
1167
|
type: "session_metric";
|
|
1153
|
-
key:
|
|
1168
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
1154
1169
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1155
1170
|
threshold: number;
|
|
1156
1171
|
} | {
|
|
@@ -1173,7 +1188,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
1173
1188
|
count: number;
|
|
1174
1189
|
withinMs?: number | undefined;
|
|
1175
1190
|
counter?: {
|
|
1176
|
-
events:
|
|
1191
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
1177
1192
|
match?: Record<string, {
|
|
1178
1193
|
equals?: string | number | boolean | undefined;
|
|
1179
1194
|
contains?: string | undefined;
|
|
@@ -1212,7 +1227,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
1212
1227
|
maxHeight?: number | undefined;
|
|
1213
1228
|
} | {
|
|
1214
1229
|
type: "session_metric";
|
|
1215
|
-
key:
|
|
1230
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
1216
1231
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1217
1232
|
threshold: number;
|
|
1218
1233
|
} | {
|
|
@@ -1235,7 +1250,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
1235
1250
|
count: number;
|
|
1236
1251
|
withinMs?: number | undefined;
|
|
1237
1252
|
counter?: {
|
|
1238
|
-
events:
|
|
1253
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
1239
1254
|
match?: Record<string, {
|
|
1240
1255
|
equals?: string | number | boolean | undefined;
|
|
1241
1256
|
contains?: string | undefined;
|
|
@@ -1334,7 +1349,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
1334
1349
|
maxHeight?: number | undefined;
|
|
1335
1350
|
} | {
|
|
1336
1351
|
type: "session_metric";
|
|
1337
|
-
key:
|
|
1352
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
1338
1353
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1339
1354
|
threshold: number;
|
|
1340
1355
|
} | {
|
|
@@ -1357,7 +1372,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
1357
1372
|
count: number;
|
|
1358
1373
|
withinMs?: number | undefined;
|
|
1359
1374
|
counter?: {
|
|
1360
|
-
events:
|
|
1375
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
1361
1376
|
match?: Record<string, {
|
|
1362
1377
|
equals?: string | number | boolean | undefined;
|
|
1363
1378
|
contains?: string | undefined;
|
|
@@ -1420,7 +1435,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
1420
1435
|
maxHeight?: number | undefined;
|
|
1421
1436
|
} | {
|
|
1422
1437
|
type: "session_metric";
|
|
1423
|
-
key:
|
|
1438
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
1424
1439
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1425
1440
|
threshold: number;
|
|
1426
1441
|
} | {
|
|
@@ -1443,7 +1458,7 @@ export declare const AddPointsSchema: z.ZodObject<{
|
|
|
1443
1458
|
count: number;
|
|
1444
1459
|
withinMs?: number | undefined;
|
|
1445
1460
|
counter?: {
|
|
1446
|
-
events:
|
|
1461
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
1447
1462
|
match?: Record<string, {
|
|
1448
1463
|
equals?: string | number | boolean | undefined;
|
|
1449
1464
|
contains?: string | undefined;
|
|
@@ -1483,7 +1498,16 @@ export declare const actionStepSchemas: ({
|
|
|
1483
1498
|
schema: z.ZodObject<{
|
|
1484
1499
|
kind: z.ZodLiteral<"gamification:awardBadge">;
|
|
1485
1500
|
badgeId: z.ZodString;
|
|
1486
|
-
anchorId: z.ZodOptional<z.
|
|
1501
|
+
anchorId: z.ZodOptional<z.ZodObject<{
|
|
1502
|
+
selector: z.ZodString;
|
|
1503
|
+
route: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1504
|
+
}, "strict", z.ZodTypeAny, {
|
|
1505
|
+
selector: string;
|
|
1506
|
+
route: string | string[];
|
|
1507
|
+
}, {
|
|
1508
|
+
selector: string;
|
|
1509
|
+
route: string | string[];
|
|
1510
|
+
}>>;
|
|
1487
1511
|
label: z.ZodOptional<z.ZodString>;
|
|
1488
1512
|
} & {
|
|
1489
1513
|
triggerWhen: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -1563,17 +1587,17 @@ export declare const actionStepSchemas: ({
|
|
|
1563
1587
|
maxHeight?: number | undefined;
|
|
1564
1588
|
}>, z.ZodObject<{
|
|
1565
1589
|
type: z.ZodLiteral<"session_metric">;
|
|
1566
|
-
key: z.
|
|
1590
|
+
key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
|
|
1567
1591
|
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
1568
1592
|
threshold: z.ZodNumber;
|
|
1569
1593
|
}, "strip", z.ZodTypeAny, {
|
|
1570
1594
|
type: "session_metric";
|
|
1571
|
-
key:
|
|
1595
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
1572
1596
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1573
1597
|
threshold: number;
|
|
1574
1598
|
}, {
|
|
1575
1599
|
type: "session_metric";
|
|
1576
|
-
key:
|
|
1600
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
1577
1601
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1578
1602
|
threshold: number;
|
|
1579
1603
|
}>, z.ZodObject<{
|
|
@@ -1622,7 +1646,7 @@ export declare const actionStepSchemas: ({
|
|
|
1622
1646
|
count: z.ZodNumber;
|
|
1623
1647
|
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
1624
1648
|
counter: z.ZodOptional<z.ZodObject<{
|
|
1625
|
-
events: z.ZodArray<z.
|
|
1649
|
+
events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
|
|
1626
1650
|
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1627
1651
|
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1628
1652
|
contains: z.ZodOptional<z.ZodString>;
|
|
@@ -1634,13 +1658,13 @@ export declare const actionStepSchemas: ({
|
|
|
1634
1658
|
contains?: string | undefined;
|
|
1635
1659
|
}>>>;
|
|
1636
1660
|
}, "strip", z.ZodTypeAny, {
|
|
1637
|
-
events:
|
|
1661
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
1638
1662
|
match?: Record<string, {
|
|
1639
1663
|
equals?: string | number | boolean | undefined;
|
|
1640
1664
|
contains?: string | undefined;
|
|
1641
1665
|
}> | undefined;
|
|
1642
1666
|
}, {
|
|
1643
|
-
events:
|
|
1667
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
1644
1668
|
match?: Record<string, {
|
|
1645
1669
|
equals?: string | number | boolean | undefined;
|
|
1646
1670
|
contains?: string | undefined;
|
|
@@ -1653,7 +1677,7 @@ export declare const actionStepSchemas: ({
|
|
|
1653
1677
|
count: number;
|
|
1654
1678
|
withinMs?: number | undefined;
|
|
1655
1679
|
counter?: {
|
|
1656
|
-
events:
|
|
1680
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
1657
1681
|
match?: Record<string, {
|
|
1658
1682
|
equals?: string | number | boolean | undefined;
|
|
1659
1683
|
contains?: string | undefined;
|
|
@@ -1666,7 +1690,7 @@ export declare const actionStepSchemas: ({
|
|
|
1666
1690
|
count: number;
|
|
1667
1691
|
withinMs?: number | undefined;
|
|
1668
1692
|
counter?: {
|
|
1669
|
-
events:
|
|
1693
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
1670
1694
|
match?: Record<string, {
|
|
1671
1695
|
equals?: string | number | boolean | undefined;
|
|
1672
1696
|
contains?: string | undefined;
|
|
@@ -1701,7 +1725,7 @@ export declare const actionStepSchemas: ({
|
|
|
1701
1725
|
maxHeight?: number | undefined;
|
|
1702
1726
|
} | {
|
|
1703
1727
|
type: "session_metric";
|
|
1704
|
-
key:
|
|
1728
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
1705
1729
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1706
1730
|
threshold: number;
|
|
1707
1731
|
} | {
|
|
@@ -1724,7 +1748,7 @@ export declare const actionStepSchemas: ({
|
|
|
1724
1748
|
count: number;
|
|
1725
1749
|
withinMs?: number | undefined;
|
|
1726
1750
|
counter?: {
|
|
1727
|
-
events:
|
|
1751
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
1728
1752
|
match?: Record<string, {
|
|
1729
1753
|
equals?: string | number | boolean | undefined;
|
|
1730
1754
|
contains?: string | undefined;
|
|
@@ -1759,7 +1783,7 @@ export declare const actionStepSchemas: ({
|
|
|
1759
1783
|
maxHeight?: number | undefined;
|
|
1760
1784
|
} | {
|
|
1761
1785
|
type: "session_metric";
|
|
1762
|
-
key:
|
|
1786
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
1763
1787
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1764
1788
|
threshold: number;
|
|
1765
1789
|
} | {
|
|
@@ -1782,7 +1806,7 @@ export declare const actionStepSchemas: ({
|
|
|
1782
1806
|
count: number;
|
|
1783
1807
|
withinMs?: number | undefined;
|
|
1784
1808
|
counter?: {
|
|
1785
|
-
events:
|
|
1809
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
1786
1810
|
match?: Record<string, {
|
|
1787
1811
|
equals?: string | number | boolean | undefined;
|
|
1788
1812
|
contains?: string | undefined;
|
|
@@ -1821,7 +1845,7 @@ export declare const actionStepSchemas: ({
|
|
|
1821
1845
|
maxHeight?: number | undefined;
|
|
1822
1846
|
} | {
|
|
1823
1847
|
type: "session_metric";
|
|
1824
|
-
key:
|
|
1848
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
1825
1849
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1826
1850
|
threshold: number;
|
|
1827
1851
|
} | {
|
|
@@ -1844,7 +1868,7 @@ export declare const actionStepSchemas: ({
|
|
|
1844
1868
|
count: number;
|
|
1845
1869
|
withinMs?: number | undefined;
|
|
1846
1870
|
counter?: {
|
|
1847
|
-
events:
|
|
1871
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
1848
1872
|
match?: Record<string, {
|
|
1849
1873
|
equals?: string | number | boolean | undefined;
|
|
1850
1874
|
contains?: string | undefined;
|
|
@@ -1883,7 +1907,7 @@ export declare const actionStepSchemas: ({
|
|
|
1883
1907
|
maxHeight?: number | undefined;
|
|
1884
1908
|
} | {
|
|
1885
1909
|
type: "session_metric";
|
|
1886
|
-
key:
|
|
1910
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
1887
1911
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1888
1912
|
threshold: number;
|
|
1889
1913
|
} | {
|
|
@@ -1906,7 +1930,7 @@ export declare const actionStepSchemas: ({
|
|
|
1906
1930
|
count: number;
|
|
1907
1931
|
withinMs?: number | undefined;
|
|
1908
1932
|
counter?: {
|
|
1909
|
-
events:
|
|
1933
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
1910
1934
|
match?: Record<string, {
|
|
1911
1935
|
equals?: string | number | boolean | undefined;
|
|
1912
1936
|
contains?: string | undefined;
|
|
@@ -1974,7 +1998,10 @@ export declare const actionStepSchemas: ({
|
|
|
1974
1998
|
}, "strip", z.ZodTypeAny, {
|
|
1975
1999
|
badgeId: string;
|
|
1976
2000
|
kind: "gamification:awardBadge";
|
|
1977
|
-
anchorId?:
|
|
2001
|
+
anchorId?: {
|
|
2002
|
+
selector: string;
|
|
2003
|
+
route: string | string[];
|
|
2004
|
+
} | undefined;
|
|
1978
2005
|
label?: string | undefined;
|
|
1979
2006
|
triggerWhen?: {
|
|
1980
2007
|
type: "rules";
|
|
@@ -2005,7 +2032,7 @@ export declare const actionStepSchemas: ({
|
|
|
2005
2032
|
maxHeight?: number | undefined;
|
|
2006
2033
|
} | {
|
|
2007
2034
|
type: "session_metric";
|
|
2008
|
-
key:
|
|
2035
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
2009
2036
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2010
2037
|
threshold: number;
|
|
2011
2038
|
} | {
|
|
@@ -2028,7 +2055,7 @@ export declare const actionStepSchemas: ({
|
|
|
2028
2055
|
count: number;
|
|
2029
2056
|
withinMs?: number | undefined;
|
|
2030
2057
|
counter?: {
|
|
2031
|
-
events:
|
|
2058
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
2032
2059
|
match?: Record<string, {
|
|
2033
2060
|
equals?: string | number | boolean | undefined;
|
|
2034
2061
|
contains?: string | undefined;
|
|
@@ -2060,7 +2087,10 @@ export declare const actionStepSchemas: ({
|
|
|
2060
2087
|
}, {
|
|
2061
2088
|
badgeId: string;
|
|
2062
2089
|
kind: "gamification:awardBadge";
|
|
2063
|
-
anchorId?:
|
|
2090
|
+
anchorId?: {
|
|
2091
|
+
selector: string;
|
|
2092
|
+
route: string | string[];
|
|
2093
|
+
} | undefined;
|
|
2064
2094
|
label?: string | undefined;
|
|
2065
2095
|
triggerWhen?: {
|
|
2066
2096
|
type: "rules";
|
|
@@ -2091,7 +2121,7 @@ export declare const actionStepSchemas: ({
|
|
|
2091
2121
|
maxHeight?: number | undefined;
|
|
2092
2122
|
} | {
|
|
2093
2123
|
type: "session_metric";
|
|
2094
|
-
key:
|
|
2124
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
2095
2125
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2096
2126
|
threshold: number;
|
|
2097
2127
|
} | {
|
|
@@ -2114,7 +2144,7 @@ export declare const actionStepSchemas: ({
|
|
|
2114
2144
|
count: number;
|
|
2115
2145
|
withinMs?: number | undefined;
|
|
2116
2146
|
counter?: {
|
|
2117
|
-
events:
|
|
2147
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
2118
2148
|
match?: Record<string, {
|
|
2119
2149
|
equals?: string | number | boolean | undefined;
|
|
2120
2150
|
contains?: string | undefined;
|
|
@@ -2229,17 +2259,17 @@ export declare const actionStepSchemas: ({
|
|
|
2229
2259
|
maxHeight?: number | undefined;
|
|
2230
2260
|
}>, z.ZodObject<{
|
|
2231
2261
|
type: z.ZodLiteral<"session_metric">;
|
|
2232
|
-
key: z.
|
|
2262
|
+
key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
|
|
2233
2263
|
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
2234
2264
|
threshold: z.ZodNumber;
|
|
2235
2265
|
}, "strip", z.ZodTypeAny, {
|
|
2236
2266
|
type: "session_metric";
|
|
2237
|
-
key:
|
|
2267
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
2238
2268
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2239
2269
|
threshold: number;
|
|
2240
2270
|
}, {
|
|
2241
2271
|
type: "session_metric";
|
|
2242
|
-
key:
|
|
2272
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
2243
2273
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2244
2274
|
threshold: number;
|
|
2245
2275
|
}>, z.ZodObject<{
|
|
@@ -2288,7 +2318,7 @@ export declare const actionStepSchemas: ({
|
|
|
2288
2318
|
count: z.ZodNumber;
|
|
2289
2319
|
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
2290
2320
|
counter: z.ZodOptional<z.ZodObject<{
|
|
2291
|
-
events: z.ZodArray<z.
|
|
2321
|
+
events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
|
|
2292
2322
|
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2293
2323
|
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2294
2324
|
contains: z.ZodOptional<z.ZodString>;
|
|
@@ -2300,13 +2330,13 @@ export declare const actionStepSchemas: ({
|
|
|
2300
2330
|
contains?: string | undefined;
|
|
2301
2331
|
}>>>;
|
|
2302
2332
|
}, "strip", z.ZodTypeAny, {
|
|
2303
|
-
events:
|
|
2333
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
2304
2334
|
match?: Record<string, {
|
|
2305
2335
|
equals?: string | number | boolean | undefined;
|
|
2306
2336
|
contains?: string | undefined;
|
|
2307
2337
|
}> | undefined;
|
|
2308
2338
|
}, {
|
|
2309
|
-
events:
|
|
2339
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
2310
2340
|
match?: Record<string, {
|
|
2311
2341
|
equals?: string | number | boolean | undefined;
|
|
2312
2342
|
contains?: string | undefined;
|
|
@@ -2319,7 +2349,7 @@ export declare const actionStepSchemas: ({
|
|
|
2319
2349
|
count: number;
|
|
2320
2350
|
withinMs?: number | undefined;
|
|
2321
2351
|
counter?: {
|
|
2322
|
-
events:
|
|
2352
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
2323
2353
|
match?: Record<string, {
|
|
2324
2354
|
equals?: string | number | boolean | undefined;
|
|
2325
2355
|
contains?: string | undefined;
|
|
@@ -2332,7 +2362,7 @@ export declare const actionStepSchemas: ({
|
|
|
2332
2362
|
count: number;
|
|
2333
2363
|
withinMs?: number | undefined;
|
|
2334
2364
|
counter?: {
|
|
2335
|
-
events:
|
|
2365
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
2336
2366
|
match?: Record<string, {
|
|
2337
2367
|
equals?: string | number | boolean | undefined;
|
|
2338
2368
|
contains?: string | undefined;
|
|
@@ -2367,7 +2397,7 @@ export declare const actionStepSchemas: ({
|
|
|
2367
2397
|
maxHeight?: number | undefined;
|
|
2368
2398
|
} | {
|
|
2369
2399
|
type: "session_metric";
|
|
2370
|
-
key:
|
|
2400
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
2371
2401
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2372
2402
|
threshold: number;
|
|
2373
2403
|
} | {
|
|
@@ -2390,7 +2420,7 @@ export declare const actionStepSchemas: ({
|
|
|
2390
2420
|
count: number;
|
|
2391
2421
|
withinMs?: number | undefined;
|
|
2392
2422
|
counter?: {
|
|
2393
|
-
events:
|
|
2423
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
2394
2424
|
match?: Record<string, {
|
|
2395
2425
|
equals?: string | number | boolean | undefined;
|
|
2396
2426
|
contains?: string | undefined;
|
|
@@ -2425,7 +2455,7 @@ export declare const actionStepSchemas: ({
|
|
|
2425
2455
|
maxHeight?: number | undefined;
|
|
2426
2456
|
} | {
|
|
2427
2457
|
type: "session_metric";
|
|
2428
|
-
key:
|
|
2458
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
2429
2459
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2430
2460
|
threshold: number;
|
|
2431
2461
|
} | {
|
|
@@ -2448,7 +2478,7 @@ export declare const actionStepSchemas: ({
|
|
|
2448
2478
|
count: number;
|
|
2449
2479
|
withinMs?: number | undefined;
|
|
2450
2480
|
counter?: {
|
|
2451
|
-
events:
|
|
2481
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
2452
2482
|
match?: Record<string, {
|
|
2453
2483
|
equals?: string | number | boolean | undefined;
|
|
2454
2484
|
contains?: string | undefined;
|
|
@@ -2487,7 +2517,7 @@ export declare const actionStepSchemas: ({
|
|
|
2487
2517
|
maxHeight?: number | undefined;
|
|
2488
2518
|
} | {
|
|
2489
2519
|
type: "session_metric";
|
|
2490
|
-
key:
|
|
2520
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
2491
2521
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2492
2522
|
threshold: number;
|
|
2493
2523
|
} | {
|
|
@@ -2510,7 +2540,7 @@ export declare const actionStepSchemas: ({
|
|
|
2510
2540
|
count: number;
|
|
2511
2541
|
withinMs?: number | undefined;
|
|
2512
2542
|
counter?: {
|
|
2513
|
-
events:
|
|
2543
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
2514
2544
|
match?: Record<string, {
|
|
2515
2545
|
equals?: string | number | boolean | undefined;
|
|
2516
2546
|
contains?: string | undefined;
|
|
@@ -2549,7 +2579,7 @@ export declare const actionStepSchemas: ({
|
|
|
2549
2579
|
maxHeight?: number | undefined;
|
|
2550
2580
|
} | {
|
|
2551
2581
|
type: "session_metric";
|
|
2552
|
-
key:
|
|
2582
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
2553
2583
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2554
2584
|
threshold: number;
|
|
2555
2585
|
} | {
|
|
@@ -2572,7 +2602,7 @@ export declare const actionStepSchemas: ({
|
|
|
2572
2602
|
count: number;
|
|
2573
2603
|
withinMs?: number | undefined;
|
|
2574
2604
|
counter?: {
|
|
2575
|
-
events:
|
|
2605
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
2576
2606
|
match?: Record<string, {
|
|
2577
2607
|
equals?: string | number | boolean | undefined;
|
|
2578
2608
|
contains?: string | undefined;
|
|
@@ -2671,7 +2701,7 @@ export declare const actionStepSchemas: ({
|
|
|
2671
2701
|
maxHeight?: number | undefined;
|
|
2672
2702
|
} | {
|
|
2673
2703
|
type: "session_metric";
|
|
2674
|
-
key:
|
|
2704
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
2675
2705
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2676
2706
|
threshold: number;
|
|
2677
2707
|
} | {
|
|
@@ -2694,7 +2724,7 @@ export declare const actionStepSchemas: ({
|
|
|
2694
2724
|
count: number;
|
|
2695
2725
|
withinMs?: number | undefined;
|
|
2696
2726
|
counter?: {
|
|
2697
|
-
events:
|
|
2727
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
2698
2728
|
match?: Record<string, {
|
|
2699
2729
|
equals?: string | number | boolean | undefined;
|
|
2700
2730
|
contains?: string | undefined;
|
|
@@ -2757,7 +2787,7 @@ export declare const actionStepSchemas: ({
|
|
|
2757
2787
|
maxHeight?: number | undefined;
|
|
2758
2788
|
} | {
|
|
2759
2789
|
type: "session_metric";
|
|
2760
|
-
key:
|
|
2790
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
2761
2791
|
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2762
2792
|
threshold: number;
|
|
2763
2793
|
} | {
|
|
@@ -2780,7 +2810,7 @@ export declare const actionStepSchemas: ({
|
|
|
2780
2810
|
count: number;
|
|
2781
2811
|
withinMs?: number | undefined;
|
|
2782
2812
|
counter?: {
|
|
2783
|
-
events:
|
|
2813
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
2784
2814
|
match?: Record<string, {
|
|
2785
2815
|
equals?: string | number | boolean | undefined;
|
|
2786
2816
|
contains?: string | undefined;
|
package/dist/schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAStB,CAAC;AAUH;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASvB,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAM9D;;GAEG;AACH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAStB,CAAC;AAUH;;GA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;;;;;;;;;;;;4BAAttH,CAAC;;;;yBAAgH,CAAC;;;4BAA2E,CAAC;4BAA0C,CAAC;6BAA2C,CAAC;6BAA2C,CAAC;;;;;;;;;4BAA4T,CAAC;;;;4BAAuH,CAAC;;;;;4BAAkJ,CAAC;;;;;;4BAAwM,CAAC;2BAAyC,CAAC;;6BAAsS,CAAC;kCAA6C,CAAC;oCAAqE,CAAC;;;;qBAA4G,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAA8c,CAAC;;;;yBAAgH,CAAC;;;4BAA2E,CAAC;4BAA0C,CAAC;6BAA2C,CAAC;6BAA2C,CAAC;;;;;;;;;4BAA4T,CAAC;;;;4BAAuH,CAAC;;;;;4BAAkJ,CAAC;;;;;;4BAAwM,CAAC;2BAAyC,CAAC;;6BAAsS,CAAC;kCAA6C,CAAC;oCAAqE,CAAC;;;;qBAA4G,CAAC;;;;;;;;;;;;;;;;;;;;;;;IADzp7E,CAAC"}
|
package/dist/schema.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Zod schema for validating gamification app configuration.
|
|
5
5
|
*/
|
|
6
|
-
import { TriggerWhenZ } from '@syntrologie/sdk-contracts';
|
|
6
|
+
import { AnchorIdZ, TriggerWhenZ } from '@syntrologie/sdk-contracts';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
/**
|
|
9
9
|
* Conditional execution for actions.
|
|
@@ -54,7 +54,7 @@ export const AwardBadgeSchema = z
|
|
|
54
54
|
.object({
|
|
55
55
|
kind: z.literal('gamification:awardBadge'),
|
|
56
56
|
badgeId: z.string(),
|
|
57
|
-
anchorId:
|
|
57
|
+
anchorId: AnchorIdZ.optional(),
|
|
58
58
|
label: z.string().optional(),
|
|
59
59
|
})
|
|
60
60
|
.extend(ActionTriggerZ);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syntrologie/adapt-gamification",
|
|
3
|
-
"version": "2.8.0-canary.
|
|
3
|
+
"version": "2.8.0-canary.70",
|
|
4
4
|
"description": "Adaptive Gamification app - Badges, rewards, points, and engagement mechanics",
|
|
5
5
|
"license": "Proprietary",
|
|
6
6
|
"private": false,
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@syntrologie/sdk-contracts": "*",
|
|
55
|
-
"@testing-library/react": "
|
|
56
|
-
"@types/react": "
|
|
57
|
-
"jsdom": "
|
|
58
|
-
"react": "
|
|
59
|
-
"react-dom": "
|
|
60
|
-
"typescript": "
|
|
61
|
-
"vitest": "
|
|
62
|
-
"zod": "
|
|
55
|
+
"@testing-library/react": "16.3.2",
|
|
56
|
+
"@types/react": "19.2.14",
|
|
57
|
+
"jsdom": "26.1.0",
|
|
58
|
+
"react": "19.2.1",
|
|
59
|
+
"react-dom": "19.2.1",
|
|
60
|
+
"typescript": "5.9.3",
|
|
61
|
+
"vitest": "4.0.18",
|
|
62
|
+
"zod": "3.25.76"
|
|
63
63
|
}
|
|
64
64
|
}
|