@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.
@@ -1,240 +1,9 @@
1
1
  import { z } from 'zod';
2
+ import { LayoutContentNodes } from '../layout-content';
2
3
  export declare const TwoColumnLayout: z.ZodObject<{
3
4
  name: z.ZodLiteral<"two-column">;
4
5
  content: z.ZodObject<{
5
- left: 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
- })))[], ({
6
+ left: z.ZodArray<z.ZodType<LayoutContentNodes, z.ZodTypeDef, {
238
7
  value: string;
239
8
  type: "text";
240
9
  } | {
@@ -282,240 +51,8 @@ export declare const TwoColumnLayout: z.ZodObject<{
282
51
  } | {
283
52
  type: "variation";
284
53
  default: {};
285
- })[]>;
286
- right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
287
- value: string;
288
- type: "text";
289
- } | {
290
- type: "matrix-image";
291
- matrixDomain: string;
292
- matrixAssetId: string;
293
- matrixIdentifier?: string | undefined;
294
- formattingOptions?: {
295
- alignment: "left" | "center" | "right" | "justify";
296
- } | undefined;
297
- } | {
298
- type: "component";
299
- componentId: string;
300
- componentSet: string;
301
- contentItem?: {
302
- id: string;
303
- } | {
304
- content: Record<string, unknown>;
305
- schemaName: string;
306
- } | undefined;
307
- } | (({
308
- type: "tag";
309
- tag: string;
310
- attributes?: Record<string, string> | undefined;
311
- font?: {
312
- bold?: boolean | undefined;
313
- italics?: boolean | undefined;
314
- underline?: boolean | undefined;
315
- color?: string | undefined;
316
- size?: string | undefined;
317
- fontFamily?: string | undefined;
318
- } | undefined;
319
- formattingOptions?: {
320
- alignment: "left" | "center" | "right" | "justify";
321
- } | undefined;
322
- } | {
323
- type: "link-to-matrix-asset";
324
- matrixDomain: string;
325
- matrixAssetId: string;
326
- target: "_blank" | "_self" | "_parent" | "_top";
327
- matrixIdentifier?: string | undefined;
328
- formattingOptions?: {
329
- alignment: "left" | "center" | "right" | "justify";
330
- } | undefined;
331
- }) & {
332
- children: (import("../layout-content").LayoutVariationNode | ({
333
- value: string;
334
- type: "text";
335
- } | {
336
- type: "matrix-image";
337
- matrixDomain: string;
338
- matrixAssetId: string;
339
- matrixIdentifier?: string | undefined;
340
- formattingOptions?: {
341
- alignment: "left" | "center" | "right" | "justify";
342
- } | undefined;
343
- } | {
344
- type: "component";
345
- componentId: string;
346
- componentSet: string;
347
- contentItem?: {
348
- id: string;
349
- } | {
350
- content: Record<string, unknown>;
351
- schemaName: string;
352
- } | undefined;
353
- } | (({
354
- type: "tag";
355
- tag: string;
356
- attributes?: Record<string, string> | undefined;
357
- font?: {
358
- bold?: boolean | undefined;
359
- italics?: boolean | undefined;
360
- underline?: boolean | undefined;
361
- color?: string | undefined;
362
- size?: string | undefined;
363
- fontFamily?: string | undefined;
364
- } | undefined;
365
- formattingOptions?: {
366
- alignment: "left" | "center" | "right" | "justify";
367
- } | undefined;
368
- } | {
369
- type: "link-to-matrix-asset";
370
- matrixDomain: string;
371
- matrixAssetId: string;
372
- target: "_blank" | "_self" | "_parent" | "_top";
373
- matrixIdentifier?: string | undefined;
374
- formattingOptions?: {
375
- alignment: "left" | "center" | "right" | "justify";
376
- } | undefined;
377
- }) & any)))[];
378
- }), z.ZodTypeDef, {
379
- value: string;
380
- type: "text";
381
- } | {
382
- type: "tag";
383
- tag: string;
384
- attributes?: Record<string, string> | undefined;
385
- font?: {
386
- bold?: boolean | undefined;
387
- italics?: boolean | undefined;
388
- underline?: boolean | undefined;
389
- color?: string | undefined;
390
- size?: string | undefined;
391
- fontFamily?: string | undefined;
392
- } | undefined;
393
- formattingOptions?: {
394
- alignment: "left" | "center" | "right" | "justify";
395
- } | undefined;
396
- } | {
397
- type: "link-to-matrix-asset";
398
- matrixDomain: string;
399
- matrixAssetId: string;
400
- target: "_blank" | "_self" | "_parent" | "_top";
401
- matrixIdentifier?: string | undefined;
402
- formattingOptions?: {
403
- alignment: "left" | "center" | "right" | "justify";
404
- } | undefined;
405
- } | {
406
- type: "matrix-image";
407
- matrixDomain: string;
408
- matrixAssetId: string;
409
- matrixIdentifier?: string | undefined;
410
- formattingOptions?: {
411
- alignment: "left" | "center" | "right" | "justify";
412
- } | undefined;
413
- } | {
414
- type: "component";
415
- componentId: string;
416
- componentSet: string;
417
- contentItem?: {
418
- id: string;
419
- } | {
420
- content: Record<string, unknown>;
421
- schemaName: string;
422
- } | undefined;
423
- }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
424
- type: "variation";
425
- default: {};
426
- }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
427
- value: string;
428
- type: "text";
429
- } | {
430
- type: "matrix-image";
431
- matrixDomain: string;
432
- matrixAssetId: string;
433
- matrixIdentifier?: string | undefined;
434
- formattingOptions?: {
435
- alignment: "left" | "center" | "right" | "justify";
436
- } | undefined;
437
- } | {
438
- type: "component";
439
- componentId: string;
440
- componentSet: string;
441
- contentItem?: {
442
- id: string;
443
- } | {
444
- content: Record<string, unknown>;
445
- schemaName: string;
446
- } | undefined;
447
- } | (({
448
- type: "tag";
449
- tag: string;
450
- attributes?: Record<string, string> | undefined;
451
- font?: {
452
- bold?: boolean | undefined;
453
- italics?: boolean | undefined;
454
- underline?: boolean | undefined;
455
- color?: string | undefined;
456
- size?: string | undefined;
457
- fontFamily?: string | undefined;
458
- } | undefined;
459
- formattingOptions?: {
460
- alignment: "left" | "center" | "right" | "justify";
461
- } | undefined;
462
- } | {
463
- type: "link-to-matrix-asset";
464
- matrixDomain: string;
465
- matrixAssetId: string;
466
- target: "_blank" | "_self" | "_parent" | "_top";
467
- matrixIdentifier?: string | undefined;
468
- formattingOptions?: {
469
- alignment: "left" | "center" | "right" | "justify";
470
- } | undefined;
471
- }) & {
472
- children: (import("../layout-content").LayoutVariationNode | ({
473
- value: string;
474
- type: "text";
475
- } | {
476
- type: "matrix-image";
477
- matrixDomain: string;
478
- matrixAssetId: string;
479
- matrixIdentifier?: string | undefined;
480
- formattingOptions?: {
481
- alignment: "left" | "center" | "right" | "justify";
482
- } | undefined;
483
- } | {
484
- type: "component";
485
- componentId: string;
486
- componentSet: string;
487
- contentItem?: {
488
- id: string;
489
- } | {
490
- content: Record<string, unknown>;
491
- schemaName: string;
492
- } | undefined;
493
- } | (({
494
- type: "tag";
495
- tag: string;
496
- attributes?: Record<string, string> | undefined;
497
- font?: {
498
- bold?: boolean | undefined;
499
- italics?: boolean | undefined;
500
- underline?: boolean | undefined;
501
- color?: string | undefined;
502
- size?: string | undefined;
503
- fontFamily?: string | undefined;
504
- } | undefined;
505
- formattingOptions?: {
506
- alignment: "left" | "center" | "right" | "justify";
507
- } | undefined;
508
- } | {
509
- type: "link-to-matrix-asset";
510
- matrixDomain: string;
511
- matrixAssetId: string;
512
- target: "_blank" | "_self" | "_parent" | "_top";
513
- matrixIdentifier?: string | undefined;
514
- formattingOptions?: {
515
- alignment: "left" | "center" | "right" | "justify";
516
- } | undefined;
517
- }) & any)))[];
518
- })))[], ({
54
+ }>, "many">;
55
+ right: z.ZodArray<z.ZodType<LayoutContentNodes, z.ZodTypeDef, {
519
56
  value: string;
520
57
  type: "text";
521
58
  } | {
@@ -563,194 +100,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
563
100
  } | {
564
101
  type: "variation";
565
102
  default: {};
566
- })[]>;
103
+ }>, "many">;
567
104
  }, "strip", z.ZodTypeAny, {
568
- left: (import("../layout-content").LayoutVariationNode | ({
569
- value: string;
570
- type: "text";
571
- } | {
572
- type: "matrix-image";
573
- matrixDomain: string;
574
- matrixAssetId: string;
575
- matrixIdentifier?: string | undefined;
576
- formattingOptions?: {
577
- alignment: "left" | "center" | "right" | "justify";
578
- } | undefined;
579
- } | {
580
- type: "component";
581
- componentId: string;
582
- componentSet: string;
583
- contentItem?: {
584
- id: string;
585
- } | {
586
- content: Record<string, unknown>;
587
- schemaName: string;
588
- } | undefined;
589
- } | (({
590
- type: "tag";
591
- tag: string;
592
- attributes?: Record<string, string> | undefined;
593
- font?: {
594
- bold?: boolean | undefined;
595
- italics?: boolean | undefined;
596
- underline?: boolean | undefined;
597
- color?: string | undefined;
598
- size?: string | undefined;
599
- fontFamily?: string | undefined;
600
- } | undefined;
601
- formattingOptions?: {
602
- alignment: "left" | "center" | "right" | "justify";
603
- } | undefined;
604
- } | {
605
- type: "link-to-matrix-asset";
606
- matrixDomain: string;
607
- matrixAssetId: string;
608
- target: "_blank" | "_self" | "_parent" | "_top";
609
- matrixIdentifier?: string | undefined;
610
- formattingOptions?: {
611
- alignment: "left" | "center" | "right" | "justify";
612
- } | undefined;
613
- }) & {
614
- children: (import("../layout-content").LayoutVariationNode | ({
615
- value: string;
616
- type: "text";
617
- } | {
618
- type: "matrix-image";
619
- matrixDomain: string;
620
- matrixAssetId: string;
621
- matrixIdentifier?: string | undefined;
622
- formattingOptions?: {
623
- alignment: "left" | "center" | "right" | "justify";
624
- } | undefined;
625
- } | {
626
- type: "component";
627
- componentId: string;
628
- componentSet: string;
629
- contentItem?: {
630
- id: string;
631
- } | {
632
- content: Record<string, unknown>;
633
- schemaName: string;
634
- } | undefined;
635
- } | (({
636
- type: "tag";
637
- tag: string;
638
- attributes?: Record<string, string> | undefined;
639
- font?: {
640
- bold?: boolean | undefined;
641
- italics?: boolean | undefined;
642
- underline?: boolean | undefined;
643
- color?: string | undefined;
644
- size?: string | undefined;
645
- fontFamily?: string | undefined;
646
- } | undefined;
647
- formattingOptions?: {
648
- alignment: "left" | "center" | "right" | "justify";
649
- } | undefined;
650
- } | {
651
- type: "link-to-matrix-asset";
652
- matrixDomain: string;
653
- matrixAssetId: string;
654
- target: "_blank" | "_self" | "_parent" | "_top";
655
- matrixIdentifier?: string | undefined;
656
- formattingOptions?: {
657
- alignment: "left" | "center" | "right" | "justify";
658
- } | undefined;
659
- }) & any)))[];
660
- })))[];
661
- right: (import("../layout-content").LayoutVariationNode | ({
662
- value: string;
663
- type: "text";
664
- } | {
665
- type: "matrix-image";
666
- matrixDomain: string;
667
- matrixAssetId: string;
668
- matrixIdentifier?: string | undefined;
669
- formattingOptions?: {
670
- alignment: "left" | "center" | "right" | "justify";
671
- } | undefined;
672
- } | {
673
- type: "component";
674
- componentId: string;
675
- componentSet: string;
676
- contentItem?: {
677
- id: string;
678
- } | {
679
- content: Record<string, unknown>;
680
- schemaName: string;
681
- } | undefined;
682
- } | (({
683
- type: "tag";
684
- tag: string;
685
- attributes?: Record<string, string> | undefined;
686
- font?: {
687
- bold?: boolean | undefined;
688
- italics?: boolean | undefined;
689
- underline?: boolean | undefined;
690
- color?: string | undefined;
691
- size?: string | undefined;
692
- fontFamily?: string | undefined;
693
- } | undefined;
694
- formattingOptions?: {
695
- alignment: "left" | "center" | "right" | "justify";
696
- } | undefined;
697
- } | {
698
- type: "link-to-matrix-asset";
699
- matrixDomain: string;
700
- matrixAssetId: string;
701
- target: "_blank" | "_self" | "_parent" | "_top";
702
- matrixIdentifier?: string | undefined;
703
- formattingOptions?: {
704
- alignment: "left" | "center" | "right" | "justify";
705
- } | undefined;
706
- }) & {
707
- children: (import("../layout-content").LayoutVariationNode | ({
708
- value: string;
709
- type: "text";
710
- } | {
711
- type: "matrix-image";
712
- matrixDomain: string;
713
- matrixAssetId: string;
714
- matrixIdentifier?: string | undefined;
715
- formattingOptions?: {
716
- alignment: "left" | "center" | "right" | "justify";
717
- } | undefined;
718
- } | {
719
- type: "component";
720
- componentId: string;
721
- componentSet: string;
722
- contentItem?: {
723
- id: string;
724
- } | {
725
- content: Record<string, unknown>;
726
- schemaName: string;
727
- } | undefined;
728
- } | (({
729
- type: "tag";
730
- tag: string;
731
- attributes?: Record<string, string> | undefined;
732
- font?: {
733
- bold?: boolean | undefined;
734
- italics?: boolean | undefined;
735
- underline?: boolean | undefined;
736
- color?: string | undefined;
737
- size?: string | undefined;
738
- fontFamily?: string | undefined;
739
- } | undefined;
740
- formattingOptions?: {
741
- alignment: "left" | "center" | "right" | "justify";
742
- } | undefined;
743
- } | {
744
- type: "link-to-matrix-asset";
745
- matrixDomain: string;
746
- matrixAssetId: string;
747
- target: "_blank" | "_self" | "_parent" | "_top";
748
- matrixIdentifier?: string | undefined;
749
- formattingOptions?: {
750
- alignment: "left" | "center" | "right" | "justify";
751
- } | undefined;
752
- }) & any)))[];
753
- })))[];
105
+ left: LayoutContentNodes[];
106
+ right: LayoutContentNodes[];
754
107
  }, {
755
108
  left: ({
756
109
  value: string;
@@ -853,192 +206,8 @@ export declare const TwoColumnLayout: z.ZodObject<{
853
206
  }>;
854
207
  }, "strip", z.ZodTypeAny, {
855
208
  content: {
856
- left: (import("../layout-content").LayoutVariationNode | ({
857
- value: string;
858
- type: "text";
859
- } | {
860
- type: "matrix-image";
861
- matrixDomain: string;
862
- matrixAssetId: string;
863
- matrixIdentifier?: string | undefined;
864
- formattingOptions?: {
865
- alignment: "left" | "center" | "right" | "justify";
866
- } | undefined;
867
- } | {
868
- type: "component";
869
- componentId: string;
870
- componentSet: string;
871
- contentItem?: {
872
- id: string;
873
- } | {
874
- content: Record<string, unknown>;
875
- schemaName: string;
876
- } | undefined;
877
- } | (({
878
- type: "tag";
879
- tag: string;
880
- attributes?: Record<string, string> | undefined;
881
- font?: {
882
- bold?: boolean | undefined;
883
- italics?: boolean | undefined;
884
- underline?: boolean | undefined;
885
- color?: string | undefined;
886
- size?: string | undefined;
887
- fontFamily?: string | undefined;
888
- } | undefined;
889
- formattingOptions?: {
890
- alignment: "left" | "center" | "right" | "justify";
891
- } | undefined;
892
- } | {
893
- type: "link-to-matrix-asset";
894
- matrixDomain: string;
895
- matrixAssetId: string;
896
- target: "_blank" | "_self" | "_parent" | "_top";
897
- matrixIdentifier?: string | undefined;
898
- formattingOptions?: {
899
- alignment: "left" | "center" | "right" | "justify";
900
- } | undefined;
901
- }) & {
902
- children: (import("../layout-content").LayoutVariationNode | ({
903
- value: string;
904
- type: "text";
905
- } | {
906
- type: "matrix-image";
907
- matrixDomain: string;
908
- matrixAssetId: string;
909
- matrixIdentifier?: string | undefined;
910
- formattingOptions?: {
911
- alignment: "left" | "center" | "right" | "justify";
912
- } | undefined;
913
- } | {
914
- type: "component";
915
- componentId: string;
916
- componentSet: string;
917
- contentItem?: {
918
- id: string;
919
- } | {
920
- content: Record<string, unknown>;
921
- schemaName: string;
922
- } | undefined;
923
- } | (({
924
- type: "tag";
925
- tag: string;
926
- attributes?: Record<string, string> | undefined;
927
- font?: {
928
- bold?: boolean | undefined;
929
- italics?: boolean | undefined;
930
- underline?: boolean | undefined;
931
- color?: string | undefined;
932
- size?: string | undefined;
933
- fontFamily?: string | undefined;
934
- } | undefined;
935
- formattingOptions?: {
936
- alignment: "left" | "center" | "right" | "justify";
937
- } | undefined;
938
- } | {
939
- type: "link-to-matrix-asset";
940
- matrixDomain: string;
941
- matrixAssetId: string;
942
- target: "_blank" | "_self" | "_parent" | "_top";
943
- matrixIdentifier?: string | undefined;
944
- formattingOptions?: {
945
- alignment: "left" | "center" | "right" | "justify";
946
- } | undefined;
947
- }) & any)))[];
948
- })))[];
949
- right: (import("../layout-content").LayoutVariationNode | ({
950
- value: string;
951
- type: "text";
952
- } | {
953
- type: "matrix-image";
954
- matrixDomain: string;
955
- matrixAssetId: string;
956
- matrixIdentifier?: string | undefined;
957
- formattingOptions?: {
958
- alignment: "left" | "center" | "right" | "justify";
959
- } | undefined;
960
- } | {
961
- type: "component";
962
- componentId: string;
963
- componentSet: string;
964
- contentItem?: {
965
- id: string;
966
- } | {
967
- content: Record<string, unknown>;
968
- schemaName: string;
969
- } | undefined;
970
- } | (({
971
- type: "tag";
972
- tag: string;
973
- attributes?: Record<string, string> | undefined;
974
- font?: {
975
- bold?: boolean | undefined;
976
- italics?: boolean | undefined;
977
- underline?: boolean | undefined;
978
- color?: string | undefined;
979
- size?: string | undefined;
980
- fontFamily?: string | undefined;
981
- } | undefined;
982
- formattingOptions?: {
983
- alignment: "left" | "center" | "right" | "justify";
984
- } | undefined;
985
- } | {
986
- type: "link-to-matrix-asset";
987
- matrixDomain: string;
988
- matrixAssetId: string;
989
- target: "_blank" | "_self" | "_parent" | "_top";
990
- matrixIdentifier?: string | undefined;
991
- formattingOptions?: {
992
- alignment: "left" | "center" | "right" | "justify";
993
- } | undefined;
994
- }) & {
995
- children: (import("../layout-content").LayoutVariationNode | ({
996
- value: string;
997
- type: "text";
998
- } | {
999
- type: "matrix-image";
1000
- matrixDomain: string;
1001
- matrixAssetId: string;
1002
- matrixIdentifier?: string | undefined;
1003
- formattingOptions?: {
1004
- alignment: "left" | "center" | "right" | "justify";
1005
- } | undefined;
1006
- } | {
1007
- type: "component";
1008
- componentId: string;
1009
- componentSet: string;
1010
- contentItem?: {
1011
- id: string;
1012
- } | {
1013
- content: Record<string, unknown>;
1014
- schemaName: string;
1015
- } | undefined;
1016
- } | (({
1017
- type: "tag";
1018
- tag: string;
1019
- attributes?: Record<string, string> | undefined;
1020
- font?: {
1021
- bold?: boolean | undefined;
1022
- italics?: boolean | undefined;
1023
- underline?: boolean | undefined;
1024
- color?: string | undefined;
1025
- size?: string | undefined;
1026
- fontFamily?: string | undefined;
1027
- } | undefined;
1028
- formattingOptions?: {
1029
- alignment: "left" | "center" | "right" | "justify";
1030
- } | undefined;
1031
- } | {
1032
- type: "link-to-matrix-asset";
1033
- matrixDomain: string;
1034
- matrixAssetId: string;
1035
- target: "_blank" | "_self" | "_parent" | "_top";
1036
- matrixIdentifier?: string | undefined;
1037
- formattingOptions?: {
1038
- alignment: "left" | "center" | "right" | "justify";
1039
- } | undefined;
1040
- }) & any)))[];
1041
- })))[];
209
+ left: LayoutContentNodes[];
210
+ right: LayoutContentNodes[];
1042
211
  };
1043
212
  name: "two-column";
1044
213
  }, {