@squiz/dx-page-contents-lib 1.71.1 → 1.73.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 +144 -0
- package/lib/formatted-text.js +29 -1
- package/lib/formatted-text.js.map +1 -1
- package/lib/layout-content.d.ts +81 -2
- package/lib/layout-content.js +6 -2
- package/lib/layout-content.js.map +1 -1
- package/lib/layouts/custom-layout.d.ts +150 -25
- package/lib/layouts/index.d.ts +527 -27
- package/lib/layouts/raw.layout.d.ts +103 -3
- package/lib/layouts/single-column.layout.d.ts +103 -3
- package/lib/layouts/two-column.layout.d.ts +206 -6
- package/lib/mocks/PageContentsHelpers.d.ts +661 -36
- package/lib/mocks/PageContentsMocks.js +1 -0
- package/lib/mocks/PageContentsMocks.js.map +1 -1
- package/lib/page-contents-lib.d.ts +1 -1
- package/lib/page-contents-lib.js +2 -1
- package/lib/page-contents-lib.js.map +1 -1
- package/lib/resolvers/default-layout-resolver.d.ts +5 -0
- package/lib/resolvers/default-layout-resolver.js +14 -0
- package/lib/resolvers/default-layout-resolver.js.map +1 -0
- package/lib/resolvers/index.d.ts +1 -0
- package/lib/resolvers/index.js +1 -0
- package/lib/resolvers/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -152,6 +152,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
152
152
|
}>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
|
|
153
153
|
type: "variation";
|
|
154
154
|
default: {};
|
|
155
|
+
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
156
|
+
type: "layout";
|
|
157
|
+
layout: {
|
|
158
|
+
options: Record<string, {
|
|
159
|
+
values: string[];
|
|
160
|
+
displayName: string;
|
|
161
|
+
description: string;
|
|
162
|
+
selectedValue: string;
|
|
163
|
+
}>;
|
|
164
|
+
name: string;
|
|
165
|
+
displayName: string;
|
|
166
|
+
description: string;
|
|
167
|
+
template: string;
|
|
168
|
+
zones: Record<string, {
|
|
169
|
+
displayName: string;
|
|
170
|
+
description: string;
|
|
171
|
+
minNodes: number;
|
|
172
|
+
maxNodes?: number | undefined;
|
|
173
|
+
}>;
|
|
174
|
+
} | {
|
|
175
|
+
options: Record<string, {
|
|
176
|
+
selectedValue: string;
|
|
177
|
+
}>;
|
|
178
|
+
name: string;
|
|
179
|
+
};
|
|
155
180
|
}>]>, "many">, (LayoutVariationNode | ({
|
|
156
181
|
value: string;
|
|
157
182
|
type: "text";
|
|
@@ -223,7 +248,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
223
248
|
matrixIdentifier?: string | undefined;
|
|
224
249
|
}) & {
|
|
225
250
|
children: LayoutContentNodes[];
|
|
226
|
-
})))[], ({
|
|
251
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
227
252
|
value: string;
|
|
228
253
|
type: "text";
|
|
229
254
|
} | {
|
|
@@ -295,6 +320,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
295
320
|
} | {
|
|
296
321
|
type: "variation";
|
|
297
322
|
default: {};
|
|
323
|
+
} | {
|
|
324
|
+
type: "layout";
|
|
325
|
+
layout: {
|
|
326
|
+
options: Record<string, {
|
|
327
|
+
values: string[];
|
|
328
|
+
displayName: string;
|
|
329
|
+
description: string;
|
|
330
|
+
selectedValue: string;
|
|
331
|
+
}>;
|
|
332
|
+
name: string;
|
|
333
|
+
displayName: string;
|
|
334
|
+
description: string;
|
|
335
|
+
template: string;
|
|
336
|
+
zones: Record<string, {
|
|
337
|
+
displayName: string;
|
|
338
|
+
description: string;
|
|
339
|
+
minNodes: number;
|
|
340
|
+
maxNodes?: number | undefined;
|
|
341
|
+
}>;
|
|
342
|
+
} | {
|
|
343
|
+
options: Record<string, {
|
|
344
|
+
selectedValue: string;
|
|
345
|
+
}>;
|
|
346
|
+
name: string;
|
|
347
|
+
};
|
|
298
348
|
})[]>;
|
|
299
349
|
}, "strip", z.ZodTypeAny, {
|
|
300
350
|
main: (LayoutVariationNode | ({
|
|
@@ -368,7 +418,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
368
418
|
matrixIdentifier?: string | undefined;
|
|
369
419
|
}) & {
|
|
370
420
|
children: LayoutContentNodes[];
|
|
371
|
-
})))[];
|
|
421
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
372
422
|
}, {
|
|
373
423
|
main: ({
|
|
374
424
|
value: string;
|
|
@@ -442,6 +492,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
442
492
|
} | {
|
|
443
493
|
type: "variation";
|
|
444
494
|
default: {};
|
|
495
|
+
} | {
|
|
496
|
+
type: "layout";
|
|
497
|
+
layout: {
|
|
498
|
+
options: Record<string, {
|
|
499
|
+
values: string[];
|
|
500
|
+
displayName: string;
|
|
501
|
+
description: string;
|
|
502
|
+
selectedValue: string;
|
|
503
|
+
}>;
|
|
504
|
+
name: string;
|
|
505
|
+
displayName: string;
|
|
506
|
+
description: string;
|
|
507
|
+
template: string;
|
|
508
|
+
zones: Record<string, {
|
|
509
|
+
displayName: string;
|
|
510
|
+
description: string;
|
|
511
|
+
minNodes: number;
|
|
512
|
+
maxNodes?: number | undefined;
|
|
513
|
+
}>;
|
|
514
|
+
} | {
|
|
515
|
+
options: Record<string, {
|
|
516
|
+
selectedValue: string;
|
|
517
|
+
}>;
|
|
518
|
+
name: string;
|
|
519
|
+
};
|
|
445
520
|
})[];
|
|
446
521
|
}>;
|
|
447
522
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -517,7 +592,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
517
592
|
matrixIdentifier?: string | undefined;
|
|
518
593
|
}) & {
|
|
519
594
|
children: LayoutContentNodes[];
|
|
520
|
-
})))[];
|
|
595
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
521
596
|
};
|
|
522
597
|
name: "layout-raw";
|
|
523
598
|
}, {
|
|
@@ -594,6 +669,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
594
669
|
} | {
|
|
595
670
|
type: "variation";
|
|
596
671
|
default: {};
|
|
672
|
+
} | {
|
|
673
|
+
type: "layout";
|
|
674
|
+
layout: {
|
|
675
|
+
options: Record<string, {
|
|
676
|
+
values: string[];
|
|
677
|
+
displayName: string;
|
|
678
|
+
description: string;
|
|
679
|
+
selectedValue: string;
|
|
680
|
+
}>;
|
|
681
|
+
name: string;
|
|
682
|
+
displayName: string;
|
|
683
|
+
description: string;
|
|
684
|
+
template: string;
|
|
685
|
+
zones: Record<string, {
|
|
686
|
+
displayName: string;
|
|
687
|
+
description: string;
|
|
688
|
+
minNodes: number;
|
|
689
|
+
maxNodes?: number | undefined;
|
|
690
|
+
}>;
|
|
691
|
+
} | {
|
|
692
|
+
options: Record<string, {
|
|
693
|
+
selectedValue: string;
|
|
694
|
+
}>;
|
|
695
|
+
name: string;
|
|
696
|
+
};
|
|
597
697
|
})[];
|
|
598
698
|
};
|
|
599
699
|
name: "layout-raw";
|
|
@@ -743,6 +843,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
743
843
|
}>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
|
|
744
844
|
type: "variation";
|
|
745
845
|
default: {};
|
|
846
|
+
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
847
|
+
type: "layout";
|
|
848
|
+
layout: {
|
|
849
|
+
options: Record<string, {
|
|
850
|
+
values: string[];
|
|
851
|
+
displayName: string;
|
|
852
|
+
description: string;
|
|
853
|
+
selectedValue: string;
|
|
854
|
+
}>;
|
|
855
|
+
name: string;
|
|
856
|
+
displayName: string;
|
|
857
|
+
description: string;
|
|
858
|
+
template: string;
|
|
859
|
+
zones: Record<string, {
|
|
860
|
+
displayName: string;
|
|
861
|
+
description: string;
|
|
862
|
+
minNodes: number;
|
|
863
|
+
maxNodes?: number | undefined;
|
|
864
|
+
}>;
|
|
865
|
+
} | {
|
|
866
|
+
options: Record<string, {
|
|
867
|
+
selectedValue: string;
|
|
868
|
+
}>;
|
|
869
|
+
name: string;
|
|
870
|
+
};
|
|
746
871
|
}>]>, "many">, (LayoutVariationNode | ({
|
|
747
872
|
value: string;
|
|
748
873
|
type: "text";
|
|
@@ -814,7 +939,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
814
939
|
matrixIdentifier?: string | undefined;
|
|
815
940
|
}) & {
|
|
816
941
|
children: LayoutContentNodes[];
|
|
817
|
-
})))[], ({
|
|
942
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
818
943
|
value: string;
|
|
819
944
|
type: "text";
|
|
820
945
|
} | {
|
|
@@ -886,6 +1011,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
886
1011
|
} | {
|
|
887
1012
|
type: "variation";
|
|
888
1013
|
default: {};
|
|
1014
|
+
} | {
|
|
1015
|
+
type: "layout";
|
|
1016
|
+
layout: {
|
|
1017
|
+
options: Record<string, {
|
|
1018
|
+
values: string[];
|
|
1019
|
+
displayName: string;
|
|
1020
|
+
description: string;
|
|
1021
|
+
selectedValue: string;
|
|
1022
|
+
}>;
|
|
1023
|
+
name: string;
|
|
1024
|
+
displayName: string;
|
|
1025
|
+
description: string;
|
|
1026
|
+
template: string;
|
|
1027
|
+
zones: Record<string, {
|
|
1028
|
+
displayName: string;
|
|
1029
|
+
description: string;
|
|
1030
|
+
minNodes: number;
|
|
1031
|
+
maxNodes?: number | undefined;
|
|
1032
|
+
}>;
|
|
1033
|
+
} | {
|
|
1034
|
+
options: Record<string, {
|
|
1035
|
+
selectedValue: string;
|
|
1036
|
+
}>;
|
|
1037
|
+
name: string;
|
|
1038
|
+
};
|
|
889
1039
|
})[]>;
|
|
890
1040
|
}, "strip", z.ZodTypeAny, {
|
|
891
1041
|
main: (LayoutVariationNode | ({
|
|
@@ -959,7 +1109,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
959
1109
|
matrixIdentifier?: string | undefined;
|
|
960
1110
|
}) & {
|
|
961
1111
|
children: LayoutContentNodes[];
|
|
962
|
-
})))[];
|
|
1112
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
963
1113
|
}, {
|
|
964
1114
|
main: ({
|
|
965
1115
|
value: string;
|
|
@@ -1033,6 +1183,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1033
1183
|
} | {
|
|
1034
1184
|
type: "variation";
|
|
1035
1185
|
default: {};
|
|
1186
|
+
} | {
|
|
1187
|
+
type: "layout";
|
|
1188
|
+
layout: {
|
|
1189
|
+
options: Record<string, {
|
|
1190
|
+
values: string[];
|
|
1191
|
+
displayName: string;
|
|
1192
|
+
description: string;
|
|
1193
|
+
selectedValue: string;
|
|
1194
|
+
}>;
|
|
1195
|
+
name: string;
|
|
1196
|
+
displayName: string;
|
|
1197
|
+
description: string;
|
|
1198
|
+
template: string;
|
|
1199
|
+
zones: Record<string, {
|
|
1200
|
+
displayName: string;
|
|
1201
|
+
description: string;
|
|
1202
|
+
minNodes: number;
|
|
1203
|
+
maxNodes?: number | undefined;
|
|
1204
|
+
}>;
|
|
1205
|
+
} | {
|
|
1206
|
+
options: Record<string, {
|
|
1207
|
+
selectedValue: string;
|
|
1208
|
+
}>;
|
|
1209
|
+
name: string;
|
|
1210
|
+
};
|
|
1036
1211
|
})[];
|
|
1037
1212
|
}>;
|
|
1038
1213
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1108,7 +1283,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1108
1283
|
matrixIdentifier?: string | undefined;
|
|
1109
1284
|
}) & {
|
|
1110
1285
|
children: LayoutContentNodes[];
|
|
1111
|
-
})))[];
|
|
1286
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
1112
1287
|
};
|
|
1113
1288
|
name: "single-column";
|
|
1114
1289
|
}, {
|
|
@@ -1185,6 +1360,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1185
1360
|
} | {
|
|
1186
1361
|
type: "variation";
|
|
1187
1362
|
default: {};
|
|
1363
|
+
} | {
|
|
1364
|
+
type: "layout";
|
|
1365
|
+
layout: {
|
|
1366
|
+
options: Record<string, {
|
|
1367
|
+
values: string[];
|
|
1368
|
+
displayName: string;
|
|
1369
|
+
description: string;
|
|
1370
|
+
selectedValue: string;
|
|
1371
|
+
}>;
|
|
1372
|
+
name: string;
|
|
1373
|
+
displayName: string;
|
|
1374
|
+
description: string;
|
|
1375
|
+
template: string;
|
|
1376
|
+
zones: Record<string, {
|
|
1377
|
+
displayName: string;
|
|
1378
|
+
description: string;
|
|
1379
|
+
minNodes: number;
|
|
1380
|
+
maxNodes?: number | undefined;
|
|
1381
|
+
}>;
|
|
1382
|
+
} | {
|
|
1383
|
+
options: Record<string, {
|
|
1384
|
+
selectedValue: string;
|
|
1385
|
+
}>;
|
|
1386
|
+
name: string;
|
|
1387
|
+
};
|
|
1188
1388
|
})[];
|
|
1189
1389
|
};
|
|
1190
1390
|
name: "single-column";
|
|
@@ -1334,6 +1534,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1334
1534
|
}>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
|
|
1335
1535
|
type: "variation";
|
|
1336
1536
|
default: {};
|
|
1537
|
+
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
1538
|
+
type: "layout";
|
|
1539
|
+
layout: {
|
|
1540
|
+
options: Record<string, {
|
|
1541
|
+
values: string[];
|
|
1542
|
+
displayName: string;
|
|
1543
|
+
description: string;
|
|
1544
|
+
selectedValue: string;
|
|
1545
|
+
}>;
|
|
1546
|
+
name: string;
|
|
1547
|
+
displayName: string;
|
|
1548
|
+
description: string;
|
|
1549
|
+
template: string;
|
|
1550
|
+
zones: Record<string, {
|
|
1551
|
+
displayName: string;
|
|
1552
|
+
description: string;
|
|
1553
|
+
minNodes: number;
|
|
1554
|
+
maxNodes?: number | undefined;
|
|
1555
|
+
}>;
|
|
1556
|
+
} | {
|
|
1557
|
+
options: Record<string, {
|
|
1558
|
+
selectedValue: string;
|
|
1559
|
+
}>;
|
|
1560
|
+
name: string;
|
|
1561
|
+
};
|
|
1337
1562
|
}>]>, "many">, (LayoutVariationNode | ({
|
|
1338
1563
|
value: string;
|
|
1339
1564
|
type: "text";
|
|
@@ -1405,7 +1630,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1405
1630
|
matrixIdentifier?: string | undefined;
|
|
1406
1631
|
}) & {
|
|
1407
1632
|
children: LayoutContentNodes[];
|
|
1408
|
-
})))[], ({
|
|
1633
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
1409
1634
|
value: string;
|
|
1410
1635
|
type: "text";
|
|
1411
1636
|
} | {
|
|
@@ -1477,6 +1702,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1477
1702
|
} | {
|
|
1478
1703
|
type: "variation";
|
|
1479
1704
|
default: {};
|
|
1705
|
+
} | {
|
|
1706
|
+
type: "layout";
|
|
1707
|
+
layout: {
|
|
1708
|
+
options: Record<string, {
|
|
1709
|
+
values: string[];
|
|
1710
|
+
displayName: string;
|
|
1711
|
+
description: string;
|
|
1712
|
+
selectedValue: string;
|
|
1713
|
+
}>;
|
|
1714
|
+
name: string;
|
|
1715
|
+
displayName: string;
|
|
1716
|
+
description: string;
|
|
1717
|
+
template: string;
|
|
1718
|
+
zones: Record<string, {
|
|
1719
|
+
displayName: string;
|
|
1720
|
+
description: string;
|
|
1721
|
+
minNodes: number;
|
|
1722
|
+
maxNodes?: number | undefined;
|
|
1723
|
+
}>;
|
|
1724
|
+
} | {
|
|
1725
|
+
options: Record<string, {
|
|
1726
|
+
selectedValue: string;
|
|
1727
|
+
}>;
|
|
1728
|
+
name: string;
|
|
1729
|
+
};
|
|
1480
1730
|
})[]>;
|
|
1481
1731
|
right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
|
|
1482
1732
|
value: string;
|
|
@@ -1621,6 +1871,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1621
1871
|
}>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
|
|
1622
1872
|
type: "variation";
|
|
1623
1873
|
default: {};
|
|
1874
|
+
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
1875
|
+
type: "layout";
|
|
1876
|
+
layout: {
|
|
1877
|
+
options: Record<string, {
|
|
1878
|
+
values: string[];
|
|
1879
|
+
displayName: string;
|
|
1880
|
+
description: string;
|
|
1881
|
+
selectedValue: string;
|
|
1882
|
+
}>;
|
|
1883
|
+
name: string;
|
|
1884
|
+
displayName: string;
|
|
1885
|
+
description: string;
|
|
1886
|
+
template: string;
|
|
1887
|
+
zones: Record<string, {
|
|
1888
|
+
displayName: string;
|
|
1889
|
+
description: string;
|
|
1890
|
+
minNodes: number;
|
|
1891
|
+
maxNodes?: number | undefined;
|
|
1892
|
+
}>;
|
|
1893
|
+
} | {
|
|
1894
|
+
options: Record<string, {
|
|
1895
|
+
selectedValue: string;
|
|
1896
|
+
}>;
|
|
1897
|
+
name: string;
|
|
1898
|
+
};
|
|
1624
1899
|
}>]>, "many">, (LayoutVariationNode | ({
|
|
1625
1900
|
value: string;
|
|
1626
1901
|
type: "text";
|
|
@@ -1692,7 +1967,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1692
1967
|
matrixIdentifier?: string | undefined;
|
|
1693
1968
|
}) & {
|
|
1694
1969
|
children: LayoutContentNodes[];
|
|
1695
|
-
})))[], ({
|
|
1970
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
1696
1971
|
value: string;
|
|
1697
1972
|
type: "text";
|
|
1698
1973
|
} | {
|
|
@@ -1764,6 +2039,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1764
2039
|
} | {
|
|
1765
2040
|
type: "variation";
|
|
1766
2041
|
default: {};
|
|
2042
|
+
} | {
|
|
2043
|
+
type: "layout";
|
|
2044
|
+
layout: {
|
|
2045
|
+
options: Record<string, {
|
|
2046
|
+
values: string[];
|
|
2047
|
+
displayName: string;
|
|
2048
|
+
description: string;
|
|
2049
|
+
selectedValue: string;
|
|
2050
|
+
}>;
|
|
2051
|
+
name: string;
|
|
2052
|
+
displayName: string;
|
|
2053
|
+
description: string;
|
|
2054
|
+
template: string;
|
|
2055
|
+
zones: Record<string, {
|
|
2056
|
+
displayName: string;
|
|
2057
|
+
description: string;
|
|
2058
|
+
minNodes: number;
|
|
2059
|
+
maxNodes?: number | undefined;
|
|
2060
|
+
}>;
|
|
2061
|
+
} | {
|
|
2062
|
+
options: Record<string, {
|
|
2063
|
+
selectedValue: string;
|
|
2064
|
+
}>;
|
|
2065
|
+
name: string;
|
|
2066
|
+
};
|
|
1767
2067
|
})[]>;
|
|
1768
2068
|
}, "strip", z.ZodTypeAny, {
|
|
1769
2069
|
left: (LayoutVariationNode | ({
|
|
@@ -1837,7 +2137,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1837
2137
|
matrixIdentifier?: string | undefined;
|
|
1838
2138
|
}) & {
|
|
1839
2139
|
children: LayoutContentNodes[];
|
|
1840
|
-
})))[];
|
|
2140
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
1841
2141
|
right: (LayoutVariationNode | ({
|
|
1842
2142
|
value: string;
|
|
1843
2143
|
type: "text";
|
|
@@ -1909,7 +2209,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1909
2209
|
matrixIdentifier?: string | undefined;
|
|
1910
2210
|
}) & {
|
|
1911
2211
|
children: LayoutContentNodes[];
|
|
1912
|
-
})))[];
|
|
2212
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
1913
2213
|
}, {
|
|
1914
2214
|
left: ({
|
|
1915
2215
|
value: string;
|
|
@@ -1983,6 +2283,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1983
2283
|
} | {
|
|
1984
2284
|
type: "variation";
|
|
1985
2285
|
default: {};
|
|
2286
|
+
} | {
|
|
2287
|
+
type: "layout";
|
|
2288
|
+
layout: {
|
|
2289
|
+
options: Record<string, {
|
|
2290
|
+
values: string[];
|
|
2291
|
+
displayName: string;
|
|
2292
|
+
description: string;
|
|
2293
|
+
selectedValue: string;
|
|
2294
|
+
}>;
|
|
2295
|
+
name: string;
|
|
2296
|
+
displayName: string;
|
|
2297
|
+
description: string;
|
|
2298
|
+
template: string;
|
|
2299
|
+
zones: Record<string, {
|
|
2300
|
+
displayName: string;
|
|
2301
|
+
description: string;
|
|
2302
|
+
minNodes: number;
|
|
2303
|
+
maxNodes?: number | undefined;
|
|
2304
|
+
}>;
|
|
2305
|
+
} | {
|
|
2306
|
+
options: Record<string, {
|
|
2307
|
+
selectedValue: string;
|
|
2308
|
+
}>;
|
|
2309
|
+
name: string;
|
|
2310
|
+
};
|
|
1986
2311
|
})[];
|
|
1987
2312
|
right: ({
|
|
1988
2313
|
value: string;
|
|
@@ -2056,6 +2381,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2056
2381
|
} | {
|
|
2057
2382
|
type: "variation";
|
|
2058
2383
|
default: {};
|
|
2384
|
+
} | {
|
|
2385
|
+
type: "layout";
|
|
2386
|
+
layout: {
|
|
2387
|
+
options: Record<string, {
|
|
2388
|
+
values: string[];
|
|
2389
|
+
displayName: string;
|
|
2390
|
+
description: string;
|
|
2391
|
+
selectedValue: string;
|
|
2392
|
+
}>;
|
|
2393
|
+
name: string;
|
|
2394
|
+
displayName: string;
|
|
2395
|
+
description: string;
|
|
2396
|
+
template: string;
|
|
2397
|
+
zones: Record<string, {
|
|
2398
|
+
displayName: string;
|
|
2399
|
+
description: string;
|
|
2400
|
+
minNodes: number;
|
|
2401
|
+
maxNodes?: number | undefined;
|
|
2402
|
+
}>;
|
|
2403
|
+
} | {
|
|
2404
|
+
options: Record<string, {
|
|
2405
|
+
selectedValue: string;
|
|
2406
|
+
}>;
|
|
2407
|
+
name: string;
|
|
2408
|
+
};
|
|
2059
2409
|
})[];
|
|
2060
2410
|
}>;
|
|
2061
2411
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2131,7 +2481,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2131
2481
|
matrixIdentifier?: string | undefined;
|
|
2132
2482
|
}) & {
|
|
2133
2483
|
children: LayoutContentNodes[];
|
|
2134
|
-
})))[];
|
|
2484
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
2135
2485
|
right: (LayoutVariationNode | ({
|
|
2136
2486
|
value: string;
|
|
2137
2487
|
type: "text";
|
|
@@ -2203,7 +2553,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2203
2553
|
matrixIdentifier?: string | undefined;
|
|
2204
2554
|
}) & {
|
|
2205
2555
|
children: LayoutContentNodes[];
|
|
2206
|
-
})))[];
|
|
2556
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
2207
2557
|
};
|
|
2208
2558
|
name: "two-column";
|
|
2209
2559
|
}, {
|
|
@@ -2280,6 +2630,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2280
2630
|
} | {
|
|
2281
2631
|
type: "variation";
|
|
2282
2632
|
default: {};
|
|
2633
|
+
} | {
|
|
2634
|
+
type: "layout";
|
|
2635
|
+
layout: {
|
|
2636
|
+
options: Record<string, {
|
|
2637
|
+
values: string[];
|
|
2638
|
+
displayName: string;
|
|
2639
|
+
description: string;
|
|
2640
|
+
selectedValue: string;
|
|
2641
|
+
}>;
|
|
2642
|
+
name: string;
|
|
2643
|
+
displayName: string;
|
|
2644
|
+
description: string;
|
|
2645
|
+
template: string;
|
|
2646
|
+
zones: Record<string, {
|
|
2647
|
+
displayName: string;
|
|
2648
|
+
description: string;
|
|
2649
|
+
minNodes: number;
|
|
2650
|
+
maxNodes?: number | undefined;
|
|
2651
|
+
}>;
|
|
2652
|
+
} | {
|
|
2653
|
+
options: Record<string, {
|
|
2654
|
+
selectedValue: string;
|
|
2655
|
+
}>;
|
|
2656
|
+
name: string;
|
|
2657
|
+
};
|
|
2283
2658
|
})[];
|
|
2284
2659
|
right: ({
|
|
2285
2660
|
value: string;
|
|
@@ -2353,6 +2728,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2353
2728
|
} | {
|
|
2354
2729
|
type: "variation";
|
|
2355
2730
|
default: {};
|
|
2731
|
+
} | {
|
|
2732
|
+
type: "layout";
|
|
2733
|
+
layout: {
|
|
2734
|
+
options: Record<string, {
|
|
2735
|
+
values: string[];
|
|
2736
|
+
displayName: string;
|
|
2737
|
+
description: string;
|
|
2738
|
+
selectedValue: string;
|
|
2739
|
+
}>;
|
|
2740
|
+
name: string;
|
|
2741
|
+
displayName: string;
|
|
2742
|
+
description: string;
|
|
2743
|
+
template: string;
|
|
2744
|
+
zones: Record<string, {
|
|
2745
|
+
displayName: string;
|
|
2746
|
+
description: string;
|
|
2747
|
+
minNodes: number;
|
|
2748
|
+
maxNodes?: number | undefined;
|
|
2749
|
+
}>;
|
|
2750
|
+
} | {
|
|
2751
|
+
options: Record<string, {
|
|
2752
|
+
selectedValue: string;
|
|
2753
|
+
}>;
|
|
2754
|
+
name: string;
|
|
2755
|
+
};
|
|
2356
2756
|
})[];
|
|
2357
2757
|
};
|
|
2358
2758
|
name: "two-column";
|
|
@@ -2382,49 +2782,49 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2382
2782
|
minNodes: z.ZodDefault<z.ZodNumber>;
|
|
2383
2783
|
maxNodes: z.ZodOptional<z.ZodNumber>;
|
|
2384
2784
|
}, "strip", z.ZodTypeAny, {
|
|
2785
|
+
minNodes: number;
|
|
2385
2786
|
rootWrapper: {
|
|
2386
2787
|
tag: string;
|
|
2387
2788
|
classes?: string[] | undefined;
|
|
2388
2789
|
};
|
|
2389
|
-
|
|
2790
|
+
maxNodes?: number | undefined;
|
|
2390
2791
|
nodeWrapper?: {
|
|
2391
2792
|
tag: string;
|
|
2392
2793
|
classes?: string[] | undefined;
|
|
2393
2794
|
} | undefined;
|
|
2394
|
-
maxNodes?: number | undefined;
|
|
2395
2795
|
}, {
|
|
2396
2796
|
rootWrapper: {
|
|
2397
2797
|
tag: string;
|
|
2398
2798
|
classes?: string[] | undefined;
|
|
2399
2799
|
};
|
|
2800
|
+
minNodes?: number | undefined;
|
|
2801
|
+
maxNodes?: number | undefined;
|
|
2400
2802
|
nodeWrapper?: {
|
|
2401
2803
|
tag: string;
|
|
2402
2804
|
classes?: string[] | undefined;
|
|
2403
2805
|
} | undefined;
|
|
2404
|
-
minNodes?: number | undefined;
|
|
2405
|
-
maxNodes?: number | undefined;
|
|
2406
2806
|
}>, {
|
|
2807
|
+
minNodes: number;
|
|
2407
2808
|
rootWrapper: {
|
|
2408
2809
|
tag: string;
|
|
2409
2810
|
classes?: string[] | undefined;
|
|
2410
2811
|
};
|
|
2411
|
-
|
|
2812
|
+
maxNodes?: number | undefined;
|
|
2412
2813
|
nodeWrapper?: {
|
|
2413
2814
|
tag: string;
|
|
2414
2815
|
classes?: string[] | undefined;
|
|
2415
2816
|
} | undefined;
|
|
2416
|
-
maxNodes?: number | undefined;
|
|
2417
2817
|
}, {
|
|
2418
2818
|
rootWrapper: {
|
|
2419
2819
|
tag: string;
|
|
2420
2820
|
classes?: string[] | undefined;
|
|
2421
2821
|
};
|
|
2822
|
+
minNodes?: number | undefined;
|
|
2823
|
+
maxNodes?: number | undefined;
|
|
2422
2824
|
nodeWrapper?: {
|
|
2423
2825
|
tag: string;
|
|
2424
2826
|
classes?: string[] | undefined;
|
|
2425
2827
|
} | undefined;
|
|
2426
|
-
minNodes?: number | undefined;
|
|
2427
|
-
maxNodes?: number | undefined;
|
|
2428
2828
|
}>;
|
|
2429
2829
|
content: z.ZodObject<{
|
|
2430
2830
|
main: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
|
|
@@ -2570,6 +2970,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2570
2970
|
}>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
|
|
2571
2971
|
type: "variation";
|
|
2572
2972
|
default: {};
|
|
2973
|
+
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
2974
|
+
type: "layout";
|
|
2975
|
+
layout: {
|
|
2976
|
+
options: Record<string, {
|
|
2977
|
+
values: string[];
|
|
2978
|
+
displayName: string;
|
|
2979
|
+
description: string;
|
|
2980
|
+
selectedValue: string;
|
|
2981
|
+
}>;
|
|
2982
|
+
name: string;
|
|
2983
|
+
displayName: string;
|
|
2984
|
+
description: string;
|
|
2985
|
+
template: string;
|
|
2986
|
+
zones: Record<string, {
|
|
2987
|
+
displayName: string;
|
|
2988
|
+
description: string;
|
|
2989
|
+
minNodes: number;
|
|
2990
|
+
maxNodes?: number | undefined;
|
|
2991
|
+
}>;
|
|
2992
|
+
} | {
|
|
2993
|
+
options: Record<string, {
|
|
2994
|
+
selectedValue: string;
|
|
2995
|
+
}>;
|
|
2996
|
+
name: string;
|
|
2997
|
+
};
|
|
2573
2998
|
}>]>, "many">, (LayoutVariationNode | ({
|
|
2574
2999
|
value: string;
|
|
2575
3000
|
type: "text";
|
|
@@ -2641,7 +3066,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2641
3066
|
matrixIdentifier?: string | undefined;
|
|
2642
3067
|
}) & {
|
|
2643
3068
|
children: LayoutContentNodes[];
|
|
2644
|
-
})))[], ({
|
|
3069
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
2645
3070
|
value: string;
|
|
2646
3071
|
type: "text";
|
|
2647
3072
|
} | {
|
|
@@ -2713,6 +3138,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2713
3138
|
} | {
|
|
2714
3139
|
type: "variation";
|
|
2715
3140
|
default: {};
|
|
3141
|
+
} | {
|
|
3142
|
+
type: "layout";
|
|
3143
|
+
layout: {
|
|
3144
|
+
options: Record<string, {
|
|
3145
|
+
values: string[];
|
|
3146
|
+
displayName: string;
|
|
3147
|
+
description: string;
|
|
3148
|
+
selectedValue: string;
|
|
3149
|
+
}>;
|
|
3150
|
+
name: string;
|
|
3151
|
+
displayName: string;
|
|
3152
|
+
description: string;
|
|
3153
|
+
template: string;
|
|
3154
|
+
zones: Record<string, {
|
|
3155
|
+
displayName: string;
|
|
3156
|
+
description: string;
|
|
3157
|
+
minNodes: number;
|
|
3158
|
+
maxNodes?: number | undefined;
|
|
3159
|
+
}>;
|
|
3160
|
+
} | {
|
|
3161
|
+
options: Record<string, {
|
|
3162
|
+
selectedValue: string;
|
|
3163
|
+
}>;
|
|
3164
|
+
name: string;
|
|
3165
|
+
};
|
|
2716
3166
|
})[]>;
|
|
2717
3167
|
}, "strip", z.ZodTypeAny, {
|
|
2718
3168
|
main: (LayoutVariationNode | ({
|
|
@@ -2786,7 +3236,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2786
3236
|
matrixIdentifier?: string | undefined;
|
|
2787
3237
|
}) & {
|
|
2788
3238
|
children: LayoutContentNodes[];
|
|
2789
|
-
})))[];
|
|
3239
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
2790
3240
|
}, {
|
|
2791
3241
|
main: ({
|
|
2792
3242
|
value: string;
|
|
@@ -2860,6 +3310,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2860
3310
|
} | {
|
|
2861
3311
|
type: "variation";
|
|
2862
3312
|
default: {};
|
|
3313
|
+
} | {
|
|
3314
|
+
type: "layout";
|
|
3315
|
+
layout: {
|
|
3316
|
+
options: Record<string, {
|
|
3317
|
+
values: string[];
|
|
3318
|
+
displayName: string;
|
|
3319
|
+
description: string;
|
|
3320
|
+
selectedValue: string;
|
|
3321
|
+
}>;
|
|
3322
|
+
name: string;
|
|
3323
|
+
displayName: string;
|
|
3324
|
+
description: string;
|
|
3325
|
+
template: string;
|
|
3326
|
+
zones: Record<string, {
|
|
3327
|
+
displayName: string;
|
|
3328
|
+
description: string;
|
|
3329
|
+
minNodes: number;
|
|
3330
|
+
maxNodes?: number | undefined;
|
|
3331
|
+
}>;
|
|
3332
|
+
} | {
|
|
3333
|
+
options: Record<string, {
|
|
3334
|
+
selectedValue: string;
|
|
3335
|
+
}>;
|
|
3336
|
+
name: string;
|
|
3337
|
+
};
|
|
2863
3338
|
})[];
|
|
2864
3339
|
}>;
|
|
2865
3340
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2935,20 +3410,20 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2935
3410
|
matrixIdentifier?: string | undefined;
|
|
2936
3411
|
}) & {
|
|
2937
3412
|
children: LayoutContentNodes[];
|
|
2938
|
-
})))[];
|
|
3413
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
2939
3414
|
};
|
|
2940
3415
|
name: "custom-layout";
|
|
2941
3416
|
config: {
|
|
3417
|
+
minNodes: number;
|
|
2942
3418
|
rootWrapper: {
|
|
2943
3419
|
tag: string;
|
|
2944
3420
|
classes?: string[] | undefined;
|
|
2945
3421
|
};
|
|
2946
|
-
|
|
3422
|
+
maxNodes?: number | undefined;
|
|
2947
3423
|
nodeWrapper?: {
|
|
2948
3424
|
tag: string;
|
|
2949
3425
|
classes?: string[] | undefined;
|
|
2950
3426
|
} | undefined;
|
|
2951
|
-
maxNodes?: number | undefined;
|
|
2952
3427
|
};
|
|
2953
3428
|
}, {
|
|
2954
3429
|
content: {
|
|
@@ -3024,6 +3499,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3024
3499
|
} | {
|
|
3025
3500
|
type: "variation";
|
|
3026
3501
|
default: {};
|
|
3502
|
+
} | {
|
|
3503
|
+
type: "layout";
|
|
3504
|
+
layout: {
|
|
3505
|
+
options: Record<string, {
|
|
3506
|
+
values: string[];
|
|
3507
|
+
displayName: string;
|
|
3508
|
+
description: string;
|
|
3509
|
+
selectedValue: string;
|
|
3510
|
+
}>;
|
|
3511
|
+
name: string;
|
|
3512
|
+
displayName: string;
|
|
3513
|
+
description: string;
|
|
3514
|
+
template: string;
|
|
3515
|
+
zones: Record<string, {
|
|
3516
|
+
displayName: string;
|
|
3517
|
+
description: string;
|
|
3518
|
+
minNodes: number;
|
|
3519
|
+
maxNodes?: number | undefined;
|
|
3520
|
+
}>;
|
|
3521
|
+
} | {
|
|
3522
|
+
options: Record<string, {
|
|
3523
|
+
selectedValue: string;
|
|
3524
|
+
}>;
|
|
3525
|
+
name: string;
|
|
3526
|
+
};
|
|
3027
3527
|
})[];
|
|
3028
3528
|
};
|
|
3029
3529
|
name: "custom-layout";
|
|
@@ -3032,12 +3532,12 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3032
3532
|
tag: string;
|
|
3033
3533
|
classes?: string[] | undefined;
|
|
3034
3534
|
};
|
|
3535
|
+
minNodes?: number | undefined;
|
|
3536
|
+
maxNodes?: number | undefined;
|
|
3035
3537
|
nodeWrapper?: {
|
|
3036
3538
|
tag: string;
|
|
3037
3539
|
classes?: string[] | undefined;
|
|
3038
3540
|
} | undefined;
|
|
3039
|
-
minNodes?: number | undefined;
|
|
3040
|
-
maxNodes?: number | undefined;
|
|
3041
3541
|
};
|
|
3042
3542
|
}>]>, "many">;
|
|
3043
3543
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3116,7 +3616,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3116
3616
|
matrixIdentifier?: string | undefined;
|
|
3117
3617
|
}) & {
|
|
3118
3618
|
children: LayoutContentNodes[];
|
|
3119
|
-
})))[];
|
|
3619
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
3120
3620
|
};
|
|
3121
3621
|
name: "layout-raw";
|
|
3122
3622
|
} | {
|
|
@@ -3192,7 +3692,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3192
3692
|
matrixIdentifier?: string | undefined;
|
|
3193
3693
|
}) & {
|
|
3194
3694
|
children: LayoutContentNodes[];
|
|
3195
|
-
})))[];
|
|
3695
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
3196
3696
|
};
|
|
3197
3697
|
name: "single-column";
|
|
3198
3698
|
} | {
|
|
@@ -3268,7 +3768,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3268
3768
|
matrixIdentifier?: string | undefined;
|
|
3269
3769
|
}) & {
|
|
3270
3770
|
children: LayoutContentNodes[];
|
|
3271
|
-
})))[];
|
|
3771
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
3272
3772
|
right: (LayoutVariationNode | ({
|
|
3273
3773
|
value: string;
|
|
3274
3774
|
type: "text";
|
|
@@ -3340,7 +3840,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3340
3840
|
matrixIdentifier?: string | undefined;
|
|
3341
3841
|
}) & {
|
|
3342
3842
|
children: LayoutContentNodes[];
|
|
3343
|
-
})))[];
|
|
3843
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
3344
3844
|
};
|
|
3345
3845
|
name: "two-column";
|
|
3346
3846
|
} | {
|
|
@@ -3416,20 +3916,20 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3416
3916
|
matrixIdentifier?: string | undefined;
|
|
3417
3917
|
}) & {
|
|
3418
3918
|
children: LayoutContentNodes[];
|
|
3419
|
-
})))[];
|
|
3919
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
3420
3920
|
};
|
|
3421
3921
|
name: "custom-layout";
|
|
3422
3922
|
config: {
|
|
3923
|
+
minNodes: number;
|
|
3423
3924
|
rootWrapper: {
|
|
3424
3925
|
tag: string;
|
|
3425
3926
|
classes?: string[] | undefined;
|
|
3426
3927
|
};
|
|
3427
|
-
|
|
3928
|
+
maxNodes?: number | undefined;
|
|
3428
3929
|
nodeWrapper?: {
|
|
3429
3930
|
tag: string;
|
|
3430
3931
|
classes?: string[] | undefined;
|
|
3431
3932
|
} | undefined;
|
|
3432
|
-
maxNodes?: number | undefined;
|
|
3433
3933
|
};
|
|
3434
3934
|
})[];
|
|
3435
3935
|
}, {
|
|
@@ -3509,6 +4009,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3509
4009
|
} | {
|
|
3510
4010
|
type: "variation";
|
|
3511
4011
|
default: {};
|
|
4012
|
+
} | {
|
|
4013
|
+
type: "layout";
|
|
4014
|
+
layout: {
|
|
4015
|
+
options: Record<string, {
|
|
4016
|
+
values: string[];
|
|
4017
|
+
displayName: string;
|
|
4018
|
+
description: string;
|
|
4019
|
+
selectedValue: string;
|
|
4020
|
+
}>;
|
|
4021
|
+
name: string;
|
|
4022
|
+
displayName: string;
|
|
4023
|
+
description: string;
|
|
4024
|
+
template: string;
|
|
4025
|
+
zones: Record<string, {
|
|
4026
|
+
displayName: string;
|
|
4027
|
+
description: string;
|
|
4028
|
+
minNodes: number;
|
|
4029
|
+
maxNodes?: number | undefined;
|
|
4030
|
+
}>;
|
|
4031
|
+
} | {
|
|
4032
|
+
options: Record<string, {
|
|
4033
|
+
selectedValue: string;
|
|
4034
|
+
}>;
|
|
4035
|
+
name: string;
|
|
4036
|
+
};
|
|
3512
4037
|
})[];
|
|
3513
4038
|
};
|
|
3514
4039
|
name: "layout-raw";
|
|
@@ -3586,6 +4111,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3586
4111
|
} | {
|
|
3587
4112
|
type: "variation";
|
|
3588
4113
|
default: {};
|
|
4114
|
+
} | {
|
|
4115
|
+
type: "layout";
|
|
4116
|
+
layout: {
|
|
4117
|
+
options: Record<string, {
|
|
4118
|
+
values: string[];
|
|
4119
|
+
displayName: string;
|
|
4120
|
+
description: string;
|
|
4121
|
+
selectedValue: string;
|
|
4122
|
+
}>;
|
|
4123
|
+
name: string;
|
|
4124
|
+
displayName: string;
|
|
4125
|
+
description: string;
|
|
4126
|
+
template: string;
|
|
4127
|
+
zones: Record<string, {
|
|
4128
|
+
displayName: string;
|
|
4129
|
+
description: string;
|
|
4130
|
+
minNodes: number;
|
|
4131
|
+
maxNodes?: number | undefined;
|
|
4132
|
+
}>;
|
|
4133
|
+
} | {
|
|
4134
|
+
options: Record<string, {
|
|
4135
|
+
selectedValue: string;
|
|
4136
|
+
}>;
|
|
4137
|
+
name: string;
|
|
4138
|
+
};
|
|
3589
4139
|
})[];
|
|
3590
4140
|
};
|
|
3591
4141
|
name: "single-column";
|
|
@@ -3663,6 +4213,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3663
4213
|
} | {
|
|
3664
4214
|
type: "variation";
|
|
3665
4215
|
default: {};
|
|
4216
|
+
} | {
|
|
4217
|
+
type: "layout";
|
|
4218
|
+
layout: {
|
|
4219
|
+
options: Record<string, {
|
|
4220
|
+
values: string[];
|
|
4221
|
+
displayName: string;
|
|
4222
|
+
description: string;
|
|
4223
|
+
selectedValue: string;
|
|
4224
|
+
}>;
|
|
4225
|
+
name: string;
|
|
4226
|
+
displayName: string;
|
|
4227
|
+
description: string;
|
|
4228
|
+
template: string;
|
|
4229
|
+
zones: Record<string, {
|
|
4230
|
+
displayName: string;
|
|
4231
|
+
description: string;
|
|
4232
|
+
minNodes: number;
|
|
4233
|
+
maxNodes?: number | undefined;
|
|
4234
|
+
}>;
|
|
4235
|
+
} | {
|
|
4236
|
+
options: Record<string, {
|
|
4237
|
+
selectedValue: string;
|
|
4238
|
+
}>;
|
|
4239
|
+
name: string;
|
|
4240
|
+
};
|
|
3666
4241
|
})[];
|
|
3667
4242
|
right: ({
|
|
3668
4243
|
value: string;
|
|
@@ -3736,6 +4311,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3736
4311
|
} | {
|
|
3737
4312
|
type: "variation";
|
|
3738
4313
|
default: {};
|
|
4314
|
+
} | {
|
|
4315
|
+
type: "layout";
|
|
4316
|
+
layout: {
|
|
4317
|
+
options: Record<string, {
|
|
4318
|
+
values: string[];
|
|
4319
|
+
displayName: string;
|
|
4320
|
+
description: string;
|
|
4321
|
+
selectedValue: string;
|
|
4322
|
+
}>;
|
|
4323
|
+
name: string;
|
|
4324
|
+
displayName: string;
|
|
4325
|
+
description: string;
|
|
4326
|
+
template: string;
|
|
4327
|
+
zones: Record<string, {
|
|
4328
|
+
displayName: string;
|
|
4329
|
+
description: string;
|
|
4330
|
+
minNodes: number;
|
|
4331
|
+
maxNodes?: number | undefined;
|
|
4332
|
+
}>;
|
|
4333
|
+
} | {
|
|
4334
|
+
options: Record<string, {
|
|
4335
|
+
selectedValue: string;
|
|
4336
|
+
}>;
|
|
4337
|
+
name: string;
|
|
4338
|
+
};
|
|
3739
4339
|
})[];
|
|
3740
4340
|
};
|
|
3741
4341
|
name: "two-column";
|
|
@@ -3813,6 +4413,31 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3813
4413
|
} | {
|
|
3814
4414
|
type: "variation";
|
|
3815
4415
|
default: {};
|
|
4416
|
+
} | {
|
|
4417
|
+
type: "layout";
|
|
4418
|
+
layout: {
|
|
4419
|
+
options: Record<string, {
|
|
4420
|
+
values: string[];
|
|
4421
|
+
displayName: string;
|
|
4422
|
+
description: string;
|
|
4423
|
+
selectedValue: string;
|
|
4424
|
+
}>;
|
|
4425
|
+
name: string;
|
|
4426
|
+
displayName: string;
|
|
4427
|
+
description: string;
|
|
4428
|
+
template: string;
|
|
4429
|
+
zones: Record<string, {
|
|
4430
|
+
displayName: string;
|
|
4431
|
+
description: string;
|
|
4432
|
+
minNodes: number;
|
|
4433
|
+
maxNodes?: number | undefined;
|
|
4434
|
+
}>;
|
|
4435
|
+
} | {
|
|
4436
|
+
options: Record<string, {
|
|
4437
|
+
selectedValue: string;
|
|
4438
|
+
}>;
|
|
4439
|
+
name: string;
|
|
4440
|
+
};
|
|
3816
4441
|
})[];
|
|
3817
4442
|
};
|
|
3818
4443
|
name: "custom-layout";
|
|
@@ -3821,12 +4446,12 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3821
4446
|
tag: string;
|
|
3822
4447
|
classes?: string[] | undefined;
|
|
3823
4448
|
};
|
|
4449
|
+
minNodes?: number | undefined;
|
|
4450
|
+
maxNodes?: number | undefined;
|
|
3824
4451
|
nodeWrapper?: {
|
|
3825
4452
|
tag: string;
|
|
3826
4453
|
classes?: string[] | undefined;
|
|
3827
4454
|
} | undefined;
|
|
3828
|
-
minNodes?: number | undefined;
|
|
3829
|
-
maxNodes?: number | undefined;
|
|
3830
4455
|
};
|
|
3831
4456
|
})[];
|
|
3832
4457
|
}>;
|