@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.
@@ -145,6 +145,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
145
145
  }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
146
146
  type: "variation";
147
147
  default: {};
148
+ }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
149
+ type: "layout";
150
+ layout: {
151
+ options: Record<string, {
152
+ values: string[];
153
+ displayName: string;
154
+ description: string;
155
+ selectedValue: string;
156
+ }>;
157
+ name: string;
158
+ version: string;
159
+ displayName: string;
160
+ description: string;
161
+ template: string;
162
+ zones: Record<string, {
163
+ displayName: string;
164
+ description: string;
165
+ minNodes: number;
166
+ maxNodes?: number | undefined;
167
+ }>;
168
+ } | {
169
+ options: Record<string, {
170
+ selectedValue: string;
171
+ }>;
172
+ name: string;
173
+ version: string;
174
+ };
148
175
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
149
176
  value: string;
150
177
  type: "text";
@@ -216,7 +243,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
216
243
  matrixIdentifier?: string | undefined;
217
244
  }) & {
218
245
  children: import("../layout-content").LayoutContentNodes[];
219
- })))[], ({
246
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
220
247
  value: string;
221
248
  type: "text";
222
249
  } | {
@@ -288,6 +315,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
288
315
  } | {
289
316
  type: "variation";
290
317
  default: {};
318
+ } | {
319
+ type: "layout";
320
+ layout: {
321
+ options: Record<string, {
322
+ values: string[];
323
+ displayName: string;
324
+ description: string;
325
+ selectedValue: string;
326
+ }>;
327
+ name: string;
328
+ version: string;
329
+ displayName: string;
330
+ description: string;
331
+ template: string;
332
+ zones: Record<string, {
333
+ displayName: string;
334
+ description: string;
335
+ minNodes: number;
336
+ maxNodes?: number | undefined;
337
+ }>;
338
+ } | {
339
+ options: Record<string, {
340
+ selectedValue: string;
341
+ }>;
342
+ name: string;
343
+ version: string;
344
+ };
291
345
  })[]>;
292
346
  }, "strip", z.ZodTypeAny, {
293
347
  main: (import("../layout-content").LayoutVariationNode | ({
@@ -361,7 +415,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
361
415
  matrixIdentifier?: string | undefined;
362
416
  }) & {
363
417
  children: import("../layout-content").LayoutContentNodes[];
364
- })))[];
418
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
365
419
  }, {
366
420
  main: ({
367
421
  value: string;
@@ -435,6 +489,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
435
489
  } | {
436
490
  type: "variation";
437
491
  default: {};
492
+ } | {
493
+ type: "layout";
494
+ layout: {
495
+ options: Record<string, {
496
+ values: string[];
497
+ displayName: string;
498
+ description: string;
499
+ selectedValue: string;
500
+ }>;
501
+ name: string;
502
+ version: string;
503
+ displayName: string;
504
+ description: string;
505
+ template: string;
506
+ zones: Record<string, {
507
+ displayName: string;
508
+ description: string;
509
+ minNodes: number;
510
+ maxNodes?: number | undefined;
511
+ }>;
512
+ } | {
513
+ options: Record<string, {
514
+ selectedValue: string;
515
+ }>;
516
+ name: string;
517
+ version: string;
518
+ };
438
519
  })[];
439
520
  }>;
440
521
  }, "strip", z.ZodTypeAny, {
@@ -510,7 +591,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
510
591
  matrixIdentifier?: string | undefined;
511
592
  }) & {
512
593
  children: import("../layout-content").LayoutContentNodes[];
513
- })))[];
594
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
514
595
  };
515
596
  name: "layout-raw";
516
597
  }, {
@@ -587,6 +668,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
587
668
  } | {
588
669
  type: "variation";
589
670
  default: {};
671
+ } | {
672
+ type: "layout";
673
+ layout: {
674
+ options: Record<string, {
675
+ values: string[];
676
+ displayName: string;
677
+ description: string;
678
+ selectedValue: string;
679
+ }>;
680
+ name: string;
681
+ version: 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
+ version: string;
697
+ };
590
698
  })[];
591
699
  };
592
700
  name: "layout-raw";
@@ -736,6 +844,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
736
844
  }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
737
845
  type: "variation";
738
846
  default: {};
847
+ }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
848
+ type: "layout";
849
+ layout: {
850
+ options: Record<string, {
851
+ values: string[];
852
+ displayName: string;
853
+ description: string;
854
+ selectedValue: string;
855
+ }>;
856
+ name: string;
857
+ version: string;
858
+ displayName: string;
859
+ description: string;
860
+ template: string;
861
+ zones: Record<string, {
862
+ displayName: string;
863
+ description: string;
864
+ minNodes: number;
865
+ maxNodes?: number | undefined;
866
+ }>;
867
+ } | {
868
+ options: Record<string, {
869
+ selectedValue: string;
870
+ }>;
871
+ name: string;
872
+ version: string;
873
+ };
739
874
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
740
875
  value: string;
741
876
  type: "text";
@@ -807,7 +942,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
807
942
  matrixIdentifier?: string | undefined;
808
943
  }) & {
809
944
  children: import("../layout-content").LayoutContentNodes[];
810
- })))[], ({
945
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
811
946
  value: string;
812
947
  type: "text";
813
948
  } | {
@@ -879,6 +1014,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
879
1014
  } | {
880
1015
  type: "variation";
881
1016
  default: {};
1017
+ } | {
1018
+ type: "layout";
1019
+ layout: {
1020
+ options: Record<string, {
1021
+ values: string[];
1022
+ displayName: string;
1023
+ description: string;
1024
+ selectedValue: string;
1025
+ }>;
1026
+ name: string;
1027
+ version: string;
1028
+ displayName: string;
1029
+ description: string;
1030
+ template: string;
1031
+ zones: Record<string, {
1032
+ displayName: string;
1033
+ description: string;
1034
+ minNodes: number;
1035
+ maxNodes?: number | undefined;
1036
+ }>;
1037
+ } | {
1038
+ options: Record<string, {
1039
+ selectedValue: string;
1040
+ }>;
1041
+ name: string;
1042
+ version: string;
1043
+ };
882
1044
  })[]>;
883
1045
  }, "strip", z.ZodTypeAny, {
884
1046
  main: (import("../layout-content").LayoutVariationNode | ({
@@ -952,7 +1114,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
952
1114
  matrixIdentifier?: string | undefined;
953
1115
  }) & {
954
1116
  children: import("../layout-content").LayoutContentNodes[];
955
- })))[];
1117
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
956
1118
  }, {
957
1119
  main: ({
958
1120
  value: string;
@@ -1026,6 +1188,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1026
1188
  } | {
1027
1189
  type: "variation";
1028
1190
  default: {};
1191
+ } | {
1192
+ type: "layout";
1193
+ layout: {
1194
+ options: Record<string, {
1195
+ values: string[];
1196
+ displayName: string;
1197
+ description: string;
1198
+ selectedValue: string;
1199
+ }>;
1200
+ name: string;
1201
+ version: string;
1202
+ displayName: string;
1203
+ description: string;
1204
+ template: string;
1205
+ zones: Record<string, {
1206
+ displayName: string;
1207
+ description: string;
1208
+ minNodes: number;
1209
+ maxNodes?: number | undefined;
1210
+ }>;
1211
+ } | {
1212
+ options: Record<string, {
1213
+ selectedValue: string;
1214
+ }>;
1215
+ name: string;
1216
+ version: string;
1217
+ };
1029
1218
  })[];
1030
1219
  }>;
1031
1220
  }, "strip", z.ZodTypeAny, {
@@ -1101,7 +1290,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1101
1290
  matrixIdentifier?: string | undefined;
1102
1291
  }) & {
1103
1292
  children: import("../layout-content").LayoutContentNodes[];
1104
- })))[];
1293
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1105
1294
  };
1106
1295
  name: "single-column";
1107
1296
  }, {
@@ -1178,6 +1367,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1178
1367
  } | {
1179
1368
  type: "variation";
1180
1369
  default: {};
1370
+ } | {
1371
+ type: "layout";
1372
+ layout: {
1373
+ options: Record<string, {
1374
+ values: string[];
1375
+ displayName: string;
1376
+ description: string;
1377
+ selectedValue: string;
1378
+ }>;
1379
+ name: string;
1380
+ version: string;
1381
+ displayName: string;
1382
+ description: string;
1383
+ template: string;
1384
+ zones: Record<string, {
1385
+ displayName: string;
1386
+ description: string;
1387
+ minNodes: number;
1388
+ maxNodes?: number | undefined;
1389
+ }>;
1390
+ } | {
1391
+ options: Record<string, {
1392
+ selectedValue: string;
1393
+ }>;
1394
+ name: string;
1395
+ version: string;
1396
+ };
1181
1397
  })[];
1182
1398
  };
1183
1399
  name: "single-column";
@@ -1327,6 +1543,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1327
1543
  }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
1328
1544
  type: "variation";
1329
1545
  default: {};
1546
+ }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
1547
+ type: "layout";
1548
+ layout: {
1549
+ options: Record<string, {
1550
+ values: string[];
1551
+ displayName: string;
1552
+ description: string;
1553
+ selectedValue: string;
1554
+ }>;
1555
+ name: string;
1556
+ version: string;
1557
+ displayName: string;
1558
+ description: string;
1559
+ template: string;
1560
+ zones: Record<string, {
1561
+ displayName: string;
1562
+ description: string;
1563
+ minNodes: number;
1564
+ maxNodes?: number | undefined;
1565
+ }>;
1566
+ } | {
1567
+ options: Record<string, {
1568
+ selectedValue: string;
1569
+ }>;
1570
+ name: string;
1571
+ version: string;
1572
+ };
1330
1573
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
1331
1574
  value: string;
1332
1575
  type: "text";
@@ -1398,7 +1641,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1398
1641
  matrixIdentifier?: string | undefined;
1399
1642
  }) & {
1400
1643
  children: import("../layout-content").LayoutContentNodes[];
1401
- })))[], ({
1644
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
1402
1645
  value: string;
1403
1646
  type: "text";
1404
1647
  } | {
@@ -1470,6 +1713,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1470
1713
  } | {
1471
1714
  type: "variation";
1472
1715
  default: {};
1716
+ } | {
1717
+ type: "layout";
1718
+ layout: {
1719
+ options: Record<string, {
1720
+ values: string[];
1721
+ displayName: string;
1722
+ description: string;
1723
+ selectedValue: string;
1724
+ }>;
1725
+ name: string;
1726
+ version: string;
1727
+ displayName: string;
1728
+ description: string;
1729
+ template: string;
1730
+ zones: Record<string, {
1731
+ displayName: string;
1732
+ description: string;
1733
+ minNodes: number;
1734
+ maxNodes?: number | undefined;
1735
+ }>;
1736
+ } | {
1737
+ options: Record<string, {
1738
+ selectedValue: string;
1739
+ }>;
1740
+ name: string;
1741
+ version: string;
1742
+ };
1473
1743
  })[]>;
1474
1744
  right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
1475
1745
  value: string;
@@ -1614,6 +1884,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1614
1884
  }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
1615
1885
  type: "variation";
1616
1886
  default: {};
1887
+ }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
1888
+ type: "layout";
1889
+ layout: {
1890
+ options: Record<string, {
1891
+ values: string[];
1892
+ displayName: string;
1893
+ description: string;
1894
+ selectedValue: string;
1895
+ }>;
1896
+ name: string;
1897
+ version: string;
1898
+ displayName: string;
1899
+ description: string;
1900
+ template: string;
1901
+ zones: Record<string, {
1902
+ displayName: string;
1903
+ description: string;
1904
+ minNodes: number;
1905
+ maxNodes?: number | undefined;
1906
+ }>;
1907
+ } | {
1908
+ options: Record<string, {
1909
+ selectedValue: string;
1910
+ }>;
1911
+ name: string;
1912
+ version: string;
1913
+ };
1617
1914
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
1618
1915
  value: string;
1619
1916
  type: "text";
@@ -1685,7 +1982,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1685
1982
  matrixIdentifier?: string | undefined;
1686
1983
  }) & {
1687
1984
  children: import("../layout-content").LayoutContentNodes[];
1688
- })))[], ({
1985
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
1689
1986
  value: string;
1690
1987
  type: "text";
1691
1988
  } | {
@@ -1757,6 +2054,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1757
2054
  } | {
1758
2055
  type: "variation";
1759
2056
  default: {};
2057
+ } | {
2058
+ type: "layout";
2059
+ layout: {
2060
+ options: Record<string, {
2061
+ values: string[];
2062
+ displayName: string;
2063
+ description: string;
2064
+ selectedValue: string;
2065
+ }>;
2066
+ name: string;
2067
+ version: string;
2068
+ displayName: string;
2069
+ description: string;
2070
+ template: string;
2071
+ zones: Record<string, {
2072
+ displayName: string;
2073
+ description: string;
2074
+ minNodes: number;
2075
+ maxNodes?: number | undefined;
2076
+ }>;
2077
+ } | {
2078
+ options: Record<string, {
2079
+ selectedValue: string;
2080
+ }>;
2081
+ name: string;
2082
+ version: string;
2083
+ };
1760
2084
  })[]>;
1761
2085
  }, "strip", z.ZodTypeAny, {
1762
2086
  left: (import("../layout-content").LayoutVariationNode | ({
@@ -1830,7 +2154,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1830
2154
  matrixIdentifier?: string | undefined;
1831
2155
  }) & {
1832
2156
  children: import("../layout-content").LayoutContentNodes[];
1833
- })))[];
2157
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1834
2158
  right: (import("../layout-content").LayoutVariationNode | ({
1835
2159
  value: string;
1836
2160
  type: "text";
@@ -1902,7 +2226,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1902
2226
  matrixIdentifier?: string | undefined;
1903
2227
  }) & {
1904
2228
  children: import("../layout-content").LayoutContentNodes[];
1905
- })))[];
2229
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1906
2230
  }, {
1907
2231
  left: ({
1908
2232
  value: string;
@@ -1976,6 +2300,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1976
2300
  } | {
1977
2301
  type: "variation";
1978
2302
  default: {};
2303
+ } | {
2304
+ type: "layout";
2305
+ layout: {
2306
+ options: Record<string, {
2307
+ values: string[];
2308
+ displayName: string;
2309
+ description: string;
2310
+ selectedValue: string;
2311
+ }>;
2312
+ name: string;
2313
+ version: string;
2314
+ displayName: string;
2315
+ description: string;
2316
+ template: string;
2317
+ zones: Record<string, {
2318
+ displayName: string;
2319
+ description: string;
2320
+ minNodes: number;
2321
+ maxNodes?: number | undefined;
2322
+ }>;
2323
+ } | {
2324
+ options: Record<string, {
2325
+ selectedValue: string;
2326
+ }>;
2327
+ name: string;
2328
+ version: string;
2329
+ };
1979
2330
  })[];
1980
2331
  right: ({
1981
2332
  value: string;
@@ -2049,6 +2400,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2049
2400
  } | {
2050
2401
  type: "variation";
2051
2402
  default: {};
2403
+ } | {
2404
+ type: "layout";
2405
+ layout: {
2406
+ options: Record<string, {
2407
+ values: string[];
2408
+ displayName: string;
2409
+ description: string;
2410
+ selectedValue: string;
2411
+ }>;
2412
+ name: string;
2413
+ version: string;
2414
+ displayName: string;
2415
+ description: string;
2416
+ template: string;
2417
+ zones: Record<string, {
2418
+ displayName: string;
2419
+ description: string;
2420
+ minNodes: number;
2421
+ maxNodes?: number | undefined;
2422
+ }>;
2423
+ } | {
2424
+ options: Record<string, {
2425
+ selectedValue: string;
2426
+ }>;
2427
+ name: string;
2428
+ version: string;
2429
+ };
2052
2430
  })[];
2053
2431
  }>;
2054
2432
  }, "strip", z.ZodTypeAny, {
@@ -2124,7 +2502,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2124
2502
  matrixIdentifier?: string | undefined;
2125
2503
  }) & {
2126
2504
  children: import("../layout-content").LayoutContentNodes[];
2127
- })))[];
2505
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
2128
2506
  right: (import("../layout-content").LayoutVariationNode | ({
2129
2507
  value: string;
2130
2508
  type: "text";
@@ -2196,7 +2574,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2196
2574
  matrixIdentifier?: string | undefined;
2197
2575
  }) & {
2198
2576
  children: import("../layout-content").LayoutContentNodes[];
2199
- })))[];
2577
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
2200
2578
  };
2201
2579
  name: "two-column";
2202
2580
  }, {
@@ -2273,6 +2651,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2273
2651
  } | {
2274
2652
  type: "variation";
2275
2653
  default: {};
2654
+ } | {
2655
+ type: "layout";
2656
+ layout: {
2657
+ options: Record<string, {
2658
+ values: string[];
2659
+ displayName: string;
2660
+ description: string;
2661
+ selectedValue: string;
2662
+ }>;
2663
+ name: string;
2664
+ version: string;
2665
+ displayName: string;
2666
+ description: string;
2667
+ template: string;
2668
+ zones: Record<string, {
2669
+ displayName: string;
2670
+ description: string;
2671
+ minNodes: number;
2672
+ maxNodes?: number | undefined;
2673
+ }>;
2674
+ } | {
2675
+ options: Record<string, {
2676
+ selectedValue: string;
2677
+ }>;
2678
+ name: string;
2679
+ version: string;
2680
+ };
2276
2681
  })[];
2277
2682
  right: ({
2278
2683
  value: string;
@@ -2346,6 +2751,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2346
2751
  } | {
2347
2752
  type: "variation";
2348
2753
  default: {};
2754
+ } | {
2755
+ type: "layout";
2756
+ layout: {
2757
+ options: Record<string, {
2758
+ values: string[];
2759
+ displayName: string;
2760
+ description: string;
2761
+ selectedValue: string;
2762
+ }>;
2763
+ name: string;
2764
+ version: string;
2765
+ displayName: string;
2766
+ description: string;
2767
+ template: string;
2768
+ zones: Record<string, {
2769
+ displayName: string;
2770
+ description: string;
2771
+ minNodes: number;
2772
+ maxNodes?: number | undefined;
2773
+ }>;
2774
+ } | {
2775
+ options: Record<string, {
2776
+ selectedValue: string;
2777
+ }>;
2778
+ name: string;
2779
+ version: string;
2780
+ };
2349
2781
  })[];
2350
2782
  };
2351
2783
  name: "two-column";
@@ -2375,49 +2807,49 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2375
2807
  minNodes: z.ZodDefault<z.ZodNumber>;
2376
2808
  maxNodes: z.ZodOptional<z.ZodNumber>;
2377
2809
  }, "strip", z.ZodTypeAny, {
2810
+ minNodes: number;
2378
2811
  rootWrapper: {
2379
2812
  tag: string;
2380
2813
  classes?: string[] | undefined;
2381
2814
  };
2382
- minNodes: number;
2815
+ maxNodes?: number | undefined;
2383
2816
  nodeWrapper?: {
2384
2817
  tag: string;
2385
2818
  classes?: string[] | undefined;
2386
2819
  } | undefined;
2387
- maxNodes?: number | undefined;
2388
2820
  }, {
2389
2821
  rootWrapper: {
2390
2822
  tag: string;
2391
2823
  classes?: string[] | undefined;
2392
2824
  };
2825
+ minNodes?: number | undefined;
2826
+ maxNodes?: number | undefined;
2393
2827
  nodeWrapper?: {
2394
2828
  tag: string;
2395
2829
  classes?: string[] | undefined;
2396
2830
  } | undefined;
2397
- minNodes?: number | undefined;
2398
- maxNodes?: number | undefined;
2399
2831
  }>, {
2832
+ minNodes: number;
2400
2833
  rootWrapper: {
2401
2834
  tag: string;
2402
2835
  classes?: string[] | undefined;
2403
2836
  };
2404
- minNodes: number;
2837
+ maxNodes?: number | undefined;
2405
2838
  nodeWrapper?: {
2406
2839
  tag: string;
2407
2840
  classes?: string[] | undefined;
2408
2841
  } | undefined;
2409
- maxNodes?: number | undefined;
2410
2842
  }, {
2411
2843
  rootWrapper: {
2412
2844
  tag: string;
2413
2845
  classes?: string[] | undefined;
2414
2846
  };
2847
+ minNodes?: number | undefined;
2848
+ maxNodes?: number | undefined;
2415
2849
  nodeWrapper?: {
2416
2850
  tag: string;
2417
2851
  classes?: string[] | undefined;
2418
2852
  } | undefined;
2419
- minNodes?: number | undefined;
2420
- maxNodes?: number | undefined;
2421
2853
  }>;
2422
2854
  content: z.ZodObject<{
2423
2855
  main: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
@@ -2563,6 +2995,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2563
2995
  }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
2564
2996
  type: "variation";
2565
2997
  default: {};
2998
+ }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
2999
+ type: "layout";
3000
+ layout: {
3001
+ options: Record<string, {
3002
+ values: string[];
3003
+ displayName: string;
3004
+ description: string;
3005
+ selectedValue: string;
3006
+ }>;
3007
+ name: string;
3008
+ version: string;
3009
+ displayName: string;
3010
+ description: string;
3011
+ template: string;
3012
+ zones: Record<string, {
3013
+ displayName: string;
3014
+ description: string;
3015
+ minNodes: number;
3016
+ maxNodes?: number | undefined;
3017
+ }>;
3018
+ } | {
3019
+ options: Record<string, {
3020
+ selectedValue: string;
3021
+ }>;
3022
+ name: string;
3023
+ version: string;
3024
+ };
2566
3025
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
2567
3026
  value: string;
2568
3027
  type: "text";
@@ -2634,7 +3093,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2634
3093
  matrixIdentifier?: string | undefined;
2635
3094
  }) & {
2636
3095
  children: import("../layout-content").LayoutContentNodes[];
2637
- })))[], ({
3096
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
2638
3097
  value: string;
2639
3098
  type: "text";
2640
3099
  } | {
@@ -2706,6 +3165,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2706
3165
  } | {
2707
3166
  type: "variation";
2708
3167
  default: {};
3168
+ } | {
3169
+ type: "layout";
3170
+ layout: {
3171
+ options: Record<string, {
3172
+ values: string[];
3173
+ displayName: string;
3174
+ description: string;
3175
+ selectedValue: string;
3176
+ }>;
3177
+ name: string;
3178
+ version: string;
3179
+ displayName: string;
3180
+ description: string;
3181
+ template: string;
3182
+ zones: Record<string, {
3183
+ displayName: string;
3184
+ description: string;
3185
+ minNodes: number;
3186
+ maxNodes?: number | undefined;
3187
+ }>;
3188
+ } | {
3189
+ options: Record<string, {
3190
+ selectedValue: string;
3191
+ }>;
3192
+ name: string;
3193
+ version: string;
3194
+ };
2709
3195
  })[]>;
2710
3196
  }, "strip", z.ZodTypeAny, {
2711
3197
  main: (import("../layout-content").LayoutVariationNode | ({
@@ -2779,7 +3265,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2779
3265
  matrixIdentifier?: string | undefined;
2780
3266
  }) & {
2781
3267
  children: import("../layout-content").LayoutContentNodes[];
2782
- })))[];
3268
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
2783
3269
  }, {
2784
3270
  main: ({
2785
3271
  value: string;
@@ -2853,6 +3339,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2853
3339
  } | {
2854
3340
  type: "variation";
2855
3341
  default: {};
3342
+ } | {
3343
+ type: "layout";
3344
+ layout: {
3345
+ options: Record<string, {
3346
+ values: string[];
3347
+ displayName: string;
3348
+ description: string;
3349
+ selectedValue: string;
3350
+ }>;
3351
+ name: string;
3352
+ version: string;
3353
+ displayName: string;
3354
+ description: string;
3355
+ template: string;
3356
+ zones: Record<string, {
3357
+ displayName: string;
3358
+ description: string;
3359
+ minNodes: number;
3360
+ maxNodes?: number | undefined;
3361
+ }>;
3362
+ } | {
3363
+ options: Record<string, {
3364
+ selectedValue: string;
3365
+ }>;
3366
+ name: string;
3367
+ version: string;
3368
+ };
2856
3369
  })[];
2857
3370
  }>;
2858
3371
  }, "strip", z.ZodTypeAny, {
@@ -2928,20 +3441,20 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2928
3441
  matrixIdentifier?: string | undefined;
2929
3442
  }) & {
2930
3443
  children: import("../layout-content").LayoutContentNodes[];
2931
- })))[];
3444
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
2932
3445
  };
2933
3446
  name: "custom-layout";
2934
3447
  config: {
3448
+ minNodes: number;
2935
3449
  rootWrapper: {
2936
3450
  tag: string;
2937
3451
  classes?: string[] | undefined;
2938
3452
  };
2939
- minNodes: number;
3453
+ maxNodes?: number | undefined;
2940
3454
  nodeWrapper?: {
2941
3455
  tag: string;
2942
3456
  classes?: string[] | undefined;
2943
3457
  } | undefined;
2944
- maxNodes?: number | undefined;
2945
3458
  };
2946
3459
  }, {
2947
3460
  content: {
@@ -3017,6 +3530,33 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
3017
3530
  } | {
3018
3531
  type: "variation";
3019
3532
  default: {};
3533
+ } | {
3534
+ type: "layout";
3535
+ layout: {
3536
+ options: Record<string, {
3537
+ values: string[];
3538
+ displayName: string;
3539
+ description: string;
3540
+ selectedValue: string;
3541
+ }>;
3542
+ name: string;
3543
+ version: string;
3544
+ displayName: string;
3545
+ description: string;
3546
+ template: string;
3547
+ zones: Record<string, {
3548
+ displayName: string;
3549
+ description: string;
3550
+ minNodes: number;
3551
+ maxNodes?: number | undefined;
3552
+ }>;
3553
+ } | {
3554
+ options: Record<string, {
3555
+ selectedValue: string;
3556
+ }>;
3557
+ name: string;
3558
+ version: string;
3559
+ };
3020
3560
  })[];
3021
3561
  };
3022
3562
  name: "custom-layout";
@@ -3025,12 +3565,12 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
3025
3565
  tag: string;
3026
3566
  classes?: string[] | undefined;
3027
3567
  };
3568
+ minNodes?: number | undefined;
3569
+ maxNodes?: number | undefined;
3028
3570
  nodeWrapper?: {
3029
3571
  tag: string;
3030
3572
  classes?: string[] | undefined;
3031
3573
  } | undefined;
3032
- minNodes?: number | undefined;
3033
- maxNodes?: number | undefined;
3034
3574
  };
3035
3575
  }>]>;
3036
3576
  export type PageLayout = z.infer<typeof PageLayout>;