@squiz/dx-page-contents-lib 1.53.1-alpha.2 → 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.
@@ -8,7 +8,1099 @@ declare const PageContentsResolved: z.ZodObject<{
8
8
  layouts: z.ZodArray<z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
9
9
  name: z.ZodLiteral<"single-column">;
10
10
  content: z.ZodObject<{
11
- main: z.ZodArray<z.ZodType<LayoutContentNodes, z.ZodTypeDef, {
11
+ main: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
12
+ value: string;
13
+ type: "text";
14
+ } | {
15
+ type: "matrix-image";
16
+ matrixDomain: string;
17
+ matrixAssetId: string;
18
+ matrixIdentifier?: string | undefined;
19
+ formattingOptions?: {
20
+ alignment: "left" | "center" | "right" | "justify";
21
+ } | undefined;
22
+ } | {
23
+ type: "component";
24
+ componentId: string;
25
+ componentSet: string;
26
+ contentItem?: {
27
+ id: string;
28
+ } | {
29
+ content: Record<string, unknown>;
30
+ schemaName: string;
31
+ } | undefined;
32
+ } | (({
33
+ type: "tag";
34
+ tag: string;
35
+ attributes?: Record<string, string> | undefined;
36
+ font?: {
37
+ bold?: boolean | undefined;
38
+ italics?: boolean | undefined;
39
+ underline?: boolean | undefined;
40
+ color?: string | undefined;
41
+ size?: string | undefined;
42
+ fontFamily?: string | undefined;
43
+ } | undefined;
44
+ formattingOptions?: {
45
+ alignment: "left" | "center" | "right" | "justify";
46
+ } | undefined;
47
+ } | {
48
+ type: "link-to-matrix-asset";
49
+ matrixDomain: string;
50
+ matrixAssetId: string;
51
+ target: "_blank" | "_self" | "_parent" | "_top";
52
+ matrixIdentifier?: string | undefined;
53
+ formattingOptions?: {
54
+ alignment: "left" | "center" | "right" | "justify";
55
+ } | undefined;
56
+ }) & {
57
+ children: (LayoutVariationNode | ({
58
+ value: string;
59
+ type: "text";
60
+ } | {
61
+ type: "matrix-image";
62
+ matrixDomain: string;
63
+ matrixAssetId: string;
64
+ matrixIdentifier?: string | undefined;
65
+ formattingOptions?: {
66
+ alignment: "left" | "center" | "right" | "justify";
67
+ } | undefined;
68
+ } | {
69
+ type: "component";
70
+ componentId: string;
71
+ componentSet: string;
72
+ contentItem?: {
73
+ id: string;
74
+ } | {
75
+ content: Record<string, unknown>;
76
+ schemaName: string;
77
+ } | undefined;
78
+ } | (({
79
+ type: "tag";
80
+ tag: string;
81
+ attributes?: Record<string, string> | undefined;
82
+ font?: {
83
+ bold?: boolean | undefined;
84
+ italics?: boolean | undefined;
85
+ underline?: boolean | undefined;
86
+ color?: string | undefined;
87
+ size?: string | undefined;
88
+ fontFamily?: string | undefined;
89
+ } | undefined;
90
+ formattingOptions?: {
91
+ alignment: "left" | "center" | "right" | "justify";
92
+ } | undefined;
93
+ } | {
94
+ type: "link-to-matrix-asset";
95
+ matrixDomain: string;
96
+ matrixAssetId: string;
97
+ target: "_blank" | "_self" | "_parent" | "_top";
98
+ matrixIdentifier?: string | undefined;
99
+ formattingOptions?: {
100
+ alignment: "left" | "center" | "right" | "justify";
101
+ } | undefined;
102
+ }) & any)))[];
103
+ }), z.ZodTypeDef, {
104
+ value: string;
105
+ type: "text";
106
+ } | {
107
+ type: "tag";
108
+ tag: string;
109
+ attributes?: Record<string, string> | undefined;
110
+ font?: {
111
+ bold?: boolean | undefined;
112
+ italics?: boolean | undefined;
113
+ underline?: boolean | undefined;
114
+ color?: string | undefined;
115
+ size?: string | undefined;
116
+ fontFamily?: string | undefined;
117
+ } | undefined;
118
+ formattingOptions?: {
119
+ alignment: "left" | "center" | "right" | "justify";
120
+ } | undefined;
121
+ } | {
122
+ type: "link-to-matrix-asset";
123
+ matrixDomain: string;
124
+ matrixAssetId: string;
125
+ target: "_blank" | "_self" | "_parent" | "_top";
126
+ matrixIdentifier?: string | undefined;
127
+ formattingOptions?: {
128
+ alignment: "left" | "center" | "right" | "justify";
129
+ } | undefined;
130
+ } | {
131
+ type: "matrix-image";
132
+ matrixDomain: string;
133
+ matrixAssetId: string;
134
+ matrixIdentifier?: string | undefined;
135
+ formattingOptions?: {
136
+ alignment: "left" | "center" | "right" | "justify";
137
+ } | undefined;
138
+ } | {
139
+ type: "component";
140
+ componentId: string;
141
+ componentSet: string;
142
+ contentItem?: {
143
+ id: string;
144
+ } | {
145
+ content: Record<string, unknown>;
146
+ schemaName: string;
147
+ } | undefined;
148
+ }>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
149
+ type: "variation";
150
+ default: {};
151
+ }>]>, "many">, (LayoutVariationNode | ({
152
+ value: string;
153
+ type: "text";
154
+ } | {
155
+ type: "matrix-image";
156
+ matrixDomain: string;
157
+ matrixAssetId: string;
158
+ matrixIdentifier?: string | undefined;
159
+ formattingOptions?: {
160
+ alignment: "left" | "center" | "right" | "justify";
161
+ } | undefined;
162
+ } | {
163
+ type: "component";
164
+ componentId: string;
165
+ componentSet: string;
166
+ contentItem?: {
167
+ id: string;
168
+ } | {
169
+ content: Record<string, unknown>;
170
+ schemaName: string;
171
+ } | undefined;
172
+ } | (({
173
+ type: "tag";
174
+ tag: string;
175
+ attributes?: Record<string, string> | undefined;
176
+ font?: {
177
+ bold?: boolean | undefined;
178
+ italics?: boolean | undefined;
179
+ underline?: boolean | undefined;
180
+ color?: string | undefined;
181
+ size?: string | undefined;
182
+ fontFamily?: string | undefined;
183
+ } | undefined;
184
+ formattingOptions?: {
185
+ alignment: "left" | "center" | "right" | "justify";
186
+ } | undefined;
187
+ } | {
188
+ type: "link-to-matrix-asset";
189
+ matrixDomain: string;
190
+ matrixAssetId: string;
191
+ target: "_blank" | "_self" | "_parent" | "_top";
192
+ matrixIdentifier?: string | undefined;
193
+ formattingOptions?: {
194
+ alignment: "left" | "center" | "right" | "justify";
195
+ } | undefined;
196
+ }) & {
197
+ children: (LayoutVariationNode | ({
198
+ value: string;
199
+ type: "text";
200
+ } | {
201
+ type: "matrix-image";
202
+ matrixDomain: string;
203
+ matrixAssetId: string;
204
+ matrixIdentifier?: string | undefined;
205
+ formattingOptions?: {
206
+ alignment: "left" | "center" | "right" | "justify";
207
+ } | undefined;
208
+ } | {
209
+ type: "component";
210
+ componentId: string;
211
+ componentSet: string;
212
+ contentItem?: {
213
+ id: string;
214
+ } | {
215
+ content: Record<string, unknown>;
216
+ schemaName: string;
217
+ } | undefined;
218
+ } | (({
219
+ type: "tag";
220
+ tag: string;
221
+ attributes?: Record<string, string> | undefined;
222
+ font?: {
223
+ bold?: boolean | undefined;
224
+ italics?: boolean | undefined;
225
+ underline?: boolean | undefined;
226
+ color?: string | undefined;
227
+ size?: string | undefined;
228
+ fontFamily?: string | undefined;
229
+ } | undefined;
230
+ formattingOptions?: {
231
+ alignment: "left" | "center" | "right" | "justify";
232
+ } | undefined;
233
+ } | {
234
+ type: "link-to-matrix-asset";
235
+ matrixDomain: string;
236
+ matrixAssetId: string;
237
+ target: "_blank" | "_self" | "_parent" | "_top";
238
+ matrixIdentifier?: string | undefined;
239
+ formattingOptions?: {
240
+ alignment: "left" | "center" | "right" | "justify";
241
+ } | undefined;
242
+ }) & any)))[];
243
+ })))[], ({
244
+ value: string;
245
+ type: "text";
246
+ } | {
247
+ type: "tag";
248
+ tag: string;
249
+ attributes?: Record<string, string> | undefined;
250
+ font?: {
251
+ bold?: boolean | undefined;
252
+ italics?: boolean | undefined;
253
+ underline?: boolean | undefined;
254
+ color?: string | undefined;
255
+ size?: string | undefined;
256
+ fontFamily?: string | undefined;
257
+ } | undefined;
258
+ formattingOptions?: {
259
+ alignment: "left" | "center" | "right" | "justify";
260
+ } | undefined;
261
+ } | {
262
+ type: "link-to-matrix-asset";
263
+ matrixDomain: string;
264
+ matrixAssetId: string;
265
+ target: "_blank" | "_self" | "_parent" | "_top";
266
+ matrixIdentifier?: string | undefined;
267
+ formattingOptions?: {
268
+ alignment: "left" | "center" | "right" | "justify";
269
+ } | undefined;
270
+ } | {
271
+ type: "matrix-image";
272
+ matrixDomain: string;
273
+ matrixAssetId: string;
274
+ matrixIdentifier?: string | undefined;
275
+ formattingOptions?: {
276
+ alignment: "left" | "center" | "right" | "justify";
277
+ } | undefined;
278
+ } | {
279
+ type: "component";
280
+ componentId: string;
281
+ componentSet: string;
282
+ contentItem?: {
283
+ id: string;
284
+ } | {
285
+ content: Record<string, unknown>;
286
+ schemaName: string;
287
+ } | undefined;
288
+ } | {
289
+ type: "variation";
290
+ default: {};
291
+ })[]>;
292
+ }, "strip", z.ZodTypeAny, {
293
+ main: (LayoutVariationNode | ({
294
+ value: string;
295
+ type: "text";
296
+ } | {
297
+ type: "matrix-image";
298
+ matrixDomain: string;
299
+ matrixAssetId: string;
300
+ matrixIdentifier?: string | undefined;
301
+ formattingOptions?: {
302
+ alignment: "left" | "center" | "right" | "justify";
303
+ } | undefined;
304
+ } | {
305
+ type: "component";
306
+ componentId: string;
307
+ componentSet: string;
308
+ contentItem?: {
309
+ id: string;
310
+ } | {
311
+ content: Record<string, unknown>;
312
+ schemaName: string;
313
+ } | undefined;
314
+ } | (({
315
+ type: "tag";
316
+ tag: string;
317
+ attributes?: Record<string, string> | undefined;
318
+ font?: {
319
+ bold?: boolean | undefined;
320
+ italics?: boolean | undefined;
321
+ underline?: boolean | undefined;
322
+ color?: string | undefined;
323
+ size?: string | undefined;
324
+ fontFamily?: string | undefined;
325
+ } | undefined;
326
+ formattingOptions?: {
327
+ alignment: "left" | "center" | "right" | "justify";
328
+ } | undefined;
329
+ } | {
330
+ type: "link-to-matrix-asset";
331
+ matrixDomain: string;
332
+ matrixAssetId: string;
333
+ target: "_blank" | "_self" | "_parent" | "_top";
334
+ matrixIdentifier?: string | undefined;
335
+ formattingOptions?: {
336
+ alignment: "left" | "center" | "right" | "justify";
337
+ } | undefined;
338
+ }) & {
339
+ children: (LayoutVariationNode | ({
340
+ value: string;
341
+ type: "text";
342
+ } | {
343
+ type: "matrix-image";
344
+ matrixDomain: string;
345
+ matrixAssetId: string;
346
+ matrixIdentifier?: string | undefined;
347
+ formattingOptions?: {
348
+ alignment: "left" | "center" | "right" | "justify";
349
+ } | undefined;
350
+ } | {
351
+ type: "component";
352
+ componentId: string;
353
+ componentSet: string;
354
+ contentItem?: {
355
+ id: string;
356
+ } | {
357
+ content: Record<string, unknown>;
358
+ schemaName: string;
359
+ } | undefined;
360
+ } | (({
361
+ type: "tag";
362
+ tag: string;
363
+ attributes?: Record<string, string> | undefined;
364
+ font?: {
365
+ bold?: boolean | undefined;
366
+ italics?: boolean | undefined;
367
+ underline?: boolean | undefined;
368
+ color?: string | undefined;
369
+ size?: string | undefined;
370
+ fontFamily?: string | undefined;
371
+ } | undefined;
372
+ formattingOptions?: {
373
+ alignment: "left" | "center" | "right" | "justify";
374
+ } | undefined;
375
+ } | {
376
+ type: "link-to-matrix-asset";
377
+ matrixDomain: string;
378
+ matrixAssetId: string;
379
+ target: "_blank" | "_self" | "_parent" | "_top";
380
+ matrixIdentifier?: string | undefined;
381
+ formattingOptions?: {
382
+ alignment: "left" | "center" | "right" | "justify";
383
+ } | undefined;
384
+ }) & any)))[];
385
+ })))[];
386
+ }, {
387
+ main: ({
388
+ value: string;
389
+ type: "text";
390
+ } | {
391
+ type: "tag";
392
+ tag: string;
393
+ attributes?: Record<string, string> | undefined;
394
+ font?: {
395
+ bold?: boolean | undefined;
396
+ italics?: boolean | undefined;
397
+ underline?: boolean | undefined;
398
+ color?: string | undefined;
399
+ size?: string | undefined;
400
+ fontFamily?: string | undefined;
401
+ } | undefined;
402
+ formattingOptions?: {
403
+ alignment: "left" | "center" | "right" | "justify";
404
+ } | undefined;
405
+ } | {
406
+ type: "link-to-matrix-asset";
407
+ matrixDomain: string;
408
+ matrixAssetId: string;
409
+ target: "_blank" | "_self" | "_parent" | "_top";
410
+ matrixIdentifier?: string | undefined;
411
+ formattingOptions?: {
412
+ alignment: "left" | "center" | "right" | "justify";
413
+ } | undefined;
414
+ } | {
415
+ type: "matrix-image";
416
+ matrixDomain: string;
417
+ matrixAssetId: string;
418
+ matrixIdentifier?: string | undefined;
419
+ formattingOptions?: {
420
+ alignment: "left" | "center" | "right" | "justify";
421
+ } | undefined;
422
+ } | {
423
+ type: "component";
424
+ componentId: string;
425
+ componentSet: string;
426
+ contentItem?: {
427
+ id: string;
428
+ } | {
429
+ content: Record<string, unknown>;
430
+ schemaName: string;
431
+ } | undefined;
432
+ } | {
433
+ type: "variation";
434
+ default: {};
435
+ })[];
436
+ }>;
437
+ }, "strip", z.ZodTypeAny, {
438
+ content: {
439
+ main: (LayoutVariationNode | ({
440
+ value: string;
441
+ type: "text";
442
+ } | {
443
+ type: "matrix-image";
444
+ matrixDomain: string;
445
+ matrixAssetId: string;
446
+ matrixIdentifier?: string | undefined;
447
+ formattingOptions?: {
448
+ alignment: "left" | "center" | "right" | "justify";
449
+ } | undefined;
450
+ } | {
451
+ type: "component";
452
+ componentId: string;
453
+ componentSet: string;
454
+ contentItem?: {
455
+ id: string;
456
+ } | {
457
+ content: Record<string, unknown>;
458
+ schemaName: string;
459
+ } | undefined;
460
+ } | (({
461
+ type: "tag";
462
+ tag: string;
463
+ attributes?: Record<string, string> | undefined;
464
+ font?: {
465
+ bold?: boolean | undefined;
466
+ italics?: boolean | undefined;
467
+ underline?: boolean | undefined;
468
+ color?: string | undefined;
469
+ size?: string | undefined;
470
+ fontFamily?: string | undefined;
471
+ } | undefined;
472
+ formattingOptions?: {
473
+ alignment: "left" | "center" | "right" | "justify";
474
+ } | undefined;
475
+ } | {
476
+ type: "link-to-matrix-asset";
477
+ matrixDomain: string;
478
+ matrixAssetId: string;
479
+ target: "_blank" | "_self" | "_parent" | "_top";
480
+ matrixIdentifier?: string | undefined;
481
+ formattingOptions?: {
482
+ alignment: "left" | "center" | "right" | "justify";
483
+ } | undefined;
484
+ }) & {
485
+ children: (LayoutVariationNode | ({
486
+ value: string;
487
+ type: "text";
488
+ } | {
489
+ type: "matrix-image";
490
+ matrixDomain: string;
491
+ matrixAssetId: string;
492
+ matrixIdentifier?: string | undefined;
493
+ formattingOptions?: {
494
+ alignment: "left" | "center" | "right" | "justify";
495
+ } | undefined;
496
+ } | {
497
+ type: "component";
498
+ componentId: string;
499
+ componentSet: string;
500
+ contentItem?: {
501
+ id: string;
502
+ } | {
503
+ content: Record<string, unknown>;
504
+ schemaName: string;
505
+ } | undefined;
506
+ } | (({
507
+ type: "tag";
508
+ tag: string;
509
+ attributes?: Record<string, string> | undefined;
510
+ font?: {
511
+ bold?: boolean | undefined;
512
+ italics?: boolean | undefined;
513
+ underline?: boolean | undefined;
514
+ color?: string | undefined;
515
+ size?: string | undefined;
516
+ fontFamily?: string | undefined;
517
+ } | undefined;
518
+ formattingOptions?: {
519
+ alignment: "left" | "center" | "right" | "justify";
520
+ } | undefined;
521
+ } | {
522
+ type: "link-to-matrix-asset";
523
+ matrixDomain: string;
524
+ matrixAssetId: string;
525
+ target: "_blank" | "_self" | "_parent" | "_top";
526
+ matrixIdentifier?: string | undefined;
527
+ formattingOptions?: {
528
+ alignment: "left" | "center" | "right" | "justify";
529
+ } | undefined;
530
+ }) & any)))[];
531
+ })))[];
532
+ };
533
+ name: "single-column";
534
+ }, {
535
+ content: {
536
+ main: ({
537
+ value: string;
538
+ type: "text";
539
+ } | {
540
+ type: "tag";
541
+ tag: string;
542
+ attributes?: Record<string, string> | undefined;
543
+ font?: {
544
+ bold?: boolean | undefined;
545
+ italics?: boolean | undefined;
546
+ underline?: boolean | undefined;
547
+ color?: string | undefined;
548
+ size?: string | undefined;
549
+ fontFamily?: string | undefined;
550
+ } | undefined;
551
+ formattingOptions?: {
552
+ alignment: "left" | "center" | "right" | "justify";
553
+ } | undefined;
554
+ } | {
555
+ type: "link-to-matrix-asset";
556
+ matrixDomain: string;
557
+ matrixAssetId: string;
558
+ target: "_blank" | "_self" | "_parent" | "_top";
559
+ matrixIdentifier?: string | undefined;
560
+ formattingOptions?: {
561
+ alignment: "left" | "center" | "right" | "justify";
562
+ } | undefined;
563
+ } | {
564
+ type: "matrix-image";
565
+ matrixDomain: string;
566
+ matrixAssetId: string;
567
+ matrixIdentifier?: string | undefined;
568
+ formattingOptions?: {
569
+ alignment: "left" | "center" | "right" | "justify";
570
+ } | undefined;
571
+ } | {
572
+ type: "component";
573
+ componentId: string;
574
+ componentSet: string;
575
+ contentItem?: {
576
+ id: string;
577
+ } | {
578
+ content: Record<string, unknown>;
579
+ schemaName: string;
580
+ } | undefined;
581
+ } | {
582
+ type: "variation";
583
+ default: {};
584
+ })[];
585
+ };
586
+ name: "single-column";
587
+ }>, z.ZodObject<{
588
+ name: z.ZodLiteral<"two-column">;
589
+ content: z.ZodObject<{
590
+ left: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
591
+ value: string;
592
+ type: "text";
593
+ } | {
594
+ type: "matrix-image";
595
+ matrixDomain: string;
596
+ matrixAssetId: string;
597
+ matrixIdentifier?: string | undefined;
598
+ formattingOptions?: {
599
+ alignment: "left" | "center" | "right" | "justify";
600
+ } | undefined;
601
+ } | {
602
+ type: "component";
603
+ componentId: string;
604
+ componentSet: string;
605
+ contentItem?: {
606
+ id: string;
607
+ } | {
608
+ content: Record<string, unknown>;
609
+ schemaName: string;
610
+ } | undefined;
611
+ } | (({
612
+ type: "tag";
613
+ tag: string;
614
+ attributes?: Record<string, string> | undefined;
615
+ font?: {
616
+ bold?: boolean | undefined;
617
+ italics?: boolean | undefined;
618
+ underline?: boolean | undefined;
619
+ color?: string | undefined;
620
+ size?: string | undefined;
621
+ fontFamily?: string | undefined;
622
+ } | undefined;
623
+ formattingOptions?: {
624
+ alignment: "left" | "center" | "right" | "justify";
625
+ } | undefined;
626
+ } | {
627
+ type: "link-to-matrix-asset";
628
+ matrixDomain: string;
629
+ matrixAssetId: string;
630
+ target: "_blank" | "_self" | "_parent" | "_top";
631
+ matrixIdentifier?: string | undefined;
632
+ formattingOptions?: {
633
+ alignment: "left" | "center" | "right" | "justify";
634
+ } | undefined;
635
+ }) & {
636
+ children: (LayoutVariationNode | ({
637
+ value: string;
638
+ type: "text";
639
+ } | {
640
+ type: "matrix-image";
641
+ matrixDomain: string;
642
+ matrixAssetId: string;
643
+ matrixIdentifier?: string | undefined;
644
+ formattingOptions?: {
645
+ alignment: "left" | "center" | "right" | "justify";
646
+ } | undefined;
647
+ } | {
648
+ type: "component";
649
+ componentId: string;
650
+ componentSet: string;
651
+ contentItem?: {
652
+ id: string;
653
+ } | {
654
+ content: Record<string, unknown>;
655
+ schemaName: string;
656
+ } | undefined;
657
+ } | (({
658
+ type: "tag";
659
+ tag: string;
660
+ attributes?: Record<string, string> | undefined;
661
+ font?: {
662
+ bold?: boolean | undefined;
663
+ italics?: boolean | undefined;
664
+ underline?: boolean | undefined;
665
+ color?: string | undefined;
666
+ size?: string | undefined;
667
+ fontFamily?: string | undefined;
668
+ } | undefined;
669
+ formattingOptions?: {
670
+ alignment: "left" | "center" | "right" | "justify";
671
+ } | undefined;
672
+ } | {
673
+ type: "link-to-matrix-asset";
674
+ matrixDomain: string;
675
+ matrixAssetId: string;
676
+ target: "_blank" | "_self" | "_parent" | "_top";
677
+ matrixIdentifier?: string | undefined;
678
+ formattingOptions?: {
679
+ alignment: "left" | "center" | "right" | "justify";
680
+ } | undefined;
681
+ }) & any)))[];
682
+ }), z.ZodTypeDef, {
683
+ value: string;
684
+ type: "text";
685
+ } | {
686
+ type: "tag";
687
+ tag: string;
688
+ attributes?: Record<string, string> | undefined;
689
+ font?: {
690
+ bold?: boolean | undefined;
691
+ italics?: boolean | undefined;
692
+ underline?: boolean | undefined;
693
+ color?: string | undefined;
694
+ size?: string | undefined;
695
+ fontFamily?: string | undefined;
696
+ } | undefined;
697
+ formattingOptions?: {
698
+ alignment: "left" | "center" | "right" | "justify";
699
+ } | undefined;
700
+ } | {
701
+ type: "link-to-matrix-asset";
702
+ matrixDomain: string;
703
+ matrixAssetId: string;
704
+ target: "_blank" | "_self" | "_parent" | "_top";
705
+ matrixIdentifier?: string | undefined;
706
+ formattingOptions?: {
707
+ alignment: "left" | "center" | "right" | "justify";
708
+ } | undefined;
709
+ } | {
710
+ type: "matrix-image";
711
+ matrixDomain: string;
712
+ matrixAssetId: string;
713
+ matrixIdentifier?: string | undefined;
714
+ formattingOptions?: {
715
+ alignment: "left" | "center" | "right" | "justify";
716
+ } | undefined;
717
+ } | {
718
+ type: "component";
719
+ componentId: string;
720
+ componentSet: string;
721
+ contentItem?: {
722
+ id: string;
723
+ } | {
724
+ content: Record<string, unknown>;
725
+ schemaName: string;
726
+ } | undefined;
727
+ }>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
728
+ type: "variation";
729
+ default: {};
730
+ }>]>, "many">, (LayoutVariationNode | ({
731
+ value: string;
732
+ type: "text";
733
+ } | {
734
+ type: "matrix-image";
735
+ matrixDomain: string;
736
+ matrixAssetId: string;
737
+ matrixIdentifier?: string | undefined;
738
+ formattingOptions?: {
739
+ alignment: "left" | "center" | "right" | "justify";
740
+ } | undefined;
741
+ } | {
742
+ type: "component";
743
+ componentId: string;
744
+ componentSet: string;
745
+ contentItem?: {
746
+ id: string;
747
+ } | {
748
+ content: Record<string, unknown>;
749
+ schemaName: string;
750
+ } | undefined;
751
+ } | (({
752
+ type: "tag";
753
+ tag: string;
754
+ attributes?: Record<string, string> | undefined;
755
+ font?: {
756
+ bold?: boolean | undefined;
757
+ italics?: boolean | undefined;
758
+ underline?: boolean | undefined;
759
+ color?: string | undefined;
760
+ size?: string | undefined;
761
+ fontFamily?: string | undefined;
762
+ } | undefined;
763
+ formattingOptions?: {
764
+ alignment: "left" | "center" | "right" | "justify";
765
+ } | undefined;
766
+ } | {
767
+ type: "link-to-matrix-asset";
768
+ matrixDomain: string;
769
+ matrixAssetId: string;
770
+ target: "_blank" | "_self" | "_parent" | "_top";
771
+ matrixIdentifier?: string | undefined;
772
+ formattingOptions?: {
773
+ alignment: "left" | "center" | "right" | "justify";
774
+ } | undefined;
775
+ }) & {
776
+ children: (LayoutVariationNode | ({
777
+ value: string;
778
+ type: "text";
779
+ } | {
780
+ type: "matrix-image";
781
+ matrixDomain: string;
782
+ matrixAssetId: string;
783
+ matrixIdentifier?: string | undefined;
784
+ formattingOptions?: {
785
+ alignment: "left" | "center" | "right" | "justify";
786
+ } | undefined;
787
+ } | {
788
+ type: "component";
789
+ componentId: string;
790
+ componentSet: string;
791
+ contentItem?: {
792
+ id: string;
793
+ } | {
794
+ content: Record<string, unknown>;
795
+ schemaName: string;
796
+ } | undefined;
797
+ } | (({
798
+ type: "tag";
799
+ tag: string;
800
+ attributes?: Record<string, string> | undefined;
801
+ font?: {
802
+ bold?: boolean | undefined;
803
+ italics?: boolean | undefined;
804
+ underline?: boolean | undefined;
805
+ color?: string | undefined;
806
+ size?: string | undefined;
807
+ fontFamily?: string | undefined;
808
+ } | undefined;
809
+ formattingOptions?: {
810
+ alignment: "left" | "center" | "right" | "justify";
811
+ } | undefined;
812
+ } | {
813
+ type: "link-to-matrix-asset";
814
+ matrixDomain: string;
815
+ matrixAssetId: string;
816
+ target: "_blank" | "_self" | "_parent" | "_top";
817
+ matrixIdentifier?: string | undefined;
818
+ formattingOptions?: {
819
+ alignment: "left" | "center" | "right" | "justify";
820
+ } | undefined;
821
+ }) & any)))[];
822
+ })))[], ({
823
+ value: string;
824
+ type: "text";
825
+ } | {
826
+ type: "tag";
827
+ tag: string;
828
+ attributes?: Record<string, string> | undefined;
829
+ font?: {
830
+ bold?: boolean | undefined;
831
+ italics?: boolean | undefined;
832
+ underline?: boolean | undefined;
833
+ color?: string | undefined;
834
+ size?: string | undefined;
835
+ fontFamily?: string | undefined;
836
+ } | undefined;
837
+ formattingOptions?: {
838
+ alignment: "left" | "center" | "right" | "justify";
839
+ } | undefined;
840
+ } | {
841
+ type: "link-to-matrix-asset";
842
+ matrixDomain: string;
843
+ matrixAssetId: string;
844
+ target: "_blank" | "_self" | "_parent" | "_top";
845
+ matrixIdentifier?: string | undefined;
846
+ formattingOptions?: {
847
+ alignment: "left" | "center" | "right" | "justify";
848
+ } | undefined;
849
+ } | {
850
+ type: "matrix-image";
851
+ matrixDomain: string;
852
+ matrixAssetId: string;
853
+ matrixIdentifier?: string | undefined;
854
+ formattingOptions?: {
855
+ alignment: "left" | "center" | "right" | "justify";
856
+ } | undefined;
857
+ } | {
858
+ type: "component";
859
+ componentId: string;
860
+ componentSet: string;
861
+ contentItem?: {
862
+ id: string;
863
+ } | {
864
+ content: Record<string, unknown>;
865
+ schemaName: string;
866
+ } | undefined;
867
+ } | {
868
+ type: "variation";
869
+ default: {};
870
+ })[]>;
871
+ right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
872
+ value: string;
873
+ type: "text";
874
+ } | {
875
+ type: "matrix-image";
876
+ matrixDomain: string;
877
+ matrixAssetId: string;
878
+ matrixIdentifier?: string | undefined;
879
+ formattingOptions?: {
880
+ alignment: "left" | "center" | "right" | "justify";
881
+ } | undefined;
882
+ } | {
883
+ type: "component";
884
+ componentId: string;
885
+ componentSet: string;
886
+ contentItem?: {
887
+ id: string;
888
+ } | {
889
+ content: Record<string, unknown>;
890
+ schemaName: string;
891
+ } | undefined;
892
+ } | (({
893
+ type: "tag";
894
+ tag: string;
895
+ attributes?: Record<string, string> | undefined;
896
+ font?: {
897
+ bold?: boolean | undefined;
898
+ italics?: boolean | undefined;
899
+ underline?: boolean | undefined;
900
+ color?: string | undefined;
901
+ size?: string | undefined;
902
+ fontFamily?: string | undefined;
903
+ } | undefined;
904
+ formattingOptions?: {
905
+ alignment: "left" | "center" | "right" | "justify";
906
+ } | undefined;
907
+ } | {
908
+ type: "link-to-matrix-asset";
909
+ matrixDomain: string;
910
+ matrixAssetId: string;
911
+ target: "_blank" | "_self" | "_parent" | "_top";
912
+ matrixIdentifier?: string | undefined;
913
+ formattingOptions?: {
914
+ alignment: "left" | "center" | "right" | "justify";
915
+ } | undefined;
916
+ }) & {
917
+ children: (LayoutVariationNode | ({
918
+ value: string;
919
+ type: "text";
920
+ } | {
921
+ type: "matrix-image";
922
+ matrixDomain: string;
923
+ matrixAssetId: string;
924
+ matrixIdentifier?: string | undefined;
925
+ formattingOptions?: {
926
+ alignment: "left" | "center" | "right" | "justify";
927
+ } | undefined;
928
+ } | {
929
+ type: "component";
930
+ componentId: string;
931
+ componentSet: string;
932
+ contentItem?: {
933
+ id: string;
934
+ } | {
935
+ content: Record<string, unknown>;
936
+ schemaName: string;
937
+ } | undefined;
938
+ } | (({
939
+ type: "tag";
940
+ tag: string;
941
+ attributes?: Record<string, string> | undefined;
942
+ font?: {
943
+ bold?: boolean | undefined;
944
+ italics?: boolean | undefined;
945
+ underline?: boolean | undefined;
946
+ color?: string | undefined;
947
+ size?: string | undefined;
948
+ fontFamily?: string | undefined;
949
+ } | undefined;
950
+ formattingOptions?: {
951
+ alignment: "left" | "center" | "right" | "justify";
952
+ } | undefined;
953
+ } | {
954
+ type: "link-to-matrix-asset";
955
+ matrixDomain: string;
956
+ matrixAssetId: string;
957
+ target: "_blank" | "_self" | "_parent" | "_top";
958
+ matrixIdentifier?: string | undefined;
959
+ formattingOptions?: {
960
+ alignment: "left" | "center" | "right" | "justify";
961
+ } | undefined;
962
+ }) & any)))[];
963
+ }), z.ZodTypeDef, {
964
+ value: string;
965
+ type: "text";
966
+ } | {
967
+ type: "tag";
968
+ tag: string;
969
+ attributes?: Record<string, string> | undefined;
970
+ font?: {
971
+ bold?: boolean | undefined;
972
+ italics?: boolean | undefined;
973
+ underline?: boolean | undefined;
974
+ color?: string | undefined;
975
+ size?: string | undefined;
976
+ fontFamily?: string | undefined;
977
+ } | undefined;
978
+ formattingOptions?: {
979
+ alignment: "left" | "center" | "right" | "justify";
980
+ } | undefined;
981
+ } | {
982
+ type: "link-to-matrix-asset";
983
+ matrixDomain: string;
984
+ matrixAssetId: string;
985
+ target: "_blank" | "_self" | "_parent" | "_top";
986
+ matrixIdentifier?: string | undefined;
987
+ formattingOptions?: {
988
+ alignment: "left" | "center" | "right" | "justify";
989
+ } | undefined;
990
+ } | {
991
+ type: "matrix-image";
992
+ matrixDomain: string;
993
+ matrixAssetId: string;
994
+ matrixIdentifier?: string | undefined;
995
+ formattingOptions?: {
996
+ alignment: "left" | "center" | "right" | "justify";
997
+ } | undefined;
998
+ } | {
999
+ type: "component";
1000
+ componentId: string;
1001
+ componentSet: string;
1002
+ contentItem?: {
1003
+ id: string;
1004
+ } | {
1005
+ content: Record<string, unknown>;
1006
+ schemaName: string;
1007
+ } | undefined;
1008
+ }>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
1009
+ type: "variation";
1010
+ default: {};
1011
+ }>]>, "many">, (LayoutVariationNode | ({
1012
+ value: string;
1013
+ type: "text";
1014
+ } | {
1015
+ type: "matrix-image";
1016
+ matrixDomain: string;
1017
+ matrixAssetId: string;
1018
+ matrixIdentifier?: string | undefined;
1019
+ formattingOptions?: {
1020
+ alignment: "left" | "center" | "right" | "justify";
1021
+ } | undefined;
1022
+ } | {
1023
+ type: "component";
1024
+ componentId: string;
1025
+ componentSet: string;
1026
+ contentItem?: {
1027
+ id: string;
1028
+ } | {
1029
+ content: Record<string, unknown>;
1030
+ schemaName: string;
1031
+ } | undefined;
1032
+ } | (({
1033
+ type: "tag";
1034
+ tag: string;
1035
+ attributes?: Record<string, string> | undefined;
1036
+ font?: {
1037
+ bold?: boolean | undefined;
1038
+ italics?: boolean | undefined;
1039
+ underline?: boolean | undefined;
1040
+ color?: string | undefined;
1041
+ size?: string | undefined;
1042
+ fontFamily?: string | undefined;
1043
+ } | undefined;
1044
+ formattingOptions?: {
1045
+ alignment: "left" | "center" | "right" | "justify";
1046
+ } | undefined;
1047
+ } | {
1048
+ type: "link-to-matrix-asset";
1049
+ matrixDomain: string;
1050
+ matrixAssetId: string;
1051
+ target: "_blank" | "_self" | "_parent" | "_top";
1052
+ matrixIdentifier?: string | undefined;
1053
+ formattingOptions?: {
1054
+ alignment: "left" | "center" | "right" | "justify";
1055
+ } | undefined;
1056
+ }) & {
1057
+ children: (LayoutVariationNode | ({
1058
+ value: string;
1059
+ type: "text";
1060
+ } | {
1061
+ type: "matrix-image";
1062
+ matrixDomain: string;
1063
+ matrixAssetId: string;
1064
+ matrixIdentifier?: string | undefined;
1065
+ formattingOptions?: {
1066
+ alignment: "left" | "center" | "right" | "justify";
1067
+ } | undefined;
1068
+ } | {
1069
+ type: "component";
1070
+ componentId: string;
1071
+ componentSet: string;
1072
+ contentItem?: {
1073
+ id: string;
1074
+ } | {
1075
+ content: Record<string, unknown>;
1076
+ schemaName: string;
1077
+ } | undefined;
1078
+ } | (({
1079
+ type: "tag";
1080
+ tag: string;
1081
+ attributes?: Record<string, string> | undefined;
1082
+ font?: {
1083
+ bold?: boolean | undefined;
1084
+ italics?: boolean | undefined;
1085
+ underline?: boolean | undefined;
1086
+ color?: string | undefined;
1087
+ size?: string | undefined;
1088
+ fontFamily?: string | undefined;
1089
+ } | undefined;
1090
+ formattingOptions?: {
1091
+ alignment: "left" | "center" | "right" | "justify";
1092
+ } | undefined;
1093
+ } | {
1094
+ type: "link-to-matrix-asset";
1095
+ matrixDomain: string;
1096
+ matrixAssetId: string;
1097
+ target: "_blank" | "_self" | "_parent" | "_top";
1098
+ matrixIdentifier?: string | undefined;
1099
+ formattingOptions?: {
1100
+ alignment: "left" | "center" | "right" | "justify";
1101
+ } | undefined;
1102
+ }) & any)))[];
1103
+ })))[], ({
12
1104
  value: string;
13
1105
  type: "text";
14
1106
  } | {
@@ -56,14 +1148,30 @@ declare const PageContentsResolved: z.ZodObject<{
56
1148
  } | {
57
1149
  type: "variation";
58
1150
  default: {};
59
- }>, "many">;
1151
+ })[]>;
60
1152
  }, "strip", z.ZodTypeAny, {
61
- main: LayoutContentNodes[];
62
- }, {
63
- main: ({
1153
+ left: (LayoutVariationNode | ({
64
1154
  value: string;
65
1155
  type: "text";
66
1156
  } | {
1157
+ type: "matrix-image";
1158
+ matrixDomain: string;
1159
+ matrixAssetId: string;
1160
+ matrixIdentifier?: string | undefined;
1161
+ formattingOptions?: {
1162
+ alignment: "left" | "center" | "right" | "justify";
1163
+ } | undefined;
1164
+ } | {
1165
+ type: "component";
1166
+ componentId: string;
1167
+ componentSet: string;
1168
+ contentItem?: {
1169
+ id: string;
1170
+ } | {
1171
+ content: Record<string, unknown>;
1172
+ schemaName: string;
1173
+ } | undefined;
1174
+ } | (({
67
1175
  type: "tag";
68
1176
  tag: string;
69
1177
  attributes?: Record<string, string> | undefined;
@@ -87,6 +1195,57 @@ declare const PageContentsResolved: z.ZodObject<{
87
1195
  formattingOptions?: {
88
1196
  alignment: "left" | "center" | "right" | "justify";
89
1197
  } | undefined;
1198
+ }) & {
1199
+ children: (LayoutVariationNode | ({
1200
+ value: string;
1201
+ type: "text";
1202
+ } | {
1203
+ type: "matrix-image";
1204
+ matrixDomain: string;
1205
+ matrixAssetId: string;
1206
+ matrixIdentifier?: string | undefined;
1207
+ formattingOptions?: {
1208
+ alignment: "left" | "center" | "right" | "justify";
1209
+ } | undefined;
1210
+ } | {
1211
+ type: "component";
1212
+ componentId: string;
1213
+ componentSet: string;
1214
+ contentItem?: {
1215
+ id: string;
1216
+ } | {
1217
+ content: Record<string, unknown>;
1218
+ schemaName: string;
1219
+ } | undefined;
1220
+ } | (({
1221
+ type: "tag";
1222
+ tag: string;
1223
+ attributes?: Record<string, string> | undefined;
1224
+ font?: {
1225
+ bold?: boolean | undefined;
1226
+ italics?: boolean | undefined;
1227
+ underline?: boolean | undefined;
1228
+ color?: string | undefined;
1229
+ size?: string | undefined;
1230
+ fontFamily?: string | undefined;
1231
+ } | undefined;
1232
+ formattingOptions?: {
1233
+ alignment: "left" | "center" | "right" | "justify";
1234
+ } | undefined;
1235
+ } | {
1236
+ type: "link-to-matrix-asset";
1237
+ matrixDomain: string;
1238
+ matrixAssetId: string;
1239
+ target: "_blank" | "_self" | "_parent" | "_top";
1240
+ matrixIdentifier?: string | undefined;
1241
+ formattingOptions?: {
1242
+ alignment: "left" | "center" | "right" | "justify";
1243
+ } | undefined;
1244
+ }) & any)))[];
1245
+ })))[];
1246
+ right: (LayoutVariationNode | ({
1247
+ value: string;
1248
+ type: "text";
90
1249
  } | {
91
1250
  type: "matrix-image";
92
1251
  matrixDomain: string;
@@ -105,19 +1264,80 @@ declare const PageContentsResolved: z.ZodObject<{
105
1264
  content: Record<string, unknown>;
106
1265
  schemaName: string;
107
1266
  } | undefined;
1267
+ } | (({
1268
+ type: "tag";
1269
+ tag: string;
1270
+ attributes?: Record<string, string> | undefined;
1271
+ font?: {
1272
+ bold?: boolean | undefined;
1273
+ italics?: boolean | undefined;
1274
+ underline?: boolean | undefined;
1275
+ color?: string | undefined;
1276
+ size?: string | undefined;
1277
+ fontFamily?: string | undefined;
1278
+ } | undefined;
1279
+ formattingOptions?: {
1280
+ alignment: "left" | "center" | "right" | "justify";
1281
+ } | undefined;
108
1282
  } | {
109
- type: "variation";
110
- default: {};
111
- })[];
112
- }>;
113
- }, "strip", z.ZodTypeAny, {
114
- content: {
115
- main: LayoutContentNodes[];
116
- };
117
- name: "single-column";
118
- }, {
119
- content: {
120
- main: ({
1283
+ type: "link-to-matrix-asset";
1284
+ matrixDomain: string;
1285
+ matrixAssetId: string;
1286
+ target: "_blank" | "_self" | "_parent" | "_top";
1287
+ matrixIdentifier?: string | undefined;
1288
+ formattingOptions?: {
1289
+ alignment: "left" | "center" | "right" | "justify";
1290
+ } | undefined;
1291
+ }) & {
1292
+ children: (LayoutVariationNode | ({
1293
+ value: string;
1294
+ type: "text";
1295
+ } | {
1296
+ type: "matrix-image";
1297
+ matrixDomain: string;
1298
+ matrixAssetId: string;
1299
+ matrixIdentifier?: string | undefined;
1300
+ formattingOptions?: {
1301
+ alignment: "left" | "center" | "right" | "justify";
1302
+ } | undefined;
1303
+ } | {
1304
+ type: "component";
1305
+ componentId: string;
1306
+ componentSet: string;
1307
+ contentItem?: {
1308
+ id: string;
1309
+ } | {
1310
+ content: Record<string, unknown>;
1311
+ schemaName: string;
1312
+ } | undefined;
1313
+ } | (({
1314
+ type: "tag";
1315
+ tag: string;
1316
+ attributes?: Record<string, string> | undefined;
1317
+ font?: {
1318
+ bold?: boolean | undefined;
1319
+ italics?: boolean | undefined;
1320
+ underline?: boolean | undefined;
1321
+ color?: string | undefined;
1322
+ size?: string | undefined;
1323
+ fontFamily?: string | undefined;
1324
+ } | undefined;
1325
+ formattingOptions?: {
1326
+ alignment: "left" | "center" | "right" | "justify";
1327
+ } | undefined;
1328
+ } | {
1329
+ type: "link-to-matrix-asset";
1330
+ matrixDomain: string;
1331
+ matrixAssetId: string;
1332
+ target: "_blank" | "_self" | "_parent" | "_top";
1333
+ matrixIdentifier?: string | undefined;
1334
+ formattingOptions?: {
1335
+ alignment: "left" | "center" | "right" | "justify";
1336
+ } | undefined;
1337
+ }) & any)))[];
1338
+ })))[];
1339
+ }, {
1340
+ left: ({
121
1341
  value: string;
122
1342
  type: "text";
123
1343
  } | {
@@ -166,12 +1386,7 @@ declare const PageContentsResolved: z.ZodObject<{
166
1386
  type: "variation";
167
1387
  default: {};
168
1388
  })[];
169
- };
170
- name: "single-column";
171
- }>, z.ZodObject<{
172
- name: z.ZodLiteral<"two-column">;
173
- content: z.ZodObject<{
174
- left: z.ZodArray<z.ZodType<LayoutContentNodes, z.ZodTypeDef, {
1389
+ right: ({
175
1390
  value: string;
176
1391
  type: "text";
177
1392
  } | {
@@ -219,11 +1434,32 @@ declare const PageContentsResolved: z.ZodObject<{
219
1434
  } | {
220
1435
  type: "variation";
221
1436
  default: {};
222
- }>, "many">;
223
- right: z.ZodArray<z.ZodType<LayoutContentNodes, z.ZodTypeDef, {
1437
+ })[];
1438
+ }>;
1439
+ }, "strip", z.ZodTypeAny, {
1440
+ content: {
1441
+ left: (LayoutVariationNode | ({
224
1442
  value: string;
225
1443
  type: "text";
226
1444
  } | {
1445
+ type: "matrix-image";
1446
+ matrixDomain: string;
1447
+ matrixAssetId: string;
1448
+ matrixIdentifier?: string | undefined;
1449
+ formattingOptions?: {
1450
+ alignment: "left" | "center" | "right" | "justify";
1451
+ } | undefined;
1452
+ } | {
1453
+ type: "component";
1454
+ componentId: string;
1455
+ componentSet: string;
1456
+ contentItem?: {
1457
+ id: string;
1458
+ } | {
1459
+ content: Record<string, unknown>;
1460
+ schemaName: string;
1461
+ } | undefined;
1462
+ } | (({
227
1463
  type: "tag";
228
1464
  tag: string;
229
1465
  attributes?: Record<string, string> | undefined;
@@ -247,6 +1483,57 @@ declare const PageContentsResolved: z.ZodObject<{
247
1483
  formattingOptions?: {
248
1484
  alignment: "left" | "center" | "right" | "justify";
249
1485
  } | undefined;
1486
+ }) & {
1487
+ children: (LayoutVariationNode | ({
1488
+ value: string;
1489
+ type: "text";
1490
+ } | {
1491
+ type: "matrix-image";
1492
+ matrixDomain: string;
1493
+ matrixAssetId: string;
1494
+ matrixIdentifier?: string | undefined;
1495
+ formattingOptions?: {
1496
+ alignment: "left" | "center" | "right" | "justify";
1497
+ } | undefined;
1498
+ } | {
1499
+ type: "component";
1500
+ componentId: string;
1501
+ componentSet: string;
1502
+ contentItem?: {
1503
+ id: string;
1504
+ } | {
1505
+ content: Record<string, unknown>;
1506
+ schemaName: string;
1507
+ } | undefined;
1508
+ } | (({
1509
+ type: "tag";
1510
+ tag: string;
1511
+ attributes?: Record<string, string> | undefined;
1512
+ font?: {
1513
+ bold?: boolean | undefined;
1514
+ italics?: boolean | undefined;
1515
+ underline?: boolean | undefined;
1516
+ color?: string | undefined;
1517
+ size?: string | undefined;
1518
+ fontFamily?: string | undefined;
1519
+ } | undefined;
1520
+ formattingOptions?: {
1521
+ alignment: "left" | "center" | "right" | "justify";
1522
+ } | undefined;
1523
+ } | {
1524
+ type: "link-to-matrix-asset";
1525
+ matrixDomain: string;
1526
+ matrixAssetId: string;
1527
+ target: "_blank" | "_self" | "_parent" | "_top";
1528
+ matrixIdentifier?: string | undefined;
1529
+ formattingOptions?: {
1530
+ alignment: "left" | "center" | "right" | "justify";
1531
+ } | undefined;
1532
+ }) & any)))[];
1533
+ })))[];
1534
+ right: (LayoutVariationNode | ({
1535
+ value: string;
1536
+ type: "text";
250
1537
  } | {
251
1538
  type: "matrix-image";
252
1539
  matrixDomain: string;
@@ -265,14 +1552,82 @@ declare const PageContentsResolved: z.ZodObject<{
265
1552
  content: Record<string, unknown>;
266
1553
  schemaName: string;
267
1554
  } | undefined;
1555
+ } | (({
1556
+ type: "tag";
1557
+ tag: string;
1558
+ attributes?: Record<string, string> | undefined;
1559
+ font?: {
1560
+ bold?: boolean | undefined;
1561
+ italics?: boolean | undefined;
1562
+ underline?: boolean | undefined;
1563
+ color?: string | undefined;
1564
+ size?: string | undefined;
1565
+ fontFamily?: string | undefined;
1566
+ } | undefined;
1567
+ formattingOptions?: {
1568
+ alignment: "left" | "center" | "right" | "justify";
1569
+ } | undefined;
268
1570
  } | {
269
- type: "variation";
270
- default: {};
271
- }>, "many">;
272
- }, "strip", z.ZodTypeAny, {
273
- left: LayoutContentNodes[];
274
- right: LayoutContentNodes[];
275
- }, {
1571
+ type: "link-to-matrix-asset";
1572
+ matrixDomain: string;
1573
+ matrixAssetId: string;
1574
+ target: "_blank" | "_self" | "_parent" | "_top";
1575
+ matrixIdentifier?: string | undefined;
1576
+ formattingOptions?: {
1577
+ alignment: "left" | "center" | "right" | "justify";
1578
+ } | undefined;
1579
+ }) & {
1580
+ children: (LayoutVariationNode | ({
1581
+ value: string;
1582
+ type: "text";
1583
+ } | {
1584
+ type: "matrix-image";
1585
+ matrixDomain: string;
1586
+ matrixAssetId: string;
1587
+ matrixIdentifier?: string | undefined;
1588
+ formattingOptions?: {
1589
+ alignment: "left" | "center" | "right" | "justify";
1590
+ } | undefined;
1591
+ } | {
1592
+ type: "component";
1593
+ componentId: string;
1594
+ componentSet: string;
1595
+ contentItem?: {
1596
+ id: string;
1597
+ } | {
1598
+ content: Record<string, unknown>;
1599
+ schemaName: string;
1600
+ } | undefined;
1601
+ } | (({
1602
+ type: "tag";
1603
+ tag: string;
1604
+ attributes?: Record<string, string> | undefined;
1605
+ font?: {
1606
+ bold?: boolean | undefined;
1607
+ italics?: boolean | undefined;
1608
+ underline?: boolean | undefined;
1609
+ color?: string | undefined;
1610
+ size?: string | undefined;
1611
+ fontFamily?: string | undefined;
1612
+ } | undefined;
1613
+ formattingOptions?: {
1614
+ alignment: "left" | "center" | "right" | "justify";
1615
+ } | undefined;
1616
+ } | {
1617
+ type: "link-to-matrix-asset";
1618
+ matrixDomain: string;
1619
+ matrixAssetId: string;
1620
+ target: "_blank" | "_self" | "_parent" | "_top";
1621
+ matrixIdentifier?: string | undefined;
1622
+ formattingOptions?: {
1623
+ alignment: "left" | "center" | "right" | "justify";
1624
+ } | undefined;
1625
+ }) & any)))[];
1626
+ })))[];
1627
+ };
1628
+ name: "two-column";
1629
+ }, {
1630
+ content: {
276
1631
  left: ({
277
1632
  value: string;
278
1633
  type: "text";
@@ -371,19 +1726,36 @@ declare const PageContentsResolved: z.ZodObject<{
371
1726
  type: "variation";
372
1727
  default: {};
373
1728
  })[];
374
- }>;
375
- }, "strip", z.ZodTypeAny, {
376
- content: {
377
- left: LayoutContentNodes[];
378
- right: LayoutContentNodes[];
379
1729
  };
380
1730
  name: "two-column";
381
- }, {
1731
+ }>]>, "many">;
1732
+ }, "strip", z.ZodTypeAny, {
1733
+ id: string;
1734
+ name: string;
1735
+ layouts: ({
382
1736
  content: {
383
- left: ({
1737
+ main: (LayoutVariationNode | ({
384
1738
  value: string;
385
1739
  type: "text";
386
1740
  } | {
1741
+ type: "matrix-image";
1742
+ matrixDomain: string;
1743
+ matrixAssetId: string;
1744
+ matrixIdentifier?: string | undefined;
1745
+ formattingOptions?: {
1746
+ alignment: "left" | "center" | "right" | "justify";
1747
+ } | undefined;
1748
+ } | {
1749
+ type: "component";
1750
+ componentId: string;
1751
+ componentSet: string;
1752
+ contentItem?: {
1753
+ id: string;
1754
+ } | {
1755
+ content: Record<string, unknown>;
1756
+ schemaName: string;
1757
+ } | undefined;
1758
+ } | (({
387
1759
  type: "tag";
388
1760
  tag: string;
389
1761
  attributes?: Record<string, string> | undefined;
@@ -407,6 +1779,61 @@ declare const PageContentsResolved: z.ZodObject<{
407
1779
  formattingOptions?: {
408
1780
  alignment: "left" | "center" | "right" | "justify";
409
1781
  } | undefined;
1782
+ }) & {
1783
+ children: (LayoutVariationNode | ({
1784
+ value: string;
1785
+ type: "text";
1786
+ } | {
1787
+ type: "matrix-image";
1788
+ matrixDomain: string;
1789
+ matrixAssetId: string;
1790
+ matrixIdentifier?: string | undefined;
1791
+ formattingOptions?: {
1792
+ alignment: "left" | "center" | "right" | "justify";
1793
+ } | undefined;
1794
+ } | {
1795
+ type: "component";
1796
+ componentId: string;
1797
+ componentSet: string;
1798
+ contentItem?: {
1799
+ id: string;
1800
+ } | {
1801
+ content: Record<string, unknown>;
1802
+ schemaName: string;
1803
+ } | undefined;
1804
+ } | (({
1805
+ type: "tag";
1806
+ tag: string;
1807
+ attributes?: Record<string, string> | undefined;
1808
+ font?: {
1809
+ bold?: boolean | undefined;
1810
+ italics?: boolean | undefined;
1811
+ underline?: boolean | undefined;
1812
+ color?: string | undefined;
1813
+ size?: string | undefined;
1814
+ fontFamily?: string | undefined;
1815
+ } | undefined;
1816
+ formattingOptions?: {
1817
+ alignment: "left" | "center" | "right" | "justify";
1818
+ } | undefined;
1819
+ } | {
1820
+ type: "link-to-matrix-asset";
1821
+ matrixDomain: string;
1822
+ matrixAssetId: string;
1823
+ target: "_blank" | "_self" | "_parent" | "_top";
1824
+ matrixIdentifier?: string | undefined;
1825
+ formattingOptions?: {
1826
+ alignment: "left" | "center" | "right" | "justify";
1827
+ } | undefined;
1828
+ }) & any)))[];
1829
+ })))[];
1830
+ };
1831
+ name: "single-column";
1832
+ } | {
1833
+ content: {
1834
+ left: (LayoutVariationNode | ({
1835
+ value: string;
1836
+ type: "text";
410
1837
  } | {
411
1838
  type: "matrix-image";
412
1839
  matrixDomain: string;
@@ -425,14 +1852,7 @@ declare const PageContentsResolved: z.ZodObject<{
425
1852
  content: Record<string, unknown>;
426
1853
  schemaName: string;
427
1854
  } | undefined;
428
- } | {
429
- type: "variation";
430
- default: {};
431
- })[];
432
- right: ({
433
- value: string;
434
- type: "text";
435
- } | {
1855
+ } | (({
436
1856
  type: "tag";
437
1857
  tag: string;
438
1858
  attributes?: Record<string, string> | undefined;
@@ -456,6 +1876,57 @@ declare const PageContentsResolved: z.ZodObject<{
456
1876
  formattingOptions?: {
457
1877
  alignment: "left" | "center" | "right" | "justify";
458
1878
  } | undefined;
1879
+ }) & {
1880
+ children: (LayoutVariationNode | ({
1881
+ value: string;
1882
+ type: "text";
1883
+ } | {
1884
+ type: "matrix-image";
1885
+ matrixDomain: string;
1886
+ matrixAssetId: string;
1887
+ matrixIdentifier?: string | undefined;
1888
+ formattingOptions?: {
1889
+ alignment: "left" | "center" | "right" | "justify";
1890
+ } | undefined;
1891
+ } | {
1892
+ type: "component";
1893
+ componentId: string;
1894
+ componentSet: string;
1895
+ contentItem?: {
1896
+ id: string;
1897
+ } | {
1898
+ content: Record<string, unknown>;
1899
+ schemaName: string;
1900
+ } | undefined;
1901
+ } | (({
1902
+ type: "tag";
1903
+ tag: string;
1904
+ attributes?: Record<string, string> | undefined;
1905
+ font?: {
1906
+ bold?: boolean | undefined;
1907
+ italics?: boolean | undefined;
1908
+ underline?: boolean | undefined;
1909
+ color?: string | undefined;
1910
+ size?: string | undefined;
1911
+ fontFamily?: string | undefined;
1912
+ } | undefined;
1913
+ formattingOptions?: {
1914
+ alignment: "left" | "center" | "right" | "justify";
1915
+ } | undefined;
1916
+ } | {
1917
+ type: "link-to-matrix-asset";
1918
+ matrixDomain: string;
1919
+ matrixAssetId: string;
1920
+ target: "_blank" | "_self" | "_parent" | "_top";
1921
+ matrixIdentifier?: string | undefined;
1922
+ formattingOptions?: {
1923
+ alignment: "left" | "center" | "right" | "justify";
1924
+ } | undefined;
1925
+ }) & any)))[];
1926
+ })))[];
1927
+ right: (LayoutVariationNode | ({
1928
+ value: string;
1929
+ type: "text";
459
1930
  } | {
460
1931
  type: "matrix-image";
461
1932
  matrixDomain: string;
@@ -474,25 +1945,78 @@ declare const PageContentsResolved: z.ZodObject<{
474
1945
  content: Record<string, unknown>;
475
1946
  schemaName: string;
476
1947
  } | undefined;
1948
+ } | (({
1949
+ type: "tag";
1950
+ tag: string;
1951
+ attributes?: Record<string, string> | undefined;
1952
+ font?: {
1953
+ bold?: boolean | undefined;
1954
+ italics?: boolean | undefined;
1955
+ underline?: boolean | undefined;
1956
+ color?: string | undefined;
1957
+ size?: string | undefined;
1958
+ fontFamily?: string | undefined;
1959
+ } | undefined;
1960
+ formattingOptions?: {
1961
+ alignment: "left" | "center" | "right" | "justify";
1962
+ } | undefined;
477
1963
  } | {
478
- type: "variation";
479
- default: {};
480
- })[];
481
- };
482
- name: "two-column";
483
- }>]>, "many">;
484
- }, "strip", z.ZodTypeAny, {
485
- id: string;
486
- name: string;
487
- layouts: ({
488
- content: {
489
- main: LayoutContentNodes[];
490
- };
491
- name: "single-column";
492
- } | {
493
- content: {
494
- left: LayoutContentNodes[];
495
- right: LayoutContentNodes[];
1964
+ type: "link-to-matrix-asset";
1965
+ matrixDomain: string;
1966
+ matrixAssetId: string;
1967
+ target: "_blank" | "_self" | "_parent" | "_top";
1968
+ matrixIdentifier?: string | undefined;
1969
+ formattingOptions?: {
1970
+ alignment: "left" | "center" | "right" | "justify";
1971
+ } | undefined;
1972
+ }) & {
1973
+ children: (LayoutVariationNode | ({
1974
+ value: string;
1975
+ type: "text";
1976
+ } | {
1977
+ type: "matrix-image";
1978
+ matrixDomain: string;
1979
+ matrixAssetId: string;
1980
+ matrixIdentifier?: string | undefined;
1981
+ formattingOptions?: {
1982
+ alignment: "left" | "center" | "right" | "justify";
1983
+ } | undefined;
1984
+ } | {
1985
+ type: "component";
1986
+ componentId: string;
1987
+ componentSet: string;
1988
+ contentItem?: {
1989
+ id: string;
1990
+ } | {
1991
+ content: Record<string, unknown>;
1992
+ schemaName: string;
1993
+ } | undefined;
1994
+ } | (({
1995
+ type: "tag";
1996
+ tag: string;
1997
+ attributes?: Record<string, string> | undefined;
1998
+ font?: {
1999
+ bold?: boolean | undefined;
2000
+ italics?: boolean | undefined;
2001
+ underline?: boolean | undefined;
2002
+ color?: string | undefined;
2003
+ size?: string | undefined;
2004
+ fontFamily?: string | undefined;
2005
+ } | undefined;
2006
+ formattingOptions?: {
2007
+ alignment: "left" | "center" | "right" | "justify";
2008
+ } | undefined;
2009
+ } | {
2010
+ type: "link-to-matrix-asset";
2011
+ matrixDomain: string;
2012
+ matrixAssetId: string;
2013
+ target: "_blank" | "_self" | "_parent" | "_top";
2014
+ matrixIdentifier?: string | undefined;
2015
+ formattingOptions?: {
2016
+ alignment: "left" | "center" | "right" | "justify";
2017
+ } | undefined;
2018
+ }) & any)))[];
2019
+ })))[];
496
2020
  };
497
2021
  name: "two-column";
498
2022
  })[];