@squiz/dx-page-contents-lib 1.53.1-alpha.20 → 1.53.1-alpha.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -93,57 +93,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
93
93
  formattingOptions?: {
94
94
  alignment: "left" | "center" | "right" | "justify";
95
95
  } | undefined;
96
- }) & any)) | ({
97
- type: "experiment";
98
- experimentId: string;
99
- } & {
100
- variants: Record<string, ({
101
- value: string;
102
- type: "text";
103
- } | {
104
- type: "matrix-image";
105
- matrixDomain: string;
106
- matrixAssetId: string;
107
- matrixIdentifier?: string | undefined;
108
- formattingOptions?: {
109
- alignment: "left" | "center" | "right" | "justify";
110
- } | undefined;
111
- } | {
112
- type: "component";
113
- componentId: string;
114
- componentSet: string;
115
- contentItem?: {
116
- id: string;
117
- } | {
118
- content: Record<string, unknown>;
119
- schemaName: string;
120
- } | undefined;
121
- } | (({
122
- type: "tag";
123
- tag: string;
124
- attributes?: Record<string, string> | undefined;
125
- font?: {
126
- bold?: boolean | undefined;
127
- italics?: boolean | undefined;
128
- underline?: boolean | undefined;
129
- color?: string | undefined;
130
- size?: string | undefined;
131
- fontFamily?: string | undefined;
132
- } | undefined;
133
- formattingOptions?: {
134
- alignment: "left" | "center" | "right" | "justify";
135
- } | undefined;
136
- } | {
137
- type: "link-to-matrix-asset";
138
- matrixDomain: string;
139
- matrixAssetId: string;
140
- target: "_blank" | "_self" | "_parent" | "_top";
141
- matrixIdentifier?: string | undefined;
142
- formattingOptions?: {
143
- alignment: "left" | "center" | "right" | "justify";
144
- } | undefined;
145
- }) & any))[]>;
146
- }))[];
96
+ }) & any)))[];
147
97
  }), z.ZodTypeDef, {
148
98
  value: string;
149
99
  type: "text";
@@ -192,106 +142,6 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
192
142
  }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
193
143
  type: "variation";
194
144
  default: {};
195
- }>, z.ZodType<{
196
- type: "experiment";
197
- experimentId: string;
198
- } & {
199
- variants: Record<string, ({
200
- value: string;
201
- type: "text";
202
- } | {
203
- type: "matrix-image";
204
- matrixDomain: string;
205
- matrixAssetId: string;
206
- matrixIdentifier?: string | undefined;
207
- formattingOptions?: {
208
- alignment: "left" | "center" | "right" | "justify";
209
- } | undefined;
210
- } | {
211
- type: "component";
212
- componentId: string;
213
- componentSet: string;
214
- contentItem?: {
215
- id: string;
216
- } | {
217
- content: Record<string, unknown>;
218
- schemaName: string;
219
- } | undefined;
220
- } | (({
221
- type: "tag";
222
- tag: string;
223
- attributes?: Record<string, string> | undefined;
224
- font?: {
225
- bold?: boolean | undefined;
226
- italics?: boolean | undefined;
227
- underline?: boolean | undefined;
228
- color?: string | undefined;
229
- size?: string | undefined;
230
- fontFamily?: string | undefined;
231
- } | undefined;
232
- formattingOptions?: {
233
- alignment: "left" | "center" | "right" | "justify";
234
- } | undefined;
235
- } | {
236
- type: "link-to-matrix-asset";
237
- matrixDomain: string;
238
- matrixAssetId: string;
239
- target: "_blank" | "_self" | "_parent" | "_top";
240
- matrixIdentifier?: string | undefined;
241
- formattingOptions?: {
242
- alignment: "left" | "center" | "right" | "justify";
243
- } | undefined;
244
- }) & any))[]>;
245
- }, z.ZodTypeDef, {
246
- type: "experiment";
247
- experimentId: string;
248
- } & {
249
- variants: Record<string, ({
250
- value: string;
251
- type: "text";
252
- } | {
253
- type: "tag";
254
- tag: string;
255
- attributes?: Record<string, string> | undefined;
256
- font?: {
257
- bold?: boolean | undefined;
258
- italics?: boolean | undefined;
259
- underline?: boolean | undefined;
260
- color?: string | undefined;
261
- size?: string | undefined;
262
- fontFamily?: string | undefined;
263
- } | undefined;
264
- formattingOptions?: {
265
- alignment: "left" | "center" | "right" | "justify";
266
- } | undefined;
267
- } | {
268
- type: "link-to-matrix-asset";
269
- matrixDomain: string;
270
- matrixAssetId: string;
271
- target: "_blank" | "_self" | "_parent" | "_top";
272
- matrixIdentifier?: string | undefined;
273
- formattingOptions?: {
274
- alignment: "left" | "center" | "right" | "justify";
275
- } | undefined;
276
- } | {
277
- type: "matrix-image";
278
- matrixDomain: string;
279
- matrixAssetId: string;
280
- matrixIdentifier?: string | undefined;
281
- formattingOptions?: {
282
- alignment: "left" | "center" | "right" | "justify";
283
- } | undefined;
284
- } | {
285
- type: "component";
286
- componentId: string;
287
- componentSet: string;
288
- contentItem?: {
289
- id: string;
290
- } | {
291
- content: Record<string, unknown>;
292
- schemaName: string;
293
- } | undefined;
294
- })[]>;
295
145
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
296
146
  value: string;
297
147
  type: "text";
@@ -383,108 +233,8 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
383
233
  formattingOptions?: {
384
234
  alignment: "left" | "center" | "right" | "justify";
385
235
  } | undefined;
386
- }) & any)) | ({
387
- type: "experiment";
388
- experimentId: string;
389
- } & {
390
- variants: Record<string, ({
391
- value: string;
392
- type: "text";
393
- } | {
394
- type: "matrix-image";
395
- matrixDomain: string;
396
- matrixAssetId: string;
397
- matrixIdentifier?: string | undefined;
398
- formattingOptions?: {
399
- alignment: "left" | "center" | "right" | "justify";
400
- } | undefined;
401
- } | {
402
- type: "component";
403
- componentId: string;
404
- componentSet: string;
405
- contentItem?: {
406
- id: string;
407
- } | {
408
- content: Record<string, unknown>;
409
- schemaName: string;
410
- } | undefined;
411
- } | (({
412
- type: "tag";
413
- tag: string;
414
- attributes?: Record<string, string> | undefined;
415
- font?: {
416
- bold?: boolean | undefined;
417
- italics?: boolean | undefined;
418
- underline?: boolean | undefined;
419
- color?: string | undefined;
420
- size?: string | undefined;
421
- fontFamily?: string | undefined;
422
- } | undefined;
423
- formattingOptions?: {
424
- alignment: "left" | "center" | "right" | "justify";
425
- } | undefined;
426
- } | {
427
- type: "link-to-matrix-asset";
428
- matrixDomain: string;
429
- matrixAssetId: string;
430
- target: "_blank" | "_self" | "_parent" | "_top";
431
- matrixIdentifier?: string | undefined;
432
- formattingOptions?: {
433
- alignment: "left" | "center" | "right" | "justify";
434
- } | undefined;
435
- }) & any))[]>;
436
- }))[];
437
- })) | ({
438
- type: "experiment";
439
- experimentId: string;
440
- } & {
441
- variants: Record<string, ({
442
- value: string;
443
- type: "text";
444
- } | {
445
- type: "matrix-image";
446
- matrixDomain: string;
447
- matrixAssetId: string;
448
- matrixIdentifier?: string | undefined;
449
- formattingOptions?: {
450
- alignment: "left" | "center" | "right" | "justify";
451
- } | undefined;
452
- } | {
453
- type: "component";
454
- componentId: string;
455
- componentSet: string;
456
- contentItem?: {
457
- id: string;
458
- } | {
459
- content: Record<string, unknown>;
460
- schemaName: string;
461
- } | undefined;
462
- } | (({
463
- type: "tag";
464
- tag: string;
465
- attributes?: Record<string, string> | undefined;
466
- font?: {
467
- bold?: boolean | undefined;
468
- italics?: boolean | undefined;
469
- underline?: boolean | undefined;
470
- color?: string | undefined;
471
- size?: string | undefined;
472
- fontFamily?: string | undefined;
473
- } | undefined;
474
- formattingOptions?: {
475
- alignment: "left" | "center" | "right" | "justify";
476
- } | undefined;
477
- } | {
478
- type: "link-to-matrix-asset";
479
- matrixDomain: string;
480
- matrixAssetId: string;
481
- target: "_blank" | "_self" | "_parent" | "_top";
482
- matrixIdentifier?: string | undefined;
483
- formattingOptions?: {
484
- alignment: "left" | "center" | "right" | "justify";
485
- } | undefined;
486
- }) & any))[]>;
487
- }))[], ({
236
+ }) & any)))[];
237
+ })))[], ({
488
238
  value: string;
489
239
  type: "text";
490
240
  } | {
@@ -532,57 +282,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
532
282
  } | {
533
283
  type: "variation";
534
284
  default: {};
535
- } | ({
536
- type: "experiment";
537
- experimentId: string;
538
- } & {
539
- variants: Record<string, ({
540
- value: string;
541
- type: "text";
542
- } | {
543
- type: "tag";
544
- tag: string;
545
- attributes?: Record<string, string> | undefined;
546
- font?: {
547
- bold?: boolean | undefined;
548
- italics?: boolean | undefined;
549
- underline?: boolean | undefined;
550
- color?: string | undefined;
551
- size?: string | undefined;
552
- fontFamily?: string | undefined;
553
- } | undefined;
554
- formattingOptions?: {
555
- alignment: "left" | "center" | "right" | "justify";
556
- } | undefined;
557
- } | {
558
- type: "link-to-matrix-asset";
559
- matrixDomain: string;
560
- matrixAssetId: string;
561
- target: "_blank" | "_self" | "_parent" | "_top";
562
- matrixIdentifier?: string | undefined;
563
- formattingOptions?: {
564
- alignment: "left" | "center" | "right" | "justify";
565
- } | undefined;
566
- } | {
567
- type: "matrix-image";
568
- matrixDomain: string;
569
- matrixAssetId: string;
570
- matrixIdentifier?: string | undefined;
571
- formattingOptions?: {
572
- alignment: "left" | "center" | "right" | "justify";
573
- } | undefined;
574
- } | {
575
- type: "component";
576
- componentId: string;
577
- componentSet: string;
578
- contentItem?: {
579
- id: string;
580
- } | {
581
- content: Record<string, unknown>;
582
- schemaName: string;
583
- } | undefined;
584
- })[]>;
585
- }))[]>;
285
+ })[]>;
586
286
  }, "strip", z.ZodTypeAny, {
587
287
  main: (import("../layout-content").LayoutVariationNode | ({
588
288
  value: string;
@@ -675,108 +375,8 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
675
375
  formattingOptions?: {
676
376
  alignment: "left" | "center" | "right" | "justify";
677
377
  } | undefined;
678
- }) & any)) | ({
679
- type: "experiment";
680
- experimentId: string;
681
- } & {
682
- variants: Record<string, ({
683
- value: string;
684
- type: "text";
685
- } | {
686
- type: "matrix-image";
687
- matrixDomain: string;
688
- matrixAssetId: string;
689
- matrixIdentifier?: string | undefined;
690
- formattingOptions?: {
691
- alignment: "left" | "center" | "right" | "justify";
692
- } | undefined;
693
- } | {
694
- type: "component";
695
- componentId: string;
696
- componentSet: string;
697
- contentItem?: {
698
- id: string;
699
- } | {
700
- content: Record<string, unknown>;
701
- schemaName: string;
702
- } | undefined;
703
- } | (({
704
- type: "tag";
705
- tag: string;
706
- attributes?: Record<string, string> | undefined;
707
- font?: {
708
- bold?: boolean | undefined;
709
- italics?: boolean | undefined;
710
- underline?: boolean | undefined;
711
- color?: string | undefined;
712
- size?: string | undefined;
713
- fontFamily?: string | undefined;
714
- } | undefined;
715
- formattingOptions?: {
716
- alignment: "left" | "center" | "right" | "justify";
717
- } | undefined;
718
- } | {
719
- type: "link-to-matrix-asset";
720
- matrixDomain: string;
721
- matrixAssetId: string;
722
- target: "_blank" | "_self" | "_parent" | "_top";
723
- matrixIdentifier?: string | undefined;
724
- formattingOptions?: {
725
- alignment: "left" | "center" | "right" | "justify";
726
- } | undefined;
727
- }) & any))[]>;
728
- }))[];
729
- })) | ({
730
- type: "experiment";
731
- experimentId: string;
732
- } & {
733
- variants: Record<string, ({
734
- value: string;
735
- type: "text";
736
- } | {
737
- type: "matrix-image";
738
- matrixDomain: string;
739
- matrixAssetId: string;
740
- matrixIdentifier?: string | undefined;
741
- formattingOptions?: {
742
- alignment: "left" | "center" | "right" | "justify";
743
- } | undefined;
744
- } | {
745
- type: "component";
746
- componentId: string;
747
- componentSet: string;
748
- contentItem?: {
749
- id: string;
750
- } | {
751
- content: Record<string, unknown>;
752
- schemaName: string;
753
- } | undefined;
754
- } | (({
755
- type: "tag";
756
- tag: string;
757
- attributes?: Record<string, string> | undefined;
758
- font?: {
759
- bold?: boolean | undefined;
760
- italics?: boolean | undefined;
761
- underline?: boolean | undefined;
762
- color?: string | undefined;
763
- size?: string | undefined;
764
- fontFamily?: string | undefined;
765
- } | undefined;
766
- formattingOptions?: {
767
- alignment: "left" | "center" | "right" | "justify";
768
- } | undefined;
769
- } | {
770
- type: "link-to-matrix-asset";
771
- matrixDomain: string;
772
- matrixAssetId: string;
773
- target: "_blank" | "_self" | "_parent" | "_top";
774
- matrixIdentifier?: string | undefined;
775
- formattingOptions?: {
776
- alignment: "left" | "center" | "right" | "justify";
777
- } | undefined;
778
- }) & any))[]>;
779
- }))[];
378
+ }) & any)))[];
379
+ })))[];
780
380
  }, {
781
381
  main: ({
782
382
  value: string;
@@ -826,77 +426,27 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
826
426
  } | {
827
427
  type: "variation";
828
428
  default: {};
829
- } | ({
830
- type: "experiment";
831
- experimentId: string;
832
- } & {
833
- variants: Record<string, ({
834
- value: string;
835
- type: "text";
836
- } | {
837
- type: "tag";
838
- tag: string;
839
- attributes?: Record<string, string> | undefined;
840
- font?: {
841
- bold?: boolean | undefined;
842
- italics?: boolean | undefined;
843
- underline?: boolean | undefined;
844
- color?: string | undefined;
845
- size?: string | undefined;
846
- fontFamily?: string | undefined;
847
- } | undefined;
848
- formattingOptions?: {
849
- alignment: "left" | "center" | "right" | "justify";
850
- } | undefined;
851
- } | {
852
- type: "link-to-matrix-asset";
853
- matrixDomain: string;
854
- matrixAssetId: string;
855
- target: "_blank" | "_self" | "_parent" | "_top";
856
- matrixIdentifier?: string | undefined;
857
- formattingOptions?: {
858
- alignment: "left" | "center" | "right" | "justify";
859
- } | undefined;
860
- } | {
861
- type: "matrix-image";
862
- matrixDomain: string;
863
- matrixAssetId: string;
864
- matrixIdentifier?: string | undefined;
865
- formattingOptions?: {
866
- alignment: "left" | "center" | "right" | "justify";
867
- } | undefined;
868
- } | {
869
- type: "component";
870
- componentId: string;
871
- componentSet: string;
872
- contentItem?: {
873
- id: string;
874
- } | {
875
- content: Record<string, unknown>;
876
- schemaName: string;
877
- } | undefined;
878
- })[]>;
879
- }))[];
880
- }>;
881
- }, "strip", z.ZodTypeAny, {
882
- content: {
883
- main: (import("../layout-content").LayoutVariationNode | ({
884
- value: string;
885
- type: "text";
886
- } | {
887
- type: "matrix-image";
888
- matrixDomain: string;
889
- matrixAssetId: string;
890
- matrixIdentifier?: string | undefined;
891
- formattingOptions?: {
892
- alignment: "left" | "center" | "right" | "justify";
893
- } | undefined;
894
- } | {
895
- type: "component";
896
- componentId: string;
897
- componentSet: string;
898
- contentItem?: {
899
- id: string;
429
+ })[];
430
+ }>;
431
+ }, "strip", z.ZodTypeAny, {
432
+ content: {
433
+ main: (import("../layout-content").LayoutVariationNode | ({
434
+ value: string;
435
+ type: "text";
436
+ } | {
437
+ type: "matrix-image";
438
+ matrixDomain: string;
439
+ matrixAssetId: string;
440
+ matrixIdentifier?: string | undefined;
441
+ formattingOptions?: {
442
+ alignment: "left" | "center" | "right" | "justify";
443
+ } | undefined;
444
+ } | {
445
+ type: "component";
446
+ componentId: string;
447
+ componentSet: string;
448
+ contentItem?: {
449
+ id: string;
900
450
  } | {
901
451
  content: Record<string, unknown>;
902
452
  schemaName: string;
@@ -971,108 +521,8 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
971
521
  formattingOptions?: {
972
522
  alignment: "left" | "center" | "right" | "justify";
973
523
  } | undefined;
974
- }) & any)) | ({
975
- type: "experiment";
976
- experimentId: string;
977
- } & {
978
- variants: Record<string, ({
979
- value: string;
980
- type: "text";
981
- } | {
982
- type: "matrix-image";
983
- matrixDomain: string;
984
- matrixAssetId: string;
985
- matrixIdentifier?: string | undefined;
986
- formattingOptions?: {
987
- alignment: "left" | "center" | "right" | "justify";
988
- } | undefined;
989
- } | {
990
- type: "component";
991
- componentId: string;
992
- componentSet: string;
993
- contentItem?: {
994
- id: string;
995
- } | {
996
- content: Record<string, unknown>;
997
- schemaName: string;
998
- } | undefined;
999
- } | (({
1000
- type: "tag";
1001
- tag: string;
1002
- attributes?: Record<string, string> | undefined;
1003
- font?: {
1004
- bold?: boolean | undefined;
1005
- italics?: boolean | undefined;
1006
- underline?: boolean | undefined;
1007
- color?: string | undefined;
1008
- size?: string | undefined;
1009
- fontFamily?: string | undefined;
1010
- } | undefined;
1011
- formattingOptions?: {
1012
- alignment: "left" | "center" | "right" | "justify";
1013
- } | undefined;
1014
- } | {
1015
- type: "link-to-matrix-asset";
1016
- matrixDomain: string;
1017
- matrixAssetId: string;
1018
- target: "_blank" | "_self" | "_parent" | "_top";
1019
- matrixIdentifier?: string | undefined;
1020
- formattingOptions?: {
1021
- alignment: "left" | "center" | "right" | "justify";
1022
- } | undefined;
1023
- }) & any))[]>;
1024
- }))[];
1025
- })) | ({
1026
- type: "experiment";
1027
- experimentId: string;
1028
- } & {
1029
- variants: Record<string, ({
1030
- value: string;
1031
- type: "text";
1032
- } | {
1033
- type: "matrix-image";
1034
- matrixDomain: string;
1035
- matrixAssetId: string;
1036
- matrixIdentifier?: string | undefined;
1037
- formattingOptions?: {
1038
- alignment: "left" | "center" | "right" | "justify";
1039
- } | undefined;
1040
- } | {
1041
- type: "component";
1042
- componentId: string;
1043
- componentSet: string;
1044
- contentItem?: {
1045
- id: string;
1046
- } | {
1047
- content: Record<string, unknown>;
1048
- schemaName: string;
1049
- } | undefined;
1050
- } | (({
1051
- type: "tag";
1052
- tag: string;
1053
- attributes?: Record<string, string> | undefined;
1054
- font?: {
1055
- bold?: boolean | undefined;
1056
- italics?: boolean | undefined;
1057
- underline?: boolean | undefined;
1058
- color?: string | undefined;
1059
- size?: string | undefined;
1060
- fontFamily?: string | undefined;
1061
- } | undefined;
1062
- formattingOptions?: {
1063
- alignment: "left" | "center" | "right" | "justify";
1064
- } | undefined;
1065
- } | {
1066
- type: "link-to-matrix-asset";
1067
- matrixDomain: string;
1068
- matrixAssetId: string;
1069
- target: "_blank" | "_self" | "_parent" | "_top";
1070
- matrixIdentifier?: string | undefined;
1071
- formattingOptions?: {
1072
- alignment: "left" | "center" | "right" | "justify";
1073
- } | undefined;
1074
- }) & any))[]>;
1075
- }))[];
524
+ }) & any)))[];
525
+ })))[];
1076
526
  };
1077
527
  name: "single-column";
1078
528
  }, {
@@ -1125,57 +575,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1125
575
  } | {
1126
576
  type: "variation";
1127
577
  default: {};
1128
- } | ({
1129
- type: "experiment";
1130
- experimentId: string;
1131
- } & {
1132
- variants: Record<string, ({
1133
- value: string;
1134
- type: "text";
1135
- } | {
1136
- type: "tag";
1137
- tag: string;
1138
- attributes?: Record<string, string> | undefined;
1139
- font?: {
1140
- bold?: boolean | undefined;
1141
- italics?: boolean | undefined;
1142
- underline?: boolean | undefined;
1143
- color?: string | undefined;
1144
- size?: string | undefined;
1145
- fontFamily?: string | undefined;
1146
- } | undefined;
1147
- formattingOptions?: {
1148
- alignment: "left" | "center" | "right" | "justify";
1149
- } | undefined;
1150
- } | {
1151
- type: "link-to-matrix-asset";
1152
- matrixDomain: string;
1153
- matrixAssetId: string;
1154
- target: "_blank" | "_self" | "_parent" | "_top";
1155
- matrixIdentifier?: string | undefined;
1156
- formattingOptions?: {
1157
- alignment: "left" | "center" | "right" | "justify";
1158
- } | undefined;
1159
- } | {
1160
- type: "matrix-image";
1161
- matrixDomain: string;
1162
- matrixAssetId: string;
1163
- matrixIdentifier?: string | undefined;
1164
- formattingOptions?: {
1165
- alignment: "left" | "center" | "right" | "justify";
1166
- } | undefined;
1167
- } | {
1168
- type: "component";
1169
- componentId: string;
1170
- componentSet: string;
1171
- contentItem?: {
1172
- id: string;
1173
- } | {
1174
- content: Record<string, unknown>;
1175
- schemaName: string;
1176
- } | undefined;
1177
- })[]>;
1178
- }))[];
578
+ })[];
1179
579
  };
1180
580
  name: "single-column";
1181
581
  }>, z.ZodObject<{
@@ -1272,57 +672,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1272
672
  formattingOptions?: {
1273
673
  alignment: "left" | "center" | "right" | "justify";
1274
674
  } | undefined;
1275
- }) & any)) | ({
1276
- type: "experiment";
1277
- experimentId: string;
1278
- } & {
1279
- variants: Record<string, ({
1280
- value: string;
1281
- type: "text";
1282
- } | {
1283
- type: "matrix-image";
1284
- matrixDomain: string;
1285
- matrixAssetId: string;
1286
- matrixIdentifier?: string | undefined;
1287
- formattingOptions?: {
1288
- alignment: "left" | "center" | "right" | "justify";
1289
- } | undefined;
1290
- } | {
1291
- type: "component";
1292
- componentId: string;
1293
- componentSet: string;
1294
- contentItem?: {
1295
- id: string;
1296
- } | {
1297
- content: Record<string, unknown>;
1298
- schemaName: string;
1299
- } | undefined;
1300
- } | (({
1301
- type: "tag";
1302
- tag: string;
1303
- attributes?: Record<string, string> | undefined;
1304
- font?: {
1305
- bold?: boolean | undefined;
1306
- italics?: boolean | undefined;
1307
- underline?: boolean | undefined;
1308
- color?: string | undefined;
1309
- size?: string | undefined;
1310
- fontFamily?: string | undefined;
1311
- } | undefined;
1312
- formattingOptions?: {
1313
- alignment: "left" | "center" | "right" | "justify";
1314
- } | undefined;
1315
- } | {
1316
- type: "link-to-matrix-asset";
1317
- matrixDomain: string;
1318
- matrixAssetId: string;
1319
- target: "_blank" | "_self" | "_parent" | "_top";
1320
- matrixIdentifier?: string | undefined;
1321
- formattingOptions?: {
1322
- alignment: "left" | "center" | "right" | "justify";
1323
- } | undefined;
1324
- }) & any))[]>;
1325
- }))[];
675
+ }) & any)))[];
1326
676
  }), z.ZodTypeDef, {
1327
677
  value: string;
1328
678
  type: "text";
@@ -1371,106 +721,6 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1371
721
  }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
1372
722
  type: "variation";
1373
723
  default: {};
1374
- }>, z.ZodType<{
1375
- type: "experiment";
1376
- experimentId: string;
1377
- } & {
1378
- variants: Record<string, ({
1379
- value: string;
1380
- type: "text";
1381
- } | {
1382
- type: "matrix-image";
1383
- matrixDomain: string;
1384
- matrixAssetId: string;
1385
- matrixIdentifier?: string | undefined;
1386
- formattingOptions?: {
1387
- alignment: "left" | "center" | "right" | "justify";
1388
- } | undefined;
1389
- } | {
1390
- type: "component";
1391
- componentId: string;
1392
- componentSet: string;
1393
- contentItem?: {
1394
- id: string;
1395
- } | {
1396
- content: Record<string, unknown>;
1397
- schemaName: string;
1398
- } | undefined;
1399
- } | (({
1400
- type: "tag";
1401
- tag: string;
1402
- attributes?: Record<string, string> | undefined;
1403
- font?: {
1404
- bold?: boolean | undefined;
1405
- italics?: boolean | undefined;
1406
- underline?: boolean | undefined;
1407
- color?: string | undefined;
1408
- size?: string | undefined;
1409
- fontFamily?: string | undefined;
1410
- } | undefined;
1411
- formattingOptions?: {
1412
- alignment: "left" | "center" | "right" | "justify";
1413
- } | undefined;
1414
- } | {
1415
- type: "link-to-matrix-asset";
1416
- matrixDomain: string;
1417
- matrixAssetId: string;
1418
- target: "_blank" | "_self" | "_parent" | "_top";
1419
- matrixIdentifier?: string | undefined;
1420
- formattingOptions?: {
1421
- alignment: "left" | "center" | "right" | "justify";
1422
- } | undefined;
1423
- }) & any))[]>;
1424
- }, z.ZodTypeDef, {
1425
- type: "experiment";
1426
- experimentId: string;
1427
- } & {
1428
- variants: Record<string, ({
1429
- value: string;
1430
- type: "text";
1431
- } | {
1432
- type: "tag";
1433
- tag: string;
1434
- attributes?: Record<string, string> | undefined;
1435
- font?: {
1436
- bold?: boolean | undefined;
1437
- italics?: boolean | undefined;
1438
- underline?: boolean | undefined;
1439
- color?: string | undefined;
1440
- size?: string | undefined;
1441
- fontFamily?: string | undefined;
1442
- } | undefined;
1443
- formattingOptions?: {
1444
- alignment: "left" | "center" | "right" | "justify";
1445
- } | undefined;
1446
- } | {
1447
- type: "link-to-matrix-asset";
1448
- matrixDomain: string;
1449
- matrixAssetId: string;
1450
- target: "_blank" | "_self" | "_parent" | "_top";
1451
- matrixIdentifier?: string | undefined;
1452
- formattingOptions?: {
1453
- alignment: "left" | "center" | "right" | "justify";
1454
- } | undefined;
1455
- } | {
1456
- type: "matrix-image";
1457
- matrixDomain: string;
1458
- matrixAssetId: string;
1459
- matrixIdentifier?: string | undefined;
1460
- formattingOptions?: {
1461
- alignment: "left" | "center" | "right" | "justify";
1462
- } | undefined;
1463
- } | {
1464
- type: "component";
1465
- componentId: string;
1466
- componentSet: string;
1467
- contentItem?: {
1468
- id: string;
1469
- } | {
1470
- content: Record<string, unknown>;
1471
- schemaName: string;
1472
- } | undefined;
1473
- })[]>;
1474
724
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
1475
725
  value: string;
1476
726
  type: "text";
@@ -1562,108 +812,8 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1562
812
  formattingOptions?: {
1563
813
  alignment: "left" | "center" | "right" | "justify";
1564
814
  } | undefined;
1565
- }) & any)) | ({
1566
- type: "experiment";
1567
- experimentId: string;
1568
- } & {
1569
- variants: Record<string, ({
1570
- value: string;
1571
- type: "text";
1572
- } | {
1573
- type: "matrix-image";
1574
- matrixDomain: string;
1575
- matrixAssetId: string;
1576
- matrixIdentifier?: string | undefined;
1577
- formattingOptions?: {
1578
- alignment: "left" | "center" | "right" | "justify";
1579
- } | undefined;
1580
- } | {
1581
- type: "component";
1582
- componentId: string;
1583
- componentSet: string;
1584
- contentItem?: {
1585
- id: string;
1586
- } | {
1587
- content: Record<string, unknown>;
1588
- schemaName: string;
1589
- } | undefined;
1590
- } | (({
1591
- type: "tag";
1592
- tag: string;
1593
- attributes?: Record<string, string> | undefined;
1594
- font?: {
1595
- bold?: boolean | undefined;
1596
- italics?: boolean | undefined;
1597
- underline?: boolean | undefined;
1598
- color?: string | undefined;
1599
- size?: string | undefined;
1600
- fontFamily?: string | undefined;
1601
- } | undefined;
1602
- formattingOptions?: {
1603
- alignment: "left" | "center" | "right" | "justify";
1604
- } | undefined;
1605
- } | {
1606
- type: "link-to-matrix-asset";
1607
- matrixDomain: string;
1608
- matrixAssetId: string;
1609
- target: "_blank" | "_self" | "_parent" | "_top";
1610
- matrixIdentifier?: string | undefined;
1611
- formattingOptions?: {
1612
- alignment: "left" | "center" | "right" | "justify";
1613
- } | undefined;
1614
- }) & any))[]>;
1615
- }))[];
1616
- })) | ({
1617
- type: "experiment";
1618
- experimentId: string;
1619
- } & {
1620
- variants: Record<string, ({
1621
- value: string;
1622
- type: "text";
1623
- } | {
1624
- type: "matrix-image";
1625
- matrixDomain: string;
1626
- matrixAssetId: string;
1627
- matrixIdentifier?: string | undefined;
1628
- formattingOptions?: {
1629
- alignment: "left" | "center" | "right" | "justify";
1630
- } | undefined;
1631
- } | {
1632
- type: "component";
1633
- componentId: string;
1634
- componentSet: string;
1635
- contentItem?: {
1636
- id: string;
1637
- } | {
1638
- content: Record<string, unknown>;
1639
- schemaName: string;
1640
- } | undefined;
1641
- } | (({
1642
- type: "tag";
1643
- tag: string;
1644
- attributes?: Record<string, string> | undefined;
1645
- font?: {
1646
- bold?: boolean | undefined;
1647
- italics?: boolean | undefined;
1648
- underline?: boolean | undefined;
1649
- color?: string | undefined;
1650
- size?: string | undefined;
1651
- fontFamily?: string | undefined;
1652
- } | undefined;
1653
- formattingOptions?: {
1654
- alignment: "left" | "center" | "right" | "justify";
1655
- } | undefined;
1656
- } | {
1657
- type: "link-to-matrix-asset";
1658
- matrixDomain: string;
1659
- matrixAssetId: string;
1660
- target: "_blank" | "_self" | "_parent" | "_top";
1661
- matrixIdentifier?: string | undefined;
1662
- formattingOptions?: {
1663
- alignment: "left" | "center" | "right" | "justify";
1664
- } | undefined;
1665
- }) & any))[]>;
1666
- }))[], ({
815
+ }) & any)))[];
816
+ })))[], ({
1667
817
  value: string;
1668
818
  type: "text";
1669
819
  } | {
@@ -1711,57 +861,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1711
861
  } | {
1712
862
  type: "variation";
1713
863
  default: {};
1714
- } | ({
1715
- type: "experiment";
1716
- experimentId: string;
1717
- } & {
1718
- variants: Record<string, ({
1719
- value: string;
1720
- type: "text";
1721
- } | {
1722
- type: "tag";
1723
- tag: string;
1724
- attributes?: Record<string, string> | undefined;
1725
- font?: {
1726
- bold?: boolean | undefined;
1727
- italics?: boolean | undefined;
1728
- underline?: boolean | undefined;
1729
- color?: string | undefined;
1730
- size?: string | undefined;
1731
- fontFamily?: string | undefined;
1732
- } | undefined;
1733
- formattingOptions?: {
1734
- alignment: "left" | "center" | "right" | "justify";
1735
- } | undefined;
1736
- } | {
1737
- type: "link-to-matrix-asset";
1738
- matrixDomain: string;
1739
- matrixAssetId: string;
1740
- target: "_blank" | "_self" | "_parent" | "_top";
1741
- matrixIdentifier?: string | undefined;
1742
- formattingOptions?: {
1743
- alignment: "left" | "center" | "right" | "justify";
1744
- } | undefined;
1745
- } | {
1746
- type: "matrix-image";
1747
- matrixDomain: string;
1748
- matrixAssetId: string;
1749
- matrixIdentifier?: string | undefined;
1750
- formattingOptions?: {
1751
- alignment: "left" | "center" | "right" | "justify";
1752
- } | undefined;
1753
- } | {
1754
- type: "component";
1755
- componentId: string;
1756
- componentSet: string;
1757
- contentItem?: {
1758
- id: string;
1759
- } | {
1760
- content: Record<string, unknown>;
1761
- schemaName: string;
1762
- } | undefined;
1763
- })[]>;
1764
- }))[]>;
864
+ })[]>;
1765
865
  right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
1766
866
  value: string;
1767
867
  type: "text";
@@ -1853,57 +953,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1853
953
  formattingOptions?: {
1854
954
  alignment: "left" | "center" | "right" | "justify";
1855
955
  } | undefined;
1856
- }) & any)) | ({
1857
- type: "experiment";
1858
- experimentId: string;
1859
- } & {
1860
- variants: Record<string, ({
1861
- value: string;
1862
- type: "text";
1863
- } | {
1864
- type: "matrix-image";
1865
- matrixDomain: string;
1866
- matrixAssetId: string;
1867
- matrixIdentifier?: string | undefined;
1868
- formattingOptions?: {
1869
- alignment: "left" | "center" | "right" | "justify";
1870
- } | undefined;
1871
- } | {
1872
- type: "component";
1873
- componentId: string;
1874
- componentSet: string;
1875
- contentItem?: {
1876
- id: string;
1877
- } | {
1878
- content: Record<string, unknown>;
1879
- schemaName: string;
1880
- } | undefined;
1881
- } | (({
1882
- type: "tag";
1883
- tag: string;
1884
- attributes?: Record<string, string> | undefined;
1885
- font?: {
1886
- bold?: boolean | undefined;
1887
- italics?: boolean | undefined;
1888
- underline?: boolean | undefined;
1889
- color?: string | undefined;
1890
- size?: string | undefined;
1891
- fontFamily?: string | undefined;
1892
- } | undefined;
1893
- formattingOptions?: {
1894
- alignment: "left" | "center" | "right" | "justify";
1895
- } | undefined;
1896
- } | {
1897
- type: "link-to-matrix-asset";
1898
- matrixDomain: string;
1899
- matrixAssetId: string;
1900
- target: "_blank" | "_self" | "_parent" | "_top";
1901
- matrixIdentifier?: string | undefined;
1902
- formattingOptions?: {
1903
- alignment: "left" | "center" | "right" | "justify";
1904
- } | undefined;
1905
- }) & any))[]>;
1906
- }))[];
956
+ }) & any)))[];
1907
957
  }), z.ZodTypeDef, {
1908
958
  value: string;
1909
959
  type: "text";
@@ -1946,112 +996,12 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1946
996
  contentItem?: {
1947
997
  id: string;
1948
998
  } | {
1949
- content: Record<string, unknown>;
1950
- schemaName: string;
1951
- } | undefined;
1952
- }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
1953
- type: "variation";
1954
- default: {};
1955
- }>, z.ZodType<{
1956
- type: "experiment";
1957
- experimentId: string;
1958
- } & {
1959
- variants: Record<string, ({
1960
- value: string;
1961
- type: "text";
1962
- } | {
1963
- type: "matrix-image";
1964
- matrixDomain: string;
1965
- matrixAssetId: string;
1966
- matrixIdentifier?: string | undefined;
1967
- formattingOptions?: {
1968
- alignment: "left" | "center" | "right" | "justify";
1969
- } | undefined;
1970
- } | {
1971
- type: "component";
1972
- componentId: string;
1973
- componentSet: string;
1974
- contentItem?: {
1975
- id: string;
1976
- } | {
1977
- content: Record<string, unknown>;
1978
- schemaName: string;
1979
- } | undefined;
1980
- } | (({
1981
- type: "tag";
1982
- tag: string;
1983
- attributes?: Record<string, string> | undefined;
1984
- font?: {
1985
- bold?: boolean | undefined;
1986
- italics?: boolean | undefined;
1987
- underline?: boolean | undefined;
1988
- color?: string | undefined;
1989
- size?: string | undefined;
1990
- fontFamily?: string | undefined;
1991
- } | undefined;
1992
- formattingOptions?: {
1993
- alignment: "left" | "center" | "right" | "justify";
1994
- } | undefined;
1995
- } | {
1996
- type: "link-to-matrix-asset";
1997
- matrixDomain: string;
1998
- matrixAssetId: string;
1999
- target: "_blank" | "_self" | "_parent" | "_top";
2000
- matrixIdentifier?: string | undefined;
2001
- formattingOptions?: {
2002
- alignment: "left" | "center" | "right" | "justify";
2003
- } | undefined;
2004
- }) & any))[]>;
2005
- }, z.ZodTypeDef, {
2006
- type: "experiment";
2007
- experimentId: string;
2008
- } & {
2009
- variants: Record<string, ({
2010
- value: string;
2011
- type: "text";
2012
- } | {
2013
- type: "tag";
2014
- tag: string;
2015
- attributes?: Record<string, string> | undefined;
2016
- font?: {
2017
- bold?: boolean | undefined;
2018
- italics?: boolean | undefined;
2019
- underline?: boolean | undefined;
2020
- color?: string | undefined;
2021
- size?: string | undefined;
2022
- fontFamily?: string | undefined;
2023
- } | undefined;
2024
- formattingOptions?: {
2025
- alignment: "left" | "center" | "right" | "justify";
2026
- } | undefined;
2027
- } | {
2028
- type: "link-to-matrix-asset";
2029
- matrixDomain: string;
2030
- matrixAssetId: string;
2031
- target: "_blank" | "_self" | "_parent" | "_top";
2032
- matrixIdentifier?: string | undefined;
2033
- formattingOptions?: {
2034
- alignment: "left" | "center" | "right" | "justify";
2035
- } | undefined;
2036
- } | {
2037
- type: "matrix-image";
2038
- matrixDomain: string;
2039
- matrixAssetId: string;
2040
- matrixIdentifier?: string | undefined;
2041
- formattingOptions?: {
2042
- alignment: "left" | "center" | "right" | "justify";
2043
- } | undefined;
2044
- } | {
2045
- type: "component";
2046
- componentId: string;
2047
- componentSet: string;
2048
- contentItem?: {
2049
- id: string;
2050
- } | {
2051
- content: Record<string, unknown>;
2052
- schemaName: string;
2053
- } | undefined;
2054
- })[]>;
999
+ content: Record<string, unknown>;
1000
+ schemaName: string;
1001
+ } | undefined;
1002
+ }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
1003
+ type: "variation";
1004
+ default: {};
2055
1005
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
2056
1006
  value: string;
2057
1007
  type: "text";
@@ -2143,108 +1093,8 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2143
1093
  formattingOptions?: {
2144
1094
  alignment: "left" | "center" | "right" | "justify";
2145
1095
  } | undefined;
2146
- }) & any)) | ({
2147
- type: "experiment";
2148
- experimentId: string;
2149
- } & {
2150
- variants: Record<string, ({
2151
- value: string;
2152
- type: "text";
2153
- } | {
2154
- type: "matrix-image";
2155
- matrixDomain: string;
2156
- matrixAssetId: string;
2157
- matrixIdentifier?: string | undefined;
2158
- formattingOptions?: {
2159
- alignment: "left" | "center" | "right" | "justify";
2160
- } | undefined;
2161
- } | {
2162
- type: "component";
2163
- componentId: string;
2164
- componentSet: string;
2165
- contentItem?: {
2166
- id: string;
2167
- } | {
2168
- content: Record<string, unknown>;
2169
- schemaName: string;
2170
- } | undefined;
2171
- } | (({
2172
- type: "tag";
2173
- tag: string;
2174
- attributes?: Record<string, string> | undefined;
2175
- font?: {
2176
- bold?: boolean | undefined;
2177
- italics?: boolean | undefined;
2178
- underline?: boolean | undefined;
2179
- color?: string | undefined;
2180
- size?: string | undefined;
2181
- fontFamily?: string | undefined;
2182
- } | undefined;
2183
- formattingOptions?: {
2184
- alignment: "left" | "center" | "right" | "justify";
2185
- } | undefined;
2186
- } | {
2187
- type: "link-to-matrix-asset";
2188
- matrixDomain: string;
2189
- matrixAssetId: string;
2190
- target: "_blank" | "_self" | "_parent" | "_top";
2191
- matrixIdentifier?: string | undefined;
2192
- formattingOptions?: {
2193
- alignment: "left" | "center" | "right" | "justify";
2194
- } | undefined;
2195
- }) & any))[]>;
2196
- }))[];
2197
- })) | ({
2198
- type: "experiment";
2199
- experimentId: string;
2200
- } & {
2201
- variants: Record<string, ({
2202
- value: string;
2203
- type: "text";
2204
- } | {
2205
- type: "matrix-image";
2206
- matrixDomain: string;
2207
- matrixAssetId: string;
2208
- matrixIdentifier?: string | undefined;
2209
- formattingOptions?: {
2210
- alignment: "left" | "center" | "right" | "justify";
2211
- } | undefined;
2212
- } | {
2213
- type: "component";
2214
- componentId: string;
2215
- componentSet: string;
2216
- contentItem?: {
2217
- id: string;
2218
- } | {
2219
- content: Record<string, unknown>;
2220
- schemaName: string;
2221
- } | undefined;
2222
- } | (({
2223
- type: "tag";
2224
- tag: string;
2225
- attributes?: Record<string, string> | undefined;
2226
- font?: {
2227
- bold?: boolean | undefined;
2228
- italics?: boolean | undefined;
2229
- underline?: boolean | undefined;
2230
- color?: string | undefined;
2231
- size?: string | undefined;
2232
- fontFamily?: string | undefined;
2233
- } | undefined;
2234
- formattingOptions?: {
2235
- alignment: "left" | "center" | "right" | "justify";
2236
- } | undefined;
2237
- } | {
2238
- type: "link-to-matrix-asset";
2239
- matrixDomain: string;
2240
- matrixAssetId: string;
2241
- target: "_blank" | "_self" | "_parent" | "_top";
2242
- matrixIdentifier?: string | undefined;
2243
- formattingOptions?: {
2244
- alignment: "left" | "center" | "right" | "justify";
2245
- } | undefined;
2246
- }) & any))[]>;
2247
- }))[], ({
1096
+ }) & any)))[];
1097
+ })))[], ({
2248
1098
  value: string;
2249
1099
  type: "text";
2250
1100
  } | {
@@ -2292,57 +1142,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2292
1142
  } | {
2293
1143
  type: "variation";
2294
1144
  default: {};
2295
- } | ({
2296
- type: "experiment";
2297
- experimentId: string;
2298
- } & {
2299
- variants: Record<string, ({
2300
- value: string;
2301
- type: "text";
2302
- } | {
2303
- type: "tag";
2304
- tag: string;
2305
- attributes?: Record<string, string> | undefined;
2306
- font?: {
2307
- bold?: boolean | undefined;
2308
- italics?: boolean | undefined;
2309
- underline?: boolean | undefined;
2310
- color?: string | undefined;
2311
- size?: string | undefined;
2312
- fontFamily?: string | undefined;
2313
- } | undefined;
2314
- formattingOptions?: {
2315
- alignment: "left" | "center" | "right" | "justify";
2316
- } | undefined;
2317
- } | {
2318
- type: "link-to-matrix-asset";
2319
- matrixDomain: string;
2320
- matrixAssetId: string;
2321
- target: "_blank" | "_self" | "_parent" | "_top";
2322
- matrixIdentifier?: string | undefined;
2323
- formattingOptions?: {
2324
- alignment: "left" | "center" | "right" | "justify";
2325
- } | undefined;
2326
- } | {
2327
- type: "matrix-image";
2328
- matrixDomain: string;
2329
- matrixAssetId: string;
2330
- matrixIdentifier?: string | undefined;
2331
- formattingOptions?: {
2332
- alignment: "left" | "center" | "right" | "justify";
2333
- } | undefined;
2334
- } | {
2335
- type: "component";
2336
- componentId: string;
2337
- componentSet: string;
2338
- contentItem?: {
2339
- id: string;
2340
- } | {
2341
- content: Record<string, unknown>;
2342
- schemaName: string;
2343
- } | undefined;
2344
- })[]>;
2345
- }))[]>;
1145
+ })[]>;
2346
1146
  }, "strip", z.ZodTypeAny, {
2347
1147
  left: (import("../layout-content").LayoutVariationNode | ({
2348
1148
  value: string;
@@ -2435,108 +1235,8 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2435
1235
  formattingOptions?: {
2436
1236
  alignment: "left" | "center" | "right" | "justify";
2437
1237
  } | undefined;
2438
- }) & any)) | ({
2439
- type: "experiment";
2440
- experimentId: string;
2441
- } & {
2442
- variants: Record<string, ({
2443
- value: string;
2444
- type: "text";
2445
- } | {
2446
- type: "matrix-image";
2447
- matrixDomain: string;
2448
- matrixAssetId: string;
2449
- matrixIdentifier?: string | undefined;
2450
- formattingOptions?: {
2451
- alignment: "left" | "center" | "right" | "justify";
2452
- } | undefined;
2453
- } | {
2454
- type: "component";
2455
- componentId: string;
2456
- componentSet: string;
2457
- contentItem?: {
2458
- id: string;
2459
- } | {
2460
- content: Record<string, unknown>;
2461
- schemaName: string;
2462
- } | undefined;
2463
- } | (({
2464
- type: "tag";
2465
- tag: string;
2466
- attributes?: Record<string, string> | undefined;
2467
- font?: {
2468
- bold?: boolean | undefined;
2469
- italics?: boolean | undefined;
2470
- underline?: boolean | undefined;
2471
- color?: string | undefined;
2472
- size?: string | undefined;
2473
- fontFamily?: string | undefined;
2474
- } | undefined;
2475
- formattingOptions?: {
2476
- alignment: "left" | "center" | "right" | "justify";
2477
- } | undefined;
2478
- } | {
2479
- type: "link-to-matrix-asset";
2480
- matrixDomain: string;
2481
- matrixAssetId: string;
2482
- target: "_blank" | "_self" | "_parent" | "_top";
2483
- matrixIdentifier?: string | undefined;
2484
- formattingOptions?: {
2485
- alignment: "left" | "center" | "right" | "justify";
2486
- } | undefined;
2487
- }) & any))[]>;
2488
- }))[];
2489
- })) | ({
2490
- type: "experiment";
2491
- experimentId: string;
2492
- } & {
2493
- variants: Record<string, ({
2494
- value: string;
2495
- type: "text";
2496
- } | {
2497
- type: "matrix-image";
2498
- matrixDomain: string;
2499
- matrixAssetId: string;
2500
- matrixIdentifier?: string | undefined;
2501
- formattingOptions?: {
2502
- alignment: "left" | "center" | "right" | "justify";
2503
- } | undefined;
2504
- } | {
2505
- type: "component";
2506
- componentId: string;
2507
- componentSet: string;
2508
- contentItem?: {
2509
- id: string;
2510
- } | {
2511
- content: Record<string, unknown>;
2512
- schemaName: string;
2513
- } | undefined;
2514
- } | (({
2515
- type: "tag";
2516
- tag: string;
2517
- attributes?: Record<string, string> | undefined;
2518
- font?: {
2519
- bold?: boolean | undefined;
2520
- italics?: boolean | undefined;
2521
- underline?: boolean | undefined;
2522
- color?: string | undefined;
2523
- size?: string | undefined;
2524
- fontFamily?: string | undefined;
2525
- } | undefined;
2526
- formattingOptions?: {
2527
- alignment: "left" | "center" | "right" | "justify";
2528
- } | undefined;
2529
- } | {
2530
- type: "link-to-matrix-asset";
2531
- matrixDomain: string;
2532
- matrixAssetId: string;
2533
- target: "_blank" | "_self" | "_parent" | "_top";
2534
- matrixIdentifier?: string | undefined;
2535
- formattingOptions?: {
2536
- alignment: "left" | "center" | "right" | "justify";
2537
- } | undefined;
2538
- }) & any))[]>;
2539
- }))[];
1238
+ }) & any)))[];
1239
+ })))[];
2540
1240
  right: (import("../layout-content").LayoutVariationNode | ({
2541
1241
  value: string;
2542
1242
  type: "text";
@@ -2628,108 +1328,8 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2628
1328
  formattingOptions?: {
2629
1329
  alignment: "left" | "center" | "right" | "justify";
2630
1330
  } | undefined;
2631
- }) & any)) | ({
2632
- type: "experiment";
2633
- experimentId: string;
2634
- } & {
2635
- variants: Record<string, ({
2636
- value: string;
2637
- type: "text";
2638
- } | {
2639
- type: "matrix-image";
2640
- matrixDomain: string;
2641
- matrixAssetId: string;
2642
- matrixIdentifier?: string | undefined;
2643
- formattingOptions?: {
2644
- alignment: "left" | "center" | "right" | "justify";
2645
- } | undefined;
2646
- } | {
2647
- type: "component";
2648
- componentId: string;
2649
- componentSet: string;
2650
- contentItem?: {
2651
- id: string;
2652
- } | {
2653
- content: Record<string, unknown>;
2654
- schemaName: string;
2655
- } | undefined;
2656
- } | (({
2657
- type: "tag";
2658
- tag: string;
2659
- attributes?: Record<string, string> | undefined;
2660
- font?: {
2661
- bold?: boolean | undefined;
2662
- italics?: boolean | undefined;
2663
- underline?: boolean | undefined;
2664
- color?: string | undefined;
2665
- size?: string | undefined;
2666
- fontFamily?: string | undefined;
2667
- } | undefined;
2668
- formattingOptions?: {
2669
- alignment: "left" | "center" | "right" | "justify";
2670
- } | undefined;
2671
- } | {
2672
- type: "link-to-matrix-asset";
2673
- matrixDomain: string;
2674
- matrixAssetId: string;
2675
- target: "_blank" | "_self" | "_parent" | "_top";
2676
- matrixIdentifier?: string | undefined;
2677
- formattingOptions?: {
2678
- alignment: "left" | "center" | "right" | "justify";
2679
- } | undefined;
2680
- }) & any))[]>;
2681
- }))[];
2682
- })) | ({
2683
- type: "experiment";
2684
- experimentId: string;
2685
- } & {
2686
- variants: Record<string, ({
2687
- value: string;
2688
- type: "text";
2689
- } | {
2690
- type: "matrix-image";
2691
- matrixDomain: string;
2692
- matrixAssetId: string;
2693
- matrixIdentifier?: string | undefined;
2694
- formattingOptions?: {
2695
- alignment: "left" | "center" | "right" | "justify";
2696
- } | undefined;
2697
- } | {
2698
- type: "component";
2699
- componentId: string;
2700
- componentSet: string;
2701
- contentItem?: {
2702
- id: string;
2703
- } | {
2704
- content: Record<string, unknown>;
2705
- schemaName: string;
2706
- } | undefined;
2707
- } | (({
2708
- type: "tag";
2709
- tag: string;
2710
- attributes?: Record<string, string> | undefined;
2711
- font?: {
2712
- bold?: boolean | undefined;
2713
- italics?: boolean | undefined;
2714
- underline?: boolean | undefined;
2715
- color?: string | undefined;
2716
- size?: string | undefined;
2717
- fontFamily?: string | undefined;
2718
- } | undefined;
2719
- formattingOptions?: {
2720
- alignment: "left" | "center" | "right" | "justify";
2721
- } | undefined;
2722
- } | {
2723
- type: "link-to-matrix-asset";
2724
- matrixDomain: string;
2725
- matrixAssetId: string;
2726
- target: "_blank" | "_self" | "_parent" | "_top";
2727
- matrixIdentifier?: string | undefined;
2728
- formattingOptions?: {
2729
- alignment: "left" | "center" | "right" | "justify";
2730
- } | undefined;
2731
- }) & any))[]>;
2732
- }))[];
1331
+ }) & any)))[];
1332
+ })))[];
2733
1333
  }, {
2734
1334
  left: ({
2735
1335
  value: string;
@@ -2757,79 +1357,29 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2757
1357
  matrixIdentifier?: string | undefined;
2758
1358
  formattingOptions?: {
2759
1359
  alignment: "left" | "center" | "right" | "justify";
2760
- } | undefined;
2761
- } | {
2762
- type: "matrix-image";
2763
- matrixDomain: string;
2764
- matrixAssetId: string;
2765
- matrixIdentifier?: string | undefined;
2766
- formattingOptions?: {
2767
- alignment: "left" | "center" | "right" | "justify";
2768
- } | undefined;
2769
- } | {
2770
- type: "component";
2771
- componentId: string;
2772
- componentSet: string;
2773
- contentItem?: {
2774
- id: string;
2775
- } | {
2776
- content: Record<string, unknown>;
2777
- schemaName: string;
2778
- } | undefined;
2779
- } | {
2780
- type: "variation";
2781
- default: {};
2782
- } | ({
2783
- type: "experiment";
2784
- experimentId: string;
2785
- } & {
2786
- variants: Record<string, ({
2787
- value: string;
2788
- type: "text";
2789
- } | {
2790
- type: "tag";
2791
- tag: string;
2792
- attributes?: Record<string, string> | undefined;
2793
- font?: {
2794
- bold?: boolean | undefined;
2795
- italics?: boolean | undefined;
2796
- underline?: boolean | undefined;
2797
- color?: string | undefined;
2798
- size?: string | undefined;
2799
- fontFamily?: string | undefined;
2800
- } | undefined;
2801
- formattingOptions?: {
2802
- alignment: "left" | "center" | "right" | "justify";
2803
- } | undefined;
2804
- } | {
2805
- type: "link-to-matrix-asset";
2806
- matrixDomain: string;
2807
- matrixAssetId: string;
2808
- target: "_blank" | "_self" | "_parent" | "_top";
2809
- matrixIdentifier?: string | undefined;
2810
- formattingOptions?: {
2811
- alignment: "left" | "center" | "right" | "justify";
2812
- } | undefined;
2813
- } | {
2814
- type: "matrix-image";
2815
- matrixDomain: string;
2816
- matrixAssetId: string;
2817
- matrixIdentifier?: string | undefined;
2818
- formattingOptions?: {
2819
- alignment: "left" | "center" | "right" | "justify";
2820
- } | undefined;
1360
+ } | undefined;
1361
+ } | {
1362
+ type: "matrix-image";
1363
+ matrixDomain: string;
1364
+ matrixAssetId: string;
1365
+ matrixIdentifier?: string | undefined;
1366
+ formattingOptions?: {
1367
+ alignment: "left" | "center" | "right" | "justify";
1368
+ } | undefined;
1369
+ } | {
1370
+ type: "component";
1371
+ componentId: string;
1372
+ componentSet: string;
1373
+ contentItem?: {
1374
+ id: string;
2821
1375
  } | {
2822
- type: "component";
2823
- componentId: string;
2824
- componentSet: string;
2825
- contentItem?: {
2826
- id: string;
2827
- } | {
2828
- content: Record<string, unknown>;
2829
- schemaName: string;
2830
- } | undefined;
2831
- })[]>;
2832
- }))[];
1376
+ content: Record<string, unknown>;
1377
+ schemaName: string;
1378
+ } | undefined;
1379
+ } | {
1380
+ type: "variation";
1381
+ default: {};
1382
+ })[];
2833
1383
  right: ({
2834
1384
  value: string;
2835
1385
  type: "text";
@@ -2878,57 +1428,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2878
1428
  } | {
2879
1429
  type: "variation";
2880
1430
  default: {};
2881
- } | ({
2882
- type: "experiment";
2883
- experimentId: string;
2884
- } & {
2885
- variants: Record<string, ({
2886
- value: string;
2887
- type: "text";
2888
- } | {
2889
- type: "tag";
2890
- tag: string;
2891
- attributes?: Record<string, string> | undefined;
2892
- font?: {
2893
- bold?: boolean | undefined;
2894
- italics?: boolean | undefined;
2895
- underline?: boolean | undefined;
2896
- color?: string | undefined;
2897
- size?: string | undefined;
2898
- fontFamily?: string | undefined;
2899
- } | undefined;
2900
- formattingOptions?: {
2901
- alignment: "left" | "center" | "right" | "justify";
2902
- } | undefined;
2903
- } | {
2904
- type: "link-to-matrix-asset";
2905
- matrixDomain: string;
2906
- matrixAssetId: string;
2907
- target: "_blank" | "_self" | "_parent" | "_top";
2908
- matrixIdentifier?: string | undefined;
2909
- formattingOptions?: {
2910
- alignment: "left" | "center" | "right" | "justify";
2911
- } | undefined;
2912
- } | {
2913
- type: "matrix-image";
2914
- matrixDomain: string;
2915
- matrixAssetId: string;
2916
- matrixIdentifier?: string | undefined;
2917
- formattingOptions?: {
2918
- alignment: "left" | "center" | "right" | "justify";
2919
- } | undefined;
2920
- } | {
2921
- type: "component";
2922
- componentId: string;
2923
- componentSet: string;
2924
- contentItem?: {
2925
- id: string;
2926
- } | {
2927
- content: Record<string, unknown>;
2928
- schemaName: string;
2929
- } | undefined;
2930
- })[]>;
2931
- }))[];
1431
+ })[];
2932
1432
  }>;
2933
1433
  }, "strip", z.ZodTypeAny, {
2934
1434
  content: {
@@ -3023,108 +1523,8 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
3023
1523
  formattingOptions?: {
3024
1524
  alignment: "left" | "center" | "right" | "justify";
3025
1525
  } | undefined;
3026
- }) & any)) | ({
3027
- type: "experiment";
3028
- experimentId: string;
3029
- } & {
3030
- variants: Record<string, ({
3031
- value: string;
3032
- type: "text";
3033
- } | {
3034
- type: "matrix-image";
3035
- matrixDomain: string;
3036
- matrixAssetId: string;
3037
- matrixIdentifier?: string | undefined;
3038
- formattingOptions?: {
3039
- alignment: "left" | "center" | "right" | "justify";
3040
- } | undefined;
3041
- } | {
3042
- type: "component";
3043
- componentId: string;
3044
- componentSet: string;
3045
- contentItem?: {
3046
- id: string;
3047
- } | {
3048
- content: Record<string, unknown>;
3049
- schemaName: string;
3050
- } | undefined;
3051
- } | (({
3052
- type: "tag";
3053
- tag: string;
3054
- attributes?: Record<string, string> | undefined;
3055
- font?: {
3056
- bold?: boolean | undefined;
3057
- italics?: boolean | undefined;
3058
- underline?: boolean | undefined;
3059
- color?: string | undefined;
3060
- size?: string | undefined;
3061
- fontFamily?: string | undefined;
3062
- } | undefined;
3063
- formattingOptions?: {
3064
- alignment: "left" | "center" | "right" | "justify";
3065
- } | undefined;
3066
- } | {
3067
- type: "link-to-matrix-asset";
3068
- matrixDomain: string;
3069
- matrixAssetId: string;
3070
- target: "_blank" | "_self" | "_parent" | "_top";
3071
- matrixIdentifier?: string | undefined;
3072
- formattingOptions?: {
3073
- alignment: "left" | "center" | "right" | "justify";
3074
- } | undefined;
3075
- }) & any))[]>;
3076
- }))[];
3077
- })) | ({
3078
- type: "experiment";
3079
- experimentId: string;
3080
- } & {
3081
- variants: Record<string, ({
3082
- value: string;
3083
- type: "text";
3084
- } | {
3085
- type: "matrix-image";
3086
- matrixDomain: string;
3087
- matrixAssetId: string;
3088
- matrixIdentifier?: string | undefined;
3089
- formattingOptions?: {
3090
- alignment: "left" | "center" | "right" | "justify";
3091
- } | undefined;
3092
- } | {
3093
- type: "component";
3094
- componentId: string;
3095
- componentSet: string;
3096
- contentItem?: {
3097
- id: string;
3098
- } | {
3099
- content: Record<string, unknown>;
3100
- schemaName: string;
3101
- } | undefined;
3102
- } | (({
3103
- type: "tag";
3104
- tag: string;
3105
- attributes?: Record<string, string> | undefined;
3106
- font?: {
3107
- bold?: boolean | undefined;
3108
- italics?: boolean | undefined;
3109
- underline?: boolean | undefined;
3110
- color?: string | undefined;
3111
- size?: string | undefined;
3112
- fontFamily?: string | undefined;
3113
- } | undefined;
3114
- formattingOptions?: {
3115
- alignment: "left" | "center" | "right" | "justify";
3116
- } | undefined;
3117
- } | {
3118
- type: "link-to-matrix-asset";
3119
- matrixDomain: string;
3120
- matrixAssetId: string;
3121
- target: "_blank" | "_self" | "_parent" | "_top";
3122
- matrixIdentifier?: string | undefined;
3123
- formattingOptions?: {
3124
- alignment: "left" | "center" | "right" | "justify";
3125
- } | undefined;
3126
- }) & any))[]>;
3127
- }))[];
1526
+ }) & any)))[];
1527
+ })))[];
3128
1528
  right: (import("../layout-content").LayoutVariationNode | ({
3129
1529
  value: string;
3130
1530
  type: "text";
@@ -3216,108 +1616,8 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
3216
1616
  formattingOptions?: {
3217
1617
  alignment: "left" | "center" | "right" | "justify";
3218
1618
  } | undefined;
3219
- }) & any)) | ({
3220
- type: "experiment";
3221
- experimentId: string;
3222
- } & {
3223
- variants: Record<string, ({
3224
- value: string;
3225
- type: "text";
3226
- } | {
3227
- type: "matrix-image";
3228
- matrixDomain: string;
3229
- matrixAssetId: string;
3230
- matrixIdentifier?: string | undefined;
3231
- formattingOptions?: {
3232
- alignment: "left" | "center" | "right" | "justify";
3233
- } | undefined;
3234
- } | {
3235
- type: "component";
3236
- componentId: string;
3237
- componentSet: string;
3238
- contentItem?: {
3239
- id: string;
3240
- } | {
3241
- content: Record<string, unknown>;
3242
- schemaName: string;
3243
- } | undefined;
3244
- } | (({
3245
- type: "tag";
3246
- tag: string;
3247
- attributes?: Record<string, string> | undefined;
3248
- font?: {
3249
- bold?: boolean | undefined;
3250
- italics?: boolean | undefined;
3251
- underline?: boolean | undefined;
3252
- color?: string | undefined;
3253
- size?: string | undefined;
3254
- fontFamily?: string | undefined;
3255
- } | undefined;
3256
- formattingOptions?: {
3257
- alignment: "left" | "center" | "right" | "justify";
3258
- } | undefined;
3259
- } | {
3260
- type: "link-to-matrix-asset";
3261
- matrixDomain: string;
3262
- matrixAssetId: string;
3263
- target: "_blank" | "_self" | "_parent" | "_top";
3264
- matrixIdentifier?: string | undefined;
3265
- formattingOptions?: {
3266
- alignment: "left" | "center" | "right" | "justify";
3267
- } | undefined;
3268
- }) & any))[]>;
3269
- }))[];
3270
- })) | ({
3271
- type: "experiment";
3272
- experimentId: string;
3273
- } & {
3274
- variants: Record<string, ({
3275
- value: string;
3276
- type: "text";
3277
- } | {
3278
- type: "matrix-image";
3279
- matrixDomain: string;
3280
- matrixAssetId: string;
3281
- matrixIdentifier?: string | undefined;
3282
- formattingOptions?: {
3283
- alignment: "left" | "center" | "right" | "justify";
3284
- } | undefined;
3285
- } | {
3286
- type: "component";
3287
- componentId: string;
3288
- componentSet: string;
3289
- contentItem?: {
3290
- id: string;
3291
- } | {
3292
- content: Record<string, unknown>;
3293
- schemaName: string;
3294
- } | undefined;
3295
- } | (({
3296
- type: "tag";
3297
- tag: string;
3298
- attributes?: Record<string, string> | undefined;
3299
- font?: {
3300
- bold?: boolean | undefined;
3301
- italics?: boolean | undefined;
3302
- underline?: boolean | undefined;
3303
- color?: string | undefined;
3304
- size?: string | undefined;
3305
- fontFamily?: string | undefined;
3306
- } | undefined;
3307
- formattingOptions?: {
3308
- alignment: "left" | "center" | "right" | "justify";
3309
- } | undefined;
3310
- } | {
3311
- type: "link-to-matrix-asset";
3312
- matrixDomain: string;
3313
- matrixAssetId: string;
3314
- target: "_blank" | "_self" | "_parent" | "_top";
3315
- matrixIdentifier?: string | undefined;
3316
- formattingOptions?: {
3317
- alignment: "left" | "center" | "right" | "justify";
3318
- } | undefined;
3319
- }) & any))[]>;
3320
- }))[];
1619
+ }) & any)))[];
1620
+ })))[];
3321
1621
  };
3322
1622
  name: "two-column";
3323
1623
  }, {
@@ -3370,57 +1670,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
3370
1670
  } | {
3371
1671
  type: "variation";
3372
1672
  default: {};
3373
- } | ({
3374
- type: "experiment";
3375
- experimentId: string;
3376
- } & {
3377
- variants: Record<string, ({
3378
- value: string;
3379
- type: "text";
3380
- } | {
3381
- type: "tag";
3382
- tag: string;
3383
- attributes?: Record<string, string> | undefined;
3384
- font?: {
3385
- bold?: boolean | undefined;
3386
- italics?: boolean | undefined;
3387
- underline?: boolean | undefined;
3388
- color?: string | undefined;
3389
- size?: string | undefined;
3390
- fontFamily?: string | undefined;
3391
- } | undefined;
3392
- formattingOptions?: {
3393
- alignment: "left" | "center" | "right" | "justify";
3394
- } | undefined;
3395
- } | {
3396
- type: "link-to-matrix-asset";
3397
- matrixDomain: string;
3398
- matrixAssetId: string;
3399
- target: "_blank" | "_self" | "_parent" | "_top";
3400
- matrixIdentifier?: string | undefined;
3401
- formattingOptions?: {
3402
- alignment: "left" | "center" | "right" | "justify";
3403
- } | undefined;
3404
- } | {
3405
- type: "matrix-image";
3406
- matrixDomain: string;
3407
- matrixAssetId: string;
3408
- matrixIdentifier?: string | undefined;
3409
- formattingOptions?: {
3410
- alignment: "left" | "center" | "right" | "justify";
3411
- } | undefined;
3412
- } | {
3413
- type: "component";
3414
- componentId: string;
3415
- componentSet: string;
3416
- contentItem?: {
3417
- id: string;
3418
- } | {
3419
- content: Record<string, unknown>;
3420
- schemaName: string;
3421
- } | undefined;
3422
- })[]>;
3423
- }))[];
1673
+ })[];
3424
1674
  right: ({
3425
1675
  value: string;
3426
1676
  type: "text";
@@ -3469,57 +1719,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
3469
1719
  } | {
3470
1720
  type: "variation";
3471
1721
  default: {};
3472
- } | ({
3473
- type: "experiment";
3474
- experimentId: string;
3475
- } & {
3476
- variants: Record<string, ({
3477
- value: string;
3478
- type: "text";
3479
- } | {
3480
- type: "tag";
3481
- tag: string;
3482
- attributes?: Record<string, string> | undefined;
3483
- font?: {
3484
- bold?: boolean | undefined;
3485
- italics?: boolean | undefined;
3486
- underline?: boolean | undefined;
3487
- color?: string | undefined;
3488
- size?: string | undefined;
3489
- fontFamily?: string | undefined;
3490
- } | undefined;
3491
- formattingOptions?: {
3492
- alignment: "left" | "center" | "right" | "justify";
3493
- } | undefined;
3494
- } | {
3495
- type: "link-to-matrix-asset";
3496
- matrixDomain: string;
3497
- matrixAssetId: string;
3498
- target: "_blank" | "_self" | "_parent" | "_top";
3499
- matrixIdentifier?: string | undefined;
3500
- formattingOptions?: {
3501
- alignment: "left" | "center" | "right" | "justify";
3502
- } | undefined;
3503
- } | {
3504
- type: "matrix-image";
3505
- matrixDomain: string;
3506
- matrixAssetId: string;
3507
- matrixIdentifier?: string | undefined;
3508
- formattingOptions?: {
3509
- alignment: "left" | "center" | "right" | "justify";
3510
- } | undefined;
3511
- } | {
3512
- type: "component";
3513
- componentId: string;
3514
- componentSet: string;
3515
- contentItem?: {
3516
- id: string;
3517
- } | {
3518
- content: Record<string, unknown>;
3519
- schemaName: string;
3520
- } | undefined;
3521
- })[]>;
3522
- }))[];
1722
+ })[];
3523
1723
  };
3524
1724
  name: "two-column";
3525
1725
  }>]>;