@kubuild/schema 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions.d.ts +45 -0
- package/dist/actions.d.ts.map +1 -1
- package/dist/document.d.ts +362 -1
- package/dist/document.d.ts.map +1 -1
- package/dist/index.cjs +598 -204
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +569 -204
- package/dist/index.js.map +1 -1
- package/dist/json-schema.d.ts +251 -6
- package/dist/json-schema.d.ts.map +1 -1
- package/dist/template.d.ts +80 -0
- package/dist/template.d.ts.map +1 -1
- package/dist/tracking.d.ts +348 -0
- package/dist/tracking.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/json-schema.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare const PAGE_DOCUMENT_JSON_SCHEMA_V1: {
|
|
|
20
20
|
readonly type: "string";
|
|
21
21
|
readonly pattern: "^\\d+(\\.\\d+)*$";
|
|
22
22
|
readonly description: "Schema version of the document";
|
|
23
|
-
readonly default: "1.
|
|
23
|
+
readonly default: "1.1.0";
|
|
24
24
|
};
|
|
25
25
|
readonly metadata: {
|
|
26
26
|
readonly $ref: "#/definitions/documentMetadata";
|
|
@@ -28,8 +28,125 @@ export declare const PAGE_DOCUMENT_JSON_SCHEMA_V1: {
|
|
|
28
28
|
readonly document: {
|
|
29
29
|
readonly $ref: "#/definitions/rootPageNode";
|
|
30
30
|
};
|
|
31
|
+
readonly tracking: {
|
|
32
|
+
readonly $ref: "#/definitions/trackingConfig";
|
|
33
|
+
};
|
|
31
34
|
};
|
|
32
35
|
readonly definitions: {
|
|
36
|
+
readonly trackingConfig: {
|
|
37
|
+
readonly type: "object";
|
|
38
|
+
readonly description: "Tracking configuration. Contains only public ids, flags and opaque credential ids — secrets are host-owned.";
|
|
39
|
+
readonly properties: {
|
|
40
|
+
readonly enabled: {
|
|
41
|
+
readonly type: "boolean";
|
|
42
|
+
readonly default: true;
|
|
43
|
+
};
|
|
44
|
+
readonly debugMode: {
|
|
45
|
+
readonly type: "boolean";
|
|
46
|
+
readonly default: false;
|
|
47
|
+
};
|
|
48
|
+
readonly autoPageView: {
|
|
49
|
+
readonly type: "boolean";
|
|
50
|
+
readonly default: true;
|
|
51
|
+
};
|
|
52
|
+
readonly defaultDelivery: {
|
|
53
|
+
readonly type: "string";
|
|
54
|
+
readonly enum: readonly ["both", "client_only", "server_only"];
|
|
55
|
+
readonly default: "both";
|
|
56
|
+
};
|
|
57
|
+
readonly providers: {
|
|
58
|
+
readonly type: "object";
|
|
59
|
+
readonly properties: {
|
|
60
|
+
readonly meta: {
|
|
61
|
+
readonly type: "object";
|
|
62
|
+
readonly properties: {
|
|
63
|
+
readonly enabled: {
|
|
64
|
+
readonly type: "boolean";
|
|
65
|
+
};
|
|
66
|
+
readonly credentialId: {
|
|
67
|
+
readonly type: "string";
|
|
68
|
+
};
|
|
69
|
+
readonly pixelId: {
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
};
|
|
72
|
+
readonly capiEnabled: {
|
|
73
|
+
readonly type: "boolean";
|
|
74
|
+
};
|
|
75
|
+
readonly testEventCode: {
|
|
76
|
+
readonly type: "string";
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
readonly additionalProperties: false;
|
|
80
|
+
};
|
|
81
|
+
readonly google: {
|
|
82
|
+
readonly type: "object";
|
|
83
|
+
readonly properties: {
|
|
84
|
+
readonly enabled: {
|
|
85
|
+
readonly type: "boolean";
|
|
86
|
+
};
|
|
87
|
+
readonly credentialId: {
|
|
88
|
+
readonly type: "string";
|
|
89
|
+
};
|
|
90
|
+
readonly measurementId: {
|
|
91
|
+
readonly type: "string";
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
readonly additionalProperties: false;
|
|
95
|
+
};
|
|
96
|
+
readonly gtm: {
|
|
97
|
+
readonly type: "object";
|
|
98
|
+
readonly properties: {
|
|
99
|
+
readonly enabled: {
|
|
100
|
+
readonly type: "boolean";
|
|
101
|
+
};
|
|
102
|
+
readonly credentialId: {
|
|
103
|
+
readonly type: "string";
|
|
104
|
+
};
|
|
105
|
+
readonly containerId: {
|
|
106
|
+
readonly type: "string";
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
readonly additionalProperties: false;
|
|
110
|
+
};
|
|
111
|
+
readonly tiktok: {
|
|
112
|
+
readonly type: "object";
|
|
113
|
+
readonly properties: {
|
|
114
|
+
readonly enabled: {
|
|
115
|
+
readonly type: "boolean";
|
|
116
|
+
};
|
|
117
|
+
readonly credentialId: {
|
|
118
|
+
readonly type: "string";
|
|
119
|
+
};
|
|
120
|
+
readonly pixelId: {
|
|
121
|
+
readonly type: "string";
|
|
122
|
+
};
|
|
123
|
+
readonly eventsApiEnabled: {
|
|
124
|
+
readonly type: "boolean";
|
|
125
|
+
};
|
|
126
|
+
readonly testEventCode: {
|
|
127
|
+
readonly type: "string";
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
readonly additionalProperties: false;
|
|
131
|
+
};
|
|
132
|
+
readonly custom: {
|
|
133
|
+
readonly type: "object";
|
|
134
|
+
readonly properties: {
|
|
135
|
+
readonly enabled: {
|
|
136
|
+
readonly type: "boolean";
|
|
137
|
+
};
|
|
138
|
+
readonly credentialId: {
|
|
139
|
+
readonly type: "string";
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
readonly additionalProperties: false;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
readonly additionalProperties: false;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
readonly additionalProperties: false;
|
|
149
|
+
};
|
|
33
150
|
readonly styleValue: {
|
|
34
151
|
readonly type: readonly ["string", "number", "boolean", "null"];
|
|
35
152
|
readonly description: "A CSS property or design token value";
|
|
@@ -169,7 +286,7 @@ export declare const PAGE_DOCUMENT_JSON_SCHEMA_V1: {
|
|
|
169
286
|
};
|
|
170
287
|
readonly type: {
|
|
171
288
|
readonly type: "string";
|
|
172
|
-
readonly enum: readonly ["api_request", "navigate", "set_state", "reset_form", "show_toast", "open_modal", "close_modal", "copy_clipboard", "custom_event"];
|
|
289
|
+
readonly enum: readonly ["api_request", "navigate", "set_state", "reset_form", "show_toast", "open_modal", "close_modal", "toggle_modal", "copy_clipboard", "custom_event", "track_event"];
|
|
173
290
|
};
|
|
174
291
|
readonly label: {
|
|
175
292
|
readonly type: "string";
|
|
@@ -404,7 +521,7 @@ export declare function getPageDocumentJsonSchema(): {
|
|
|
404
521
|
readonly type: "string";
|
|
405
522
|
readonly pattern: "^\\d+(\\.\\d+)*$";
|
|
406
523
|
readonly description: "Schema version of the document";
|
|
407
|
-
readonly default: "1.
|
|
524
|
+
readonly default: "1.1.0";
|
|
408
525
|
};
|
|
409
526
|
readonly metadata: {
|
|
410
527
|
readonly $ref: "#/definitions/documentMetadata";
|
|
@@ -412,8 +529,125 @@ export declare function getPageDocumentJsonSchema(): {
|
|
|
412
529
|
readonly document: {
|
|
413
530
|
readonly $ref: "#/definitions/rootPageNode";
|
|
414
531
|
};
|
|
532
|
+
readonly tracking: {
|
|
533
|
+
readonly $ref: "#/definitions/trackingConfig";
|
|
534
|
+
};
|
|
415
535
|
};
|
|
416
536
|
readonly definitions: {
|
|
537
|
+
readonly trackingConfig: {
|
|
538
|
+
readonly type: "object";
|
|
539
|
+
readonly description: "Tracking configuration. Contains only public ids, flags and opaque credential ids — secrets are host-owned.";
|
|
540
|
+
readonly properties: {
|
|
541
|
+
readonly enabled: {
|
|
542
|
+
readonly type: "boolean";
|
|
543
|
+
readonly default: true;
|
|
544
|
+
};
|
|
545
|
+
readonly debugMode: {
|
|
546
|
+
readonly type: "boolean";
|
|
547
|
+
readonly default: false;
|
|
548
|
+
};
|
|
549
|
+
readonly autoPageView: {
|
|
550
|
+
readonly type: "boolean";
|
|
551
|
+
readonly default: true;
|
|
552
|
+
};
|
|
553
|
+
readonly defaultDelivery: {
|
|
554
|
+
readonly type: "string";
|
|
555
|
+
readonly enum: readonly ["both", "client_only", "server_only"];
|
|
556
|
+
readonly default: "both";
|
|
557
|
+
};
|
|
558
|
+
readonly providers: {
|
|
559
|
+
readonly type: "object";
|
|
560
|
+
readonly properties: {
|
|
561
|
+
readonly meta: {
|
|
562
|
+
readonly type: "object";
|
|
563
|
+
readonly properties: {
|
|
564
|
+
readonly enabled: {
|
|
565
|
+
readonly type: "boolean";
|
|
566
|
+
};
|
|
567
|
+
readonly credentialId: {
|
|
568
|
+
readonly type: "string";
|
|
569
|
+
};
|
|
570
|
+
readonly pixelId: {
|
|
571
|
+
readonly type: "string";
|
|
572
|
+
};
|
|
573
|
+
readonly capiEnabled: {
|
|
574
|
+
readonly type: "boolean";
|
|
575
|
+
};
|
|
576
|
+
readonly testEventCode: {
|
|
577
|
+
readonly type: "string";
|
|
578
|
+
};
|
|
579
|
+
};
|
|
580
|
+
readonly additionalProperties: false;
|
|
581
|
+
};
|
|
582
|
+
readonly google: {
|
|
583
|
+
readonly type: "object";
|
|
584
|
+
readonly properties: {
|
|
585
|
+
readonly enabled: {
|
|
586
|
+
readonly type: "boolean";
|
|
587
|
+
};
|
|
588
|
+
readonly credentialId: {
|
|
589
|
+
readonly type: "string";
|
|
590
|
+
};
|
|
591
|
+
readonly measurementId: {
|
|
592
|
+
readonly type: "string";
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
readonly additionalProperties: false;
|
|
596
|
+
};
|
|
597
|
+
readonly gtm: {
|
|
598
|
+
readonly type: "object";
|
|
599
|
+
readonly properties: {
|
|
600
|
+
readonly enabled: {
|
|
601
|
+
readonly type: "boolean";
|
|
602
|
+
};
|
|
603
|
+
readonly credentialId: {
|
|
604
|
+
readonly type: "string";
|
|
605
|
+
};
|
|
606
|
+
readonly containerId: {
|
|
607
|
+
readonly type: "string";
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
readonly additionalProperties: false;
|
|
611
|
+
};
|
|
612
|
+
readonly tiktok: {
|
|
613
|
+
readonly type: "object";
|
|
614
|
+
readonly properties: {
|
|
615
|
+
readonly enabled: {
|
|
616
|
+
readonly type: "boolean";
|
|
617
|
+
};
|
|
618
|
+
readonly credentialId: {
|
|
619
|
+
readonly type: "string";
|
|
620
|
+
};
|
|
621
|
+
readonly pixelId: {
|
|
622
|
+
readonly type: "string";
|
|
623
|
+
};
|
|
624
|
+
readonly eventsApiEnabled: {
|
|
625
|
+
readonly type: "boolean";
|
|
626
|
+
};
|
|
627
|
+
readonly testEventCode: {
|
|
628
|
+
readonly type: "string";
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
readonly additionalProperties: false;
|
|
632
|
+
};
|
|
633
|
+
readonly custom: {
|
|
634
|
+
readonly type: "object";
|
|
635
|
+
readonly properties: {
|
|
636
|
+
readonly enabled: {
|
|
637
|
+
readonly type: "boolean";
|
|
638
|
+
};
|
|
639
|
+
readonly credentialId: {
|
|
640
|
+
readonly type: "string";
|
|
641
|
+
};
|
|
642
|
+
};
|
|
643
|
+
readonly additionalProperties: false;
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
readonly additionalProperties: false;
|
|
647
|
+
};
|
|
648
|
+
};
|
|
649
|
+
readonly additionalProperties: false;
|
|
650
|
+
};
|
|
417
651
|
readonly styleValue: {
|
|
418
652
|
readonly type: readonly ["string", "number", "boolean", "null"];
|
|
419
653
|
readonly description: "A CSS property or design token value";
|
|
@@ -553,7 +787,7 @@ export declare function getPageDocumentJsonSchema(): {
|
|
|
553
787
|
};
|
|
554
788
|
readonly type: {
|
|
555
789
|
readonly type: "string";
|
|
556
|
-
readonly enum: readonly ["api_request", "navigate", "set_state", "reset_form", "show_toast", "open_modal", "close_modal", "copy_clipboard", "custom_event"];
|
|
790
|
+
readonly enum: readonly ["api_request", "navigate", "set_state", "reset_form", "show_toast", "open_modal", "close_modal", "toggle_modal", "copy_clipboard", "custom_event", "track_event"];
|
|
557
791
|
};
|
|
558
792
|
readonly label: {
|
|
559
793
|
readonly type: "string";
|
|
@@ -1381,7 +1615,7 @@ export declare const ACTION_PIPELINE_JSON_SCHEMA_V1: {
|
|
|
1381
1615
|
};
|
|
1382
1616
|
readonly type: {
|
|
1383
1617
|
readonly type: "string";
|
|
1384
|
-
readonly enum: readonly ["api_request", "navigate", "set_state", "reset_form", "show_toast", "open_modal", "close_modal", "copy_clipboard", "custom_event"];
|
|
1618
|
+
readonly enum: readonly ["api_request", "navigate", "set_state", "reset_form", "show_toast", "open_modal", "close_modal", "toggle_modal", "copy_clipboard", "custom_event", "track_event"];
|
|
1385
1619
|
};
|
|
1386
1620
|
readonly label: {
|
|
1387
1621
|
readonly type: "string";
|
|
@@ -1486,7 +1720,7 @@ export declare function getActionPipelineJsonSchema(): {
|
|
|
1486
1720
|
};
|
|
1487
1721
|
readonly type: {
|
|
1488
1722
|
readonly type: "string";
|
|
1489
|
-
readonly enum: readonly ["api_request", "navigate", "set_state", "reset_form", "show_toast", "open_modal", "close_modal", "copy_clipboard", "custom_event"];
|
|
1723
|
+
readonly enum: readonly ["api_request", "navigate", "set_state", "reset_form", "show_toast", "open_modal", "close_modal", "toggle_modal", "copy_clipboard", "custom_event", "track_event"];
|
|
1490
1724
|
};
|
|
1491
1725
|
readonly label: {
|
|
1492
1726
|
readonly type: "string";
|
|
@@ -1750,4 +1984,15 @@ export declare function getFormFieldBindingJsonSchema(): {
|
|
|
1750
1984
|
};
|
|
1751
1985
|
};
|
|
1752
1986
|
};
|
|
1987
|
+
type JsonSchemaObject = Record<string, unknown>;
|
|
1988
|
+
/** JSON Schema (Draft-07) of the body POSTed to a tracking relay (`TrackingRelayRequestSchema`). */
|
|
1989
|
+
export declare function getTrackingRelayRequestJsonSchema(): JsonSchemaObject;
|
|
1990
|
+
/** JSON Schema (Draft-07) of the JSON a tracking relay responds with (`TrackingRelayResponseSchema`). */
|
|
1991
|
+
export declare function getTrackingRelayResponseJsonSchema(): JsonSchemaObject;
|
|
1992
|
+
/**
|
|
1993
|
+
* JSON Schema (Draft-07) of host-side provider secrets, keyed by provider. Useful for hosts
|
|
1994
|
+
* validating their secret store. Never embedded in a document.
|
|
1995
|
+
*/
|
|
1996
|
+
export declare function getTrackingProviderSecretsJsonSchema(): JsonSchemaObject;
|
|
1997
|
+
export {};
|
|
1753
1998
|
//# sourceMappingURL=json-schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json-schema.d.ts","sourceRoot":"","sources":["../src/json-schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"json-schema.d.ts","sourceRoot":"","sources":["../src/json-schema.ts"],"names":[],"mappings":"AAUA;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+a/B,CAAC;AAEX,wBAAgB,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;EAE1C;AAED;;;GAGG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8GjC,CAAC;AAEX,wBAAgB,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE1C;AAED;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmC7B,CAAC;AAEX,wBAAgB,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEtC;AAED;;;GAGG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4EpC,CAAC;AAEX,wBAAgB,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE5C;AAQD,KAAK,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAchD,oGAAoG;AACpG,wBAAgB,iCAAiC,IAAI,gBAAgB,CAQpE;AAED,yGAAyG;AACzG,wBAAgB,kCAAkC,IAAI,gBAAgB,CAQrE;AAED;;;GAGG;AACH,wBAAgB,oCAAoC,IAAI,gBAAgB,CAavE"}
|
package/dist/template.d.ts
CHANGED
|
@@ -95,6 +95,86 @@ export declare const TemplateRecordSchema: z.ZodObject<{
|
|
|
95
95
|
category: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
96
96
|
version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
97
97
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
98
|
+
tracking: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
100
|
+
debugMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
101
|
+
autoPageView: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
102
|
+
defaultDelivery: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
103
|
+
both: "both";
|
|
104
|
+
client_only: "client_only";
|
|
105
|
+
server_only: "server_only";
|
|
106
|
+
}>>>;
|
|
107
|
+
providers: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
108
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
109
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
110
|
+
credentialId: z.ZodOptional<z.ZodString>;
|
|
111
|
+
pixelId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
112
|
+
capiEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
113
|
+
testEventCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
114
|
+
}, z.core.$strip>>;
|
|
115
|
+
google: z.ZodOptional<z.ZodObject<{
|
|
116
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
117
|
+
credentialId: z.ZodOptional<z.ZodString>;
|
|
118
|
+
measurementId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
119
|
+
}, z.core.$strip>>;
|
|
120
|
+
gtm: z.ZodOptional<z.ZodObject<{
|
|
121
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
122
|
+
credentialId: z.ZodOptional<z.ZodString>;
|
|
123
|
+
containerId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
124
|
+
}, z.core.$strip>>;
|
|
125
|
+
tiktok: z.ZodOptional<z.ZodObject<{
|
|
126
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
127
|
+
credentialId: z.ZodOptional<z.ZodString>;
|
|
128
|
+
pixelId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
129
|
+
eventsApiEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
130
|
+
testEventCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
131
|
+
}, z.core.$strip>>;
|
|
132
|
+
custom: z.ZodOptional<z.ZodObject<{
|
|
133
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
134
|
+
credentialId: z.ZodOptional<z.ZodString>;
|
|
135
|
+
}, z.core.$strip>>;
|
|
136
|
+
}, z.core.$strip>>>;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
}, z.core.$strip>>;
|
|
139
|
+
tracking: z.ZodOptional<z.ZodObject<{
|
|
140
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
141
|
+
debugMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
142
|
+
autoPageView: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
143
|
+
defaultDelivery: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
144
|
+
both: "both";
|
|
145
|
+
client_only: "client_only";
|
|
146
|
+
server_only: "server_only";
|
|
147
|
+
}>>>;
|
|
148
|
+
providers: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
149
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
151
|
+
credentialId: z.ZodOptional<z.ZodString>;
|
|
152
|
+
pixelId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
153
|
+
capiEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
154
|
+
testEventCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
155
|
+
}, z.core.$strip>>;
|
|
156
|
+
google: z.ZodOptional<z.ZodObject<{
|
|
157
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
158
|
+
credentialId: z.ZodOptional<z.ZodString>;
|
|
159
|
+
measurementId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
160
|
+
}, z.core.$strip>>;
|
|
161
|
+
gtm: z.ZodOptional<z.ZodObject<{
|
|
162
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
163
|
+
credentialId: z.ZodOptional<z.ZodString>;
|
|
164
|
+
containerId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
165
|
+
}, z.core.$strip>>;
|
|
166
|
+
tiktok: z.ZodOptional<z.ZodObject<{
|
|
167
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
168
|
+
credentialId: z.ZodOptional<z.ZodString>;
|
|
169
|
+
pixelId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
170
|
+
eventsApiEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
171
|
+
testEventCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
172
|
+
}, z.core.$strip>>;
|
|
173
|
+
custom: z.ZodOptional<z.ZodObject<{
|
|
174
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
175
|
+
credentialId: z.ZodOptional<z.ZodString>;
|
|
176
|
+
}, z.core.$strip>>;
|
|
177
|
+
}, z.core.$strip>>>;
|
|
98
178
|
}, z.core.$strip>>;
|
|
99
179
|
document: z.ZodType<import("./document").RootPageNode, unknown, z.core.$ZodTypeInternals<import("./document").RootPageNode, unknown>>;
|
|
100
180
|
}, z.core.$strip>>;
|
package/dist/template.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../src/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAA4C,KAAK,cAAc,EAAqB,MAAM,YAAY,CAAC;AAS9G;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAMvD;AAED;;GAEG;AACH,eAAO,MAAM,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