@squiz/dx-page-contents-lib 1.76.0 → 1.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/formatted-text.d.ts +31 -0
- package/lib/formatted-text.js +11 -9
- package/lib/formatted-text.js.map +1 -1
- package/lib/layout-content.d.ts +52 -0
- package/lib/layouts/custom-layout.d.ts +63 -0
- package/lib/layouts/index.d.ts +280 -0
- package/lib/layouts/raw.layout.d.ts +56 -0
- package/lib/layouts/single-column.layout.d.ts +56 -0
- package/lib/layouts/two-column.layout.d.ts +112 -0
- package/lib/mocks/PageContentsHelpers.d.ts +378 -0
- package/lib/mocks/PageContentsMocks.d.ts +6 -0
- package/lib/page-contents-lib.d.ts +25 -0
- package/lib/page-contents-lib.js +13 -1
- package/lib/page-contents-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -38,6 +38,12 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
38
38
|
nodeId: string;
|
|
39
39
|
componentId: string;
|
|
40
40
|
componentSet: string;
|
|
41
|
+
i18n?: Record<string, {
|
|
42
|
+
id: string;
|
|
43
|
+
} | {
|
|
44
|
+
content: Record<string, unknown>;
|
|
45
|
+
schemaName: string;
|
|
46
|
+
}> | undefined;
|
|
41
47
|
componentType?: "server" | "edge" | undefined;
|
|
42
48
|
contentItem?: {
|
|
43
49
|
id: string;
|
|
@@ -64,6 +70,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
64
70
|
} | {
|
|
65
71
|
type: "fragment";
|
|
66
72
|
nodeId: string;
|
|
73
|
+
i18n?: Record<string, {}> | undefined;
|
|
67
74
|
} | {
|
|
68
75
|
type: "link-to-matrix-asset";
|
|
69
76
|
nodeId: string;
|
|
@@ -120,6 +127,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
120
127
|
} | {
|
|
121
128
|
type: "fragment";
|
|
122
129
|
nodeId?: string | undefined;
|
|
130
|
+
i18n?: Record<string, {}> | undefined;
|
|
123
131
|
} | {
|
|
124
132
|
type: "link-to-matrix-asset";
|
|
125
133
|
matrixDomain: string;
|
|
@@ -183,6 +191,12 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
183
191
|
componentId: string;
|
|
184
192
|
componentSet: string;
|
|
185
193
|
nodeId?: string | undefined;
|
|
194
|
+
i18n?: Record<string, {
|
|
195
|
+
id: string;
|
|
196
|
+
} | {
|
|
197
|
+
content: Record<string, unknown>;
|
|
198
|
+
schemaName: string;
|
|
199
|
+
}> | undefined;
|
|
186
200
|
componentType?: "server" | "edge" | undefined;
|
|
187
201
|
contentItem?: {
|
|
188
202
|
id: string;
|
|
@@ -256,6 +270,12 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
256
270
|
nodeId: string;
|
|
257
271
|
componentId: string;
|
|
258
272
|
componentSet: string;
|
|
273
|
+
i18n?: Record<string, {
|
|
274
|
+
id: string;
|
|
275
|
+
} | {
|
|
276
|
+
content: Record<string, unknown>;
|
|
277
|
+
schemaName: string;
|
|
278
|
+
}> | undefined;
|
|
259
279
|
componentType?: "server" | "edge" | undefined;
|
|
260
280
|
contentItem?: {
|
|
261
281
|
id: string;
|
|
@@ -282,6 +302,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
282
302
|
} | {
|
|
283
303
|
type: "fragment";
|
|
284
304
|
nodeId: string;
|
|
305
|
+
i18n?: Record<string, {}> | undefined;
|
|
285
306
|
} | {
|
|
286
307
|
type: "link-to-matrix-asset";
|
|
287
308
|
nodeId: string;
|
|
@@ -338,6 +359,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
338
359
|
} | {
|
|
339
360
|
type: "fragment";
|
|
340
361
|
nodeId?: string | undefined;
|
|
362
|
+
i18n?: Record<string, {}> | undefined;
|
|
341
363
|
} | {
|
|
342
364
|
type: "link-to-matrix-asset";
|
|
343
365
|
matrixDomain: string;
|
|
@@ -401,6 +423,12 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
401
423
|
componentId: string;
|
|
402
424
|
componentSet: string;
|
|
403
425
|
nodeId?: string | undefined;
|
|
426
|
+
i18n?: Record<string, {
|
|
427
|
+
id: string;
|
|
428
|
+
} | {
|
|
429
|
+
content: Record<string, unknown>;
|
|
430
|
+
schemaName: string;
|
|
431
|
+
}> | undefined;
|
|
404
432
|
componentType?: "server" | "edge" | undefined;
|
|
405
433
|
contentItem?: {
|
|
406
434
|
id: string;
|
|
@@ -476,6 +504,12 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
476
504
|
nodeId: string;
|
|
477
505
|
componentId: string;
|
|
478
506
|
componentSet: string;
|
|
507
|
+
i18n?: Record<string, {
|
|
508
|
+
id: string;
|
|
509
|
+
} | {
|
|
510
|
+
content: Record<string, unknown>;
|
|
511
|
+
schemaName: string;
|
|
512
|
+
}> | undefined;
|
|
479
513
|
componentType?: "server" | "edge" | undefined;
|
|
480
514
|
contentItem?: {
|
|
481
515
|
id: string;
|
|
@@ -502,6 +536,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
502
536
|
} | {
|
|
503
537
|
type: "fragment";
|
|
504
538
|
nodeId: string;
|
|
539
|
+
i18n?: Record<string, {}> | undefined;
|
|
505
540
|
} | {
|
|
506
541
|
type: "link-to-matrix-asset";
|
|
507
542
|
nodeId: string;
|
|
@@ -560,6 +595,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
560
595
|
} | {
|
|
561
596
|
type: "fragment";
|
|
562
597
|
nodeId?: string | undefined;
|
|
598
|
+
i18n?: Record<string, {}> | undefined;
|
|
563
599
|
} | {
|
|
564
600
|
type: "link-to-matrix-asset";
|
|
565
601
|
matrixDomain: string;
|
|
@@ -623,6 +659,12 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
623
659
|
componentId: string;
|
|
624
660
|
componentSet: string;
|
|
625
661
|
nodeId?: string | undefined;
|
|
662
|
+
i18n?: Record<string, {
|
|
663
|
+
id: string;
|
|
664
|
+
} | {
|
|
665
|
+
content: Record<string, unknown>;
|
|
666
|
+
schemaName: string;
|
|
667
|
+
}> | undefined;
|
|
626
668
|
componentType?: "server" | "edge" | undefined;
|
|
627
669
|
contentItem?: {
|
|
628
670
|
id: string;
|
|
@@ -700,6 +742,12 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
700
742
|
nodeId: string;
|
|
701
743
|
componentId: string;
|
|
702
744
|
componentSet: string;
|
|
745
|
+
i18n?: Record<string, {
|
|
746
|
+
id: string;
|
|
747
|
+
} | {
|
|
748
|
+
content: Record<string, unknown>;
|
|
749
|
+
schemaName: string;
|
|
750
|
+
}> | undefined;
|
|
703
751
|
componentType?: "server" | "edge" | undefined;
|
|
704
752
|
contentItem?: {
|
|
705
753
|
id: string;
|
|
@@ -726,6 +774,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
726
774
|
} | {
|
|
727
775
|
type: "fragment";
|
|
728
776
|
nodeId: string;
|
|
777
|
+
i18n?: Record<string, {}> | undefined;
|
|
729
778
|
} | {
|
|
730
779
|
type: "link-to-matrix-asset";
|
|
731
780
|
nodeId: string;
|
|
@@ -787,6 +836,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
787
836
|
} | {
|
|
788
837
|
type: "fragment";
|
|
789
838
|
nodeId?: string | undefined;
|
|
839
|
+
i18n?: Record<string, {}> | undefined;
|
|
790
840
|
} | {
|
|
791
841
|
type: "link-to-matrix-asset";
|
|
792
842
|
matrixDomain: string;
|
|
@@ -850,6 +900,12 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
850
900
|
componentId: string;
|
|
851
901
|
componentSet: string;
|
|
852
902
|
nodeId?: string | undefined;
|
|
903
|
+
i18n?: Record<string, {
|
|
904
|
+
id: string;
|
|
905
|
+
} | {
|
|
906
|
+
content: Record<string, unknown>;
|
|
907
|
+
schemaName: string;
|
|
908
|
+
}> | undefined;
|
|
853
909
|
componentType?: "server" | "edge" | undefined;
|
|
854
910
|
contentItem?: {
|
|
855
911
|
id: string;
|
|
@@ -38,6 +38,12 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
38
38
|
nodeId: string;
|
|
39
39
|
componentId: string;
|
|
40
40
|
componentSet: string;
|
|
41
|
+
i18n?: Record<string, {
|
|
42
|
+
id: string;
|
|
43
|
+
} | {
|
|
44
|
+
content: Record<string, unknown>;
|
|
45
|
+
schemaName: string;
|
|
46
|
+
}> | undefined;
|
|
41
47
|
componentType?: "server" | "edge" | undefined;
|
|
42
48
|
contentItem?: {
|
|
43
49
|
id: string;
|
|
@@ -64,6 +70,7 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
64
70
|
} | {
|
|
65
71
|
type: "fragment";
|
|
66
72
|
nodeId: string;
|
|
73
|
+
i18n?: Record<string, {}> | undefined;
|
|
67
74
|
} | {
|
|
68
75
|
type: "link-to-matrix-asset";
|
|
69
76
|
nodeId: string;
|
|
@@ -120,6 +127,7 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
120
127
|
} | {
|
|
121
128
|
type: "fragment";
|
|
122
129
|
nodeId?: string | undefined;
|
|
130
|
+
i18n?: Record<string, {}> | undefined;
|
|
123
131
|
} | {
|
|
124
132
|
type: "link-to-matrix-asset";
|
|
125
133
|
matrixDomain: string;
|
|
@@ -183,6 +191,12 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
183
191
|
componentId: string;
|
|
184
192
|
componentSet: string;
|
|
185
193
|
nodeId?: string | undefined;
|
|
194
|
+
i18n?: Record<string, {
|
|
195
|
+
id: string;
|
|
196
|
+
} | {
|
|
197
|
+
content: Record<string, unknown>;
|
|
198
|
+
schemaName: string;
|
|
199
|
+
}> | undefined;
|
|
186
200
|
componentType?: "server" | "edge" | undefined;
|
|
187
201
|
contentItem?: {
|
|
188
202
|
id: string;
|
|
@@ -256,6 +270,12 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
256
270
|
nodeId: string;
|
|
257
271
|
componentId: string;
|
|
258
272
|
componentSet: string;
|
|
273
|
+
i18n?: Record<string, {
|
|
274
|
+
id: string;
|
|
275
|
+
} | {
|
|
276
|
+
content: Record<string, unknown>;
|
|
277
|
+
schemaName: string;
|
|
278
|
+
}> | undefined;
|
|
259
279
|
componentType?: "server" | "edge" | undefined;
|
|
260
280
|
contentItem?: {
|
|
261
281
|
id: string;
|
|
@@ -282,6 +302,7 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
282
302
|
} | {
|
|
283
303
|
type: "fragment";
|
|
284
304
|
nodeId: string;
|
|
305
|
+
i18n?: Record<string, {}> | undefined;
|
|
285
306
|
} | {
|
|
286
307
|
type: "link-to-matrix-asset";
|
|
287
308
|
nodeId: string;
|
|
@@ -338,6 +359,7 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
338
359
|
} | {
|
|
339
360
|
type: "fragment";
|
|
340
361
|
nodeId?: string | undefined;
|
|
362
|
+
i18n?: Record<string, {}> | undefined;
|
|
341
363
|
} | {
|
|
342
364
|
type: "link-to-matrix-asset";
|
|
343
365
|
matrixDomain: string;
|
|
@@ -401,6 +423,12 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
401
423
|
componentId: string;
|
|
402
424
|
componentSet: string;
|
|
403
425
|
nodeId?: string | undefined;
|
|
426
|
+
i18n?: Record<string, {
|
|
427
|
+
id: string;
|
|
428
|
+
} | {
|
|
429
|
+
content: Record<string, unknown>;
|
|
430
|
+
schemaName: string;
|
|
431
|
+
}> | undefined;
|
|
404
432
|
componentType?: "server" | "edge" | undefined;
|
|
405
433
|
contentItem?: {
|
|
406
434
|
id: string;
|
|
@@ -476,6 +504,12 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
476
504
|
nodeId: string;
|
|
477
505
|
componentId: string;
|
|
478
506
|
componentSet: string;
|
|
507
|
+
i18n?: Record<string, {
|
|
508
|
+
id: string;
|
|
509
|
+
} | {
|
|
510
|
+
content: Record<string, unknown>;
|
|
511
|
+
schemaName: string;
|
|
512
|
+
}> | undefined;
|
|
479
513
|
componentType?: "server" | "edge" | undefined;
|
|
480
514
|
contentItem?: {
|
|
481
515
|
id: string;
|
|
@@ -502,6 +536,7 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
502
536
|
} | {
|
|
503
537
|
type: "fragment";
|
|
504
538
|
nodeId: string;
|
|
539
|
+
i18n?: Record<string, {}> | undefined;
|
|
505
540
|
} | {
|
|
506
541
|
type: "link-to-matrix-asset";
|
|
507
542
|
nodeId: string;
|
|
@@ -560,6 +595,7 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
560
595
|
} | {
|
|
561
596
|
type: "fragment";
|
|
562
597
|
nodeId?: string | undefined;
|
|
598
|
+
i18n?: Record<string, {}> | undefined;
|
|
563
599
|
} | {
|
|
564
600
|
type: "link-to-matrix-asset";
|
|
565
601
|
matrixDomain: string;
|
|
@@ -623,6 +659,12 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
623
659
|
componentId: string;
|
|
624
660
|
componentSet: string;
|
|
625
661
|
nodeId?: string | undefined;
|
|
662
|
+
i18n?: Record<string, {
|
|
663
|
+
id: string;
|
|
664
|
+
} | {
|
|
665
|
+
content: Record<string, unknown>;
|
|
666
|
+
schemaName: string;
|
|
667
|
+
}> | undefined;
|
|
626
668
|
componentType?: "server" | "edge" | undefined;
|
|
627
669
|
contentItem?: {
|
|
628
670
|
id: string;
|
|
@@ -700,6 +742,12 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
700
742
|
nodeId: string;
|
|
701
743
|
componentId: string;
|
|
702
744
|
componentSet: string;
|
|
745
|
+
i18n?: Record<string, {
|
|
746
|
+
id: string;
|
|
747
|
+
} | {
|
|
748
|
+
content: Record<string, unknown>;
|
|
749
|
+
schemaName: string;
|
|
750
|
+
}> | undefined;
|
|
703
751
|
componentType?: "server" | "edge" | undefined;
|
|
704
752
|
contentItem?: {
|
|
705
753
|
id: string;
|
|
@@ -726,6 +774,7 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
726
774
|
} | {
|
|
727
775
|
type: "fragment";
|
|
728
776
|
nodeId: string;
|
|
777
|
+
i18n?: Record<string, {}> | undefined;
|
|
729
778
|
} | {
|
|
730
779
|
type: "link-to-matrix-asset";
|
|
731
780
|
nodeId: string;
|
|
@@ -787,6 +836,7 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
787
836
|
} | {
|
|
788
837
|
type: "fragment";
|
|
789
838
|
nodeId?: string | undefined;
|
|
839
|
+
i18n?: Record<string, {}> | undefined;
|
|
790
840
|
} | {
|
|
791
841
|
type: "link-to-matrix-asset";
|
|
792
842
|
matrixDomain: string;
|
|
@@ -850,6 +900,12 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
850
900
|
componentId: string;
|
|
851
901
|
componentSet: string;
|
|
852
902
|
nodeId?: string | undefined;
|
|
903
|
+
i18n?: Record<string, {
|
|
904
|
+
id: string;
|
|
905
|
+
} | {
|
|
906
|
+
content: Record<string, unknown>;
|
|
907
|
+
schemaName: string;
|
|
908
|
+
}> | undefined;
|
|
853
909
|
componentType?: "server" | "edge" | undefined;
|
|
854
910
|
contentItem?: {
|
|
855
911
|
id: string;
|
|
@@ -38,6 +38,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
38
38
|
nodeId: string;
|
|
39
39
|
componentId: string;
|
|
40
40
|
componentSet: string;
|
|
41
|
+
i18n?: Record<string, {
|
|
42
|
+
id: string;
|
|
43
|
+
} | {
|
|
44
|
+
content: Record<string, unknown>;
|
|
45
|
+
schemaName: string;
|
|
46
|
+
}> | undefined;
|
|
41
47
|
componentType?: "server" | "edge" | undefined;
|
|
42
48
|
contentItem?: {
|
|
43
49
|
id: string;
|
|
@@ -64,6 +70,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
64
70
|
} | {
|
|
65
71
|
type: "fragment";
|
|
66
72
|
nodeId: string;
|
|
73
|
+
i18n?: Record<string, {}> | undefined;
|
|
67
74
|
} | {
|
|
68
75
|
type: "link-to-matrix-asset";
|
|
69
76
|
nodeId: string;
|
|
@@ -120,6 +127,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
120
127
|
} | {
|
|
121
128
|
type: "fragment";
|
|
122
129
|
nodeId?: string | undefined;
|
|
130
|
+
i18n?: Record<string, {}> | undefined;
|
|
123
131
|
} | {
|
|
124
132
|
type: "link-to-matrix-asset";
|
|
125
133
|
matrixDomain: string;
|
|
@@ -183,6 +191,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
183
191
|
componentId: string;
|
|
184
192
|
componentSet: string;
|
|
185
193
|
nodeId?: string | undefined;
|
|
194
|
+
i18n?: Record<string, {
|
|
195
|
+
id: string;
|
|
196
|
+
} | {
|
|
197
|
+
content: Record<string, unknown>;
|
|
198
|
+
schemaName: string;
|
|
199
|
+
}> | undefined;
|
|
186
200
|
componentType?: "server" | "edge" | undefined;
|
|
187
201
|
contentItem?: {
|
|
188
202
|
id: string;
|
|
@@ -256,6 +270,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
256
270
|
nodeId: string;
|
|
257
271
|
componentId: string;
|
|
258
272
|
componentSet: string;
|
|
273
|
+
i18n?: Record<string, {
|
|
274
|
+
id: string;
|
|
275
|
+
} | {
|
|
276
|
+
content: Record<string, unknown>;
|
|
277
|
+
schemaName: string;
|
|
278
|
+
}> | undefined;
|
|
259
279
|
componentType?: "server" | "edge" | undefined;
|
|
260
280
|
contentItem?: {
|
|
261
281
|
id: string;
|
|
@@ -282,6 +302,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
282
302
|
} | {
|
|
283
303
|
type: "fragment";
|
|
284
304
|
nodeId: string;
|
|
305
|
+
i18n?: Record<string, {}> | undefined;
|
|
285
306
|
} | {
|
|
286
307
|
type: "link-to-matrix-asset";
|
|
287
308
|
nodeId: string;
|
|
@@ -338,6 +359,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
338
359
|
} | {
|
|
339
360
|
type: "fragment";
|
|
340
361
|
nodeId?: string | undefined;
|
|
362
|
+
i18n?: Record<string, {}> | undefined;
|
|
341
363
|
} | {
|
|
342
364
|
type: "link-to-matrix-asset";
|
|
343
365
|
matrixDomain: string;
|
|
@@ -401,6 +423,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
401
423
|
componentId: string;
|
|
402
424
|
componentSet: string;
|
|
403
425
|
nodeId?: string | undefined;
|
|
426
|
+
i18n?: Record<string, {
|
|
427
|
+
id: string;
|
|
428
|
+
} | {
|
|
429
|
+
content: Record<string, unknown>;
|
|
430
|
+
schemaName: string;
|
|
431
|
+
}> | undefined;
|
|
404
432
|
componentType?: "server" | "edge" | undefined;
|
|
405
433
|
contentItem?: {
|
|
406
434
|
id: string;
|
|
@@ -475,6 +503,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
475
503
|
nodeId: string;
|
|
476
504
|
componentId: string;
|
|
477
505
|
componentSet: string;
|
|
506
|
+
i18n?: Record<string, {
|
|
507
|
+
id: string;
|
|
508
|
+
} | {
|
|
509
|
+
content: Record<string, unknown>;
|
|
510
|
+
schemaName: string;
|
|
511
|
+
}> | undefined;
|
|
478
512
|
componentType?: "server" | "edge" | undefined;
|
|
479
513
|
contentItem?: {
|
|
480
514
|
id: string;
|
|
@@ -501,6 +535,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
501
535
|
} | {
|
|
502
536
|
type: "fragment";
|
|
503
537
|
nodeId: string;
|
|
538
|
+
i18n?: Record<string, {}> | undefined;
|
|
504
539
|
} | {
|
|
505
540
|
type: "link-to-matrix-asset";
|
|
506
541
|
nodeId: string;
|
|
@@ -557,6 +592,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
557
592
|
} | {
|
|
558
593
|
type: "fragment";
|
|
559
594
|
nodeId?: string | undefined;
|
|
595
|
+
i18n?: Record<string, {}> | undefined;
|
|
560
596
|
} | {
|
|
561
597
|
type: "link-to-matrix-asset";
|
|
562
598
|
matrixDomain: string;
|
|
@@ -620,6 +656,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
620
656
|
componentId: string;
|
|
621
657
|
componentSet: string;
|
|
622
658
|
nodeId?: string | undefined;
|
|
659
|
+
i18n?: Record<string, {
|
|
660
|
+
id: string;
|
|
661
|
+
} | {
|
|
662
|
+
content: Record<string, unknown>;
|
|
663
|
+
schemaName: string;
|
|
664
|
+
}> | undefined;
|
|
623
665
|
componentType?: "server" | "edge" | undefined;
|
|
624
666
|
contentItem?: {
|
|
625
667
|
id: string;
|
|
@@ -693,6 +735,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
693
735
|
nodeId: string;
|
|
694
736
|
componentId: string;
|
|
695
737
|
componentSet: string;
|
|
738
|
+
i18n?: Record<string, {
|
|
739
|
+
id: string;
|
|
740
|
+
} | {
|
|
741
|
+
content: Record<string, unknown>;
|
|
742
|
+
schemaName: string;
|
|
743
|
+
}> | undefined;
|
|
696
744
|
componentType?: "server" | "edge" | undefined;
|
|
697
745
|
contentItem?: {
|
|
698
746
|
id: string;
|
|
@@ -719,6 +767,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
719
767
|
} | {
|
|
720
768
|
type: "fragment";
|
|
721
769
|
nodeId: string;
|
|
770
|
+
i18n?: Record<string, {}> | undefined;
|
|
722
771
|
} | {
|
|
723
772
|
type: "link-to-matrix-asset";
|
|
724
773
|
nodeId: string;
|
|
@@ -775,6 +824,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
775
824
|
} | {
|
|
776
825
|
type: "fragment";
|
|
777
826
|
nodeId?: string | undefined;
|
|
827
|
+
i18n?: Record<string, {}> | undefined;
|
|
778
828
|
} | {
|
|
779
829
|
type: "link-to-matrix-asset";
|
|
780
830
|
matrixDomain: string;
|
|
@@ -838,6 +888,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
838
888
|
componentId: string;
|
|
839
889
|
componentSet: string;
|
|
840
890
|
nodeId?: string | undefined;
|
|
891
|
+
i18n?: Record<string, {
|
|
892
|
+
id: string;
|
|
893
|
+
} | {
|
|
894
|
+
content: Record<string, unknown>;
|
|
895
|
+
schemaName: string;
|
|
896
|
+
}> | undefined;
|
|
841
897
|
componentType?: "server" | "edge" | undefined;
|
|
842
898
|
contentItem?: {
|
|
843
899
|
id: string;
|
|
@@ -913,6 +969,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
913
969
|
nodeId: string;
|
|
914
970
|
componentId: string;
|
|
915
971
|
componentSet: string;
|
|
972
|
+
i18n?: Record<string, {
|
|
973
|
+
id: string;
|
|
974
|
+
} | {
|
|
975
|
+
content: Record<string, unknown>;
|
|
976
|
+
schemaName: string;
|
|
977
|
+
}> | undefined;
|
|
916
978
|
componentType?: "server" | "edge" | undefined;
|
|
917
979
|
contentItem?: {
|
|
918
980
|
id: string;
|
|
@@ -939,6 +1001,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
939
1001
|
} | {
|
|
940
1002
|
type: "fragment";
|
|
941
1003
|
nodeId: string;
|
|
1004
|
+
i18n?: Record<string, {}> | undefined;
|
|
942
1005
|
} | {
|
|
943
1006
|
type: "link-to-matrix-asset";
|
|
944
1007
|
nodeId: string;
|
|
@@ -1009,6 +1072,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1009
1072
|
nodeId: string;
|
|
1010
1073
|
componentId: string;
|
|
1011
1074
|
componentSet: string;
|
|
1075
|
+
i18n?: Record<string, {
|
|
1076
|
+
id: string;
|
|
1077
|
+
} | {
|
|
1078
|
+
content: Record<string, unknown>;
|
|
1079
|
+
schemaName: string;
|
|
1080
|
+
}> | undefined;
|
|
1012
1081
|
componentType?: "server" | "edge" | undefined;
|
|
1013
1082
|
contentItem?: {
|
|
1014
1083
|
id: string;
|
|
@@ -1035,6 +1104,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1035
1104
|
} | {
|
|
1036
1105
|
type: "fragment";
|
|
1037
1106
|
nodeId: string;
|
|
1107
|
+
i18n?: Record<string, {}> | undefined;
|
|
1038
1108
|
} | {
|
|
1039
1109
|
type: "link-to-matrix-asset";
|
|
1040
1110
|
nodeId: string;
|
|
@@ -1093,6 +1163,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1093
1163
|
} | {
|
|
1094
1164
|
type: "fragment";
|
|
1095
1165
|
nodeId?: string | undefined;
|
|
1166
|
+
i18n?: Record<string, {}> | undefined;
|
|
1096
1167
|
} | {
|
|
1097
1168
|
type: "link-to-matrix-asset";
|
|
1098
1169
|
matrixDomain: string;
|
|
@@ -1156,6 +1227,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1156
1227
|
componentId: string;
|
|
1157
1228
|
componentSet: string;
|
|
1158
1229
|
nodeId?: string | undefined;
|
|
1230
|
+
i18n?: Record<string, {
|
|
1231
|
+
id: string;
|
|
1232
|
+
} | {
|
|
1233
|
+
content: Record<string, unknown>;
|
|
1234
|
+
schemaName: string;
|
|
1235
|
+
}> | undefined;
|
|
1159
1236
|
componentType?: "server" | "edge" | undefined;
|
|
1160
1237
|
contentItem?: {
|
|
1161
1238
|
id: string;
|
|
@@ -1217,6 +1294,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1217
1294
|
} | {
|
|
1218
1295
|
type: "fragment";
|
|
1219
1296
|
nodeId?: string | undefined;
|
|
1297
|
+
i18n?: Record<string, {}> | undefined;
|
|
1220
1298
|
} | {
|
|
1221
1299
|
type: "link-to-matrix-asset";
|
|
1222
1300
|
matrixDomain: string;
|
|
@@ -1280,6 +1358,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1280
1358
|
componentId: string;
|
|
1281
1359
|
componentSet: string;
|
|
1282
1360
|
nodeId?: string | undefined;
|
|
1361
|
+
i18n?: Record<string, {
|
|
1362
|
+
id: string;
|
|
1363
|
+
} | {
|
|
1364
|
+
content: Record<string, unknown>;
|
|
1365
|
+
schemaName: string;
|
|
1366
|
+
}> | undefined;
|
|
1283
1367
|
componentType?: "server" | "edge" | undefined;
|
|
1284
1368
|
contentItem?: {
|
|
1285
1369
|
id: string;
|
|
@@ -1357,6 +1441,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1357
1441
|
nodeId: string;
|
|
1358
1442
|
componentId: string;
|
|
1359
1443
|
componentSet: string;
|
|
1444
|
+
i18n?: Record<string, {
|
|
1445
|
+
id: string;
|
|
1446
|
+
} | {
|
|
1447
|
+
content: Record<string, unknown>;
|
|
1448
|
+
schemaName: string;
|
|
1449
|
+
}> | undefined;
|
|
1360
1450
|
componentType?: "server" | "edge" | undefined;
|
|
1361
1451
|
contentItem?: {
|
|
1362
1452
|
id: string;
|
|
@@ -1383,6 +1473,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1383
1473
|
} | {
|
|
1384
1474
|
type: "fragment";
|
|
1385
1475
|
nodeId: string;
|
|
1476
|
+
i18n?: Record<string, {}> | undefined;
|
|
1386
1477
|
} | {
|
|
1387
1478
|
type: "link-to-matrix-asset";
|
|
1388
1479
|
nodeId: string;
|
|
@@ -1453,6 +1544,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1453
1544
|
nodeId: string;
|
|
1454
1545
|
componentId: string;
|
|
1455
1546
|
componentSet: string;
|
|
1547
|
+
i18n?: Record<string, {
|
|
1548
|
+
id: string;
|
|
1549
|
+
} | {
|
|
1550
|
+
content: Record<string, unknown>;
|
|
1551
|
+
schemaName: string;
|
|
1552
|
+
}> | undefined;
|
|
1456
1553
|
componentType?: "server" | "edge" | undefined;
|
|
1457
1554
|
contentItem?: {
|
|
1458
1555
|
id: string;
|
|
@@ -1479,6 +1576,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1479
1576
|
} | {
|
|
1480
1577
|
type: "fragment";
|
|
1481
1578
|
nodeId: string;
|
|
1579
|
+
i18n?: Record<string, {}> | undefined;
|
|
1482
1580
|
} | {
|
|
1483
1581
|
type: "link-to-matrix-asset";
|
|
1484
1582
|
nodeId: string;
|
|
@@ -1540,6 +1638,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1540
1638
|
} | {
|
|
1541
1639
|
type: "fragment";
|
|
1542
1640
|
nodeId?: string | undefined;
|
|
1641
|
+
i18n?: Record<string, {}> | undefined;
|
|
1543
1642
|
} | {
|
|
1544
1643
|
type: "link-to-matrix-asset";
|
|
1545
1644
|
matrixDomain: string;
|
|
@@ -1603,6 +1702,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1603
1702
|
componentId: string;
|
|
1604
1703
|
componentSet: string;
|
|
1605
1704
|
nodeId?: string | undefined;
|
|
1705
|
+
i18n?: Record<string, {
|
|
1706
|
+
id: string;
|
|
1707
|
+
} | {
|
|
1708
|
+
content: Record<string, unknown>;
|
|
1709
|
+
schemaName: string;
|
|
1710
|
+
}> | undefined;
|
|
1606
1711
|
componentType?: "server" | "edge" | undefined;
|
|
1607
1712
|
contentItem?: {
|
|
1608
1713
|
id: string;
|
|
@@ -1664,6 +1769,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1664
1769
|
} | {
|
|
1665
1770
|
type: "fragment";
|
|
1666
1771
|
nodeId?: string | undefined;
|
|
1772
|
+
i18n?: Record<string, {}> | undefined;
|
|
1667
1773
|
} | {
|
|
1668
1774
|
type: "link-to-matrix-asset";
|
|
1669
1775
|
matrixDomain: string;
|
|
@@ -1727,6 +1833,12 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1727
1833
|
componentId: string;
|
|
1728
1834
|
componentSet: string;
|
|
1729
1835
|
nodeId?: string | undefined;
|
|
1836
|
+
i18n?: Record<string, {
|
|
1837
|
+
id: string;
|
|
1838
|
+
} | {
|
|
1839
|
+
content: Record<string, unknown>;
|
|
1840
|
+
schemaName: string;
|
|
1841
|
+
}> | undefined;
|
|
1730
1842
|
componentType?: "server" | "edge" | undefined;
|
|
1731
1843
|
contentItem?: {
|
|
1732
1844
|
id: string;
|