@squiz/dx-page-contents-lib 1.66.0 → 1.67.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.
@@ -25,6 +25,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
25
25
  type: "component";
26
26
  componentId: string;
27
27
  componentSet: string;
28
+ componentType?: "server" | "edge" | undefined;
28
29
  contentItem?: {
29
30
  id: string;
30
31
  } | {
@@ -81,6 +82,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
81
82
  type: "component";
82
83
  componentId: string;
83
84
  componentSet: string;
85
+ componentType?: "server" | "edge" | undefined;
84
86
  contentItem?: {
85
87
  id: string;
86
88
  } | {
@@ -163,6 +165,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
163
165
  type: "component";
164
166
  componentId: string;
165
167
  componentSet: string;
168
+ componentType?: "server" | "edge" | undefined;
166
169
  contentItem?: {
167
170
  id: string;
168
171
  } | {
@@ -195,6 +198,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
195
198
  type: "component";
196
199
  componentId: string;
197
200
  componentSet: string;
201
+ componentType?: "server" | "edge" | undefined;
198
202
  contentItem?: {
199
203
  id: string;
200
204
  } | {
@@ -251,6 +255,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
251
255
  type: "component";
252
256
  componentId: string;
253
257
  componentSet: string;
258
+ componentType?: "server" | "edge" | undefined;
254
259
  contentItem?: {
255
260
  id: string;
256
261
  } | {
@@ -333,6 +338,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
333
338
  type: "component";
334
339
  componentId: string;
335
340
  componentSet: string;
341
+ componentType?: "server" | "edge" | undefined;
336
342
  contentItem?: {
337
343
  id: string;
338
344
  } | {
@@ -366,6 +372,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
366
372
  type: "component";
367
373
  componentId: string;
368
374
  componentSet: string;
375
+ componentType?: "server" | "edge" | undefined;
369
376
  contentItem?: {
370
377
  id: string;
371
378
  } | {
@@ -422,6 +429,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
422
429
  type: "component";
423
430
  componentId: string;
424
431
  componentSet: string;
432
+ componentType?: "server" | "edge" | undefined;
425
433
  contentItem?: {
426
434
  id: string;
427
435
  } | {
@@ -504,6 +512,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
504
512
  type: "component";
505
513
  componentId: string;
506
514
  componentSet: string;
515
+ componentType?: "server" | "edge" | undefined;
507
516
  contentItem?: {
508
517
  id: string;
509
518
  } | {
@@ -536,6 +545,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
536
545
  type: "component";
537
546
  componentId: string;
538
547
  componentSet: string;
548
+ componentType?: "server" | "edge" | undefined;
539
549
  contentItem?: {
540
550
  id: string;
541
551
  } | {
@@ -592,6 +602,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
592
602
  type: "component";
593
603
  componentId: string;
594
604
  componentSet: string;
605
+ componentType?: "server" | "edge" | undefined;
595
606
  contentItem?: {
596
607
  id: string;
597
608
  } | {
@@ -674,6 +685,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
674
685
  type: "component";
675
686
  componentId: string;
676
687
  componentSet: string;
688
+ componentType?: "server" | "edge" | undefined;
677
689
  contentItem?: {
678
690
  id: string;
679
691
  } | {
@@ -708,6 +720,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
708
720
  type: "component";
709
721
  componentId: string;
710
722
  componentSet: string;
723
+ componentType?: "server" | "edge" | undefined;
711
724
  contentItem?: {
712
725
  id: string;
713
726
  } | {
@@ -764,6 +777,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
764
777
  type: "component";
765
778
  componentId: string;
766
779
  componentSet: string;
780
+ componentType?: "server" | "edge" | undefined;
767
781
  contentItem?: {
768
782
  id: string;
769
783
  } | {
@@ -821,6 +835,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
821
835
  type: "component";
822
836
  componentId: string;
823
837
  componentSet: string;
838
+ componentType?: "server" | "edge" | undefined;
824
839
  contentItem?: {
825
840
  id: string;
826
841
  } | {
@@ -877,6 +892,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
877
892
  type: "component";
878
893
  componentId: string;
879
894
  componentSet: string;
895
+ componentType?: "server" | "edge" | undefined;
880
896
  contentItem?: {
881
897
  id: string;
882
898
  } | {
@@ -961,6 +977,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
961
977
  type: "component";
962
978
  componentId: string;
963
979
  componentSet: string;
980
+ componentType?: "server" | "edge" | undefined;
964
981
  contentItem?: {
965
982
  id: string;
966
983
  } | {
@@ -1020,6 +1037,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1020
1037
  type: "component";
1021
1038
  componentId: string;
1022
1039
  componentSet: string;
1040
+ componentType?: "server" | "edge" | undefined;
1023
1041
  contentItem?: {
1024
1042
  id: string;
1025
1043
  } | {
@@ -1056,6 +1074,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1056
1074
  type: "component";
1057
1075
  componentId: string;
1058
1076
  componentSet: string;
1077
+ componentType?: "server" | "edge" | undefined;
1059
1078
  contentItem?: {
1060
1079
  id: string;
1061
1080
  } | {
@@ -1112,6 +1131,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1112
1131
  type: "component";
1113
1132
  componentId: string;
1114
1133
  componentSet: string;
1134
+ componentType?: "server" | "edge" | undefined;
1115
1135
  contentItem?: {
1116
1136
  id: string;
1117
1137
  } | {
@@ -1169,6 +1189,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1169
1189
  type: "component";
1170
1190
  componentId: string;
1171
1191
  componentSet: string;
1192
+ componentType?: "server" | "edge" | undefined;
1172
1193
  contentItem?: {
1173
1194
  id: string;
1174
1195
  } | {
@@ -1225,6 +1246,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1225
1246
  type: "component";
1226
1247
  componentId: string;
1227
1248
  componentSet: string;
1249
+ componentType?: "server" | "edge" | undefined;
1228
1250
  contentItem?: {
1229
1251
  id: string;
1230
1252
  } | {
@@ -1312,6 +1334,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1312
1334
  type: "component";
1313
1335
  componentId: string;
1314
1336
  componentSet: string;
1337
+ componentType?: "server" | "edge" | undefined;
1315
1338
  contentItem?: {
1316
1339
  id: string;
1317
1340
  } | {
@@ -1371,6 +1394,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1371
1394
  type: "component";
1372
1395
  componentId: string;
1373
1396
  componentSet: string;
1397
+ componentType?: "server" | "edge" | undefined;
1374
1398
  contentItem?: {
1375
1399
  id: string;
1376
1400
  } | {
@@ -31,6 +31,7 @@ declare const PageContentsResolved: z.ZodObject<{
31
31
  type: "component";
32
32
  componentId: string;
33
33
  componentSet: string;
34
+ componentType?: "server" | "edge" | undefined;
34
35
  contentItem?: {
35
36
  id: string;
36
37
  } | {
@@ -87,6 +88,7 @@ declare const PageContentsResolved: z.ZodObject<{
87
88
  type: "component";
88
89
  componentId: string;
89
90
  componentSet: string;
91
+ componentType?: "server" | "edge" | undefined;
90
92
  contentItem?: {
91
93
  id: string;
92
94
  } | {
@@ -169,6 +171,7 @@ declare const PageContentsResolved: z.ZodObject<{
169
171
  type: "component";
170
172
  componentId: string;
171
173
  componentSet: string;
174
+ componentType?: "server" | "edge" | undefined;
172
175
  contentItem?: {
173
176
  id: string;
174
177
  } | {
@@ -201,6 +204,7 @@ declare const PageContentsResolved: z.ZodObject<{
201
204
  type: "component";
202
205
  componentId: string;
203
206
  componentSet: string;
207
+ componentType?: "server" | "edge" | undefined;
204
208
  contentItem?: {
205
209
  id: string;
206
210
  } | {
@@ -257,6 +261,7 @@ declare const PageContentsResolved: z.ZodObject<{
257
261
  type: "component";
258
262
  componentId: string;
259
263
  componentSet: string;
264
+ componentType?: "server" | "edge" | undefined;
260
265
  contentItem?: {
261
266
  id: string;
262
267
  } | {
@@ -339,6 +344,7 @@ declare const PageContentsResolved: z.ZodObject<{
339
344
  type: "component";
340
345
  componentId: string;
341
346
  componentSet: string;
347
+ componentType?: "server" | "edge" | undefined;
342
348
  contentItem?: {
343
349
  id: string;
344
350
  } | {
@@ -373,6 +379,7 @@ declare const PageContentsResolved: z.ZodObject<{
373
379
  type: "component";
374
380
  componentId: string;
375
381
  componentSet: string;
382
+ componentType?: "server" | "edge" | undefined;
376
383
  contentItem?: {
377
384
  id: string;
378
385
  } | {
@@ -429,6 +436,7 @@ declare const PageContentsResolved: z.ZodObject<{
429
436
  type: "component";
430
437
  componentId: string;
431
438
  componentSet: string;
439
+ componentType?: "server" | "edge" | undefined;
432
440
  contentItem?: {
433
441
  id: string;
434
442
  } | {
@@ -513,6 +521,7 @@ declare const PageContentsResolved: z.ZodObject<{
513
521
  type: "component";
514
522
  componentId: string;
515
523
  componentSet: string;
524
+ componentType?: "server" | "edge" | undefined;
516
525
  contentItem?: {
517
526
  id: string;
518
527
  } | {
@@ -549,6 +558,7 @@ declare const PageContentsResolved: z.ZodObject<{
549
558
  type: "component";
550
559
  componentId: string;
551
560
  componentSet: string;
561
+ componentType?: "server" | "edge" | undefined;
552
562
  contentItem?: {
553
563
  id: string;
554
564
  } | {
@@ -605,6 +615,7 @@ declare const PageContentsResolved: z.ZodObject<{
605
615
  type: "component";
606
616
  componentId: string;
607
617
  componentSet: string;
618
+ componentType?: "server" | "edge" | undefined;
608
619
  contentItem?: {
609
620
  id: string;
610
621
  } | {
@@ -692,6 +703,7 @@ declare const PageContentsResolved: z.ZodObject<{
692
703
  type: "component";
693
704
  componentId: string;
694
705
  componentSet: string;
706
+ componentType?: "server" | "edge" | undefined;
695
707
  contentItem?: {
696
708
  id: string;
697
709
  } | {
@@ -730,6 +742,7 @@ declare const PageContentsResolved: z.ZodObject<{
730
742
  type: "component";
731
743
  componentId: string;
732
744
  componentSet: string;
745
+ componentType?: "server" | "edge" | undefined;
733
746
  contentItem?: {
734
747
  id: string;
735
748
  } | {
@@ -786,6 +799,7 @@ declare const PageContentsResolved: z.ZodObject<{
786
799
  type: "component";
787
800
  componentId: string;
788
801
  componentSet: string;
802
+ componentType?: "server" | "edge" | undefined;
789
803
  contentItem?: {
790
804
  id: string;
791
805
  } | {
@@ -868,6 +882,7 @@ declare const PageContentsResolved: z.ZodObject<{
868
882
  type: "component";
869
883
  componentId: string;
870
884
  componentSet: string;
885
+ componentType?: "server" | "edge" | undefined;
871
886
  contentItem?: {
872
887
  id: string;
873
888
  } | {
@@ -900,6 +915,7 @@ declare const PageContentsResolved: z.ZodObject<{
900
915
  type: "component";
901
916
  componentId: string;
902
917
  componentSet: string;
918
+ componentType?: "server" | "edge" | undefined;
903
919
  contentItem?: {
904
920
  id: string;
905
921
  } | {
@@ -956,6 +972,7 @@ declare const PageContentsResolved: z.ZodObject<{
956
972
  type: "component";
957
973
  componentId: string;
958
974
  componentSet: string;
975
+ componentType?: "server" | "edge" | undefined;
959
976
  contentItem?: {
960
977
  id: string;
961
978
  } | {
@@ -1038,6 +1055,7 @@ declare const PageContentsResolved: z.ZodObject<{
1038
1055
  type: "component";
1039
1056
  componentId: string;
1040
1057
  componentSet: string;
1058
+ componentType?: "server" | "edge" | undefined;
1041
1059
  contentItem?: {
1042
1060
  id: string;
1043
1061
  } | {
@@ -1072,6 +1090,7 @@ declare const PageContentsResolved: z.ZodObject<{
1072
1090
  type: "component";
1073
1091
  componentId: string;
1074
1092
  componentSet: string;
1093
+ componentType?: "server" | "edge" | undefined;
1075
1094
  contentItem?: {
1076
1095
  id: string;
1077
1096
  } | {
@@ -1128,6 +1147,7 @@ declare const PageContentsResolved: z.ZodObject<{
1128
1147
  type: "component";
1129
1148
  componentId: string;
1130
1149
  componentSet: string;
1150
+ componentType?: "server" | "edge" | undefined;
1131
1151
  contentItem?: {
1132
1152
  id: string;
1133
1153
  } | {
@@ -1212,6 +1232,7 @@ declare const PageContentsResolved: z.ZodObject<{
1212
1232
  type: "component";
1213
1233
  componentId: string;
1214
1234
  componentSet: string;
1235
+ componentType?: "server" | "edge" | undefined;
1215
1236
  contentItem?: {
1216
1237
  id: string;
1217
1238
  } | {
@@ -1248,6 +1269,7 @@ declare const PageContentsResolved: z.ZodObject<{
1248
1269
  type: "component";
1249
1270
  componentId: string;
1250
1271
  componentSet: string;
1272
+ componentType?: "server" | "edge" | undefined;
1251
1273
  contentItem?: {
1252
1274
  id: string;
1253
1275
  } | {
@@ -1304,6 +1326,7 @@ declare const PageContentsResolved: z.ZodObject<{
1304
1326
  type: "component";
1305
1327
  componentId: string;
1306
1328
  componentSet: string;
1329
+ componentType?: "server" | "edge" | undefined;
1307
1330
  contentItem?: {
1308
1331
  id: string;
1309
1332
  } | {
@@ -1391,6 +1414,7 @@ declare const PageContentsResolved: z.ZodObject<{
1391
1414
  type: "component";
1392
1415
  componentId: string;
1393
1416
  componentSet: string;
1417
+ componentType?: "server" | "edge" | undefined;
1394
1418
  contentItem?: {
1395
1419
  id: string;
1396
1420
  } | {
@@ -1429,6 +1453,7 @@ declare const PageContentsResolved: z.ZodObject<{
1429
1453
  type: "component";
1430
1454
  componentId: string;
1431
1455
  componentSet: string;
1456
+ componentType?: "server" | "edge" | undefined;
1432
1457
  contentItem?: {
1433
1458
  id: string;
1434
1459
  } | {
@@ -1485,6 +1510,7 @@ declare const PageContentsResolved: z.ZodObject<{
1485
1510
  type: "component";
1486
1511
  componentId: string;
1487
1512
  componentSet: string;
1513
+ componentType?: "server" | "edge" | undefined;
1488
1514
  contentItem?: {
1489
1515
  id: string;
1490
1516
  } | {
@@ -1567,6 +1593,7 @@ declare const PageContentsResolved: z.ZodObject<{
1567
1593
  type: "component";
1568
1594
  componentId: string;
1569
1595
  componentSet: string;
1596
+ componentType?: "server" | "edge" | undefined;
1570
1597
  contentItem?: {
1571
1598
  id: string;
1572
1599
  } | {
@@ -1599,6 +1626,7 @@ declare const PageContentsResolved: z.ZodObject<{
1599
1626
  type: "component";
1600
1627
  componentId: string;
1601
1628
  componentSet: string;
1629
+ componentType?: "server" | "edge" | undefined;
1602
1630
  contentItem?: {
1603
1631
  id: string;
1604
1632
  } | {
@@ -1655,6 +1683,7 @@ declare const PageContentsResolved: z.ZodObject<{
1655
1683
  type: "component";
1656
1684
  componentId: string;
1657
1685
  componentSet: string;
1686
+ componentType?: "server" | "edge" | undefined;
1658
1687
  contentItem?: {
1659
1688
  id: string;
1660
1689
  } | {
@@ -1737,6 +1766,7 @@ declare const PageContentsResolved: z.ZodObject<{
1737
1766
  type: "component";
1738
1767
  componentId: string;
1739
1768
  componentSet: string;
1769
+ componentType?: "server" | "edge" | undefined;
1740
1770
  contentItem?: {
1741
1771
  id: string;
1742
1772
  } | {
@@ -1770,6 +1800,7 @@ declare const PageContentsResolved: z.ZodObject<{
1770
1800
  type: "component";
1771
1801
  componentId: string;
1772
1802
  componentSet: string;
1803
+ componentType?: "server" | "edge" | undefined;
1773
1804
  contentItem?: {
1774
1805
  id: string;
1775
1806
  } | {
@@ -1826,6 +1857,7 @@ declare const PageContentsResolved: z.ZodObject<{
1826
1857
  type: "component";
1827
1858
  componentId: string;
1828
1859
  componentSet: string;
1860
+ componentType?: "server" | "edge" | undefined;
1829
1861
  contentItem?: {
1830
1862
  id: string;
1831
1863
  } | {
@@ -1908,6 +1940,7 @@ declare const PageContentsResolved: z.ZodObject<{
1908
1940
  type: "component";
1909
1941
  componentId: string;
1910
1942
  componentSet: string;
1943
+ componentType?: "server" | "edge" | undefined;
1911
1944
  contentItem?: {
1912
1945
  id: string;
1913
1946
  } | {
@@ -1940,6 +1973,7 @@ declare const PageContentsResolved: z.ZodObject<{
1940
1973
  type: "component";
1941
1974
  componentId: string;
1942
1975
  componentSet: string;
1976
+ componentType?: "server" | "edge" | undefined;
1943
1977
  contentItem?: {
1944
1978
  id: string;
1945
1979
  } | {
@@ -1996,6 +2030,7 @@ declare const PageContentsResolved: z.ZodObject<{
1996
2030
  type: "component";
1997
2031
  componentId: string;
1998
2032
  componentSet: string;
2033
+ componentType?: "server" | "edge" | undefined;
1999
2034
  contentItem?: {
2000
2035
  id: string;
2001
2036
  } | {
@@ -2078,6 +2113,7 @@ declare const PageContentsResolved: z.ZodObject<{
2078
2113
  type: "component";
2079
2114
  componentId: string;
2080
2115
  componentSet: string;
2116
+ componentType?: "server" | "edge" | undefined;
2081
2117
  contentItem?: {
2082
2118
  id: string;
2083
2119
  } | {
@@ -2112,6 +2148,7 @@ declare const PageContentsResolved: z.ZodObject<{
2112
2148
  type: "component";
2113
2149
  componentId: string;
2114
2150
  componentSet: string;
2151
+ componentType?: "server" | "edge" | undefined;
2115
2152
  contentItem?: {
2116
2153
  id: string;
2117
2154
  } | {
@@ -2168,6 +2205,7 @@ declare const PageContentsResolved: z.ZodObject<{
2168
2205
  type: "component";
2169
2206
  componentId: string;
2170
2207
  componentSet: string;
2208
+ componentType?: "server" | "edge" | undefined;
2171
2209
  contentItem?: {
2172
2210
  id: string;
2173
2211
  } | {
@@ -2225,6 +2263,7 @@ declare const PageContentsResolved: z.ZodObject<{
2225
2263
  type: "component";
2226
2264
  componentId: string;
2227
2265
  componentSet: string;
2266
+ componentType?: "server" | "edge" | undefined;
2228
2267
  contentItem?: {
2229
2268
  id: string;
2230
2269
  } | {
@@ -2281,6 +2320,7 @@ declare const PageContentsResolved: z.ZodObject<{
2281
2320
  type: "component";
2282
2321
  componentId: string;
2283
2322
  componentSet: string;
2323
+ componentType?: "server" | "edge" | undefined;
2284
2324
  contentItem?: {
2285
2325
  id: string;
2286
2326
  } | {
@@ -2365,6 +2405,7 @@ declare const PageContentsResolved: z.ZodObject<{
2365
2405
  type: "component";
2366
2406
  componentId: string;
2367
2407
  componentSet: string;
2408
+ componentType?: "server" | "edge" | undefined;
2368
2409
  contentItem?: {
2369
2410
  id: string;
2370
2411
  } | {
@@ -2424,6 +2465,7 @@ declare const PageContentsResolved: z.ZodObject<{
2424
2465
  type: "component";
2425
2466
  componentId: string;
2426
2467
  componentSet: string;
2468
+ componentType?: "server" | "edge" | undefined;
2427
2469
  contentItem?: {
2428
2470
  id: string;
2429
2471
  } | {
@@ -2460,6 +2502,7 @@ declare const PageContentsResolved: z.ZodObject<{
2460
2502
  type: "component";
2461
2503
  componentId: string;
2462
2504
  componentSet: string;
2505
+ componentType?: "server" | "edge" | undefined;
2463
2506
  contentItem?: {
2464
2507
  id: string;
2465
2508
  } | {
@@ -2516,6 +2559,7 @@ declare const PageContentsResolved: z.ZodObject<{
2516
2559
  type: "component";
2517
2560
  componentId: string;
2518
2561
  componentSet: string;
2562
+ componentType?: "server" | "edge" | undefined;
2519
2563
  contentItem?: {
2520
2564
  id: string;
2521
2565
  } | {
@@ -2573,6 +2617,7 @@ declare const PageContentsResolved: z.ZodObject<{
2573
2617
  type: "component";
2574
2618
  componentId: string;
2575
2619
  componentSet: string;
2620
+ componentType?: "server" | "edge" | undefined;
2576
2621
  contentItem?: {
2577
2622
  id: string;
2578
2623
  } | {
@@ -2629,6 +2674,7 @@ declare const PageContentsResolved: z.ZodObject<{
2629
2674
  type: "component";
2630
2675
  componentId: string;
2631
2676
  componentSet: string;
2677
+ componentType?: "server" | "edge" | undefined;
2632
2678
  contentItem?: {
2633
2679
  id: string;
2634
2680
  } | {
@@ -2716,6 +2762,7 @@ declare const PageContentsResolved: z.ZodObject<{
2716
2762
  type: "component";
2717
2763
  componentId: string;
2718
2764
  componentSet: string;
2765
+ componentType?: "server" | "edge" | undefined;
2719
2766
  contentItem?: {
2720
2767
  id: string;
2721
2768
  } | {
@@ -2775,6 +2822,7 @@ declare const PageContentsResolved: z.ZodObject<{
2775
2822
  type: "component";
2776
2823
  componentId: string;
2777
2824
  componentSet: string;
2825
+ componentType?: "server" | "edge" | undefined;
2778
2826
  contentItem?: {
2779
2827
  id: string;
2780
2828
  } | {
@@ -2816,6 +2864,7 @@ declare const PageContentsResolved: z.ZodObject<{
2816
2864
  type: "component";
2817
2865
  componentId: string;
2818
2866
  componentSet: string;
2867
+ componentType?: "server" | "edge" | undefined;
2819
2868
  contentItem?: {
2820
2869
  id: string;
2821
2870
  } | {
@@ -2872,6 +2921,7 @@ declare const PageContentsResolved: z.ZodObject<{
2872
2921
  type: "component";
2873
2922
  componentId: string;
2874
2923
  componentSet: string;
2924
+ componentType?: "server" | "edge" | undefined;
2875
2925
  contentItem?: {
2876
2926
  id: string;
2877
2927
  } | {
@@ -2933,6 +2983,7 @@ declare const PageContentsResolved: z.ZodObject<{
2933
2983
  type: "component";
2934
2984
  componentId: string;
2935
2985
  componentSet: string;
2986
+ componentType?: "server" | "edge" | undefined;
2936
2987
  contentItem?: {
2937
2988
  id: string;
2938
2989
  } | {
@@ -2989,6 +3040,7 @@ declare const PageContentsResolved: z.ZodObject<{
2989
3040
  type: "component";
2990
3041
  componentId: string;
2991
3042
  componentSet: string;
3043
+ componentType?: "server" | "edge" | undefined;
2992
3044
  contentItem?: {
2993
3045
  id: string;
2994
3046
  } | {
@@ -3050,6 +3102,7 @@ declare const PageContentsResolved: z.ZodObject<{
3050
3102
  type: "component";
3051
3103
  componentId: string;
3052
3104
  componentSet: string;
3105
+ componentType?: "server" | "edge" | undefined;
3053
3106
  contentItem?: {
3054
3107
  id: string;
3055
3108
  } | {
@@ -3106,6 +3159,7 @@ declare const PageContentsResolved: z.ZodObject<{
3106
3159
  type: "component";
3107
3160
  componentId: string;
3108
3161
  componentSet: string;
3162
+ componentType?: "server" | "edge" | undefined;
3109
3163
  contentItem?: {
3110
3164
  id: string;
3111
3165
  } | {
@@ -3163,6 +3217,7 @@ declare const PageContentsResolved: z.ZodObject<{
3163
3217
  type: "component";
3164
3218
  componentId: string;
3165
3219
  componentSet: string;
3220
+ componentType?: "server" | "edge" | undefined;
3166
3221
  contentItem?: {
3167
3222
  id: string;
3168
3223
  } | {
@@ -3219,6 +3274,7 @@ declare const PageContentsResolved: z.ZodObject<{
3219
3274
  type: "component";
3220
3275
  componentId: string;
3221
3276
  componentSet: string;
3277
+ componentType?: "server" | "edge" | undefined;
3222
3278
  contentItem?: {
3223
3279
  id: string;
3224
3280
  } | {
@@ -3310,6 +3366,7 @@ declare const PageContentsResolved: z.ZodObject<{
3310
3366
  type: "component";
3311
3367
  componentId: string;
3312
3368
  componentSet: string;
3369
+ componentType?: "server" | "edge" | undefined;
3313
3370
  contentItem?: {
3314
3371
  id: string;
3315
3372
  } | {
@@ -3373,6 +3430,7 @@ declare const PageContentsResolved: z.ZodObject<{
3373
3430
  type: "component";
3374
3431
  componentId: string;
3375
3432
  componentSet: string;
3433
+ componentType?: "server" | "edge" | undefined;
3376
3434
  contentItem?: {
3377
3435
  id: string;
3378
3436
  } | {
@@ -3436,6 +3494,7 @@ declare const PageContentsResolved: z.ZodObject<{
3436
3494
  type: "component";
3437
3495
  componentId: string;
3438
3496
  componentSet: string;
3497
+ componentType?: "server" | "edge" | undefined;
3439
3498
  contentItem?: {
3440
3499
  id: string;
3441
3500
  } | {
@@ -3495,6 +3554,7 @@ declare const PageContentsResolved: z.ZodObject<{
3495
3554
  type: "component";
3496
3555
  componentId: string;
3497
3556
  componentSet: string;
3557
+ componentType?: "server" | "edge" | undefined;
3498
3558
  contentItem?: {
3499
3559
  id: string;
3500
3560
  } | {
@@ -17,6 +17,7 @@ export declare const mockComponentResolver: (node: Extract<PageLayoutContent[0],
17
17
  type: "component";
18
18
  componentId: string;
19
19
  componentSet: string;
20
+ componentType?: "server" | "edge" | undefined;
20
21
  }>;
21
22
  export type ContentNodeTypes = PageLayoutContent[0]['type'];
22
23
  export declare const VALID_CONTENT_NODES: {
@@ -17,6 +17,7 @@ exports.mockComponentResolver = mockComponentResolver;
17
17
  exports.VALID_CONTENT_NODES = {
18
18
  component: {
19
19
  type: 'component',
20
+ componentType: 'server',
20
21
  componentSet: 'my-component-set',
21
22
  componentId: 'my-component-1',
22
23
  contentItem: {
@@ -1 +1 @@
1
- {"version":3,"file":"PageContentsMocks.js","sourceRoot":"","sources":["../../src/mocks/PageContentsMocks.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAG;IAC7B,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE;QACP,KAAK,EAAE,MAAM;KACd;CACF,CAAC;AACK,MAAM,qBAAqB,GAAG,KAAK,EAAE,IAA0D,EAAE,EAAE;IACxG,OAAO;QACL,GAAG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CACF,CAAC"}
1
+ {"version":3,"file":"PageContentsMocks.js","sourceRoot":"","sources":["../../src/mocks/PageContentsMocks.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAG;IAC7B,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE;QACP,KAAK,EAAE,MAAM;KACd;CACF,CAAC;AACK,MAAM,qBAAqB,GAAG,KAAK,EAAE,IAA0D,EAAE,EAAE;IACxG,OAAO;QACL,GAAG,IAAI;QACP,WAAW,EAAE,uBAAe;KAC7B,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,qBAAqB,yBAKhC;AAIW,QAAA,mBAAmB,GAAoE;IAClG,SAAS,EAAE;QACT,IAAI,EAAE,WAAW;QACjB,aAAa,EAAE,QAAQ;QACvB,YAAY,EAAE,kBAAkB;QAChC,WAAW,EAAE,gBAAgB;QAC7B,WAAW,EAAE;YACX,EAAE,EAAE,KAAK;SACV;KACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,MAAM;KACd;IACD,GAAG,EAAE;QACH,IAAI,EAAE,KAAK;QACX,GAAG,EAAE,KAAK;QACV,QAAQ,EAAE,EAAE;KACb;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,EAAE;KACb;IACD,sBAAsB,EAAE;QACtB,IAAI,EAAE,sBAAsB;QAC5B,gBAAgB,EAAE,sBAAsB;QACxC,aAAa,EAAE,KAAK;QACpB,YAAY,EAAE,kBAAkB;QAChC,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,QAAQ;KACjB;IACD,cAAc,EAAE;QACd,IAAI,EAAE,cAAc;QACpB,gBAAgB,EAAE,sBAAsB;QACxC,aAAa,EAAE,KAAK;QACpB,YAAY,EAAE,kBAAkB;KACjC;IACD,WAAW,EAAE;QACX,IAAI,EAAE,WAAW;QACjB,aAAa,EAAE,QAAQ;QACvB,WAAW,EAAE,KAAK;QAClB,mBAAmB,EAAE,WAAW;KACj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EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE;iBACtC;aACF;YACD;gBACE,IAAI,EAAE;oBACJ,IAAI,EAAE,KAAK;oBACX,GAAG,EAAE,IAAI;oBACT,QAAQ,EAAE;wBACR;4BACE,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,6BAA6B;yBACrC;qBACF;iBACF;gBACD,UAAU,EAAE;oBACV,OAAO,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE;iBACtC;aACF;SACF;KACF;CACF,CAAC"}
@@ -1,8 +1,7 @@
1
+ import { FormattedTextResolverConfig } from '@squiz/formatted-text-lib';
1
2
  import { PageLayoutContentResolver } from './layout-content';
2
3
  import { PageLayout } from './layouts';
3
- export type RenderLayoutConfig = {
4
- componentRootUrl: string;
5
- };
4
+ export type RenderLayoutConfig = FormattedTextResolverConfig;
6
5
  /**
7
6
  * Validate that the provided layout is a valid page layout
8
7
  */