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

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.
@@ -2,818 +2,7 @@ import { z } from 'zod';
2
2
  export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
3
3
  name: z.ZodLiteral<"single-column">;
4
4
  content: z.ZodObject<{
5
- main: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
6
- value: string;
7
- type: "text";
8
- } | {
9
- type: "matrix-image";
10
- matrixDomain: string;
11
- matrixAssetId: string;
12
- matrixIdentifier?: string | undefined;
13
- formattingOptions?: {
14
- alignment: "left" | "center" | "right" | "justify";
15
- } | undefined;
16
- } | {
17
- type: "component";
18
- componentId: string;
19
- componentSet: string;
20
- contentItem?: {
21
- id: string;
22
- } | {
23
- content: Record<string, unknown>;
24
- schemaName: string;
25
- } | undefined;
26
- } | (({
27
- type: "tag";
28
- tag: string;
29
- attributes?: Record<string, string> | undefined;
30
- font?: {
31
- bold?: boolean | undefined;
32
- italics?: boolean | undefined;
33
- underline?: boolean | undefined;
34
- color?: string | undefined;
35
- size?: string | undefined;
36
- fontFamily?: string | undefined;
37
- } | undefined;
38
- formattingOptions?: {
39
- alignment: "left" | "center" | "right" | "justify";
40
- } | undefined;
41
- } | {
42
- type: "link-to-matrix-asset";
43
- matrixDomain: string;
44
- matrixAssetId: string;
45
- target: "_blank" | "_self" | "_parent" | "_top";
46
- matrixIdentifier?: string | undefined;
47
- formattingOptions?: {
48
- alignment: "left" | "center" | "right" | "justify";
49
- } | undefined;
50
- }) & {
51
- children: (import("../layout-content").LayoutVariationNode | ({
52
- value: string;
53
- type: "text";
54
- } | {
55
- type: "matrix-image";
56
- matrixDomain: string;
57
- matrixAssetId: string;
58
- matrixIdentifier?: string | undefined;
59
- formattingOptions?: {
60
- alignment: "left" | "center" | "right" | "justify";
61
- } | undefined;
62
- } | {
63
- type: "component";
64
- componentId: string;
65
- componentSet: string;
66
- contentItem?: {
67
- id: string;
68
- } | {
69
- content: Record<string, unknown>;
70
- schemaName: string;
71
- } | undefined;
72
- } | (({
73
- type: "tag";
74
- tag: string;
75
- attributes?: Record<string, string> | undefined;
76
- font?: {
77
- bold?: boolean | undefined;
78
- italics?: boolean | undefined;
79
- underline?: boolean | undefined;
80
- color?: string | undefined;
81
- size?: string | undefined;
82
- fontFamily?: string | undefined;
83
- } | undefined;
84
- formattingOptions?: {
85
- alignment: "left" | "center" | "right" | "justify";
86
- } | undefined;
87
- } | {
88
- type: "link-to-matrix-asset";
89
- matrixDomain: string;
90
- matrixAssetId: string;
91
- target: "_blank" | "_self" | "_parent" | "_top";
92
- matrixIdentifier?: string | undefined;
93
- formattingOptions?: {
94
- alignment: "left" | "center" | "right" | "justify";
95
- } | undefined;
96
- }) & any)))[];
97
- }), z.ZodTypeDef, {
98
- value: string;
99
- type: "text";
100
- } | {
101
- type: "tag";
102
- tag: string;
103
- attributes?: Record<string, string> | undefined;
104
- font?: {
105
- bold?: boolean | undefined;
106
- italics?: boolean | undefined;
107
- underline?: boolean | undefined;
108
- color?: string | undefined;
109
- size?: string | undefined;
110
- fontFamily?: string | undefined;
111
- } | undefined;
112
- formattingOptions?: {
113
- alignment: "left" | "center" | "right" | "justify";
114
- } | undefined;
115
- } | {
116
- type: "link-to-matrix-asset";
117
- matrixDomain: string;
118
- matrixAssetId: string;
119
- target: "_blank" | "_self" | "_parent" | "_top";
120
- matrixIdentifier?: string | undefined;
121
- formattingOptions?: {
122
- alignment: "left" | "center" | "right" | "justify";
123
- } | undefined;
124
- } | {
125
- type: "matrix-image";
126
- matrixDomain: string;
127
- matrixAssetId: string;
128
- matrixIdentifier?: string | undefined;
129
- formattingOptions?: {
130
- alignment: "left" | "center" | "right" | "justify";
131
- } | undefined;
132
- } | {
133
- type: "component";
134
- componentId: string;
135
- componentSet: string;
136
- contentItem?: {
137
- id: string;
138
- } | {
139
- content: Record<string, unknown>;
140
- schemaName: string;
141
- } | undefined;
142
- }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
143
- type: "variation";
144
- default: {};
145
- }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
146
- value: string;
147
- type: "text";
148
- } | {
149
- type: "matrix-image";
150
- matrixDomain: string;
151
- matrixAssetId: string;
152
- matrixIdentifier?: string | undefined;
153
- formattingOptions?: {
154
- alignment: "left" | "center" | "right" | "justify";
155
- } | undefined;
156
- } | {
157
- type: "component";
158
- componentId: string;
159
- componentSet: string;
160
- contentItem?: {
161
- id: string;
162
- } | {
163
- content: Record<string, unknown>;
164
- schemaName: string;
165
- } | undefined;
166
- } | (({
167
- type: "tag";
168
- tag: string;
169
- attributes?: Record<string, string> | undefined;
170
- font?: {
171
- bold?: boolean | undefined;
172
- italics?: boolean | undefined;
173
- underline?: boolean | undefined;
174
- color?: string | undefined;
175
- size?: string | undefined;
176
- fontFamily?: string | undefined;
177
- } | undefined;
178
- formattingOptions?: {
179
- alignment: "left" | "center" | "right" | "justify";
180
- } | undefined;
181
- } | {
182
- type: "link-to-matrix-asset";
183
- matrixDomain: string;
184
- matrixAssetId: string;
185
- target: "_blank" | "_self" | "_parent" | "_top";
186
- matrixIdentifier?: string | undefined;
187
- formattingOptions?: {
188
- alignment: "left" | "center" | "right" | "justify";
189
- } | undefined;
190
- }) & {
191
- children: (import("../layout-content").LayoutVariationNode | ({
192
- value: string;
193
- type: "text";
194
- } | {
195
- type: "matrix-image";
196
- matrixDomain: string;
197
- matrixAssetId: string;
198
- matrixIdentifier?: string | undefined;
199
- formattingOptions?: {
200
- alignment: "left" | "center" | "right" | "justify";
201
- } | undefined;
202
- } | {
203
- type: "component";
204
- componentId: string;
205
- componentSet: string;
206
- contentItem?: {
207
- id: string;
208
- } | {
209
- content: Record<string, unknown>;
210
- schemaName: string;
211
- } | undefined;
212
- } | (({
213
- type: "tag";
214
- tag: string;
215
- attributes?: Record<string, string> | undefined;
216
- font?: {
217
- bold?: boolean | undefined;
218
- italics?: boolean | undefined;
219
- underline?: boolean | undefined;
220
- color?: string | undefined;
221
- size?: string | undefined;
222
- fontFamily?: string | undefined;
223
- } | undefined;
224
- formattingOptions?: {
225
- alignment: "left" | "center" | "right" | "justify";
226
- } | undefined;
227
- } | {
228
- type: "link-to-matrix-asset";
229
- matrixDomain: string;
230
- matrixAssetId: string;
231
- target: "_blank" | "_self" | "_parent" | "_top";
232
- matrixIdentifier?: string | undefined;
233
- formattingOptions?: {
234
- alignment: "left" | "center" | "right" | "justify";
235
- } | undefined;
236
- }) & any)))[];
237
- })))[], ({
238
- value: string;
239
- type: "text";
240
- } | {
241
- type: "tag";
242
- tag: string;
243
- attributes?: Record<string, string> | undefined;
244
- font?: {
245
- bold?: boolean | undefined;
246
- italics?: boolean | undefined;
247
- underline?: boolean | undefined;
248
- color?: string | undefined;
249
- size?: string | undefined;
250
- fontFamily?: string | undefined;
251
- } | undefined;
252
- formattingOptions?: {
253
- alignment: "left" | "center" | "right" | "justify";
254
- } | undefined;
255
- } | {
256
- type: "link-to-matrix-asset";
257
- matrixDomain: string;
258
- matrixAssetId: string;
259
- target: "_blank" | "_self" | "_parent" | "_top";
260
- matrixIdentifier?: string | undefined;
261
- formattingOptions?: {
262
- alignment: "left" | "center" | "right" | "justify";
263
- } | undefined;
264
- } | {
265
- type: "matrix-image";
266
- matrixDomain: string;
267
- matrixAssetId: string;
268
- matrixIdentifier?: string | undefined;
269
- formattingOptions?: {
270
- alignment: "left" | "center" | "right" | "justify";
271
- } | undefined;
272
- } | {
273
- type: "component";
274
- componentId: string;
275
- componentSet: string;
276
- contentItem?: {
277
- id: string;
278
- } | {
279
- content: Record<string, unknown>;
280
- schemaName: string;
281
- } | undefined;
282
- } | {
283
- type: "variation";
284
- default: {};
285
- })[]>;
286
- }, "strip", z.ZodTypeAny, {
287
- main: (import("../layout-content").LayoutVariationNode | ({
288
- value: string;
289
- type: "text";
290
- } | {
291
- type: "matrix-image";
292
- matrixDomain: string;
293
- matrixAssetId: string;
294
- matrixIdentifier?: string | undefined;
295
- formattingOptions?: {
296
- alignment: "left" | "center" | "right" | "justify";
297
- } | undefined;
298
- } | {
299
- type: "component";
300
- componentId: string;
301
- componentSet: string;
302
- contentItem?: {
303
- id: string;
304
- } | {
305
- content: Record<string, unknown>;
306
- schemaName: string;
307
- } | undefined;
308
- } | (({
309
- type: "tag";
310
- tag: string;
311
- attributes?: Record<string, string> | undefined;
312
- font?: {
313
- bold?: boolean | undefined;
314
- italics?: boolean | undefined;
315
- underline?: boolean | undefined;
316
- color?: string | undefined;
317
- size?: string | undefined;
318
- fontFamily?: string | undefined;
319
- } | undefined;
320
- formattingOptions?: {
321
- alignment: "left" | "center" | "right" | "justify";
322
- } | undefined;
323
- } | {
324
- type: "link-to-matrix-asset";
325
- matrixDomain: string;
326
- matrixAssetId: string;
327
- target: "_blank" | "_self" | "_parent" | "_top";
328
- matrixIdentifier?: string | undefined;
329
- formattingOptions?: {
330
- alignment: "left" | "center" | "right" | "justify";
331
- } | undefined;
332
- }) & {
333
- children: (import("../layout-content").LayoutVariationNode | ({
334
- value: string;
335
- type: "text";
336
- } | {
337
- type: "matrix-image";
338
- matrixDomain: string;
339
- matrixAssetId: string;
340
- matrixIdentifier?: string | undefined;
341
- formattingOptions?: {
342
- alignment: "left" | "center" | "right" | "justify";
343
- } | undefined;
344
- } | {
345
- type: "component";
346
- componentId: string;
347
- componentSet: string;
348
- contentItem?: {
349
- id: string;
350
- } | {
351
- content: Record<string, unknown>;
352
- schemaName: string;
353
- } | undefined;
354
- } | (({
355
- type: "tag";
356
- tag: string;
357
- attributes?: Record<string, string> | undefined;
358
- font?: {
359
- bold?: boolean | undefined;
360
- italics?: boolean | undefined;
361
- underline?: boolean | undefined;
362
- color?: string | undefined;
363
- size?: string | undefined;
364
- fontFamily?: string | undefined;
365
- } | undefined;
366
- formattingOptions?: {
367
- alignment: "left" | "center" | "right" | "justify";
368
- } | undefined;
369
- } | {
370
- type: "link-to-matrix-asset";
371
- matrixDomain: string;
372
- matrixAssetId: string;
373
- target: "_blank" | "_self" | "_parent" | "_top";
374
- matrixIdentifier?: string | undefined;
375
- formattingOptions?: {
376
- alignment: "left" | "center" | "right" | "justify";
377
- } | undefined;
378
- }) & any)))[];
379
- })))[];
380
- }, {
381
- main: ({
382
- value: string;
383
- type: "text";
384
- } | {
385
- type: "tag";
386
- tag: string;
387
- attributes?: Record<string, string> | undefined;
388
- font?: {
389
- bold?: boolean | undefined;
390
- italics?: boolean | undefined;
391
- underline?: boolean | undefined;
392
- color?: string | undefined;
393
- size?: string | undefined;
394
- fontFamily?: string | undefined;
395
- } | undefined;
396
- formattingOptions?: {
397
- alignment: "left" | "center" | "right" | "justify";
398
- } | undefined;
399
- } | {
400
- type: "link-to-matrix-asset";
401
- matrixDomain: string;
402
- matrixAssetId: string;
403
- target: "_blank" | "_self" | "_parent" | "_top";
404
- matrixIdentifier?: string | undefined;
405
- formattingOptions?: {
406
- alignment: "left" | "center" | "right" | "justify";
407
- } | undefined;
408
- } | {
409
- type: "matrix-image";
410
- matrixDomain: string;
411
- matrixAssetId: string;
412
- matrixIdentifier?: string | undefined;
413
- formattingOptions?: {
414
- alignment: "left" | "center" | "right" | "justify";
415
- } | undefined;
416
- } | {
417
- type: "component";
418
- componentId: string;
419
- componentSet: string;
420
- contentItem?: {
421
- id: string;
422
- } | {
423
- content: Record<string, unknown>;
424
- schemaName: string;
425
- } | undefined;
426
- } | {
427
- type: "variation";
428
- default: {};
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;
450
- } | {
451
- content: Record<string, unknown>;
452
- schemaName: string;
453
- } | undefined;
454
- } | (({
455
- type: "tag";
456
- tag: string;
457
- attributes?: Record<string, string> | undefined;
458
- font?: {
459
- bold?: boolean | undefined;
460
- italics?: boolean | undefined;
461
- underline?: boolean | undefined;
462
- color?: string | undefined;
463
- size?: string | undefined;
464
- fontFamily?: string | undefined;
465
- } | undefined;
466
- formattingOptions?: {
467
- alignment: "left" | "center" | "right" | "justify";
468
- } | undefined;
469
- } | {
470
- type: "link-to-matrix-asset";
471
- matrixDomain: string;
472
- matrixAssetId: string;
473
- target: "_blank" | "_self" | "_parent" | "_top";
474
- matrixIdentifier?: string | undefined;
475
- formattingOptions?: {
476
- alignment: "left" | "center" | "right" | "justify";
477
- } | undefined;
478
- }) & {
479
- children: (import("../layout-content").LayoutVariationNode | ({
480
- value: string;
481
- type: "text";
482
- } | {
483
- type: "matrix-image";
484
- matrixDomain: string;
485
- matrixAssetId: string;
486
- matrixIdentifier?: string | undefined;
487
- formattingOptions?: {
488
- alignment: "left" | "center" | "right" | "justify";
489
- } | undefined;
490
- } | {
491
- type: "component";
492
- componentId: string;
493
- componentSet: string;
494
- contentItem?: {
495
- id: string;
496
- } | {
497
- content: Record<string, unknown>;
498
- schemaName: string;
499
- } | undefined;
500
- } | (({
501
- type: "tag";
502
- tag: string;
503
- attributes?: Record<string, string> | undefined;
504
- font?: {
505
- bold?: boolean | undefined;
506
- italics?: boolean | undefined;
507
- underline?: boolean | undefined;
508
- color?: string | undefined;
509
- size?: string | undefined;
510
- fontFamily?: string | undefined;
511
- } | undefined;
512
- formattingOptions?: {
513
- alignment: "left" | "center" | "right" | "justify";
514
- } | undefined;
515
- } | {
516
- type: "link-to-matrix-asset";
517
- matrixDomain: string;
518
- matrixAssetId: string;
519
- target: "_blank" | "_self" | "_parent" | "_top";
520
- matrixIdentifier?: string | undefined;
521
- formattingOptions?: {
522
- alignment: "left" | "center" | "right" | "justify";
523
- } | undefined;
524
- }) & any)))[];
525
- })))[];
526
- };
527
- name: "single-column";
528
- }, {
529
- content: {
530
- main: ({
531
- value: string;
532
- type: "text";
533
- } | {
534
- type: "tag";
535
- tag: string;
536
- attributes?: Record<string, string> | undefined;
537
- font?: {
538
- bold?: boolean | undefined;
539
- italics?: boolean | undefined;
540
- underline?: boolean | undefined;
541
- color?: string | undefined;
542
- size?: string | undefined;
543
- fontFamily?: string | undefined;
544
- } | undefined;
545
- formattingOptions?: {
546
- alignment: "left" | "center" | "right" | "justify";
547
- } | undefined;
548
- } | {
549
- type: "link-to-matrix-asset";
550
- matrixDomain: string;
551
- matrixAssetId: string;
552
- target: "_blank" | "_self" | "_parent" | "_top";
553
- matrixIdentifier?: string | undefined;
554
- formattingOptions?: {
555
- alignment: "left" | "center" | "right" | "justify";
556
- } | undefined;
557
- } | {
558
- type: "matrix-image";
559
- matrixDomain: string;
560
- matrixAssetId: string;
561
- matrixIdentifier?: string | undefined;
562
- formattingOptions?: {
563
- alignment: "left" | "center" | "right" | "justify";
564
- } | undefined;
565
- } | {
566
- type: "component";
567
- componentId: string;
568
- componentSet: string;
569
- contentItem?: {
570
- id: string;
571
- } | {
572
- content: Record<string, unknown>;
573
- schemaName: string;
574
- } | undefined;
575
- } | {
576
- type: "variation";
577
- default: {};
578
- })[];
579
- };
580
- name: "single-column";
581
- }>, z.ZodObject<{
582
- name: z.ZodLiteral<"two-column">;
583
- content: z.ZodObject<{
584
- left: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
585
- value: string;
586
- type: "text";
587
- } | {
588
- type: "matrix-image";
589
- matrixDomain: string;
590
- matrixAssetId: string;
591
- matrixIdentifier?: string | undefined;
592
- formattingOptions?: {
593
- alignment: "left" | "center" | "right" | "justify";
594
- } | undefined;
595
- } | {
596
- type: "component";
597
- componentId: string;
598
- componentSet: string;
599
- contentItem?: {
600
- id: string;
601
- } | {
602
- content: Record<string, unknown>;
603
- schemaName: string;
604
- } | undefined;
605
- } | (({
606
- type: "tag";
607
- tag: string;
608
- attributes?: Record<string, string> | undefined;
609
- font?: {
610
- bold?: boolean | undefined;
611
- italics?: boolean | undefined;
612
- underline?: boolean | undefined;
613
- color?: string | undefined;
614
- size?: string | undefined;
615
- fontFamily?: string | undefined;
616
- } | undefined;
617
- formattingOptions?: {
618
- alignment: "left" | "center" | "right" | "justify";
619
- } | undefined;
620
- } | {
621
- type: "link-to-matrix-asset";
622
- matrixDomain: string;
623
- matrixAssetId: string;
624
- target: "_blank" | "_self" | "_parent" | "_top";
625
- matrixIdentifier?: string | undefined;
626
- formattingOptions?: {
627
- alignment: "left" | "center" | "right" | "justify";
628
- } | undefined;
629
- }) & {
630
- children: (import("../layout-content").LayoutVariationNode | ({
631
- value: string;
632
- type: "text";
633
- } | {
634
- type: "matrix-image";
635
- matrixDomain: string;
636
- matrixAssetId: string;
637
- matrixIdentifier?: string | undefined;
638
- formattingOptions?: {
639
- alignment: "left" | "center" | "right" | "justify";
640
- } | undefined;
641
- } | {
642
- type: "component";
643
- componentId: string;
644
- componentSet: string;
645
- contentItem?: {
646
- id: string;
647
- } | {
648
- content: Record<string, unknown>;
649
- schemaName: string;
650
- } | undefined;
651
- } | (({
652
- type: "tag";
653
- tag: string;
654
- attributes?: Record<string, string> | undefined;
655
- font?: {
656
- bold?: boolean | undefined;
657
- italics?: boolean | undefined;
658
- underline?: boolean | undefined;
659
- color?: string | undefined;
660
- size?: string | undefined;
661
- fontFamily?: string | undefined;
662
- } | undefined;
663
- formattingOptions?: {
664
- alignment: "left" | "center" | "right" | "justify";
665
- } | undefined;
666
- } | {
667
- type: "link-to-matrix-asset";
668
- matrixDomain: string;
669
- matrixAssetId: string;
670
- target: "_blank" | "_self" | "_parent" | "_top";
671
- matrixIdentifier?: string | undefined;
672
- formattingOptions?: {
673
- alignment: "left" | "center" | "right" | "justify";
674
- } | undefined;
675
- }) & any)))[];
676
- }), z.ZodTypeDef, {
677
- value: string;
678
- type: "text";
679
- } | {
680
- type: "tag";
681
- tag: string;
682
- attributes?: Record<string, string> | undefined;
683
- font?: {
684
- bold?: boolean | undefined;
685
- italics?: boolean | undefined;
686
- underline?: boolean | undefined;
687
- color?: string | undefined;
688
- size?: string | undefined;
689
- fontFamily?: string | undefined;
690
- } | undefined;
691
- formattingOptions?: {
692
- alignment: "left" | "center" | "right" | "justify";
693
- } | undefined;
694
- } | {
695
- type: "link-to-matrix-asset";
696
- matrixDomain: string;
697
- matrixAssetId: string;
698
- target: "_blank" | "_self" | "_parent" | "_top";
699
- matrixIdentifier?: string | undefined;
700
- formattingOptions?: {
701
- alignment: "left" | "center" | "right" | "justify";
702
- } | undefined;
703
- } | {
704
- type: "matrix-image";
705
- matrixDomain: string;
706
- matrixAssetId: string;
707
- matrixIdentifier?: string | undefined;
708
- formattingOptions?: {
709
- alignment: "left" | "center" | "right" | "justify";
710
- } | undefined;
711
- } | {
712
- type: "component";
713
- componentId: string;
714
- componentSet: string;
715
- contentItem?: {
716
- id: string;
717
- } | {
718
- content: Record<string, unknown>;
719
- schemaName: string;
720
- } | undefined;
721
- }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
722
- type: "variation";
723
- default: {};
724
- }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
725
- value: string;
726
- type: "text";
727
- } | {
728
- type: "matrix-image";
729
- matrixDomain: string;
730
- matrixAssetId: string;
731
- matrixIdentifier?: string | undefined;
732
- formattingOptions?: {
733
- alignment: "left" | "center" | "right" | "justify";
734
- } | undefined;
735
- } | {
736
- type: "component";
737
- componentId: string;
738
- componentSet: string;
739
- contentItem?: {
740
- id: string;
741
- } | {
742
- content: Record<string, unknown>;
743
- schemaName: string;
744
- } | undefined;
745
- } | (({
746
- type: "tag";
747
- tag: string;
748
- attributes?: Record<string, string> | undefined;
749
- font?: {
750
- bold?: boolean | undefined;
751
- italics?: boolean | undefined;
752
- underline?: boolean | undefined;
753
- color?: string | undefined;
754
- size?: string | undefined;
755
- fontFamily?: string | undefined;
756
- } | undefined;
757
- formattingOptions?: {
758
- alignment: "left" | "center" | "right" | "justify";
759
- } | undefined;
760
- } | {
761
- type: "link-to-matrix-asset";
762
- matrixDomain: string;
763
- matrixAssetId: string;
764
- target: "_blank" | "_self" | "_parent" | "_top";
765
- matrixIdentifier?: string | undefined;
766
- formattingOptions?: {
767
- alignment: "left" | "center" | "right" | "justify";
768
- } | undefined;
769
- }) & {
770
- children: (import("../layout-content").LayoutVariationNode | ({
771
- value: string;
772
- type: "text";
773
- } | {
774
- type: "matrix-image";
775
- matrixDomain: string;
776
- matrixAssetId: string;
777
- matrixIdentifier?: string | undefined;
778
- formattingOptions?: {
779
- alignment: "left" | "center" | "right" | "justify";
780
- } | undefined;
781
- } | {
782
- type: "component";
783
- componentId: string;
784
- componentSet: string;
785
- contentItem?: {
786
- id: string;
787
- } | {
788
- content: Record<string, unknown>;
789
- schemaName: string;
790
- } | undefined;
791
- } | (({
792
- type: "tag";
793
- tag: string;
794
- attributes?: Record<string, string> | undefined;
795
- font?: {
796
- bold?: boolean | undefined;
797
- italics?: boolean | undefined;
798
- underline?: boolean | undefined;
799
- color?: string | undefined;
800
- size?: string | undefined;
801
- fontFamily?: string | undefined;
802
- } | undefined;
803
- formattingOptions?: {
804
- alignment: "left" | "center" | "right" | "justify";
805
- } | undefined;
806
- } | {
807
- type: "link-to-matrix-asset";
808
- matrixDomain: string;
809
- matrixAssetId: string;
810
- target: "_blank" | "_self" | "_parent" | "_top";
811
- matrixIdentifier?: string | undefined;
812
- formattingOptions?: {
813
- alignment: "left" | "center" | "right" | "justify";
814
- } | undefined;
815
- }) & any)))[];
816
- })))[], ({
5
+ main: z.ZodArray<z.ZodType<import("../layout-content").LayoutContentNodes, z.ZodTypeDef, {
817
6
  value: string;
818
7
  type: "text";
819
8
  } | {
@@ -861,100 +50,11 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
861
50
  } | {
862
51
  type: "variation";
863
52
  default: {};
864
- })[]>;
865
- right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
866
- value: string;
867
- type: "text";
868
- } | {
869
- type: "matrix-image";
870
- matrixDomain: string;
871
- matrixAssetId: string;
872
- matrixIdentifier?: string | undefined;
873
- formattingOptions?: {
874
- alignment: "left" | "center" | "right" | "justify";
875
- } | undefined;
876
- } | {
877
- type: "component";
878
- componentId: string;
879
- componentSet: string;
880
- contentItem?: {
881
- id: string;
882
- } | {
883
- content: Record<string, unknown>;
884
- schemaName: string;
885
- } | undefined;
886
- } | (({
887
- type: "tag";
888
- tag: string;
889
- attributes?: Record<string, string> | undefined;
890
- font?: {
891
- bold?: boolean | undefined;
892
- italics?: boolean | undefined;
893
- underline?: boolean | undefined;
894
- color?: string | undefined;
895
- size?: string | undefined;
896
- fontFamily?: string | undefined;
897
- } | undefined;
898
- formattingOptions?: {
899
- alignment: "left" | "center" | "right" | "justify";
900
- } | undefined;
901
- } | {
902
- type: "link-to-matrix-asset";
903
- matrixDomain: string;
904
- matrixAssetId: string;
905
- target: "_blank" | "_self" | "_parent" | "_top";
906
- matrixIdentifier?: string | undefined;
907
- formattingOptions?: {
908
- alignment: "left" | "center" | "right" | "justify";
909
- } | undefined;
910
- }) & {
911
- children: (import("../layout-content").LayoutVariationNode | ({
912
- value: string;
913
- type: "text";
914
- } | {
915
- type: "matrix-image";
916
- matrixDomain: string;
917
- matrixAssetId: string;
918
- matrixIdentifier?: string | undefined;
919
- formattingOptions?: {
920
- alignment: "left" | "center" | "right" | "justify";
921
- } | undefined;
922
- } | {
923
- type: "component";
924
- componentId: string;
925
- componentSet: string;
926
- contentItem?: {
927
- id: string;
928
- } | {
929
- content: Record<string, unknown>;
930
- schemaName: string;
931
- } | undefined;
932
- } | (({
933
- type: "tag";
934
- tag: string;
935
- attributes?: Record<string, string> | undefined;
936
- font?: {
937
- bold?: boolean | undefined;
938
- italics?: boolean | undefined;
939
- underline?: boolean | undefined;
940
- color?: string | undefined;
941
- size?: string | undefined;
942
- fontFamily?: string | undefined;
943
- } | undefined;
944
- formattingOptions?: {
945
- alignment: "left" | "center" | "right" | "justify";
946
- } | undefined;
947
- } | {
948
- type: "link-to-matrix-asset";
949
- matrixDomain: string;
950
- matrixAssetId: string;
951
- target: "_blank" | "_self" | "_parent" | "_top";
952
- matrixIdentifier?: string | undefined;
953
- formattingOptions?: {
954
- alignment: "left" | "center" | "right" | "justify";
955
- } | undefined;
956
- }) & any)))[];
957
- }), z.ZodTypeDef, {
53
+ }>, "many">;
54
+ }, "strip", z.ZodTypeAny, {
55
+ main: import("../layout-content").LayoutContentNodes[];
56
+ }, {
57
+ main: ({
958
58
  value: string;
959
59
  type: "text";
960
60
  } | {
@@ -999,102 +99,19 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
999
99
  content: Record<string, unknown>;
1000
100
  schemaName: string;
1001
101
  } | undefined;
1002
- }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
102
+ } | {
1003
103
  type: "variation";
1004
104
  default: {};
1005
- }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
1006
- value: string;
1007
- type: "text";
1008
- } | {
1009
- type: "matrix-image";
1010
- matrixDomain: string;
1011
- matrixAssetId: string;
1012
- matrixIdentifier?: string | undefined;
1013
- formattingOptions?: {
1014
- alignment: "left" | "center" | "right" | "justify";
1015
- } | undefined;
1016
- } | {
1017
- type: "component";
1018
- componentId: string;
1019
- componentSet: string;
1020
- contentItem?: {
1021
- id: string;
1022
- } | {
1023
- content: Record<string, unknown>;
1024
- schemaName: string;
1025
- } | undefined;
1026
- } | (({
1027
- type: "tag";
1028
- tag: string;
1029
- attributes?: Record<string, string> | undefined;
1030
- font?: {
1031
- bold?: boolean | undefined;
1032
- italics?: boolean | undefined;
1033
- underline?: boolean | undefined;
1034
- color?: string | undefined;
1035
- size?: string | undefined;
1036
- fontFamily?: string | undefined;
1037
- } | undefined;
1038
- formattingOptions?: {
1039
- alignment: "left" | "center" | "right" | "justify";
1040
- } | undefined;
1041
- } | {
1042
- type: "link-to-matrix-asset";
1043
- matrixDomain: string;
1044
- matrixAssetId: string;
1045
- target: "_blank" | "_self" | "_parent" | "_top";
1046
- matrixIdentifier?: string | undefined;
1047
- formattingOptions?: {
1048
- alignment: "left" | "center" | "right" | "justify";
1049
- } | undefined;
1050
- }) & {
1051
- children: (import("../layout-content").LayoutVariationNode | ({
1052
- value: string;
1053
- type: "text";
1054
- } | {
1055
- type: "matrix-image";
1056
- matrixDomain: string;
1057
- matrixAssetId: string;
1058
- matrixIdentifier?: string | undefined;
1059
- formattingOptions?: {
1060
- alignment: "left" | "center" | "right" | "justify";
1061
- } | undefined;
1062
- } | {
1063
- type: "component";
1064
- componentId: string;
1065
- componentSet: string;
1066
- contentItem?: {
1067
- id: string;
1068
- } | {
1069
- content: Record<string, unknown>;
1070
- schemaName: string;
1071
- } | undefined;
1072
- } | (({
1073
- type: "tag";
1074
- tag: string;
1075
- attributes?: Record<string, string> | undefined;
1076
- font?: {
1077
- bold?: boolean | undefined;
1078
- italics?: boolean | undefined;
1079
- underline?: boolean | undefined;
1080
- color?: string | undefined;
1081
- size?: string | undefined;
1082
- fontFamily?: string | undefined;
1083
- } | undefined;
1084
- formattingOptions?: {
1085
- alignment: "left" | "center" | "right" | "justify";
1086
- } | undefined;
1087
- } | {
1088
- type: "link-to-matrix-asset";
1089
- matrixDomain: string;
1090
- matrixAssetId: string;
1091
- target: "_blank" | "_self" | "_parent" | "_top";
1092
- matrixIdentifier?: string | undefined;
1093
- formattingOptions?: {
1094
- alignment: "left" | "center" | "right" | "justify";
1095
- } | undefined;
1096
- }) & any)))[];
1097
- })))[], ({
105
+ })[];
106
+ }>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ content: {
109
+ main: import("../layout-content").LayoutContentNodes[];
110
+ };
111
+ name: "single-column";
112
+ }, {
113
+ content: {
114
+ main: ({
1098
115
  value: string;
1099
116
  type: "text";
1100
117
  } | {
@@ -1142,30 +159,16 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1142
159
  } | {
1143
160
  type: "variation";
1144
161
  default: {};
1145
- })[]>;
1146
- }, "strip", z.ZodTypeAny, {
1147
- left: (import("../layout-content").LayoutVariationNode | ({
162
+ })[];
163
+ };
164
+ name: "single-column";
165
+ }>, z.ZodObject<{
166
+ name: z.ZodLiteral<"two-column">;
167
+ content: z.ZodObject<{
168
+ left: z.ZodArray<z.ZodType<import("../layout-content").LayoutContentNodes, z.ZodTypeDef, {
1148
169
  value: string;
1149
170
  type: "text";
1150
171
  } | {
1151
- type: "matrix-image";
1152
- matrixDomain: string;
1153
- matrixAssetId: string;
1154
- matrixIdentifier?: string | undefined;
1155
- formattingOptions?: {
1156
- alignment: "left" | "center" | "right" | "justify";
1157
- } | undefined;
1158
- } | {
1159
- type: "component";
1160
- componentId: string;
1161
- componentSet: string;
1162
- contentItem?: {
1163
- id: string;
1164
- } | {
1165
- content: Record<string, unknown>;
1166
- schemaName: string;
1167
- } | undefined;
1168
- } | (({
1169
172
  type: "tag";
1170
173
  tag: string;
1171
174
  attributes?: Record<string, string> | undefined;
@@ -1189,57 +192,6 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1189
192
  formattingOptions?: {
1190
193
  alignment: "left" | "center" | "right" | "justify";
1191
194
  } | undefined;
1192
- }) & {
1193
- children: (import("../layout-content").LayoutVariationNode | ({
1194
- value: string;
1195
- type: "text";
1196
- } | {
1197
- type: "matrix-image";
1198
- matrixDomain: string;
1199
- matrixAssetId: string;
1200
- matrixIdentifier?: string | undefined;
1201
- formattingOptions?: {
1202
- alignment: "left" | "center" | "right" | "justify";
1203
- } | undefined;
1204
- } | {
1205
- type: "component";
1206
- componentId: string;
1207
- componentSet: string;
1208
- contentItem?: {
1209
- id: string;
1210
- } | {
1211
- content: Record<string, unknown>;
1212
- schemaName: string;
1213
- } | undefined;
1214
- } | (({
1215
- type: "tag";
1216
- tag: string;
1217
- attributes?: Record<string, string> | undefined;
1218
- font?: {
1219
- bold?: boolean | undefined;
1220
- italics?: boolean | undefined;
1221
- underline?: boolean | undefined;
1222
- color?: string | undefined;
1223
- size?: string | undefined;
1224
- fontFamily?: string | undefined;
1225
- } | undefined;
1226
- formattingOptions?: {
1227
- alignment: "left" | "center" | "right" | "justify";
1228
- } | undefined;
1229
- } | {
1230
- type: "link-to-matrix-asset";
1231
- matrixDomain: string;
1232
- matrixAssetId: string;
1233
- target: "_blank" | "_self" | "_parent" | "_top";
1234
- matrixIdentifier?: string | undefined;
1235
- formattingOptions?: {
1236
- alignment: "left" | "center" | "right" | "justify";
1237
- } | undefined;
1238
- }) & any)))[];
1239
- })))[];
1240
- right: (import("../layout-content").LayoutVariationNode | ({
1241
- value: string;
1242
- type: "text";
1243
195
  } | {
1244
196
  type: "matrix-image";
1245
197
  matrixDomain: string;
@@ -1258,80 +210,11 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1258
210
  content: Record<string, unknown>;
1259
211
  schemaName: string;
1260
212
  } | undefined;
1261
- } | (({
1262
- type: "tag";
1263
- tag: string;
1264
- attributes?: Record<string, string> | undefined;
1265
- font?: {
1266
- bold?: boolean | undefined;
1267
- italics?: boolean | undefined;
1268
- underline?: boolean | undefined;
1269
- color?: string | undefined;
1270
- size?: string | undefined;
1271
- fontFamily?: string | undefined;
1272
- } | undefined;
1273
- formattingOptions?: {
1274
- alignment: "left" | "center" | "right" | "justify";
1275
- } | undefined;
1276
213
  } | {
1277
- type: "link-to-matrix-asset";
1278
- matrixDomain: string;
1279
- matrixAssetId: string;
1280
- target: "_blank" | "_self" | "_parent" | "_top";
1281
- matrixIdentifier?: string | undefined;
1282
- formattingOptions?: {
1283
- alignment: "left" | "center" | "right" | "justify";
1284
- } | undefined;
1285
- }) & {
1286
- children: (import("../layout-content").LayoutVariationNode | ({
1287
- value: string;
1288
- type: "text";
1289
- } | {
1290
- type: "matrix-image";
1291
- matrixDomain: string;
1292
- matrixAssetId: string;
1293
- matrixIdentifier?: string | undefined;
1294
- formattingOptions?: {
1295
- alignment: "left" | "center" | "right" | "justify";
1296
- } | undefined;
1297
- } | {
1298
- type: "component";
1299
- componentId: string;
1300
- componentSet: string;
1301
- contentItem?: {
1302
- id: string;
1303
- } | {
1304
- content: Record<string, unknown>;
1305
- schemaName: string;
1306
- } | undefined;
1307
- } | (({
1308
- type: "tag";
1309
- tag: string;
1310
- attributes?: Record<string, string> | undefined;
1311
- font?: {
1312
- bold?: boolean | undefined;
1313
- italics?: boolean | undefined;
1314
- underline?: boolean | undefined;
1315
- color?: string | undefined;
1316
- size?: string | undefined;
1317
- fontFamily?: string | undefined;
1318
- } | undefined;
1319
- formattingOptions?: {
1320
- alignment: "left" | "center" | "right" | "justify";
1321
- } | undefined;
1322
- } | {
1323
- type: "link-to-matrix-asset";
1324
- matrixDomain: string;
1325
- matrixAssetId: string;
1326
- target: "_blank" | "_self" | "_parent" | "_top";
1327
- matrixIdentifier?: string | undefined;
1328
- formattingOptions?: {
1329
- alignment: "left" | "center" | "right" | "justify";
1330
- } | undefined;
1331
- }) & any)))[];
1332
- })))[];
1333
- }, {
1334
- left: ({
214
+ type: "variation";
215
+ default: {};
216
+ }>, "many">;
217
+ right: z.ZodArray<z.ZodType<import("../layout-content").LayoutContentNodes, z.ZodTypeDef, {
1335
218
  value: string;
1336
219
  type: "text";
1337
220
  } | {
@@ -1379,8 +262,12 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1379
262
  } | {
1380
263
  type: "variation";
1381
264
  default: {};
1382
- })[];
1383
- right: ({
265
+ }>, "many">;
266
+ }, "strip", z.ZodTypeAny, {
267
+ left: import("../layout-content").LayoutContentNodes[];
268
+ right: import("../layout-content").LayoutContentNodes[];
269
+ }, {
270
+ left: ({
1384
271
  value: string;
1385
272
  type: "text";
1386
273
  } | {
@@ -1429,31 +316,10 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1429
316
  type: "variation";
1430
317
  default: {};
1431
318
  })[];
1432
- }>;
1433
- }, "strip", z.ZodTypeAny, {
1434
- content: {
1435
- left: (import("../layout-content").LayoutVariationNode | ({
319
+ right: ({
1436
320
  value: string;
1437
321
  type: "text";
1438
322
  } | {
1439
- type: "matrix-image";
1440
- matrixDomain: string;
1441
- matrixAssetId: string;
1442
- matrixIdentifier?: string | undefined;
1443
- formattingOptions?: {
1444
- alignment: "left" | "center" | "right" | "justify";
1445
- } | undefined;
1446
- } | {
1447
- type: "component";
1448
- componentId: string;
1449
- componentSet: string;
1450
- contentItem?: {
1451
- id: string;
1452
- } | {
1453
- content: Record<string, unknown>;
1454
- schemaName: string;
1455
- } | undefined;
1456
- } | (({
1457
323
  type: "tag";
1458
324
  tag: string;
1459
325
  attributes?: Record<string, string> | undefined;
@@ -1477,57 +343,6 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1477
343
  formattingOptions?: {
1478
344
  alignment: "left" | "center" | "right" | "justify";
1479
345
  } | undefined;
1480
- }) & {
1481
- children: (import("../layout-content").LayoutVariationNode | ({
1482
- value: string;
1483
- type: "text";
1484
- } | {
1485
- type: "matrix-image";
1486
- matrixDomain: string;
1487
- matrixAssetId: string;
1488
- matrixIdentifier?: string | undefined;
1489
- formattingOptions?: {
1490
- alignment: "left" | "center" | "right" | "justify";
1491
- } | undefined;
1492
- } | {
1493
- type: "component";
1494
- componentId: string;
1495
- componentSet: string;
1496
- contentItem?: {
1497
- id: string;
1498
- } | {
1499
- content: Record<string, unknown>;
1500
- schemaName: string;
1501
- } | undefined;
1502
- } | (({
1503
- type: "tag";
1504
- tag: string;
1505
- attributes?: Record<string, string> | undefined;
1506
- font?: {
1507
- bold?: boolean | undefined;
1508
- italics?: boolean | undefined;
1509
- underline?: boolean | undefined;
1510
- color?: string | undefined;
1511
- size?: string | undefined;
1512
- fontFamily?: string | undefined;
1513
- } | undefined;
1514
- formattingOptions?: {
1515
- alignment: "left" | "center" | "right" | "justify";
1516
- } | undefined;
1517
- } | {
1518
- type: "link-to-matrix-asset";
1519
- matrixDomain: string;
1520
- matrixAssetId: string;
1521
- target: "_blank" | "_self" | "_parent" | "_top";
1522
- matrixIdentifier?: string | undefined;
1523
- formattingOptions?: {
1524
- alignment: "left" | "center" | "right" | "justify";
1525
- } | undefined;
1526
- }) & any)))[];
1527
- })))[];
1528
- right: (import("../layout-content").LayoutVariationNode | ({
1529
- value: string;
1530
- type: "text";
1531
346
  } | {
1532
347
  type: "matrix-image";
1533
348
  matrixDomain: string;
@@ -1546,78 +361,15 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1546
361
  content: Record<string, unknown>;
1547
362
  schemaName: string;
1548
363
  } | undefined;
1549
- } | (({
1550
- type: "tag";
1551
- tag: string;
1552
- attributes?: Record<string, string> | undefined;
1553
- font?: {
1554
- bold?: boolean | undefined;
1555
- italics?: boolean | undefined;
1556
- underline?: boolean | undefined;
1557
- color?: string | undefined;
1558
- size?: string | undefined;
1559
- fontFamily?: string | undefined;
1560
- } | undefined;
1561
- formattingOptions?: {
1562
- alignment: "left" | "center" | "right" | "justify";
1563
- } | undefined;
1564
364
  } | {
1565
- type: "link-to-matrix-asset";
1566
- matrixDomain: string;
1567
- matrixAssetId: string;
1568
- target: "_blank" | "_self" | "_parent" | "_top";
1569
- matrixIdentifier?: string | undefined;
1570
- formattingOptions?: {
1571
- alignment: "left" | "center" | "right" | "justify";
1572
- } | undefined;
1573
- }) & {
1574
- children: (import("../layout-content").LayoutVariationNode | ({
1575
- value: string;
1576
- type: "text";
1577
- } | {
1578
- type: "matrix-image";
1579
- matrixDomain: string;
1580
- matrixAssetId: string;
1581
- matrixIdentifier?: string | undefined;
1582
- formattingOptions?: {
1583
- alignment: "left" | "center" | "right" | "justify";
1584
- } | undefined;
1585
- } | {
1586
- type: "component";
1587
- componentId: string;
1588
- componentSet: string;
1589
- contentItem?: {
1590
- id: string;
1591
- } | {
1592
- content: Record<string, unknown>;
1593
- schemaName: string;
1594
- } | undefined;
1595
- } | (({
1596
- type: "tag";
1597
- tag: string;
1598
- attributes?: Record<string, string> | undefined;
1599
- font?: {
1600
- bold?: boolean | undefined;
1601
- italics?: boolean | undefined;
1602
- underline?: boolean | undefined;
1603
- color?: string | undefined;
1604
- size?: string | undefined;
1605
- fontFamily?: string | undefined;
1606
- } | undefined;
1607
- formattingOptions?: {
1608
- alignment: "left" | "center" | "right" | "justify";
1609
- } | undefined;
1610
- } | {
1611
- type: "link-to-matrix-asset";
1612
- matrixDomain: string;
1613
- matrixAssetId: string;
1614
- target: "_blank" | "_self" | "_parent" | "_top";
1615
- matrixIdentifier?: string | undefined;
1616
- formattingOptions?: {
1617
- alignment: "left" | "center" | "right" | "justify";
1618
- } | undefined;
1619
- }) & any)))[];
1620
- })))[];
365
+ type: "variation";
366
+ default: {};
367
+ })[];
368
+ }>;
369
+ }, "strip", z.ZodTypeAny, {
370
+ content: {
371
+ left: import("../layout-content").LayoutContentNodes[];
372
+ right: import("../layout-content").LayoutContentNodes[];
1621
373
  };
1622
374
  name: "two-column";
1623
375
  }, {