@squiz/dx-page-contents-lib 1.71.1 → 1.72.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.
@@ -152,6 +152,33 @@ 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
+ version: string;
166
+ displayName: string;
167
+ description: string;
168
+ template: string;
169
+ zones: Record<string, {
170
+ displayName: string;
171
+ description: string;
172
+ minNodes: number;
173
+ maxNodes?: number | undefined;
174
+ }>;
175
+ } | {
176
+ options: Record<string, {
177
+ selectedValue: string;
178
+ }>;
179
+ name: string;
180
+ version: string;
181
+ };
155
182
  }>]>, "many">, (LayoutVariationNode | ({
156
183
  value: string;
157
184
  type: "text";
@@ -223,7 +250,7 @@ declare const PageContentsResolved: z.ZodObject<{
223
250
  matrixIdentifier?: string | undefined;
224
251
  }) & {
225
252
  children: LayoutContentNodes[];
226
- })))[], ({
253
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
227
254
  value: string;
228
255
  type: "text";
229
256
  } | {
@@ -295,6 +322,33 @@ declare const PageContentsResolved: z.ZodObject<{
295
322
  } | {
296
323
  type: "variation";
297
324
  default: {};
325
+ } | {
326
+ type: "layout";
327
+ layout: {
328
+ options: Record<string, {
329
+ values: string[];
330
+ displayName: string;
331
+ description: string;
332
+ selectedValue: string;
333
+ }>;
334
+ name: string;
335
+ version: string;
336
+ displayName: string;
337
+ description: string;
338
+ template: string;
339
+ zones: Record<string, {
340
+ displayName: string;
341
+ description: string;
342
+ minNodes: number;
343
+ maxNodes?: number | undefined;
344
+ }>;
345
+ } | {
346
+ options: Record<string, {
347
+ selectedValue: string;
348
+ }>;
349
+ name: string;
350
+ version: string;
351
+ };
298
352
  })[]>;
299
353
  }, "strip", z.ZodTypeAny, {
300
354
  main: (LayoutVariationNode | ({
@@ -368,7 +422,7 @@ declare const PageContentsResolved: z.ZodObject<{
368
422
  matrixIdentifier?: string | undefined;
369
423
  }) & {
370
424
  children: LayoutContentNodes[];
371
- })))[];
425
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
372
426
  }, {
373
427
  main: ({
374
428
  value: string;
@@ -442,6 +496,33 @@ declare const PageContentsResolved: z.ZodObject<{
442
496
  } | {
443
497
  type: "variation";
444
498
  default: {};
499
+ } | {
500
+ type: "layout";
501
+ layout: {
502
+ options: Record<string, {
503
+ values: string[];
504
+ displayName: string;
505
+ description: string;
506
+ selectedValue: string;
507
+ }>;
508
+ name: string;
509
+ version: string;
510
+ displayName: string;
511
+ description: string;
512
+ template: string;
513
+ zones: Record<string, {
514
+ displayName: string;
515
+ description: string;
516
+ minNodes: number;
517
+ maxNodes?: number | undefined;
518
+ }>;
519
+ } | {
520
+ options: Record<string, {
521
+ selectedValue: string;
522
+ }>;
523
+ name: string;
524
+ version: string;
525
+ };
445
526
  })[];
446
527
  }>;
447
528
  }, "strip", z.ZodTypeAny, {
@@ -517,7 +598,7 @@ declare const PageContentsResolved: z.ZodObject<{
517
598
  matrixIdentifier?: string | undefined;
518
599
  }) & {
519
600
  children: LayoutContentNodes[];
520
- })))[];
601
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
521
602
  };
522
603
  name: "layout-raw";
523
604
  }, {
@@ -594,6 +675,33 @@ declare const PageContentsResolved: z.ZodObject<{
594
675
  } | {
595
676
  type: "variation";
596
677
  default: {};
678
+ } | {
679
+ type: "layout";
680
+ layout: {
681
+ options: Record<string, {
682
+ values: string[];
683
+ displayName: string;
684
+ description: string;
685
+ selectedValue: string;
686
+ }>;
687
+ name: string;
688
+ version: string;
689
+ displayName: string;
690
+ description: string;
691
+ template: string;
692
+ zones: Record<string, {
693
+ displayName: string;
694
+ description: string;
695
+ minNodes: number;
696
+ maxNodes?: number | undefined;
697
+ }>;
698
+ } | {
699
+ options: Record<string, {
700
+ selectedValue: string;
701
+ }>;
702
+ name: string;
703
+ version: string;
704
+ };
597
705
  })[];
598
706
  };
599
707
  name: "layout-raw";
@@ -743,6 +851,33 @@ declare const PageContentsResolved: z.ZodObject<{
743
851
  }>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
744
852
  type: "variation";
745
853
  default: {};
854
+ }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
855
+ type: "layout";
856
+ layout: {
857
+ options: Record<string, {
858
+ values: string[];
859
+ displayName: string;
860
+ description: string;
861
+ selectedValue: string;
862
+ }>;
863
+ name: string;
864
+ version: string;
865
+ displayName: string;
866
+ description: string;
867
+ template: string;
868
+ zones: Record<string, {
869
+ displayName: string;
870
+ description: string;
871
+ minNodes: number;
872
+ maxNodes?: number | undefined;
873
+ }>;
874
+ } | {
875
+ options: Record<string, {
876
+ selectedValue: string;
877
+ }>;
878
+ name: string;
879
+ version: string;
880
+ };
746
881
  }>]>, "many">, (LayoutVariationNode | ({
747
882
  value: string;
748
883
  type: "text";
@@ -814,7 +949,7 @@ declare const PageContentsResolved: z.ZodObject<{
814
949
  matrixIdentifier?: string | undefined;
815
950
  }) & {
816
951
  children: LayoutContentNodes[];
817
- })))[], ({
952
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
818
953
  value: string;
819
954
  type: "text";
820
955
  } | {
@@ -886,6 +1021,33 @@ declare const PageContentsResolved: z.ZodObject<{
886
1021
  } | {
887
1022
  type: "variation";
888
1023
  default: {};
1024
+ } | {
1025
+ type: "layout";
1026
+ layout: {
1027
+ options: Record<string, {
1028
+ values: string[];
1029
+ displayName: string;
1030
+ description: string;
1031
+ selectedValue: string;
1032
+ }>;
1033
+ name: string;
1034
+ version: string;
1035
+ displayName: string;
1036
+ description: string;
1037
+ template: string;
1038
+ zones: Record<string, {
1039
+ displayName: string;
1040
+ description: string;
1041
+ minNodes: number;
1042
+ maxNodes?: number | undefined;
1043
+ }>;
1044
+ } | {
1045
+ options: Record<string, {
1046
+ selectedValue: string;
1047
+ }>;
1048
+ name: string;
1049
+ version: string;
1050
+ };
889
1051
  })[]>;
890
1052
  }, "strip", z.ZodTypeAny, {
891
1053
  main: (LayoutVariationNode | ({
@@ -959,7 +1121,7 @@ declare const PageContentsResolved: z.ZodObject<{
959
1121
  matrixIdentifier?: string | undefined;
960
1122
  }) & {
961
1123
  children: LayoutContentNodes[];
962
- })))[];
1124
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
963
1125
  }, {
964
1126
  main: ({
965
1127
  value: string;
@@ -1033,6 +1195,33 @@ declare const PageContentsResolved: z.ZodObject<{
1033
1195
  } | {
1034
1196
  type: "variation";
1035
1197
  default: {};
1198
+ } | {
1199
+ type: "layout";
1200
+ layout: {
1201
+ options: Record<string, {
1202
+ values: string[];
1203
+ displayName: string;
1204
+ description: string;
1205
+ selectedValue: string;
1206
+ }>;
1207
+ name: string;
1208
+ version: string;
1209
+ displayName: string;
1210
+ description: string;
1211
+ template: string;
1212
+ zones: Record<string, {
1213
+ displayName: string;
1214
+ description: string;
1215
+ minNodes: number;
1216
+ maxNodes?: number | undefined;
1217
+ }>;
1218
+ } | {
1219
+ options: Record<string, {
1220
+ selectedValue: string;
1221
+ }>;
1222
+ name: string;
1223
+ version: string;
1224
+ };
1036
1225
  })[];
1037
1226
  }>;
1038
1227
  }, "strip", z.ZodTypeAny, {
@@ -1108,7 +1297,7 @@ declare const PageContentsResolved: z.ZodObject<{
1108
1297
  matrixIdentifier?: string | undefined;
1109
1298
  }) & {
1110
1299
  children: LayoutContentNodes[];
1111
- })))[];
1300
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1112
1301
  };
1113
1302
  name: "single-column";
1114
1303
  }, {
@@ -1185,6 +1374,33 @@ declare const PageContentsResolved: z.ZodObject<{
1185
1374
  } | {
1186
1375
  type: "variation";
1187
1376
  default: {};
1377
+ } | {
1378
+ type: "layout";
1379
+ layout: {
1380
+ options: Record<string, {
1381
+ values: string[];
1382
+ displayName: string;
1383
+ description: string;
1384
+ selectedValue: string;
1385
+ }>;
1386
+ name: string;
1387
+ version: string;
1388
+ displayName: string;
1389
+ description: string;
1390
+ template: string;
1391
+ zones: Record<string, {
1392
+ displayName: string;
1393
+ description: string;
1394
+ minNodes: number;
1395
+ maxNodes?: number | undefined;
1396
+ }>;
1397
+ } | {
1398
+ options: Record<string, {
1399
+ selectedValue: string;
1400
+ }>;
1401
+ name: string;
1402
+ version: string;
1403
+ };
1188
1404
  })[];
1189
1405
  };
1190
1406
  name: "single-column";
@@ -1334,6 +1550,33 @@ declare const PageContentsResolved: z.ZodObject<{
1334
1550
  }>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
1335
1551
  type: "variation";
1336
1552
  default: {};
1553
+ }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
1554
+ type: "layout";
1555
+ layout: {
1556
+ options: Record<string, {
1557
+ values: string[];
1558
+ displayName: string;
1559
+ description: string;
1560
+ selectedValue: string;
1561
+ }>;
1562
+ name: string;
1563
+ version: string;
1564
+ displayName: string;
1565
+ description: string;
1566
+ template: string;
1567
+ zones: Record<string, {
1568
+ displayName: string;
1569
+ description: string;
1570
+ minNodes: number;
1571
+ maxNodes?: number | undefined;
1572
+ }>;
1573
+ } | {
1574
+ options: Record<string, {
1575
+ selectedValue: string;
1576
+ }>;
1577
+ name: string;
1578
+ version: string;
1579
+ };
1337
1580
  }>]>, "many">, (LayoutVariationNode | ({
1338
1581
  value: string;
1339
1582
  type: "text";
@@ -1405,7 +1648,7 @@ declare const PageContentsResolved: z.ZodObject<{
1405
1648
  matrixIdentifier?: string | undefined;
1406
1649
  }) & {
1407
1650
  children: LayoutContentNodes[];
1408
- })))[], ({
1651
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
1409
1652
  value: string;
1410
1653
  type: "text";
1411
1654
  } | {
@@ -1477,6 +1720,33 @@ declare const PageContentsResolved: z.ZodObject<{
1477
1720
  } | {
1478
1721
  type: "variation";
1479
1722
  default: {};
1723
+ } | {
1724
+ type: "layout";
1725
+ layout: {
1726
+ options: Record<string, {
1727
+ values: string[];
1728
+ displayName: string;
1729
+ description: string;
1730
+ selectedValue: string;
1731
+ }>;
1732
+ name: string;
1733
+ version: string;
1734
+ displayName: string;
1735
+ description: string;
1736
+ template: string;
1737
+ zones: Record<string, {
1738
+ displayName: string;
1739
+ description: string;
1740
+ minNodes: number;
1741
+ maxNodes?: number | undefined;
1742
+ }>;
1743
+ } | {
1744
+ options: Record<string, {
1745
+ selectedValue: string;
1746
+ }>;
1747
+ name: string;
1748
+ version: string;
1749
+ };
1480
1750
  })[]>;
1481
1751
  right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
1482
1752
  value: string;
@@ -1621,6 +1891,33 @@ declare const PageContentsResolved: z.ZodObject<{
1621
1891
  }>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
1622
1892
  type: "variation";
1623
1893
  default: {};
1894
+ }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
1895
+ type: "layout";
1896
+ layout: {
1897
+ options: Record<string, {
1898
+ values: string[];
1899
+ displayName: string;
1900
+ description: string;
1901
+ selectedValue: string;
1902
+ }>;
1903
+ name: string;
1904
+ version: string;
1905
+ displayName: string;
1906
+ description: string;
1907
+ template: string;
1908
+ zones: Record<string, {
1909
+ displayName: string;
1910
+ description: string;
1911
+ minNodes: number;
1912
+ maxNodes?: number | undefined;
1913
+ }>;
1914
+ } | {
1915
+ options: Record<string, {
1916
+ selectedValue: string;
1917
+ }>;
1918
+ name: string;
1919
+ version: string;
1920
+ };
1624
1921
  }>]>, "many">, (LayoutVariationNode | ({
1625
1922
  value: string;
1626
1923
  type: "text";
@@ -1692,7 +1989,7 @@ declare const PageContentsResolved: z.ZodObject<{
1692
1989
  matrixIdentifier?: string | undefined;
1693
1990
  }) & {
1694
1991
  children: LayoutContentNodes[];
1695
- })))[], ({
1992
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
1696
1993
  value: string;
1697
1994
  type: "text";
1698
1995
  } | {
@@ -1764,6 +2061,33 @@ declare const PageContentsResolved: z.ZodObject<{
1764
2061
  } | {
1765
2062
  type: "variation";
1766
2063
  default: {};
2064
+ } | {
2065
+ type: "layout";
2066
+ layout: {
2067
+ options: Record<string, {
2068
+ values: string[];
2069
+ displayName: string;
2070
+ description: string;
2071
+ selectedValue: string;
2072
+ }>;
2073
+ name: string;
2074
+ version: string;
2075
+ displayName: string;
2076
+ description: string;
2077
+ template: string;
2078
+ zones: Record<string, {
2079
+ displayName: string;
2080
+ description: string;
2081
+ minNodes: number;
2082
+ maxNodes?: number | undefined;
2083
+ }>;
2084
+ } | {
2085
+ options: Record<string, {
2086
+ selectedValue: string;
2087
+ }>;
2088
+ name: string;
2089
+ version: string;
2090
+ };
1767
2091
  })[]>;
1768
2092
  }, "strip", z.ZodTypeAny, {
1769
2093
  left: (LayoutVariationNode | ({
@@ -1837,7 +2161,7 @@ declare const PageContentsResolved: z.ZodObject<{
1837
2161
  matrixIdentifier?: string | undefined;
1838
2162
  }) & {
1839
2163
  children: LayoutContentNodes[];
1840
- })))[];
2164
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1841
2165
  right: (LayoutVariationNode | ({
1842
2166
  value: string;
1843
2167
  type: "text";
@@ -1909,7 +2233,7 @@ declare const PageContentsResolved: z.ZodObject<{
1909
2233
  matrixIdentifier?: string | undefined;
1910
2234
  }) & {
1911
2235
  children: LayoutContentNodes[];
1912
- })))[];
2236
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1913
2237
  }, {
1914
2238
  left: ({
1915
2239
  value: string;
@@ -1983,6 +2307,33 @@ declare const PageContentsResolved: z.ZodObject<{
1983
2307
  } | {
1984
2308
  type: "variation";
1985
2309
  default: {};
2310
+ } | {
2311
+ type: "layout";
2312
+ layout: {
2313
+ options: Record<string, {
2314
+ values: string[];
2315
+ displayName: string;
2316
+ description: string;
2317
+ selectedValue: string;
2318
+ }>;
2319
+ name: string;
2320
+ version: string;
2321
+ displayName: string;
2322
+ description: string;
2323
+ template: string;
2324
+ zones: Record<string, {
2325
+ displayName: string;
2326
+ description: string;
2327
+ minNodes: number;
2328
+ maxNodes?: number | undefined;
2329
+ }>;
2330
+ } | {
2331
+ options: Record<string, {
2332
+ selectedValue: string;
2333
+ }>;
2334
+ name: string;
2335
+ version: string;
2336
+ };
1986
2337
  })[];
1987
2338
  right: ({
1988
2339
  value: string;
@@ -2056,6 +2407,33 @@ declare const PageContentsResolved: z.ZodObject<{
2056
2407
  } | {
2057
2408
  type: "variation";
2058
2409
  default: {};
2410
+ } | {
2411
+ type: "layout";
2412
+ layout: {
2413
+ options: Record<string, {
2414
+ values: string[];
2415
+ displayName: string;
2416
+ description: string;
2417
+ selectedValue: string;
2418
+ }>;
2419
+ name: string;
2420
+ version: string;
2421
+ displayName: string;
2422
+ description: string;
2423
+ template: string;
2424
+ zones: Record<string, {
2425
+ displayName: string;
2426
+ description: string;
2427
+ minNodes: number;
2428
+ maxNodes?: number | undefined;
2429
+ }>;
2430
+ } | {
2431
+ options: Record<string, {
2432
+ selectedValue: string;
2433
+ }>;
2434
+ name: string;
2435
+ version: string;
2436
+ };
2059
2437
  })[];
2060
2438
  }>;
2061
2439
  }, "strip", z.ZodTypeAny, {
@@ -2131,7 +2509,7 @@ declare const PageContentsResolved: z.ZodObject<{
2131
2509
  matrixIdentifier?: string | undefined;
2132
2510
  }) & {
2133
2511
  children: LayoutContentNodes[];
2134
- })))[];
2512
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
2135
2513
  right: (LayoutVariationNode | ({
2136
2514
  value: string;
2137
2515
  type: "text";
@@ -2203,7 +2581,7 @@ declare const PageContentsResolved: z.ZodObject<{
2203
2581
  matrixIdentifier?: string | undefined;
2204
2582
  }) & {
2205
2583
  children: LayoutContentNodes[];
2206
- })))[];
2584
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
2207
2585
  };
2208
2586
  name: "two-column";
2209
2587
  }, {
@@ -2280,6 +2658,33 @@ declare const PageContentsResolved: z.ZodObject<{
2280
2658
  } | {
2281
2659
  type: "variation";
2282
2660
  default: {};
2661
+ } | {
2662
+ type: "layout";
2663
+ layout: {
2664
+ options: Record<string, {
2665
+ values: string[];
2666
+ displayName: string;
2667
+ description: string;
2668
+ selectedValue: string;
2669
+ }>;
2670
+ name: string;
2671
+ version: string;
2672
+ displayName: string;
2673
+ description: string;
2674
+ template: string;
2675
+ zones: Record<string, {
2676
+ displayName: string;
2677
+ description: string;
2678
+ minNodes: number;
2679
+ maxNodes?: number | undefined;
2680
+ }>;
2681
+ } | {
2682
+ options: Record<string, {
2683
+ selectedValue: string;
2684
+ }>;
2685
+ name: string;
2686
+ version: string;
2687
+ };
2283
2688
  })[];
2284
2689
  right: ({
2285
2690
  value: string;
@@ -2353,6 +2758,33 @@ declare const PageContentsResolved: z.ZodObject<{
2353
2758
  } | {
2354
2759
  type: "variation";
2355
2760
  default: {};
2761
+ } | {
2762
+ type: "layout";
2763
+ layout: {
2764
+ options: Record<string, {
2765
+ values: string[];
2766
+ displayName: string;
2767
+ description: string;
2768
+ selectedValue: string;
2769
+ }>;
2770
+ name: string;
2771
+ version: string;
2772
+ displayName: string;
2773
+ description: string;
2774
+ template: string;
2775
+ zones: Record<string, {
2776
+ displayName: string;
2777
+ description: string;
2778
+ minNodes: number;
2779
+ maxNodes?: number | undefined;
2780
+ }>;
2781
+ } | {
2782
+ options: Record<string, {
2783
+ selectedValue: string;
2784
+ }>;
2785
+ name: string;
2786
+ version: string;
2787
+ };
2356
2788
  })[];
2357
2789
  };
2358
2790
  name: "two-column";
@@ -2382,49 +2814,49 @@ declare const PageContentsResolved: z.ZodObject<{
2382
2814
  minNodes: z.ZodDefault<z.ZodNumber>;
2383
2815
  maxNodes: z.ZodOptional<z.ZodNumber>;
2384
2816
  }, "strip", z.ZodTypeAny, {
2817
+ minNodes: number;
2385
2818
  rootWrapper: {
2386
2819
  tag: string;
2387
2820
  classes?: string[] | undefined;
2388
2821
  };
2389
- minNodes: number;
2822
+ maxNodes?: number | undefined;
2390
2823
  nodeWrapper?: {
2391
2824
  tag: string;
2392
2825
  classes?: string[] | undefined;
2393
2826
  } | undefined;
2394
- maxNodes?: number | undefined;
2395
2827
  }, {
2396
2828
  rootWrapper: {
2397
2829
  tag: string;
2398
2830
  classes?: string[] | undefined;
2399
2831
  };
2832
+ minNodes?: number | undefined;
2833
+ maxNodes?: number | undefined;
2400
2834
  nodeWrapper?: {
2401
2835
  tag: string;
2402
2836
  classes?: string[] | undefined;
2403
2837
  } | undefined;
2404
- minNodes?: number | undefined;
2405
- maxNodes?: number | undefined;
2406
2838
  }>, {
2839
+ minNodes: number;
2407
2840
  rootWrapper: {
2408
2841
  tag: string;
2409
2842
  classes?: string[] | undefined;
2410
2843
  };
2411
- minNodes: number;
2844
+ maxNodes?: number | undefined;
2412
2845
  nodeWrapper?: {
2413
2846
  tag: string;
2414
2847
  classes?: string[] | undefined;
2415
2848
  } | undefined;
2416
- maxNodes?: number | undefined;
2417
2849
  }, {
2418
2850
  rootWrapper: {
2419
2851
  tag: string;
2420
2852
  classes?: string[] | undefined;
2421
2853
  };
2854
+ minNodes?: number | undefined;
2855
+ maxNodes?: number | undefined;
2422
2856
  nodeWrapper?: {
2423
2857
  tag: string;
2424
2858
  classes?: string[] | undefined;
2425
2859
  } | undefined;
2426
- minNodes?: number | undefined;
2427
- maxNodes?: number | undefined;
2428
2860
  }>;
2429
2861
  content: z.ZodObject<{
2430
2862
  main: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
@@ -2570,6 +3002,33 @@ declare const PageContentsResolved: z.ZodObject<{
2570
3002
  }>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
2571
3003
  type: "variation";
2572
3004
  default: {};
3005
+ }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
3006
+ type: "layout";
3007
+ layout: {
3008
+ options: Record<string, {
3009
+ values: string[];
3010
+ displayName: string;
3011
+ description: string;
3012
+ selectedValue: string;
3013
+ }>;
3014
+ name: string;
3015
+ version: string;
3016
+ displayName: string;
3017
+ description: string;
3018
+ template: string;
3019
+ zones: Record<string, {
3020
+ displayName: string;
3021
+ description: string;
3022
+ minNodes: number;
3023
+ maxNodes?: number | undefined;
3024
+ }>;
3025
+ } | {
3026
+ options: Record<string, {
3027
+ selectedValue: string;
3028
+ }>;
3029
+ name: string;
3030
+ version: string;
3031
+ };
2573
3032
  }>]>, "many">, (LayoutVariationNode | ({
2574
3033
  value: string;
2575
3034
  type: "text";
@@ -2641,7 +3100,7 @@ declare const PageContentsResolved: z.ZodObject<{
2641
3100
  matrixIdentifier?: string | undefined;
2642
3101
  }) & {
2643
3102
  children: LayoutContentNodes[];
2644
- })))[], ({
3103
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
2645
3104
  value: string;
2646
3105
  type: "text";
2647
3106
  } | {
@@ -2713,6 +3172,33 @@ declare const PageContentsResolved: z.ZodObject<{
2713
3172
  } | {
2714
3173
  type: "variation";
2715
3174
  default: {};
3175
+ } | {
3176
+ type: "layout";
3177
+ layout: {
3178
+ options: Record<string, {
3179
+ values: string[];
3180
+ displayName: string;
3181
+ description: string;
3182
+ selectedValue: string;
3183
+ }>;
3184
+ name: string;
3185
+ version: string;
3186
+ displayName: string;
3187
+ description: string;
3188
+ template: string;
3189
+ zones: Record<string, {
3190
+ displayName: string;
3191
+ description: string;
3192
+ minNodes: number;
3193
+ maxNodes?: number | undefined;
3194
+ }>;
3195
+ } | {
3196
+ options: Record<string, {
3197
+ selectedValue: string;
3198
+ }>;
3199
+ name: string;
3200
+ version: string;
3201
+ };
2716
3202
  })[]>;
2717
3203
  }, "strip", z.ZodTypeAny, {
2718
3204
  main: (LayoutVariationNode | ({
@@ -2786,7 +3272,7 @@ declare const PageContentsResolved: z.ZodObject<{
2786
3272
  matrixIdentifier?: string | undefined;
2787
3273
  }) & {
2788
3274
  children: LayoutContentNodes[];
2789
- })))[];
3275
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
2790
3276
  }, {
2791
3277
  main: ({
2792
3278
  value: string;
@@ -2860,6 +3346,33 @@ declare const PageContentsResolved: z.ZodObject<{
2860
3346
  } | {
2861
3347
  type: "variation";
2862
3348
  default: {};
3349
+ } | {
3350
+ type: "layout";
3351
+ layout: {
3352
+ options: Record<string, {
3353
+ values: string[];
3354
+ displayName: string;
3355
+ description: string;
3356
+ selectedValue: string;
3357
+ }>;
3358
+ name: string;
3359
+ version: string;
3360
+ displayName: string;
3361
+ description: string;
3362
+ template: string;
3363
+ zones: Record<string, {
3364
+ displayName: string;
3365
+ description: string;
3366
+ minNodes: number;
3367
+ maxNodes?: number | undefined;
3368
+ }>;
3369
+ } | {
3370
+ options: Record<string, {
3371
+ selectedValue: string;
3372
+ }>;
3373
+ name: string;
3374
+ version: string;
3375
+ };
2863
3376
  })[];
2864
3377
  }>;
2865
3378
  }, "strip", z.ZodTypeAny, {
@@ -2935,20 +3448,20 @@ declare const PageContentsResolved: z.ZodObject<{
2935
3448
  matrixIdentifier?: string | undefined;
2936
3449
  }) & {
2937
3450
  children: LayoutContentNodes[];
2938
- })))[];
3451
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
2939
3452
  };
2940
3453
  name: "custom-layout";
2941
3454
  config: {
3455
+ minNodes: number;
2942
3456
  rootWrapper: {
2943
3457
  tag: string;
2944
3458
  classes?: string[] | undefined;
2945
3459
  };
2946
- minNodes: number;
3460
+ maxNodes?: number | undefined;
2947
3461
  nodeWrapper?: {
2948
3462
  tag: string;
2949
3463
  classes?: string[] | undefined;
2950
3464
  } | undefined;
2951
- maxNodes?: number | undefined;
2952
3465
  };
2953
3466
  }, {
2954
3467
  content: {
@@ -3024,6 +3537,33 @@ declare const PageContentsResolved: z.ZodObject<{
3024
3537
  } | {
3025
3538
  type: "variation";
3026
3539
  default: {};
3540
+ } | {
3541
+ type: "layout";
3542
+ layout: {
3543
+ options: Record<string, {
3544
+ values: string[];
3545
+ displayName: string;
3546
+ description: string;
3547
+ selectedValue: string;
3548
+ }>;
3549
+ name: string;
3550
+ version: string;
3551
+ displayName: string;
3552
+ description: string;
3553
+ template: string;
3554
+ zones: Record<string, {
3555
+ displayName: string;
3556
+ description: string;
3557
+ minNodes: number;
3558
+ maxNodes?: number | undefined;
3559
+ }>;
3560
+ } | {
3561
+ options: Record<string, {
3562
+ selectedValue: string;
3563
+ }>;
3564
+ name: string;
3565
+ version: string;
3566
+ };
3027
3567
  })[];
3028
3568
  };
3029
3569
  name: "custom-layout";
@@ -3032,12 +3572,12 @@ declare const PageContentsResolved: z.ZodObject<{
3032
3572
  tag: string;
3033
3573
  classes?: string[] | undefined;
3034
3574
  };
3575
+ minNodes?: number | undefined;
3576
+ maxNodes?: number | undefined;
3035
3577
  nodeWrapper?: {
3036
3578
  tag: string;
3037
3579
  classes?: string[] | undefined;
3038
3580
  } | undefined;
3039
- minNodes?: number | undefined;
3040
- maxNodes?: number | undefined;
3041
3581
  };
3042
3582
  }>]>, "many">;
3043
3583
  }, "strip", z.ZodTypeAny, {
@@ -3116,7 +3656,7 @@ declare const PageContentsResolved: z.ZodObject<{
3116
3656
  matrixIdentifier?: string | undefined;
3117
3657
  }) & {
3118
3658
  children: LayoutContentNodes[];
3119
- })))[];
3659
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
3120
3660
  };
3121
3661
  name: "layout-raw";
3122
3662
  } | {
@@ -3192,7 +3732,7 @@ declare const PageContentsResolved: z.ZodObject<{
3192
3732
  matrixIdentifier?: string | undefined;
3193
3733
  }) & {
3194
3734
  children: LayoutContentNodes[];
3195
- })))[];
3735
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
3196
3736
  };
3197
3737
  name: "single-column";
3198
3738
  } | {
@@ -3268,7 +3808,7 @@ declare const PageContentsResolved: z.ZodObject<{
3268
3808
  matrixIdentifier?: string | undefined;
3269
3809
  }) & {
3270
3810
  children: LayoutContentNodes[];
3271
- })))[];
3811
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
3272
3812
  right: (LayoutVariationNode | ({
3273
3813
  value: string;
3274
3814
  type: "text";
@@ -3340,7 +3880,7 @@ declare const PageContentsResolved: z.ZodObject<{
3340
3880
  matrixIdentifier?: string | undefined;
3341
3881
  }) & {
3342
3882
  children: LayoutContentNodes[];
3343
- })))[];
3883
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
3344
3884
  };
3345
3885
  name: "two-column";
3346
3886
  } | {
@@ -3416,20 +3956,20 @@ declare const PageContentsResolved: z.ZodObject<{
3416
3956
  matrixIdentifier?: string | undefined;
3417
3957
  }) & {
3418
3958
  children: LayoutContentNodes[];
3419
- })))[];
3959
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
3420
3960
  };
3421
3961
  name: "custom-layout";
3422
3962
  config: {
3963
+ minNodes: number;
3423
3964
  rootWrapper: {
3424
3965
  tag: string;
3425
3966
  classes?: string[] | undefined;
3426
3967
  };
3427
- minNodes: number;
3968
+ maxNodes?: number | undefined;
3428
3969
  nodeWrapper?: {
3429
3970
  tag: string;
3430
3971
  classes?: string[] | undefined;
3431
3972
  } | undefined;
3432
- maxNodes?: number | undefined;
3433
3973
  };
3434
3974
  })[];
3435
3975
  }, {
@@ -3509,6 +4049,33 @@ declare const PageContentsResolved: z.ZodObject<{
3509
4049
  } | {
3510
4050
  type: "variation";
3511
4051
  default: {};
4052
+ } | {
4053
+ type: "layout";
4054
+ layout: {
4055
+ options: Record<string, {
4056
+ values: string[];
4057
+ displayName: string;
4058
+ description: string;
4059
+ selectedValue: string;
4060
+ }>;
4061
+ name: string;
4062
+ version: string;
4063
+ displayName: string;
4064
+ description: string;
4065
+ template: string;
4066
+ zones: Record<string, {
4067
+ displayName: string;
4068
+ description: string;
4069
+ minNodes: number;
4070
+ maxNodes?: number | undefined;
4071
+ }>;
4072
+ } | {
4073
+ options: Record<string, {
4074
+ selectedValue: string;
4075
+ }>;
4076
+ name: string;
4077
+ version: string;
4078
+ };
3512
4079
  })[];
3513
4080
  };
3514
4081
  name: "layout-raw";
@@ -3586,6 +4153,33 @@ declare const PageContentsResolved: z.ZodObject<{
3586
4153
  } | {
3587
4154
  type: "variation";
3588
4155
  default: {};
4156
+ } | {
4157
+ type: "layout";
4158
+ layout: {
4159
+ options: Record<string, {
4160
+ values: string[];
4161
+ displayName: string;
4162
+ description: string;
4163
+ selectedValue: string;
4164
+ }>;
4165
+ name: string;
4166
+ version: string;
4167
+ displayName: string;
4168
+ description: string;
4169
+ template: string;
4170
+ zones: Record<string, {
4171
+ displayName: string;
4172
+ description: string;
4173
+ minNodes: number;
4174
+ maxNodes?: number | undefined;
4175
+ }>;
4176
+ } | {
4177
+ options: Record<string, {
4178
+ selectedValue: string;
4179
+ }>;
4180
+ name: string;
4181
+ version: string;
4182
+ };
3589
4183
  })[];
3590
4184
  };
3591
4185
  name: "single-column";
@@ -3663,6 +4257,33 @@ declare const PageContentsResolved: z.ZodObject<{
3663
4257
  } | {
3664
4258
  type: "variation";
3665
4259
  default: {};
4260
+ } | {
4261
+ type: "layout";
4262
+ layout: {
4263
+ options: Record<string, {
4264
+ values: string[];
4265
+ displayName: string;
4266
+ description: string;
4267
+ selectedValue: string;
4268
+ }>;
4269
+ name: string;
4270
+ version: string;
4271
+ displayName: string;
4272
+ description: string;
4273
+ template: string;
4274
+ zones: Record<string, {
4275
+ displayName: string;
4276
+ description: string;
4277
+ minNodes: number;
4278
+ maxNodes?: number | undefined;
4279
+ }>;
4280
+ } | {
4281
+ options: Record<string, {
4282
+ selectedValue: string;
4283
+ }>;
4284
+ name: string;
4285
+ version: string;
4286
+ };
3666
4287
  })[];
3667
4288
  right: ({
3668
4289
  value: string;
@@ -3736,6 +4357,33 @@ declare const PageContentsResolved: z.ZodObject<{
3736
4357
  } | {
3737
4358
  type: "variation";
3738
4359
  default: {};
4360
+ } | {
4361
+ type: "layout";
4362
+ layout: {
4363
+ options: Record<string, {
4364
+ values: string[];
4365
+ displayName: string;
4366
+ description: string;
4367
+ selectedValue: string;
4368
+ }>;
4369
+ name: string;
4370
+ version: string;
4371
+ displayName: string;
4372
+ description: string;
4373
+ template: string;
4374
+ zones: Record<string, {
4375
+ displayName: string;
4376
+ description: string;
4377
+ minNodes: number;
4378
+ maxNodes?: number | undefined;
4379
+ }>;
4380
+ } | {
4381
+ options: Record<string, {
4382
+ selectedValue: string;
4383
+ }>;
4384
+ name: string;
4385
+ version: string;
4386
+ };
3739
4387
  })[];
3740
4388
  };
3741
4389
  name: "two-column";
@@ -3813,6 +4461,33 @@ declare const PageContentsResolved: z.ZodObject<{
3813
4461
  } | {
3814
4462
  type: "variation";
3815
4463
  default: {};
4464
+ } | {
4465
+ type: "layout";
4466
+ layout: {
4467
+ options: Record<string, {
4468
+ values: string[];
4469
+ displayName: string;
4470
+ description: string;
4471
+ selectedValue: string;
4472
+ }>;
4473
+ name: string;
4474
+ version: string;
4475
+ displayName: string;
4476
+ description: string;
4477
+ template: string;
4478
+ zones: Record<string, {
4479
+ displayName: string;
4480
+ description: string;
4481
+ minNodes: number;
4482
+ maxNodes?: number | undefined;
4483
+ }>;
4484
+ } | {
4485
+ options: Record<string, {
4486
+ selectedValue: string;
4487
+ }>;
4488
+ name: string;
4489
+ version: string;
4490
+ };
3816
4491
  })[];
3817
4492
  };
3818
4493
  name: "custom-layout";
@@ -3821,12 +4496,12 @@ declare const PageContentsResolved: z.ZodObject<{
3821
4496
  tag: string;
3822
4497
  classes?: string[] | undefined;
3823
4498
  };
4499
+ minNodes?: number | undefined;
4500
+ maxNodes?: number | undefined;
3824
4501
  nodeWrapper?: {
3825
4502
  tag: string;
3826
4503
  classes?: string[] | undefined;
3827
4504
  } | undefined;
3828
- minNodes?: number | undefined;
3829
- maxNodes?: number | undefined;
3830
4505
  };
3831
4506
  })[];
3832
4507
  }>;