@prismicio/types-internal 3.4.0-alpha.10 → 3.4.0-alpha.12

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.
@@ -5892,7 +5892,7 @@ declare function parseLegacyDocument(legacyDoc: unknown, customType: StaticCusto
5892
5892
  }): Document | undefined;
5893
5893
  declare function encodeToLegacyDocument(document: Document): DocumentLegacy;
5894
5894
  export declare const DocumentLegacy: {
5895
- _codec: (allTypes?: Map<string, "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp" | "Group" | "Slice" | "SharedSlice" | "Table" | "Choice" | "Slices" | "UID" | "Repeatable.Link"> | undefined) => t.Type<{
5895
+ _codec: (allTypes?: Map<string, "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Table" | "Text" | "Timestamp" | "Group" | "Slice" | "SharedSlice" | "Choice" | "Slices" | "UID" | "Repeatable.Link"> | undefined) => t.Type<{
5896
5896
  [x: string]: {
5897
5897
  type: string;
5898
5898
  __TYPE__: "EmptyContent";
@@ -159,6 +159,12 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
159
159
  config?: {
160
160
  label?: string | null | undefined;
161
161
  };
162
+ }) | ({
163
+ type: "Table";
164
+ } & {
165
+ config?: {
166
+ label?: string | null | undefined;
167
+ };
162
168
  }) | ({
163
169
  type: "Text";
164
170
  } & {
@@ -328,6 +334,12 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
328
334
  config?: {
329
335
  label?: string | null | undefined;
330
336
  };
337
+ }) | ({
338
+ type: "Table";
339
+ } & {
340
+ config?: {
341
+ label?: string | null | undefined;
342
+ };
331
343
  }) | ({
332
344
  type: "Text";
333
345
  } & {
@@ -497,6 +509,12 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
497
509
  config?: {
498
510
  label?: string | null | undefined;
499
511
  };
512
+ }) | ({
513
+ type: "Table";
514
+ } & {
515
+ config?: {
516
+ label?: string | null | undefined;
517
+ };
500
518
  }) | ({
501
519
  type: "Text";
502
520
  } & {
@@ -676,6 +694,12 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
676
694
  config?: {
677
695
  label?: string | null | undefined;
678
696
  };
697
+ }) | ({
698
+ type: "Table";
699
+ } & {
700
+ config?: {
701
+ label?: string | null | undefined;
702
+ };
679
703
  }) | ({
680
704
  type: "Text";
681
705
  } & {
@@ -845,6 +869,12 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
845
869
  config?: {
846
870
  label?: string | null | undefined;
847
871
  };
872
+ }) | ({
873
+ type: "Table";
874
+ } & {
875
+ config?: {
876
+ label?: string | null | undefined;
877
+ };
848
878
  }) | ({
849
879
  type: "Text";
850
880
  } & {
@@ -1015,6 +1045,12 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1015
1045
  config?: {
1016
1046
  label?: string | null | undefined;
1017
1047
  };
1048
+ }) | ({
1049
+ type: "Table";
1050
+ } & {
1051
+ config?: {
1052
+ label?: string | null | undefined;
1053
+ };
1018
1054
  }) | ({
1019
1055
  type: "Text";
1020
1056
  } & {
@@ -1177,6 +1213,12 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1177
1213
  config?: {
1178
1214
  label?: string | null | undefined;
1179
1215
  };
1216
+ }) | ({
1217
+ type: "Table";
1218
+ } & {
1219
+ config?: {
1220
+ label?: string | null | undefined;
1221
+ };
1180
1222
  }) | ({
1181
1223
  type: "Text";
1182
1224
  } & {
@@ -1355,6 +1397,12 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1355
1397
  config?: {
1356
1398
  label?: string | null | undefined;
1357
1399
  };
1400
+ }) | ({
1401
+ type: "Table";
1402
+ } & {
1403
+ config?: {
1404
+ label?: string | null | undefined;
1405
+ };
1358
1406
  }) | ({
1359
1407
  type: "Text";
1360
1408
  } & {
@@ -1524,6 +1572,12 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1524
1572
  config?: {
1525
1573
  label?: string | null | undefined;
1526
1574
  };
1575
+ }) | ({
1576
+ type: "Table";
1577
+ } & {
1578
+ config?: {
1579
+ label?: string | null | undefined;
1580
+ };
1527
1581
  }) | ({
1528
1582
  type: "Text";
1529
1583
  } & {
@@ -1693,6 +1747,12 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1693
1747
  config?: {
1694
1748
  label?: string | null | undefined;
1695
1749
  };
1750
+ }) | ({
1751
+ type: "Table";
1752
+ } & {
1753
+ config?: {
1754
+ label?: string | null | undefined;
1755
+ };
1696
1756
  }) | ({
1697
1757
  type: "Text";
1698
1758
  } & {
@@ -1861,6 +1921,12 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1861
1921
  config?: {
1862
1922
  label?: string | null | undefined;
1863
1923
  };
1924
+ }) | ({
1925
+ type: "Table";
1926
+ } & {
1927
+ config?: {
1928
+ label?: string | null | undefined;
1929
+ };
1864
1930
  }) | ({
1865
1931
  type: "Text";
1866
1932
  } & {
@@ -2055,6 +2121,12 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2055
2121
  config?: {
2056
2122
  label?: string | null | undefined;
2057
2123
  };
2124
+ }) | ({
2125
+ type: "Table";
2126
+ } & {
2127
+ config?: {
2128
+ label?: string | null | undefined;
2129
+ };
2058
2130
  }) | ({
2059
2131
  type: "Text";
2060
2132
  } & {
@@ -2224,6 +2296,12 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2224
2296
  config?: {
2225
2297
  label?: string | null | undefined;
2226
2298
  };
2299
+ }) | ({
2300
+ type: "Table";
2301
+ } & {
2302
+ config?: {
2303
+ label?: string | null | undefined;
2304
+ };
2227
2305
  }) | ({
2228
2306
  type: "Text";
2229
2307
  } & {
@@ -2393,6 +2471,12 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2393
2471
  config?: {
2394
2472
  label?: string | null | undefined;
2395
2473
  };
2474
+ }) | ({
2475
+ type: "Table";
2476
+ } & {
2477
+ config?: {
2478
+ label?: string | null | undefined;
2479
+ };
2396
2480
  }) | ({
2397
2481
  type: "Text";
2398
2482
  } & {
@@ -2572,6 +2656,12 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2572
2656
  config?: {
2573
2657
  label?: string | null | undefined;
2574
2658
  };
2659
+ }) | ({
2660
+ type: "Table";
2661
+ } & {
2662
+ config?: {
2663
+ label?: string | null | undefined;
2664
+ };
2575
2665
  }) | ({
2576
2666
  type: "Text";
2577
2667
  } & {
@@ -2741,6 +2831,12 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2741
2831
  config?: {
2742
2832
  label?: string | null | undefined;
2743
2833
  };
2834
+ }) | ({
2835
+ type: "Table";
2836
+ } & {
2837
+ config?: {
2838
+ label?: string | null | undefined;
2839
+ };
2744
2840
  }) | ({
2745
2841
  type: "Text";
2746
2842
  } & {
@@ -2911,6 +3007,12 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2911
3007
  config?: {
2912
3008
  label?: string | null | undefined;
2913
3009
  };
3010
+ }) | ({
3011
+ type: "Table";
3012
+ } & {
3013
+ config?: {
3014
+ label?: string | null | undefined;
3015
+ };
2914
3016
  }) | ({
2915
3017
  type: "Text";
2916
3018
  } & {
@@ -3073,6 +3175,12 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
3073
3175
  config?: {
3074
3176
  label?: string | null | undefined;
3075
3177
  };
3178
+ }) | ({
3179
+ type: "Table";
3180
+ } & {
3181
+ config?: {
3182
+ label?: string | null | undefined;
3183
+ };
3076
3184
  }) | ({
3077
3185
  type: "Text";
3078
3186
  } & {
@@ -143,6 +143,12 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
143
143
  config?: {
144
144
  label?: string | null | undefined;
145
145
  };
146
+ }) | ({
147
+ type: "Table";
148
+ } & {
149
+ config?: {
150
+ label?: string | null | undefined;
151
+ };
146
152
  }) | ({
147
153
  type: "Text";
148
154
  } & {
@@ -312,6 +318,12 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
312
318
  config?: {
313
319
  label?: string | null | undefined;
314
320
  };
321
+ }) | ({
322
+ type: "Table";
323
+ } & {
324
+ config?: {
325
+ label?: string | null | undefined;
326
+ };
315
327
  }) | ({
316
328
  type: "Text";
317
329
  } & {
@@ -481,6 +493,12 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
481
493
  config?: {
482
494
  label?: string | null | undefined;
483
495
  };
496
+ }) | ({
497
+ type: "Table";
498
+ } & {
499
+ config?: {
500
+ label?: string | null | undefined;
501
+ };
484
502
  }) | ({
485
503
  type: "Text";
486
504
  } & {
@@ -660,6 +678,12 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
660
678
  config?: {
661
679
  label?: string | null | undefined;
662
680
  };
681
+ }) | ({
682
+ type: "Table";
683
+ } & {
684
+ config?: {
685
+ label?: string | null | undefined;
686
+ };
663
687
  }) | ({
664
688
  type: "Text";
665
689
  } & {
@@ -829,6 +853,12 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
829
853
  config?: {
830
854
  label?: string | null | undefined;
831
855
  };
856
+ }) | ({
857
+ type: "Table";
858
+ } & {
859
+ config?: {
860
+ label?: string | null | undefined;
861
+ };
832
862
  }) | ({
833
863
  type: "Text";
834
864
  } & {
@@ -999,6 +1029,12 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
999
1029
  config?: {
1000
1030
  label?: string | null | undefined;
1001
1031
  };
1032
+ }) | ({
1033
+ type: "Table";
1034
+ } & {
1035
+ config?: {
1036
+ label?: string | null | undefined;
1037
+ };
1002
1038
  }) | ({
1003
1039
  type: "Text";
1004
1040
  } & {
@@ -1161,6 +1197,12 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1161
1197
  config?: {
1162
1198
  label?: string | null | undefined;
1163
1199
  };
1200
+ }) | ({
1201
+ type: "Table";
1202
+ } & {
1203
+ config?: {
1204
+ label?: string | null | undefined;
1205
+ };
1164
1206
  }) | ({
1165
1207
  type: "Text";
1166
1208
  } & {
@@ -1339,6 +1381,12 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1339
1381
  config?: {
1340
1382
  label?: string | null | undefined;
1341
1383
  };
1384
+ }) | ({
1385
+ type: "Table";
1386
+ } & {
1387
+ config?: {
1388
+ label?: string | null | undefined;
1389
+ };
1342
1390
  }) | ({
1343
1391
  type: "Text";
1344
1392
  } & {
@@ -1508,6 +1556,12 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1508
1556
  config?: {
1509
1557
  label?: string | null | undefined;
1510
1558
  };
1559
+ }) | ({
1560
+ type: "Table";
1561
+ } & {
1562
+ config?: {
1563
+ label?: string | null | undefined;
1564
+ };
1511
1565
  }) | ({
1512
1566
  type: "Text";
1513
1567
  } & {
@@ -1677,6 +1731,12 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1677
1731
  config?: {
1678
1732
  label?: string | null | undefined;
1679
1733
  };
1734
+ }) | ({
1735
+ type: "Table";
1736
+ } & {
1737
+ config?: {
1738
+ label?: string | null | undefined;
1739
+ };
1680
1740
  }) | ({
1681
1741
  type: "Text";
1682
1742
  } & {
@@ -1845,6 +1905,12 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1845
1905
  config?: {
1846
1906
  label?: string | null | undefined;
1847
1907
  };
1908
+ }) | ({
1909
+ type: "Table";
1910
+ } & {
1911
+ config?: {
1912
+ label?: string | null | undefined;
1913
+ };
1848
1914
  }) | ({
1849
1915
  type: "Text";
1850
1916
  } & {
@@ -2026,6 +2092,12 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2026
2092
  config?: {
2027
2093
  label?: string | null | undefined;
2028
2094
  };
2095
+ }) | ({
2096
+ type: "Table";
2097
+ } & {
2098
+ config?: {
2099
+ label?: string | null | undefined;
2100
+ };
2029
2101
  }) | ({
2030
2102
  type: "Text";
2031
2103
  } & {
@@ -2195,6 +2267,12 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2195
2267
  config?: {
2196
2268
  label?: string | null | undefined;
2197
2269
  };
2270
+ }) | ({
2271
+ type: "Table";
2272
+ } & {
2273
+ config?: {
2274
+ label?: string | null | undefined;
2275
+ };
2198
2276
  }) | ({
2199
2277
  type: "Text";
2200
2278
  } & {
@@ -2364,6 +2442,12 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2364
2442
  config?: {
2365
2443
  label?: string | null | undefined;
2366
2444
  };
2445
+ }) | ({
2446
+ type: "Table";
2447
+ } & {
2448
+ config?: {
2449
+ label?: string | null | undefined;
2450
+ };
2367
2451
  }) | ({
2368
2452
  type: "Text";
2369
2453
  } & {
@@ -2543,6 +2627,12 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2543
2627
  config?: {
2544
2628
  label?: string | null | undefined;
2545
2629
  };
2630
+ }) | ({
2631
+ type: "Table";
2632
+ } & {
2633
+ config?: {
2634
+ label?: string | null | undefined;
2635
+ };
2546
2636
  }) | ({
2547
2637
  type: "Text";
2548
2638
  } & {
@@ -2712,6 +2802,12 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2712
2802
  config?: {
2713
2803
  label?: string | null | undefined;
2714
2804
  };
2805
+ }) | ({
2806
+ type: "Table";
2807
+ } & {
2808
+ config?: {
2809
+ label?: string | null | undefined;
2810
+ };
2715
2811
  }) | ({
2716
2812
  type: "Text";
2717
2813
  } & {
@@ -2882,6 +2978,12 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2882
2978
  config?: {
2883
2979
  label?: string | null | undefined;
2884
2980
  };
2981
+ }) | ({
2982
+ type: "Table";
2983
+ } & {
2984
+ config?: {
2985
+ label?: string | null | undefined;
2986
+ };
2885
2987
  }) | ({
2886
2988
  type: "Text";
2887
2989
  } & {
@@ -3044,6 +3146,12 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
3044
3146
  config?: {
3045
3147
  label?: string | null | undefined;
3046
3148
  };
3149
+ }) | ({
3150
+ type: "Table";
3151
+ } & {
3152
+ config?: {
3153
+ label?: string | null | undefined;
3154
+ };
3047
3155
  }) | ({
3048
3156
  type: "Text";
3049
3157
  } & {
@@ -161,6 +161,12 @@ export declare const SliceComparator: {
161
161
  config?: {
162
162
  label?: string | null | undefined;
163
163
  };
164
+ }) | ({
165
+ type: "Table";
166
+ } & {
167
+ config?: {
168
+ label?: string | null | undefined;
169
+ };
164
170
  }) | ({
165
171
  type: "Text";
166
172
  } & {
@@ -330,6 +336,12 @@ export declare const SliceComparator: {
330
336
  config?: {
331
337
  label?: string | null | undefined;
332
338
  };
339
+ }) | ({
340
+ type: "Table";
341
+ } & {
342
+ config?: {
343
+ label?: string | null | undefined;
344
+ };
333
345
  }) | ({
334
346
  type: "Text";
335
347
  } & {
@@ -499,6 +511,12 @@ export declare const SliceComparator: {
499
511
  config?: {
500
512
  label?: string | null | undefined;
501
513
  };
514
+ }) | ({
515
+ type: "Table";
516
+ } & {
517
+ config?: {
518
+ label?: string | null | undefined;
519
+ };
502
520
  }) | ({
503
521
  type: "Text";
504
522
  } & {
@@ -667,6 +685,12 @@ export declare const SliceComparator: {
667
685
  config?: {
668
686
  label?: string | null | undefined;
669
687
  };
688
+ }) | ({
689
+ type: "Table";
690
+ } & {
691
+ config?: {
692
+ label?: string | null | undefined;
693
+ };
670
694
  }) | ({
671
695
  type: "Text";
672
696
  } & {
@@ -848,6 +872,12 @@ export declare const SliceComparator: {
848
872
  config?: {
849
873
  label?: string | null | undefined;
850
874
  };
875
+ }) | ({
876
+ type: "Table";
877
+ } & {
878
+ config?: {
879
+ label?: string | null | undefined;
880
+ };
851
881
  }) | ({
852
882
  type: "Text";
853
883
  } & {
@@ -1017,6 +1047,12 @@ export declare const SliceComparator: {
1017
1047
  config?: {
1018
1048
  label?: string | null | undefined;
1019
1049
  };
1050
+ }) | ({
1051
+ type: "Table";
1052
+ } & {
1053
+ config?: {
1054
+ label?: string | null | undefined;
1055
+ };
1020
1056
  }) | ({
1021
1057
  type: "Text";
1022
1058
  } & {
@@ -1186,6 +1222,12 @@ export declare const SliceComparator: {
1186
1222
  config?: {
1187
1223
  label?: string | null | undefined;
1188
1224
  };
1225
+ }) | ({
1226
+ type: "Table";
1227
+ } & {
1228
+ config?: {
1229
+ label?: string | null | undefined;
1230
+ };
1189
1231
  }) | ({
1190
1232
  type: "Text";
1191
1233
  } & {
@@ -1354,6 +1396,12 @@ export declare const SliceComparator: {
1354
1396
  config?: {
1355
1397
  label?: string | null | undefined;
1356
1398
  };
1399
+ }) | ({
1400
+ type: "Table";
1401
+ } & {
1402
+ config?: {
1403
+ label?: string | null | undefined;
1404
+ };
1357
1405
  }) | ({
1358
1406
  type: "Text";
1359
1407
  } & {
@@ -158,6 +158,12 @@ export declare const VariationComparator: {
158
158
  config?: {
159
159
  label?: string | null | undefined;
160
160
  };
161
+ }) | ({
162
+ type: "Table";
163
+ } & {
164
+ config?: {
165
+ label?: string | null | undefined;
166
+ };
161
167
  }) | ({
162
168
  type: "Text";
163
169
  } & {
@@ -327,6 +333,12 @@ export declare const VariationComparator: {
327
333
  config?: {
328
334
  label?: string | null | undefined;
329
335
  };
336
+ }) | ({
337
+ type: "Table";
338
+ } & {
339
+ config?: {
340
+ label?: string | null | undefined;
341
+ };
330
342
  }) | ({
331
343
  type: "Text";
332
344
  } & {
@@ -496,6 +508,12 @@ export declare const VariationComparator: {
496
508
  config?: {
497
509
  label?: string | null | undefined;
498
510
  };
511
+ }) | ({
512
+ type: "Table";
513
+ } & {
514
+ config?: {
515
+ label?: string | null | undefined;
516
+ };
499
517
  }) | ({
500
518
  type: "Text";
501
519
  } & {
@@ -664,6 +682,12 @@ export declare const VariationComparator: {
664
682
  config?: {
665
683
  label?: string | null | undefined;
666
684
  };
685
+ }) | ({
686
+ type: "Table";
687
+ } & {
688
+ config?: {
689
+ label?: string | null | undefined;
690
+ };
667
691
  }) | ({
668
692
  type: "Text";
669
693
  } & {
@@ -835,6 +859,12 @@ export declare const VariationComparator: {
835
859
  config?: {
836
860
  label?: string | null | undefined;
837
861
  };
862
+ }) | ({
863
+ type: "Table";
864
+ } & {
865
+ config?: {
866
+ label?: string | null | undefined;
867
+ };
838
868
  }) | ({
839
869
  type: "Text";
840
870
  } & {
@@ -1004,6 +1034,12 @@ export declare const VariationComparator: {
1004
1034
  config?: {
1005
1035
  label?: string | null | undefined;
1006
1036
  };
1037
+ }) | ({
1038
+ type: "Table";
1039
+ } & {
1040
+ config?: {
1041
+ label?: string | null | undefined;
1042
+ };
1007
1043
  }) | ({
1008
1044
  type: "Text";
1009
1045
  } & {
@@ -1173,6 +1209,12 @@ export declare const VariationComparator: {
1173
1209
  config?: {
1174
1210
  label?: string | null | undefined;
1175
1211
  };
1212
+ }) | ({
1213
+ type: "Table";
1214
+ } & {
1215
+ config?: {
1216
+ label?: string | null | undefined;
1217
+ };
1176
1218
  }) | ({
1177
1219
  type: "Text";
1178
1220
  } & {
@@ -1341,6 +1383,12 @@ export declare const VariationComparator: {
1341
1383
  config?: {
1342
1384
  label?: string | null | undefined;
1343
1385
  };
1386
+ }) | ({
1387
+ type: "Table";
1388
+ } & {
1389
+ config?: {
1390
+ label?: string | null | undefined;
1391
+ };
1344
1392
  }) | ({
1345
1393
  type: "Text";
1346
1394
  } & {