@prismicio/types-internal 2.1.0-alpha.3 → 2.2.0-alpha.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.
Files changed (113) hide show
  1. package/lib/common/HexaColorCode.d.ts +4 -0
  2. package/lib/common/HexaColorCode.js +7 -0
  3. package/lib/customtypes/CustomType.d.ts +14 -196
  4. package/lib/customtypes/Section.d.ts +14 -196
  5. package/lib/customtypes/diff/SharedSlice.d.ts +4 -56
  6. package/lib/customtypes/diff/Variation.d.ts +4 -56
  7. package/lib/customtypes/widgets/Group.d.ts +2 -54
  8. package/lib/customtypes/widgets/Widget.d.ts +16 -302
  9. package/lib/customtypes/widgets/nestable/Link.d.ts +29 -0
  10. package/lib/customtypes/widgets/nestable/{Link/index.js → Link.js} +2 -4
  11. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +158 -27
  12. package/lib/customtypes/widgets/nestable/NestableWidget.js +17 -1
  13. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -54
  14. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -54
  15. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +4 -108
  16. package/lib/customtypes/widgets/slices/Slices.d.ts +24 -492
  17. package/lib/import/converters/Document.d.ts +3 -0
  18. package/lib/import/converters/Document.js +17 -0
  19. package/lib/import/converters/fields/index.d.ts +1 -0
  20. package/lib/import/converters/fields/index.js +4 -0
  21. package/lib/import/converters/fields/nestable/Color.d.ts +3 -0
  22. package/lib/import/converters/fields/nestable/Color.js +10 -0
  23. package/lib/import/converters/fields/nestable/Date.d.ts +3 -0
  24. package/lib/import/converters/fields/nestable/Date.js +15 -0
  25. package/lib/import/converters/fields/nestable/Nestable.d.ts +3 -0
  26. package/lib/import/converters/fields/nestable/Nestable.js +23 -0
  27. package/lib/import/converters/fields/nestable/Number.d.ts +3 -0
  28. package/lib/import/converters/fields/nestable/Number.js +10 -0
  29. package/lib/import/converters/fields/nestable/Select.d.ts +3 -0
  30. package/lib/import/converters/fields/nestable/Select.js +10 -0
  31. package/lib/import/converters/fields/nestable/Text.d.ts +3 -0
  32. package/lib/import/converters/fields/nestable/Text.js +10 -0
  33. package/lib/import/converters/fields/nestable/Timestamp.d.ts +3 -0
  34. package/lib/import/converters/fields/nestable/Timestamp.js +10 -0
  35. package/lib/import/converters/fields/nestable/index.d.ts +7 -0
  36. package/lib/import/converters/fields/nestable/index.js +10 -0
  37. package/lib/import/converters/fields/utils.d.ts +1 -0
  38. package/lib/import/converters/fields/utils.js +10 -0
  39. package/lib/import/converters/index.d.ts +2 -0
  40. package/lib/import/converters/index.js +5 -0
  41. package/lib/import/index.d.ts +2 -0
  42. package/lib/import/index.js +5 -0
  43. package/lib/import/validators/Document.d.ts +6 -0
  44. package/lib/import/validators/Document.js +58 -0
  45. package/lib/import/validators/fields/index.d.ts +6 -0
  46. package/lib/import/validators/fields/index.js +4 -0
  47. package/lib/import/validators/fields/nestable/Color.d.ts +5 -0
  48. package/lib/import/validators/fields/nestable/Color.js +15 -0
  49. package/lib/import/validators/fields/nestable/Date.d.ts +4 -0
  50. package/lib/import/validators/fields/nestable/Date.js +17 -0
  51. package/lib/import/validators/fields/nestable/Nestable.d.ts +9 -0
  52. package/lib/import/validators/fields/nestable/Nestable.js +34 -0
  53. package/lib/import/validators/fields/nestable/Number.d.ts +10 -0
  54. package/lib/import/validators/fields/nestable/Number.js +16 -0
  55. package/lib/import/validators/fields/nestable/Select.d.ts +9 -0
  56. package/lib/import/validators/fields/nestable/Select.js +17 -0
  57. package/lib/import/validators/fields/nestable/Text.d.ts +3 -0
  58. package/lib/import/validators/fields/nestable/Text.js +5 -0
  59. package/lib/import/validators/fields/nestable/Timestamp.d.ts +5 -0
  60. package/lib/import/validators/fields/nestable/Timestamp.js +17 -0
  61. package/lib/import/validators/fields/nestable/index.d.ts +7 -0
  62. package/lib/import/validators/fields/nestable/index.js +10 -0
  63. package/lib/import/validators/index.d.ts +2 -0
  64. package/lib/import/validators/index.js +5 -0
  65. package/lib/utils/Objects.d.ts +1 -0
  66. package/lib/utils/Objects.js +9 -1
  67. package/lib/utils/index.d.ts +1 -0
  68. package/lib/utils/index.js +2 -1
  69. package/lib/validators/BasicTypes.d.ts +3 -0
  70. package/lib/validators/BasicTypes.js +8 -0
  71. package/lib/validators/DateFromString.js +2 -1
  72. package/lib/validators/NullOrT.d.ts +2 -0
  73. package/lib/validators/NullOrT.js +13 -0
  74. package/lib/validators/index.d.ts +2 -0
  75. package/lib/validators/index.js +2 -0
  76. package/package.json +1 -1
  77. package/src/common/HexaColorCode.ts +11 -0
  78. package/src/customtypes/widgets/nestable/{Link/index.ts → Link.ts} +2 -5
  79. package/src/customtypes/widgets/nestable/NestableWidget.ts +17 -0
  80. package/src/import/converters/Document.ts +22 -0
  81. package/src/import/converters/fields/index.ts +1 -0
  82. package/src/import/converters/fields/nestable/Color.ts +12 -0
  83. package/src/import/converters/fields/nestable/Date.ts +18 -0
  84. package/src/import/converters/fields/nestable/Nestable.ts +33 -0
  85. package/src/import/converters/fields/nestable/Number.ts +12 -0
  86. package/src/import/converters/fields/nestable/Select.ts +12 -0
  87. package/src/import/converters/fields/nestable/Text.ts +12 -0
  88. package/src/import/converters/fields/nestable/Timestamp.ts +12 -0
  89. package/src/import/converters/fields/nestable/index.ts +7 -0
  90. package/src/import/converters/fields/utils.ts +7 -0
  91. package/src/import/converters/index.ts +2 -0
  92. package/src/import/index.ts +2 -0
  93. package/src/import/validators/Document.ts +79 -0
  94. package/src/import/validators/fields/index.ts +8 -0
  95. package/src/import/validators/fields/nestable/Color.ts +28 -0
  96. package/src/import/validators/fields/nestable/Date.ts +35 -0
  97. package/src/import/validators/fields/nestable/Nestable.ts +41 -0
  98. package/src/import/validators/fields/nestable/Number.ts +36 -0
  99. package/src/import/validators/fields/nestable/Select.ts +36 -0
  100. package/src/import/validators/fields/nestable/Text.ts +7 -0
  101. package/src/import/validators/fields/nestable/Timestamp.ts +36 -0
  102. package/src/import/validators/fields/nestable/index.ts +7 -0
  103. package/src/import/validators/index.ts +2 -0
  104. package/src/utils/Objects.ts +8 -0
  105. package/src/utils/index.ts +1 -0
  106. package/src/validators/BasicTypes.ts +5 -0
  107. package/src/validators/DateFromString.ts +3 -1
  108. package/src/validators/NullOrT.ts +18 -0
  109. package/src/validators/index.ts +2 -0
  110. package/lib/customtypes/widgets/nestable/Link/ContentRelationshipResolver.d.ts +0 -29
  111. package/lib/customtypes/widgets/nestable/Link/ContentRelationshipResolver.js +0 -44
  112. package/lib/customtypes/widgets/nestable/Link/index.d.ts +0 -82
  113. package/src/customtypes/widgets/nestable/Link/ContentRelationshipResolver.ts +0 -69
@@ -0,0 +1,4 @@
1
+ export declare type HexaColorCode = `#${string}`;
2
+ export declare const HexaColor: {
3
+ is: (strColor: string) => strColor is `#${string}`;
4
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HexaColor = void 0;
4
+ const hexaColorCodeRegex = /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/;
5
+ exports.HexaColor = {
6
+ is: (strColor) => hexaColorCodeRegex.test(strColor),
7
+ };
@@ -95,20 +95,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
95
95
  useAsTitle?: boolean;
96
96
  placeholder?: string;
97
97
  select?: "media" | "document" | "web" | null;
98
- customtypes?: readonly ({
99
- customTypeId: string;
100
- } & {
101
- fields?: readonly ({
102
- fieldId: string;
103
- } & {
104
- customTypes?: readonly {
105
- customTypeId: string;
106
- fields: readonly {
107
- fieldId: string;
108
- }[];
109
- }[];
110
- })[];
111
- })[];
98
+ customtypes?: readonly string[];
112
99
  masks?: readonly string[];
113
100
  tags?: readonly string[];
114
101
  allowTargetBlank?: boolean;
@@ -274,20 +261,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
274
261
  useAsTitle?: boolean;
275
262
  placeholder?: string;
276
263
  select?: "media" | "document" | "web" | null;
277
- customtypes?: readonly ({
278
- customTypeId: string;
279
- } & {
280
- fields?: readonly ({
281
- fieldId: string;
282
- } & {
283
- customTypes?: readonly {
284
- customTypeId: string;
285
- fields: readonly {
286
- fieldId: string;
287
- }[];
288
- }[];
289
- })[];
290
- })[];
264
+ customtypes?: readonly string[];
291
265
  masks?: readonly string[];
292
266
  tags?: readonly string[];
293
267
  allowTargetBlank?: boolean;
@@ -460,20 +434,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
460
434
  useAsTitle?: boolean;
461
435
  placeholder?: string;
462
436
  select?: "media" | "document" | "web" | null;
463
- customtypes?: readonly ({
464
- customTypeId: string;
465
- } & {
466
- fields?: readonly ({
467
- fieldId: string;
468
- } & {
469
- customTypes?: readonly {
470
- customTypeId: string;
471
- fields: readonly {
472
- fieldId: string;
473
- }[];
474
- }[];
475
- })[];
476
- })[];
437
+ customtypes?: readonly string[];
477
438
  masks?: readonly string[];
478
439
  tags?: readonly string[];
479
440
  allowTargetBlank?: boolean;
@@ -639,20 +600,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
639
600
  useAsTitle?: boolean;
640
601
  placeholder?: string;
641
602
  select?: "media" | "document" | "web" | null;
642
- customtypes?: readonly ({
643
- customTypeId: string;
644
- } & {
645
- fields?: readonly ({
646
- fieldId: string;
647
- } & {
648
- customTypes?: readonly {
649
- customTypeId: string;
650
- fields: readonly {
651
- fieldId: string;
652
- }[];
653
- }[];
654
- })[];
655
- })[];
603
+ customtypes?: readonly string[];
656
604
  masks?: readonly string[];
657
605
  tags?: readonly string[];
658
606
  allowTargetBlank?: boolean;
@@ -819,20 +767,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
819
767
  useAsTitle?: boolean;
820
768
  placeholder?: string;
821
769
  select?: "media" | "document" | "web" | null;
822
- customtypes?: readonly ({
823
- customTypeId: string;
824
- } & {
825
- fields?: readonly ({
826
- fieldId: string;
827
- } & {
828
- customTypes?: readonly {
829
- customTypeId: string;
830
- fields: readonly {
831
- fieldId: string;
832
- }[];
833
- }[];
834
- })[];
835
- })[];
770
+ customtypes?: readonly string[];
836
771
  masks?: readonly string[];
837
772
  tags?: readonly string[];
838
773
  allowTargetBlank?: boolean;
@@ -991,20 +926,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
991
926
  useAsTitle?: boolean;
992
927
  placeholder?: string;
993
928
  select?: "media" | "document" | "web" | null;
994
- customtypes?: readonly ({
995
- customTypeId: string;
996
- } & {
997
- fields?: readonly ({
998
- fieldId: string;
999
- } & {
1000
- customTypes?: readonly {
1001
- customTypeId: string;
1002
- fields: readonly {
1003
- fieldId: string;
1004
- }[];
1005
- }[];
1006
- })[];
1007
- })[];
929
+ customtypes?: readonly string[];
1008
930
  masks?: readonly string[];
1009
931
  tags?: readonly string[];
1010
932
  allowTargetBlank?: boolean;
@@ -1179,20 +1101,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1179
1101
  useAsTitle?: boolean;
1180
1102
  placeholder?: string;
1181
1103
  select?: "media" | "document" | "web" | null;
1182
- customtypes?: readonly ({
1183
- customTypeId: string;
1184
- } & {
1185
- fields?: readonly ({
1186
- fieldId: string;
1187
- } & {
1188
- customTypes?: readonly {
1189
- customTypeId: string;
1190
- fields: readonly {
1191
- fieldId: string;
1192
- }[];
1193
- }[];
1194
- })[];
1195
- })[];
1104
+ customtypes?: readonly string[];
1196
1105
  masks?: readonly string[];
1197
1106
  tags?: readonly string[];
1198
1107
  allowTargetBlank?: boolean;
@@ -1351,20 +1260,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1351
1260
  useAsTitle?: boolean;
1352
1261
  placeholder?: string;
1353
1262
  select?: "media" | "document" | "web" | null;
1354
- customtypes?: readonly ({
1355
- customTypeId: string;
1356
- } & {
1357
- fields?: readonly ({
1358
- fieldId: string;
1359
- } & {
1360
- customTypes?: readonly {
1361
- customTypeId: string;
1362
- fields: readonly {
1363
- fieldId: string;
1364
- }[];
1365
- }[];
1366
- })[];
1367
- })[];
1263
+ customtypes?: readonly string[];
1368
1264
  masks?: readonly string[];
1369
1265
  tags?: readonly string[];
1370
1266
  allowTargetBlank?: boolean;
@@ -1553,20 +1449,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1553
1449
  useAsTitle?: boolean;
1554
1450
  placeholder?: string;
1555
1451
  select?: "media" | "document" | "web" | null;
1556
- customtypes?: readonly ({
1557
- customTypeId: string;
1558
- } & {
1559
- fields?: readonly ({
1560
- fieldId: string;
1561
- } & {
1562
- customTypes?: readonly {
1563
- customTypeId: string;
1564
- fields: readonly {
1565
- fieldId: string;
1566
- }[];
1567
- }[];
1568
- })[];
1569
- })[];
1452
+ customtypes?: readonly string[];
1570
1453
  masks?: readonly string[];
1571
1454
  tags?: readonly string[];
1572
1455
  allowTargetBlank?: boolean;
@@ -1732,20 +1615,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1732
1615
  useAsTitle?: boolean;
1733
1616
  placeholder?: string;
1734
1617
  select?: "media" | "document" | "web" | null;
1735
- customtypes?: readonly ({
1736
- customTypeId: string;
1737
- } & {
1738
- fields?: readonly ({
1739
- fieldId: string;
1740
- } & {
1741
- customTypes?: readonly {
1742
- customTypeId: string;
1743
- fields: readonly {
1744
- fieldId: string;
1745
- }[];
1746
- }[];
1747
- })[];
1748
- })[];
1618
+ customtypes?: readonly string[];
1749
1619
  masks?: readonly string[];
1750
1620
  tags?: readonly string[];
1751
1621
  allowTargetBlank?: boolean;
@@ -1918,20 +1788,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1918
1788
  useAsTitle?: boolean;
1919
1789
  placeholder?: string;
1920
1790
  select?: "media" | "document" | "web" | null;
1921
- customtypes?: readonly ({
1922
- customTypeId: string;
1923
- } & {
1924
- fields?: readonly ({
1925
- fieldId: string;
1926
- } & {
1927
- customTypes?: readonly {
1928
- customTypeId: string;
1929
- fields: readonly {
1930
- fieldId: string;
1931
- }[];
1932
- }[];
1933
- })[];
1934
- })[];
1791
+ customtypes?: readonly string[];
1935
1792
  masks?: readonly string[];
1936
1793
  tags?: readonly string[];
1937
1794
  allowTargetBlank?: boolean;
@@ -2097,20 +1954,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2097
1954
  useAsTitle?: boolean;
2098
1955
  placeholder?: string;
2099
1956
  select?: "media" | "document" | "web" | null;
2100
- customtypes?: readonly ({
2101
- customTypeId: string;
2102
- } & {
2103
- fields?: readonly ({
2104
- fieldId: string;
2105
- } & {
2106
- customTypes?: readonly {
2107
- customTypeId: string;
2108
- fields: readonly {
2109
- fieldId: string;
2110
- }[];
2111
- }[];
2112
- })[];
2113
- })[];
1957
+ customtypes?: readonly string[];
2114
1958
  masks?: readonly string[];
2115
1959
  tags?: readonly string[];
2116
1960
  allowTargetBlank?: boolean;
@@ -2277,20 +2121,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2277
2121
  useAsTitle?: boolean;
2278
2122
  placeholder?: string;
2279
2123
  select?: "media" | "document" | "web" | null;
2280
- customtypes?: readonly ({
2281
- customTypeId: string;
2282
- } & {
2283
- fields?: readonly ({
2284
- fieldId: string;
2285
- } & {
2286
- customTypes?: readonly {
2287
- customTypeId: string;
2288
- fields: readonly {
2289
- fieldId: string;
2290
- }[];
2291
- }[];
2292
- })[];
2293
- })[];
2124
+ customtypes?: readonly string[];
2294
2125
  masks?: readonly string[];
2295
2126
  tags?: readonly string[];
2296
2127
  allowTargetBlank?: boolean;
@@ -2449,20 +2280,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2449
2280
  useAsTitle?: boolean;
2450
2281
  placeholder?: string;
2451
2282
  select?: "media" | "document" | "web" | null;
2452
- customtypes?: readonly ({
2453
- customTypeId: string;
2454
- } & {
2455
- fields?: readonly ({
2456
- fieldId: string;
2457
- } & {
2458
- customTypes?: readonly {
2459
- customTypeId: string;
2460
- fields: readonly {
2461
- fieldId: string;
2462
- }[];
2463
- }[];
2464
- })[];
2465
- })[];
2283
+ customtypes?: readonly string[];
2466
2284
  masks?: readonly string[];
2467
2285
  tags?: readonly string[];
2468
2286
  allowTargetBlank?: boolean;
@@ -80,20 +80,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
80
80
  useAsTitle?: boolean;
81
81
  placeholder?: string;
82
82
  select?: "media" | "document" | "web" | null;
83
- customtypes?: readonly ({
84
- customTypeId: string;
85
- } & {
86
- fields?: readonly ({
87
- fieldId: string;
88
- } & {
89
- customTypes?: readonly {
90
- customTypeId: string;
91
- fields: readonly {
92
- fieldId: string;
93
- }[];
94
- }[];
95
- })[];
96
- })[];
83
+ customtypes?: readonly string[];
97
84
  masks?: readonly string[];
98
85
  tags?: readonly string[];
99
86
  allowTargetBlank?: boolean;
@@ -259,20 +246,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
259
246
  useAsTitle?: boolean;
260
247
  placeholder?: string;
261
248
  select?: "media" | "document" | "web" | null;
262
- customtypes?: readonly ({
263
- customTypeId: string;
264
- } & {
265
- fields?: readonly ({
266
- fieldId: string;
267
- } & {
268
- customTypes?: readonly {
269
- customTypeId: string;
270
- fields: readonly {
271
- fieldId: string;
272
- }[];
273
- }[];
274
- })[];
275
- })[];
249
+ customtypes?: readonly string[];
276
250
  masks?: readonly string[];
277
251
  tags?: readonly string[];
278
252
  allowTargetBlank?: boolean;
@@ -445,20 +419,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
445
419
  useAsTitle?: boolean;
446
420
  placeholder?: string;
447
421
  select?: "media" | "document" | "web" | null;
448
- customtypes?: readonly ({
449
- customTypeId: string;
450
- } & {
451
- fields?: readonly ({
452
- fieldId: string;
453
- } & {
454
- customTypes?: readonly {
455
- customTypeId: string;
456
- fields: readonly {
457
- fieldId: string;
458
- }[];
459
- }[];
460
- })[];
461
- })[];
422
+ customtypes?: readonly string[];
462
423
  masks?: readonly string[];
463
424
  tags?: readonly string[];
464
425
  allowTargetBlank?: boolean;
@@ -624,20 +585,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
624
585
  useAsTitle?: boolean;
625
586
  placeholder?: string;
626
587
  select?: "media" | "document" | "web" | null;
627
- customtypes?: readonly ({
628
- customTypeId: string;
629
- } & {
630
- fields?: readonly ({
631
- fieldId: string;
632
- } & {
633
- customTypes?: readonly {
634
- customTypeId: string;
635
- fields: readonly {
636
- fieldId: string;
637
- }[];
638
- }[];
639
- })[];
640
- })[];
588
+ customtypes?: readonly string[];
641
589
  masks?: readonly string[];
642
590
  tags?: readonly string[];
643
591
  allowTargetBlank?: boolean;
@@ -804,20 +752,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
804
752
  useAsTitle?: boolean;
805
753
  placeholder?: string;
806
754
  select?: "media" | "document" | "web" | null;
807
- customtypes?: readonly ({
808
- customTypeId: string;
809
- } & {
810
- fields?: readonly ({
811
- fieldId: string;
812
- } & {
813
- customTypes?: readonly {
814
- customTypeId: string;
815
- fields: readonly {
816
- fieldId: string;
817
- }[];
818
- }[];
819
- })[];
820
- })[];
755
+ customtypes?: readonly string[];
821
756
  masks?: readonly string[];
822
757
  tags?: readonly string[];
823
758
  allowTargetBlank?: boolean;
@@ -976,20 +911,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
976
911
  useAsTitle?: boolean;
977
912
  placeholder?: string;
978
913
  select?: "media" | "document" | "web" | null;
979
- customtypes?: readonly ({
980
- customTypeId: string;
981
- } & {
982
- fields?: readonly ({
983
- fieldId: string;
984
- } & {
985
- customTypes?: readonly {
986
- customTypeId: string;
987
- fields: readonly {
988
- fieldId: string;
989
- }[];
990
- }[];
991
- })[];
992
- })[];
914
+ customtypes?: readonly string[];
993
915
  masks?: readonly string[];
994
916
  tags?: readonly string[];
995
917
  allowTargetBlank?: boolean;
@@ -1164,20 +1086,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1164
1086
  useAsTitle?: boolean;
1165
1087
  placeholder?: string;
1166
1088
  select?: "media" | "document" | "web" | null;
1167
- customtypes?: readonly ({
1168
- customTypeId: string;
1169
- } & {
1170
- fields?: readonly ({
1171
- fieldId: string;
1172
- } & {
1173
- customTypes?: readonly {
1174
- customTypeId: string;
1175
- fields: readonly {
1176
- fieldId: string;
1177
- }[];
1178
- }[];
1179
- })[];
1180
- })[];
1089
+ customtypes?: readonly string[];
1181
1090
  masks?: readonly string[];
1182
1091
  tags?: readonly string[];
1183
1092
  allowTargetBlank?: boolean;
@@ -1336,20 +1245,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1336
1245
  useAsTitle?: boolean;
1337
1246
  placeholder?: string;
1338
1247
  select?: "media" | "document" | "web" | null;
1339
- customtypes?: readonly ({
1340
- customTypeId: string;
1341
- } & {
1342
- fields?: readonly ({
1343
- fieldId: string;
1344
- } & {
1345
- customTypes?: readonly {
1346
- customTypeId: string;
1347
- fields: readonly {
1348
- fieldId: string;
1349
- }[];
1350
- }[];
1351
- })[];
1352
- })[];
1248
+ customtypes?: readonly string[];
1353
1249
  masks?: readonly string[];
1354
1250
  tags?: readonly string[];
1355
1251
  allowTargetBlank?: boolean;
@@ -1524,20 +1420,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1524
1420
  useAsTitle?: boolean;
1525
1421
  placeholder?: string;
1526
1422
  select?: "media" | "document" | "web" | null;
1527
- customtypes?: readonly ({
1528
- customTypeId: string;
1529
- } & {
1530
- fields?: readonly ({
1531
- fieldId: string;
1532
- } & {
1533
- customTypes?: readonly {
1534
- customTypeId: string;
1535
- fields: readonly {
1536
- fieldId: string;
1537
- }[];
1538
- }[];
1539
- })[];
1540
- })[];
1423
+ customtypes?: readonly string[];
1541
1424
  masks?: readonly string[];
1542
1425
  tags?: readonly string[];
1543
1426
  allowTargetBlank?: boolean;
@@ -1703,20 +1586,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1703
1586
  useAsTitle?: boolean;
1704
1587
  placeholder?: string;
1705
1588
  select?: "media" | "document" | "web" | null;
1706
- customtypes?: readonly ({
1707
- customTypeId: string;
1708
- } & {
1709
- fields?: readonly ({
1710
- fieldId: string;
1711
- } & {
1712
- customTypes?: readonly {
1713
- customTypeId: string;
1714
- fields: readonly {
1715
- fieldId: string;
1716
- }[];
1717
- }[];
1718
- })[];
1719
- })[];
1589
+ customtypes?: readonly string[];
1720
1590
  masks?: readonly string[];
1721
1591
  tags?: readonly string[];
1722
1592
  allowTargetBlank?: boolean;
@@ -1889,20 +1759,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1889
1759
  useAsTitle?: boolean;
1890
1760
  placeholder?: string;
1891
1761
  select?: "media" | "document" | "web" | null;
1892
- customtypes?: readonly ({
1893
- customTypeId: string;
1894
- } & {
1895
- fields?: readonly ({
1896
- fieldId: string;
1897
- } & {
1898
- customTypes?: readonly {
1899
- customTypeId: string;
1900
- fields: readonly {
1901
- fieldId: string;
1902
- }[];
1903
- }[];
1904
- })[];
1905
- })[];
1762
+ customtypes?: readonly string[];
1906
1763
  masks?: readonly string[];
1907
1764
  tags?: readonly string[];
1908
1765
  allowTargetBlank?: boolean;
@@ -2068,20 +1925,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2068
1925
  useAsTitle?: boolean;
2069
1926
  placeholder?: string;
2070
1927
  select?: "media" | "document" | "web" | null;
2071
- customtypes?: readonly ({
2072
- customTypeId: string;
2073
- } & {
2074
- fields?: readonly ({
2075
- fieldId: string;
2076
- } & {
2077
- customTypes?: readonly {
2078
- customTypeId: string;
2079
- fields: readonly {
2080
- fieldId: string;
2081
- }[];
2082
- }[];
2083
- })[];
2084
- })[];
1928
+ customtypes?: readonly string[];
2085
1929
  masks?: readonly string[];
2086
1930
  tags?: readonly string[];
2087
1931
  allowTargetBlank?: boolean;
@@ -2248,20 +2092,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2248
2092
  useAsTitle?: boolean;
2249
2093
  placeholder?: string;
2250
2094
  select?: "media" | "document" | "web" | null;
2251
- customtypes?: readonly ({
2252
- customTypeId: string;
2253
- } & {
2254
- fields?: readonly ({
2255
- fieldId: string;
2256
- } & {
2257
- customTypes?: readonly {
2258
- customTypeId: string;
2259
- fields: readonly {
2260
- fieldId: string;
2261
- }[];
2262
- }[];
2263
- })[];
2264
- })[];
2095
+ customtypes?: readonly string[];
2265
2096
  masks?: readonly string[];
2266
2097
  tags?: readonly string[];
2267
2098
  allowTargetBlank?: boolean;
@@ -2420,20 +2251,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2420
2251
  useAsTitle?: boolean;
2421
2252
  placeholder?: string;
2422
2253
  select?: "media" | "document" | "web" | null;
2423
- customtypes?: readonly ({
2424
- customTypeId: string;
2425
- } & {
2426
- fields?: readonly ({
2427
- fieldId: string;
2428
- } & {
2429
- customTypes?: readonly {
2430
- customTypeId: string;
2431
- fields: readonly {
2432
- fieldId: string;
2433
- }[];
2434
- }[];
2435
- })[];
2436
- })[];
2254
+ customtypes?: readonly string[];
2437
2255
  masks?: readonly string[];
2438
2256
  tags?: readonly string[];
2439
2257
  allowTargetBlank?: boolean;