@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.
@@ -145,6 +145,31 @@ 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
+ displayName: string;
159
+ description: string;
160
+ template: string;
161
+ zones: Record<string, {
162
+ displayName: string;
163
+ description: string;
164
+ minNodes: number;
165
+ maxNodes?: number | undefined;
166
+ }>;
167
+ } | {
168
+ options: Record<string, {
169
+ selectedValue: string;
170
+ }>;
171
+ name: string;
172
+ };
148
173
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
149
174
  value: string;
150
175
  type: "text";
@@ -216,7 +241,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
216
241
  matrixIdentifier?: string | undefined;
217
242
  }) & {
218
243
  children: import("../layout-content").LayoutContentNodes[];
219
- })))[], ({
244
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
220
245
  value: string;
221
246
  type: "text";
222
247
  } | {
@@ -288,6 +313,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
288
313
  } | {
289
314
  type: "variation";
290
315
  default: {};
316
+ } | {
317
+ type: "layout";
318
+ layout: {
319
+ options: Record<string, {
320
+ values: string[];
321
+ displayName: string;
322
+ description: string;
323
+ selectedValue: string;
324
+ }>;
325
+ name: string;
326
+ displayName: string;
327
+ description: string;
328
+ template: string;
329
+ zones: Record<string, {
330
+ displayName: string;
331
+ description: string;
332
+ minNodes: number;
333
+ maxNodes?: number | undefined;
334
+ }>;
335
+ } | {
336
+ options: Record<string, {
337
+ selectedValue: string;
338
+ }>;
339
+ name: string;
340
+ };
291
341
  })[]>;
292
342
  }, "strip", z.ZodTypeAny, {
293
343
  main: (import("../layout-content").LayoutVariationNode | ({
@@ -361,7 +411,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
361
411
  matrixIdentifier?: string | undefined;
362
412
  }) & {
363
413
  children: import("../layout-content").LayoutContentNodes[];
364
- })))[];
414
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
365
415
  }, {
366
416
  main: ({
367
417
  value: string;
@@ -435,6 +485,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
435
485
  } | {
436
486
  type: "variation";
437
487
  default: {};
488
+ } | {
489
+ type: "layout";
490
+ layout: {
491
+ options: Record<string, {
492
+ values: string[];
493
+ displayName: string;
494
+ description: string;
495
+ selectedValue: string;
496
+ }>;
497
+ name: string;
498
+ displayName: string;
499
+ description: string;
500
+ template: string;
501
+ zones: Record<string, {
502
+ displayName: string;
503
+ description: string;
504
+ minNodes: number;
505
+ maxNodes?: number | undefined;
506
+ }>;
507
+ } | {
508
+ options: Record<string, {
509
+ selectedValue: string;
510
+ }>;
511
+ name: string;
512
+ };
438
513
  })[];
439
514
  }>;
440
515
  }, "strip", z.ZodTypeAny, {
@@ -510,7 +585,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
510
585
  matrixIdentifier?: string | undefined;
511
586
  }) & {
512
587
  children: import("../layout-content").LayoutContentNodes[];
513
- })))[];
588
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
514
589
  };
515
590
  name: "layout-raw";
516
591
  }, {
@@ -587,6 +662,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
587
662
  } | {
588
663
  type: "variation";
589
664
  default: {};
665
+ } | {
666
+ type: "layout";
667
+ layout: {
668
+ options: Record<string, {
669
+ values: string[];
670
+ displayName: string;
671
+ description: string;
672
+ selectedValue: string;
673
+ }>;
674
+ name: string;
675
+ displayName: string;
676
+ description: string;
677
+ template: string;
678
+ zones: Record<string, {
679
+ displayName: string;
680
+ description: string;
681
+ minNodes: number;
682
+ maxNodes?: number | undefined;
683
+ }>;
684
+ } | {
685
+ options: Record<string, {
686
+ selectedValue: string;
687
+ }>;
688
+ name: string;
689
+ };
590
690
  })[];
591
691
  };
592
692
  name: "layout-raw";
@@ -736,6 +836,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
736
836
  }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
737
837
  type: "variation";
738
838
  default: {};
839
+ }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
840
+ type: "layout";
841
+ layout: {
842
+ options: Record<string, {
843
+ values: string[];
844
+ displayName: string;
845
+ description: string;
846
+ selectedValue: string;
847
+ }>;
848
+ name: string;
849
+ displayName: string;
850
+ description: string;
851
+ template: string;
852
+ zones: Record<string, {
853
+ displayName: string;
854
+ description: string;
855
+ minNodes: number;
856
+ maxNodes?: number | undefined;
857
+ }>;
858
+ } | {
859
+ options: Record<string, {
860
+ selectedValue: string;
861
+ }>;
862
+ name: string;
863
+ };
739
864
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
740
865
  value: string;
741
866
  type: "text";
@@ -807,7 +932,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
807
932
  matrixIdentifier?: string | undefined;
808
933
  }) & {
809
934
  children: import("../layout-content").LayoutContentNodes[];
810
- })))[], ({
935
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
811
936
  value: string;
812
937
  type: "text";
813
938
  } | {
@@ -879,6 +1004,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
879
1004
  } | {
880
1005
  type: "variation";
881
1006
  default: {};
1007
+ } | {
1008
+ type: "layout";
1009
+ layout: {
1010
+ options: Record<string, {
1011
+ values: string[];
1012
+ displayName: string;
1013
+ description: string;
1014
+ selectedValue: string;
1015
+ }>;
1016
+ name: string;
1017
+ displayName: string;
1018
+ description: string;
1019
+ template: string;
1020
+ zones: Record<string, {
1021
+ displayName: string;
1022
+ description: string;
1023
+ minNodes: number;
1024
+ maxNodes?: number | undefined;
1025
+ }>;
1026
+ } | {
1027
+ options: Record<string, {
1028
+ selectedValue: string;
1029
+ }>;
1030
+ name: string;
1031
+ };
882
1032
  })[]>;
883
1033
  }, "strip", z.ZodTypeAny, {
884
1034
  main: (import("../layout-content").LayoutVariationNode | ({
@@ -952,7 +1102,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
952
1102
  matrixIdentifier?: string | undefined;
953
1103
  }) & {
954
1104
  children: import("../layout-content").LayoutContentNodes[];
955
- })))[];
1105
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
956
1106
  }, {
957
1107
  main: ({
958
1108
  value: string;
@@ -1026,6 +1176,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1026
1176
  } | {
1027
1177
  type: "variation";
1028
1178
  default: {};
1179
+ } | {
1180
+ type: "layout";
1181
+ layout: {
1182
+ options: Record<string, {
1183
+ values: string[];
1184
+ displayName: string;
1185
+ description: string;
1186
+ selectedValue: string;
1187
+ }>;
1188
+ name: string;
1189
+ displayName: string;
1190
+ description: string;
1191
+ template: string;
1192
+ zones: Record<string, {
1193
+ displayName: string;
1194
+ description: string;
1195
+ minNodes: number;
1196
+ maxNodes?: number | undefined;
1197
+ }>;
1198
+ } | {
1199
+ options: Record<string, {
1200
+ selectedValue: string;
1201
+ }>;
1202
+ name: string;
1203
+ };
1029
1204
  })[];
1030
1205
  }>;
1031
1206
  }, "strip", z.ZodTypeAny, {
@@ -1101,7 +1276,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1101
1276
  matrixIdentifier?: string | undefined;
1102
1277
  }) & {
1103
1278
  children: import("../layout-content").LayoutContentNodes[];
1104
- })))[];
1279
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1105
1280
  };
1106
1281
  name: "single-column";
1107
1282
  }, {
@@ -1178,6 +1353,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1178
1353
  } | {
1179
1354
  type: "variation";
1180
1355
  default: {};
1356
+ } | {
1357
+ type: "layout";
1358
+ layout: {
1359
+ options: Record<string, {
1360
+ values: string[];
1361
+ displayName: string;
1362
+ description: string;
1363
+ selectedValue: string;
1364
+ }>;
1365
+ name: string;
1366
+ displayName: string;
1367
+ description: string;
1368
+ template: string;
1369
+ zones: Record<string, {
1370
+ displayName: string;
1371
+ description: string;
1372
+ minNodes: number;
1373
+ maxNodes?: number | undefined;
1374
+ }>;
1375
+ } | {
1376
+ options: Record<string, {
1377
+ selectedValue: string;
1378
+ }>;
1379
+ name: string;
1380
+ };
1181
1381
  })[];
1182
1382
  };
1183
1383
  name: "single-column";
@@ -1327,6 +1527,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1327
1527
  }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
1328
1528
  type: "variation";
1329
1529
  default: {};
1530
+ }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
1531
+ type: "layout";
1532
+ layout: {
1533
+ options: Record<string, {
1534
+ values: string[];
1535
+ displayName: string;
1536
+ description: string;
1537
+ selectedValue: string;
1538
+ }>;
1539
+ name: string;
1540
+ displayName: string;
1541
+ description: string;
1542
+ template: string;
1543
+ zones: Record<string, {
1544
+ displayName: string;
1545
+ description: string;
1546
+ minNodes: number;
1547
+ maxNodes?: number | undefined;
1548
+ }>;
1549
+ } | {
1550
+ options: Record<string, {
1551
+ selectedValue: string;
1552
+ }>;
1553
+ name: string;
1554
+ };
1330
1555
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
1331
1556
  value: string;
1332
1557
  type: "text";
@@ -1398,7 +1623,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1398
1623
  matrixIdentifier?: string | undefined;
1399
1624
  }) & {
1400
1625
  children: import("../layout-content").LayoutContentNodes[];
1401
- })))[], ({
1626
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
1402
1627
  value: string;
1403
1628
  type: "text";
1404
1629
  } | {
@@ -1470,6 +1695,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1470
1695
  } | {
1471
1696
  type: "variation";
1472
1697
  default: {};
1698
+ } | {
1699
+ type: "layout";
1700
+ layout: {
1701
+ options: Record<string, {
1702
+ values: string[];
1703
+ displayName: string;
1704
+ description: string;
1705
+ selectedValue: string;
1706
+ }>;
1707
+ name: string;
1708
+ displayName: string;
1709
+ description: string;
1710
+ template: string;
1711
+ zones: Record<string, {
1712
+ displayName: string;
1713
+ description: string;
1714
+ minNodes: number;
1715
+ maxNodes?: number | undefined;
1716
+ }>;
1717
+ } | {
1718
+ options: Record<string, {
1719
+ selectedValue: string;
1720
+ }>;
1721
+ name: string;
1722
+ };
1473
1723
  })[]>;
1474
1724
  right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
1475
1725
  value: string;
@@ -1614,6 +1864,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1614
1864
  }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
1615
1865
  type: "variation";
1616
1866
  default: {};
1867
+ }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
1868
+ type: "layout";
1869
+ layout: {
1870
+ options: Record<string, {
1871
+ values: string[];
1872
+ displayName: string;
1873
+ description: string;
1874
+ selectedValue: string;
1875
+ }>;
1876
+ name: string;
1877
+ displayName: string;
1878
+ description: string;
1879
+ template: string;
1880
+ zones: Record<string, {
1881
+ displayName: string;
1882
+ description: string;
1883
+ minNodes: number;
1884
+ maxNodes?: number | undefined;
1885
+ }>;
1886
+ } | {
1887
+ options: Record<string, {
1888
+ selectedValue: string;
1889
+ }>;
1890
+ name: string;
1891
+ };
1617
1892
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
1618
1893
  value: string;
1619
1894
  type: "text";
@@ -1685,7 +1960,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1685
1960
  matrixIdentifier?: string | undefined;
1686
1961
  }) & {
1687
1962
  children: import("../layout-content").LayoutContentNodes[];
1688
- })))[], ({
1963
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
1689
1964
  value: string;
1690
1965
  type: "text";
1691
1966
  } | {
@@ -1757,6 +2032,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1757
2032
  } | {
1758
2033
  type: "variation";
1759
2034
  default: {};
2035
+ } | {
2036
+ type: "layout";
2037
+ layout: {
2038
+ options: Record<string, {
2039
+ values: string[];
2040
+ displayName: string;
2041
+ description: string;
2042
+ selectedValue: string;
2043
+ }>;
2044
+ name: string;
2045
+ displayName: string;
2046
+ description: string;
2047
+ template: string;
2048
+ zones: Record<string, {
2049
+ displayName: string;
2050
+ description: string;
2051
+ minNodes: number;
2052
+ maxNodes?: number | undefined;
2053
+ }>;
2054
+ } | {
2055
+ options: Record<string, {
2056
+ selectedValue: string;
2057
+ }>;
2058
+ name: string;
2059
+ };
1760
2060
  })[]>;
1761
2061
  }, "strip", z.ZodTypeAny, {
1762
2062
  left: (import("../layout-content").LayoutVariationNode | ({
@@ -1830,7 +2130,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1830
2130
  matrixIdentifier?: string | undefined;
1831
2131
  }) & {
1832
2132
  children: import("../layout-content").LayoutContentNodes[];
1833
- })))[];
2133
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1834
2134
  right: (import("../layout-content").LayoutVariationNode | ({
1835
2135
  value: string;
1836
2136
  type: "text";
@@ -1902,7 +2202,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1902
2202
  matrixIdentifier?: string | undefined;
1903
2203
  }) & {
1904
2204
  children: import("../layout-content").LayoutContentNodes[];
1905
- })))[];
2205
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1906
2206
  }, {
1907
2207
  left: ({
1908
2208
  value: string;
@@ -1976,6 +2276,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1976
2276
  } | {
1977
2277
  type: "variation";
1978
2278
  default: {};
2279
+ } | {
2280
+ type: "layout";
2281
+ layout: {
2282
+ options: Record<string, {
2283
+ values: string[];
2284
+ displayName: string;
2285
+ description: string;
2286
+ selectedValue: string;
2287
+ }>;
2288
+ name: string;
2289
+ displayName: string;
2290
+ description: string;
2291
+ template: string;
2292
+ zones: Record<string, {
2293
+ displayName: string;
2294
+ description: string;
2295
+ minNodes: number;
2296
+ maxNodes?: number | undefined;
2297
+ }>;
2298
+ } | {
2299
+ options: Record<string, {
2300
+ selectedValue: string;
2301
+ }>;
2302
+ name: string;
2303
+ };
1979
2304
  })[];
1980
2305
  right: ({
1981
2306
  value: string;
@@ -2049,6 +2374,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2049
2374
  } | {
2050
2375
  type: "variation";
2051
2376
  default: {};
2377
+ } | {
2378
+ type: "layout";
2379
+ layout: {
2380
+ options: Record<string, {
2381
+ values: string[];
2382
+ displayName: string;
2383
+ description: string;
2384
+ selectedValue: string;
2385
+ }>;
2386
+ name: string;
2387
+ displayName: string;
2388
+ description: string;
2389
+ template: string;
2390
+ zones: Record<string, {
2391
+ displayName: string;
2392
+ description: string;
2393
+ minNodes: number;
2394
+ maxNodes?: number | undefined;
2395
+ }>;
2396
+ } | {
2397
+ options: Record<string, {
2398
+ selectedValue: string;
2399
+ }>;
2400
+ name: string;
2401
+ };
2052
2402
  })[];
2053
2403
  }>;
2054
2404
  }, "strip", z.ZodTypeAny, {
@@ -2124,7 +2474,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2124
2474
  matrixIdentifier?: string | undefined;
2125
2475
  }) & {
2126
2476
  children: import("../layout-content").LayoutContentNodes[];
2127
- })))[];
2477
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
2128
2478
  right: (import("../layout-content").LayoutVariationNode | ({
2129
2479
  value: string;
2130
2480
  type: "text";
@@ -2196,7 +2546,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2196
2546
  matrixIdentifier?: string | undefined;
2197
2547
  }) & {
2198
2548
  children: import("../layout-content").LayoutContentNodes[];
2199
- })))[];
2549
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
2200
2550
  };
2201
2551
  name: "two-column";
2202
2552
  }, {
@@ -2273,6 +2623,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2273
2623
  } | {
2274
2624
  type: "variation";
2275
2625
  default: {};
2626
+ } | {
2627
+ type: "layout";
2628
+ layout: {
2629
+ options: Record<string, {
2630
+ values: string[];
2631
+ displayName: string;
2632
+ description: string;
2633
+ selectedValue: string;
2634
+ }>;
2635
+ name: string;
2636
+ displayName: string;
2637
+ description: string;
2638
+ template: string;
2639
+ zones: Record<string, {
2640
+ displayName: string;
2641
+ description: string;
2642
+ minNodes: number;
2643
+ maxNodes?: number | undefined;
2644
+ }>;
2645
+ } | {
2646
+ options: Record<string, {
2647
+ selectedValue: string;
2648
+ }>;
2649
+ name: string;
2650
+ };
2276
2651
  })[];
2277
2652
  right: ({
2278
2653
  value: string;
@@ -2346,6 +2721,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2346
2721
  } | {
2347
2722
  type: "variation";
2348
2723
  default: {};
2724
+ } | {
2725
+ type: "layout";
2726
+ layout: {
2727
+ options: Record<string, {
2728
+ values: string[];
2729
+ displayName: string;
2730
+ description: string;
2731
+ selectedValue: string;
2732
+ }>;
2733
+ name: string;
2734
+ displayName: string;
2735
+ description: string;
2736
+ template: string;
2737
+ zones: Record<string, {
2738
+ displayName: string;
2739
+ description: string;
2740
+ minNodes: number;
2741
+ maxNodes?: number | undefined;
2742
+ }>;
2743
+ } | {
2744
+ options: Record<string, {
2745
+ selectedValue: string;
2746
+ }>;
2747
+ name: string;
2748
+ };
2349
2749
  })[];
2350
2750
  };
2351
2751
  name: "two-column";
@@ -2375,49 +2775,49 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2375
2775
  minNodes: z.ZodDefault<z.ZodNumber>;
2376
2776
  maxNodes: z.ZodOptional<z.ZodNumber>;
2377
2777
  }, "strip", z.ZodTypeAny, {
2778
+ minNodes: number;
2378
2779
  rootWrapper: {
2379
2780
  tag: string;
2380
2781
  classes?: string[] | undefined;
2381
2782
  };
2382
- minNodes: number;
2783
+ maxNodes?: number | undefined;
2383
2784
  nodeWrapper?: {
2384
2785
  tag: string;
2385
2786
  classes?: string[] | undefined;
2386
2787
  } | undefined;
2387
- maxNodes?: number | undefined;
2388
2788
  }, {
2389
2789
  rootWrapper: {
2390
2790
  tag: string;
2391
2791
  classes?: string[] | undefined;
2392
2792
  };
2793
+ minNodes?: number | undefined;
2794
+ maxNodes?: number | undefined;
2393
2795
  nodeWrapper?: {
2394
2796
  tag: string;
2395
2797
  classes?: string[] | undefined;
2396
2798
  } | undefined;
2397
- minNodes?: number | undefined;
2398
- maxNodes?: number | undefined;
2399
2799
  }>, {
2800
+ minNodes: number;
2400
2801
  rootWrapper: {
2401
2802
  tag: string;
2402
2803
  classes?: string[] | undefined;
2403
2804
  };
2404
- minNodes: number;
2805
+ maxNodes?: number | undefined;
2405
2806
  nodeWrapper?: {
2406
2807
  tag: string;
2407
2808
  classes?: string[] | undefined;
2408
2809
  } | undefined;
2409
- maxNodes?: number | undefined;
2410
2810
  }, {
2411
2811
  rootWrapper: {
2412
2812
  tag: string;
2413
2813
  classes?: string[] | undefined;
2414
2814
  };
2815
+ minNodes?: number | undefined;
2816
+ maxNodes?: number | undefined;
2415
2817
  nodeWrapper?: {
2416
2818
  tag: string;
2417
2819
  classes?: string[] | undefined;
2418
2820
  } | undefined;
2419
- minNodes?: number | undefined;
2420
- maxNodes?: number | undefined;
2421
2821
  }>;
2422
2822
  content: z.ZodObject<{
2423
2823
  main: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
@@ -2563,6 +2963,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2563
2963
  }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
2564
2964
  type: "variation";
2565
2965
  default: {};
2966
+ }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
2967
+ type: "layout";
2968
+ layout: {
2969
+ options: Record<string, {
2970
+ values: string[];
2971
+ displayName: string;
2972
+ description: string;
2973
+ selectedValue: string;
2974
+ }>;
2975
+ name: string;
2976
+ displayName: string;
2977
+ description: string;
2978
+ template: string;
2979
+ zones: Record<string, {
2980
+ displayName: string;
2981
+ description: string;
2982
+ minNodes: number;
2983
+ maxNodes?: number | undefined;
2984
+ }>;
2985
+ } | {
2986
+ options: Record<string, {
2987
+ selectedValue: string;
2988
+ }>;
2989
+ name: string;
2990
+ };
2566
2991
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
2567
2992
  value: string;
2568
2993
  type: "text";
@@ -2634,7 +3059,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2634
3059
  matrixIdentifier?: string | undefined;
2635
3060
  }) & {
2636
3061
  children: import("../layout-content").LayoutContentNodes[];
2637
- })))[], ({
3062
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
2638
3063
  value: string;
2639
3064
  type: "text";
2640
3065
  } | {
@@ -2706,6 +3131,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2706
3131
  } | {
2707
3132
  type: "variation";
2708
3133
  default: {};
3134
+ } | {
3135
+ type: "layout";
3136
+ layout: {
3137
+ options: Record<string, {
3138
+ values: string[];
3139
+ displayName: string;
3140
+ description: string;
3141
+ selectedValue: string;
3142
+ }>;
3143
+ name: string;
3144
+ displayName: string;
3145
+ description: string;
3146
+ template: string;
3147
+ zones: Record<string, {
3148
+ displayName: string;
3149
+ description: string;
3150
+ minNodes: number;
3151
+ maxNodes?: number | undefined;
3152
+ }>;
3153
+ } | {
3154
+ options: Record<string, {
3155
+ selectedValue: string;
3156
+ }>;
3157
+ name: string;
3158
+ };
2709
3159
  })[]>;
2710
3160
  }, "strip", z.ZodTypeAny, {
2711
3161
  main: (import("../layout-content").LayoutVariationNode | ({
@@ -2779,7 +3229,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2779
3229
  matrixIdentifier?: string | undefined;
2780
3230
  }) & {
2781
3231
  children: import("../layout-content").LayoutContentNodes[];
2782
- })))[];
3232
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
2783
3233
  }, {
2784
3234
  main: ({
2785
3235
  value: string;
@@ -2853,6 +3303,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2853
3303
  } | {
2854
3304
  type: "variation";
2855
3305
  default: {};
3306
+ } | {
3307
+ type: "layout";
3308
+ layout: {
3309
+ options: Record<string, {
3310
+ values: string[];
3311
+ displayName: string;
3312
+ description: string;
3313
+ selectedValue: string;
3314
+ }>;
3315
+ name: string;
3316
+ displayName: string;
3317
+ description: string;
3318
+ template: string;
3319
+ zones: Record<string, {
3320
+ displayName: string;
3321
+ description: string;
3322
+ minNodes: number;
3323
+ maxNodes?: number | undefined;
3324
+ }>;
3325
+ } | {
3326
+ options: Record<string, {
3327
+ selectedValue: string;
3328
+ }>;
3329
+ name: string;
3330
+ };
2856
3331
  })[];
2857
3332
  }>;
2858
3333
  }, "strip", z.ZodTypeAny, {
@@ -2928,20 +3403,20 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2928
3403
  matrixIdentifier?: string | undefined;
2929
3404
  }) & {
2930
3405
  children: import("../layout-content").LayoutContentNodes[];
2931
- })))[];
3406
+ })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
2932
3407
  };
2933
3408
  name: "custom-layout";
2934
3409
  config: {
3410
+ minNodes: number;
2935
3411
  rootWrapper: {
2936
3412
  tag: string;
2937
3413
  classes?: string[] | undefined;
2938
3414
  };
2939
- minNodes: number;
3415
+ maxNodes?: number | undefined;
2940
3416
  nodeWrapper?: {
2941
3417
  tag: string;
2942
3418
  classes?: string[] | undefined;
2943
3419
  } | undefined;
2944
- maxNodes?: number | undefined;
2945
3420
  };
2946
3421
  }, {
2947
3422
  content: {
@@ -3017,6 +3492,31 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
3017
3492
  } | {
3018
3493
  type: "variation";
3019
3494
  default: {};
3495
+ } | {
3496
+ type: "layout";
3497
+ layout: {
3498
+ options: Record<string, {
3499
+ values: string[];
3500
+ displayName: string;
3501
+ description: string;
3502
+ selectedValue: string;
3503
+ }>;
3504
+ name: string;
3505
+ displayName: string;
3506
+ description: string;
3507
+ template: string;
3508
+ zones: Record<string, {
3509
+ displayName: string;
3510
+ description: string;
3511
+ minNodes: number;
3512
+ maxNodes?: number | undefined;
3513
+ }>;
3514
+ } | {
3515
+ options: Record<string, {
3516
+ selectedValue: string;
3517
+ }>;
3518
+ name: string;
3519
+ };
3020
3520
  })[];
3021
3521
  };
3022
3522
  name: "custom-layout";
@@ -3025,12 +3525,12 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
3025
3525
  tag: string;
3026
3526
  classes?: string[] | undefined;
3027
3527
  };
3528
+ minNodes?: number | undefined;
3529
+ maxNodes?: number | undefined;
3028
3530
  nodeWrapper?: {
3029
3531
  tag: string;
3030
3532
  classes?: string[] | undefined;
3031
3533
  } | undefined;
3032
- minNodes?: number | undefined;
3033
- maxNodes?: number | undefined;
3034
3534
  };
3035
3535
  }>]>;
3036
3536
  export type PageLayout = z.infer<typeof PageLayout>;