@prismicio/editor-fields 0.4.77-alpha.bump-types-internal.0 → 0.4.77-alpha.bump-types-internal.1
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.
- package/dist/DocumentEditor.d.ts +1 -1
- package/dist/GroupEditor.d.ts +12 -2
- package/dist/SectionEditor.d.ts +1 -1
- package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +10 -10
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/index.d.ts +2 -1
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/queryFiltersToFilters.d.ts +2 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/types.d.ts +4 -1
- package/dist/core/service/customType.d.ts +251 -108
- package/dist/fields/MetadataTextField.d.ts +1 -1
- package/dist/index.cjs.js +47 -47
- package/dist/index.es.js +16014 -15843
- package/dist/zones/StaticZoneEditor.d.ts +1 -1
- package/package.json +5 -5
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPlugin.d.ts +0 -8
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/events.d.ts +0 -19
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/index.d.ts +0 -1
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/utils.d.ts +0 -23
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/index.d.ts +0 -1
- package/dist/fields/RichTextField/extensions/Table/TableControlsWrapper.d.ts +0 -3
- package/dist/fields/RichTextField/extensions/Table/menus/TriggerAnchor.d.ts +0 -11
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginDef.d.ts +0 -8
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginView.d.ts +0 -34
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginViewClass.d.ts +0 -34
- /package/dist/fields/RichTextField/extensions/Table/plugins/{TableHandles → tableHandles}/index.d.ts +0 -0
- /package/dist/fields/RichTextField/extensions/Table/plugins/{TableHandles/TableHandlesPlugin.d.ts → tableHandles/tableHandlesPlugin.d.ts} +0 -0
- /package/dist/fields/RichTextField/extensions/Table/{TableCell/plugins/TableHandles/TableHandlesPluginView.d.ts → plugins/tableHandles/tableHandlesPluginView.d.ts} +0 -0
- /package/dist/fields/RichTextField/extensions/Table/plugins/{TableHandles → tableHandles}/utils.d.ts +0 -0
|
@@ -155,18 +155,31 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
155
155
|
useAsTitle?: boolean | undefined;
|
|
156
156
|
placeholder?: string | undefined;
|
|
157
157
|
select?: "document" | "web" | "media" | null | undefined;
|
|
158
|
-
customtypes?: readonly (string |
|
|
158
|
+
customtypes?: readonly (string | {
|
|
159
159
|
id: string;
|
|
160
|
-
|
|
161
|
-
fields?: readonly (string | {
|
|
160
|
+
fields: readonly (string | {
|
|
162
161
|
id: string;
|
|
163
|
-
customtypes: readonly (string |
|
|
162
|
+
customtypes: readonly (string | {
|
|
164
163
|
id: string;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
164
|
+
fields: readonly (string | {
|
|
165
|
+
id: string;
|
|
166
|
+
fields: readonly string[];
|
|
167
|
+
})[];
|
|
168
|
+
})[];
|
|
169
|
+
} | {
|
|
170
|
+
id: string;
|
|
171
|
+
fields: readonly (string | {
|
|
172
|
+
id: string;
|
|
173
|
+
customtypes: readonly (string | {
|
|
174
|
+
id: string;
|
|
175
|
+
fields: readonly (string | {
|
|
176
|
+
id: string;
|
|
177
|
+
fields: readonly string[];
|
|
178
|
+
})[];
|
|
179
|
+
})[];
|
|
180
|
+
})[];
|
|
181
|
+
})[];
|
|
182
|
+
})[] | undefined;
|
|
170
183
|
masks?: readonly string[] | undefined;
|
|
171
184
|
tags?: readonly string[] | undefined;
|
|
172
185
|
allowTargetBlank?: boolean | undefined;
|
|
@@ -341,18 +354,31 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
341
354
|
useAsTitle?: boolean | undefined;
|
|
342
355
|
placeholder?: string | undefined;
|
|
343
356
|
select?: "document" | "web" | "media" | null | undefined;
|
|
344
|
-
customtypes?: readonly (string |
|
|
357
|
+
customtypes?: readonly (string | {
|
|
345
358
|
id: string;
|
|
346
|
-
|
|
347
|
-
fields?: readonly (string | {
|
|
359
|
+
fields: readonly (string | {
|
|
348
360
|
id: string;
|
|
349
|
-
customtypes: readonly (string |
|
|
361
|
+
customtypes: readonly (string | {
|
|
350
362
|
id: string;
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
363
|
+
fields: readonly (string | {
|
|
364
|
+
id: string;
|
|
365
|
+
fields: readonly string[];
|
|
366
|
+
})[];
|
|
367
|
+
})[];
|
|
368
|
+
} | {
|
|
369
|
+
id: string;
|
|
370
|
+
fields: readonly (string | {
|
|
371
|
+
id: string;
|
|
372
|
+
customtypes: readonly (string | {
|
|
373
|
+
id: string;
|
|
374
|
+
fields: readonly (string | {
|
|
375
|
+
id: string;
|
|
376
|
+
fields: readonly string[];
|
|
377
|
+
})[];
|
|
378
|
+
})[];
|
|
379
|
+
})[];
|
|
380
|
+
})[];
|
|
381
|
+
})[] | undefined;
|
|
356
382
|
masks?: readonly string[] | undefined;
|
|
357
383
|
tags?: readonly string[] | undefined;
|
|
358
384
|
allowTargetBlank?: boolean | undefined;
|
|
@@ -527,18 +553,31 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
527
553
|
useAsTitle?: boolean | undefined;
|
|
528
554
|
placeholder?: string | undefined;
|
|
529
555
|
select?: "document" | "web" | "media" | null | undefined;
|
|
530
|
-
customtypes?: readonly (string |
|
|
556
|
+
customtypes?: readonly (string | {
|
|
531
557
|
id: string;
|
|
532
|
-
|
|
533
|
-
fields?: readonly (string | {
|
|
558
|
+
fields: readonly (string | {
|
|
534
559
|
id: string;
|
|
535
|
-
customtypes: readonly (string |
|
|
560
|
+
customtypes: readonly (string | {
|
|
536
561
|
id: string;
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
562
|
+
fields: readonly (string | {
|
|
563
|
+
id: string;
|
|
564
|
+
fields: readonly string[];
|
|
565
|
+
})[];
|
|
566
|
+
})[];
|
|
567
|
+
} | {
|
|
568
|
+
id: string;
|
|
569
|
+
fields: readonly (string | {
|
|
570
|
+
id: string;
|
|
571
|
+
customtypes: readonly (string | {
|
|
572
|
+
id: string;
|
|
573
|
+
fields: readonly (string | {
|
|
574
|
+
id: string;
|
|
575
|
+
fields: readonly string[];
|
|
576
|
+
})[];
|
|
577
|
+
})[];
|
|
578
|
+
})[];
|
|
579
|
+
})[];
|
|
580
|
+
})[] | undefined;
|
|
542
581
|
masks?: readonly string[] | undefined;
|
|
543
582
|
tags?: readonly string[] | undefined;
|
|
544
583
|
allowTargetBlank?: boolean | undefined;
|
|
@@ -631,6 +670,15 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
631
670
|
});
|
|
632
671
|
} | undefined;
|
|
633
672
|
} | undefined;
|
|
673
|
+
}) | ({
|
|
674
|
+
type: "UID";
|
|
675
|
+
} & {
|
|
676
|
+
fieldset?: string | null | undefined;
|
|
677
|
+
config?: {
|
|
678
|
+
label?: string | null | undefined;
|
|
679
|
+
useAsTitle?: boolean | undefined;
|
|
680
|
+
placeholder?: string | undefined;
|
|
681
|
+
} | undefined;
|
|
634
682
|
}) | ({
|
|
635
683
|
type: "Slices" | "Choice";
|
|
636
684
|
} & {
|
|
@@ -723,18 +771,31 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
723
771
|
useAsTitle?: boolean | undefined;
|
|
724
772
|
placeholder?: string | undefined;
|
|
725
773
|
select?: "document" | "web" | "media" | null | undefined;
|
|
726
|
-
customtypes?: readonly (string |
|
|
774
|
+
customtypes?: readonly (string | {
|
|
727
775
|
id: string;
|
|
728
|
-
|
|
729
|
-
fields?: readonly (string | {
|
|
776
|
+
fields: readonly (string | {
|
|
730
777
|
id: string;
|
|
731
|
-
customtypes: readonly (string |
|
|
778
|
+
customtypes: readonly (string | {
|
|
732
779
|
id: string;
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
780
|
+
fields: readonly (string | {
|
|
781
|
+
id: string;
|
|
782
|
+
fields: readonly string[];
|
|
783
|
+
})[];
|
|
784
|
+
})[];
|
|
785
|
+
} | {
|
|
786
|
+
id: string;
|
|
787
|
+
fields: readonly (string | {
|
|
788
|
+
id: string;
|
|
789
|
+
customtypes: readonly (string | {
|
|
790
|
+
id: string;
|
|
791
|
+
fields: readonly (string | {
|
|
792
|
+
id: string;
|
|
793
|
+
fields: readonly string[];
|
|
794
|
+
})[];
|
|
795
|
+
})[];
|
|
796
|
+
})[];
|
|
797
|
+
})[];
|
|
798
|
+
})[] | undefined;
|
|
738
799
|
masks?: readonly string[] | undefined;
|
|
739
800
|
tags?: readonly string[] | undefined;
|
|
740
801
|
allowTargetBlank?: boolean | undefined;
|
|
@@ -909,18 +970,31 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
909
970
|
useAsTitle?: boolean | undefined;
|
|
910
971
|
placeholder?: string | undefined;
|
|
911
972
|
select?: "document" | "web" | "media" | null | undefined;
|
|
912
|
-
customtypes?: readonly (string |
|
|
973
|
+
customtypes?: readonly (string | {
|
|
913
974
|
id: string;
|
|
914
|
-
|
|
915
|
-
|
|
975
|
+
fields: readonly (string | {
|
|
976
|
+
id: string;
|
|
977
|
+
customtypes: readonly (string | {
|
|
978
|
+
id: string;
|
|
979
|
+
fields: readonly (string | {
|
|
980
|
+
id: string;
|
|
981
|
+
fields: readonly string[];
|
|
982
|
+
})[];
|
|
983
|
+
})[];
|
|
984
|
+
} | {
|
|
916
985
|
id: string;
|
|
917
|
-
|
|
986
|
+
fields: readonly (string | {
|
|
918
987
|
id: string;
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
988
|
+
customtypes: readonly (string | {
|
|
989
|
+
id: string;
|
|
990
|
+
fields: readonly (string | {
|
|
991
|
+
id: string;
|
|
992
|
+
fields: readonly string[];
|
|
993
|
+
})[];
|
|
994
|
+
})[];
|
|
995
|
+
})[];
|
|
996
|
+
})[];
|
|
997
|
+
})[] | undefined;
|
|
924
998
|
masks?: readonly string[] | undefined;
|
|
925
999
|
tags?: readonly string[] | undefined;
|
|
926
1000
|
allowTargetBlank?: boolean | undefined;
|
|
@@ -1096,18 +1170,31 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
1096
1170
|
useAsTitle?: boolean | undefined;
|
|
1097
1171
|
placeholder?: string | undefined;
|
|
1098
1172
|
select?: "document" | "web" | "media" | null | undefined;
|
|
1099
|
-
customtypes?: readonly (string |
|
|
1173
|
+
customtypes?: readonly (string | {
|
|
1100
1174
|
id: string;
|
|
1101
|
-
|
|
1102
|
-
fields?: readonly (string | {
|
|
1175
|
+
fields: readonly (string | {
|
|
1103
1176
|
id: string;
|
|
1104
|
-
customtypes: readonly (string |
|
|
1177
|
+
customtypes: readonly (string | {
|
|
1105
1178
|
id: string;
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1179
|
+
fields: readonly (string | {
|
|
1180
|
+
id: string;
|
|
1181
|
+
fields: readonly string[];
|
|
1182
|
+
})[];
|
|
1183
|
+
})[];
|
|
1184
|
+
} | {
|
|
1185
|
+
id: string;
|
|
1186
|
+
fields: readonly (string | {
|
|
1187
|
+
id: string;
|
|
1188
|
+
customtypes: readonly (string | {
|
|
1189
|
+
id: string;
|
|
1190
|
+
fields: readonly (string | {
|
|
1191
|
+
id: string;
|
|
1192
|
+
fields: readonly string[];
|
|
1193
|
+
})[];
|
|
1194
|
+
})[];
|
|
1195
|
+
})[];
|
|
1196
|
+
})[];
|
|
1197
|
+
})[] | undefined;
|
|
1111
1198
|
masks?: readonly string[] | undefined;
|
|
1112
1199
|
tags?: readonly string[] | undefined;
|
|
1113
1200
|
allowTargetBlank?: boolean | undefined;
|
|
@@ -1275,18 +1362,31 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
1275
1362
|
useAsTitle?: boolean | undefined;
|
|
1276
1363
|
placeholder?: string | undefined;
|
|
1277
1364
|
select?: "document" | "web" | "media" | null | undefined;
|
|
1278
|
-
customtypes?: readonly (string |
|
|
1365
|
+
customtypes?: readonly (string | {
|
|
1279
1366
|
id: string;
|
|
1280
|
-
|
|
1281
|
-
fields?: readonly (string | {
|
|
1367
|
+
fields: readonly (string | {
|
|
1282
1368
|
id: string;
|
|
1283
|
-
customtypes: readonly (string |
|
|
1369
|
+
customtypes: readonly (string | {
|
|
1284
1370
|
id: string;
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1371
|
+
fields: readonly (string | {
|
|
1372
|
+
id: string;
|
|
1373
|
+
fields: readonly string[];
|
|
1374
|
+
})[];
|
|
1375
|
+
})[];
|
|
1376
|
+
} | {
|
|
1377
|
+
id: string;
|
|
1378
|
+
fields: readonly (string | {
|
|
1379
|
+
id: string;
|
|
1380
|
+
customtypes: readonly (string | {
|
|
1381
|
+
id: string;
|
|
1382
|
+
fields: readonly (string | {
|
|
1383
|
+
id: string;
|
|
1384
|
+
fields: readonly string[];
|
|
1385
|
+
})[];
|
|
1386
|
+
})[];
|
|
1387
|
+
})[];
|
|
1388
|
+
})[];
|
|
1389
|
+
})[] | undefined;
|
|
1290
1390
|
masks?: readonly string[] | undefined;
|
|
1291
1391
|
tags?: readonly string[] | undefined;
|
|
1292
1392
|
allowTargetBlank?: boolean | undefined;
|
|
@@ -1470,18 +1570,31 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
1470
1570
|
useAsTitle?: boolean | undefined;
|
|
1471
1571
|
placeholder?: string | undefined;
|
|
1472
1572
|
select?: "document" | "web" | "media" | null | undefined;
|
|
1473
|
-
customtypes?: readonly (string |
|
|
1573
|
+
customtypes?: readonly (string | {
|
|
1474
1574
|
id: string;
|
|
1475
|
-
|
|
1476
|
-
fields?: readonly (string | {
|
|
1575
|
+
fields: readonly (string | {
|
|
1477
1576
|
id: string;
|
|
1478
|
-
customtypes: readonly (string |
|
|
1577
|
+
customtypes: readonly (string | {
|
|
1479
1578
|
id: string;
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1579
|
+
fields: readonly (string | {
|
|
1580
|
+
id: string;
|
|
1581
|
+
fields: readonly string[];
|
|
1582
|
+
})[];
|
|
1583
|
+
})[];
|
|
1584
|
+
} | {
|
|
1585
|
+
id: string;
|
|
1586
|
+
fields: readonly (string | {
|
|
1587
|
+
id: string;
|
|
1588
|
+
customtypes: readonly (string | {
|
|
1589
|
+
id: string;
|
|
1590
|
+
fields: readonly (string | {
|
|
1591
|
+
id: string;
|
|
1592
|
+
fields: readonly string[];
|
|
1593
|
+
})[];
|
|
1594
|
+
})[];
|
|
1595
|
+
})[];
|
|
1596
|
+
})[];
|
|
1597
|
+
})[] | undefined;
|
|
1485
1598
|
masks?: readonly string[] | undefined;
|
|
1486
1599
|
tags?: readonly string[] | undefined;
|
|
1487
1600
|
allowTargetBlank?: boolean | undefined;
|
|
@@ -1656,18 +1769,31 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
1656
1769
|
useAsTitle?: boolean | undefined;
|
|
1657
1770
|
placeholder?: string | undefined;
|
|
1658
1771
|
select?: "document" | "web" | "media" | null | undefined;
|
|
1659
|
-
customtypes?: readonly (string |
|
|
1772
|
+
customtypes?: readonly (string | {
|
|
1660
1773
|
id: string;
|
|
1661
|
-
|
|
1662
|
-
fields?: readonly (string | {
|
|
1774
|
+
fields: readonly (string | {
|
|
1663
1775
|
id: string;
|
|
1664
|
-
customtypes: readonly (string |
|
|
1776
|
+
customtypes: readonly (string | {
|
|
1665
1777
|
id: string;
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1778
|
+
fields: readonly (string | {
|
|
1779
|
+
id: string;
|
|
1780
|
+
fields: readonly string[];
|
|
1781
|
+
})[];
|
|
1782
|
+
})[];
|
|
1783
|
+
} | {
|
|
1784
|
+
id: string;
|
|
1785
|
+
fields: readonly (string | {
|
|
1786
|
+
id: string;
|
|
1787
|
+
customtypes: readonly (string | {
|
|
1788
|
+
id: string;
|
|
1789
|
+
fields: readonly (string | {
|
|
1790
|
+
id: string;
|
|
1791
|
+
fields: readonly string[];
|
|
1792
|
+
})[];
|
|
1793
|
+
})[];
|
|
1794
|
+
})[];
|
|
1795
|
+
})[];
|
|
1796
|
+
})[] | undefined;
|
|
1671
1797
|
masks?: readonly string[] | undefined;
|
|
1672
1798
|
tags?: readonly string[] | undefined;
|
|
1673
1799
|
allowTargetBlank?: boolean | undefined;
|
|
@@ -1842,18 +1968,31 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
1842
1968
|
useAsTitle?: boolean | undefined;
|
|
1843
1969
|
placeholder?: string | undefined;
|
|
1844
1970
|
select?: "document" | "web" | "media" | null | undefined;
|
|
1845
|
-
customtypes?: readonly (string |
|
|
1971
|
+
customtypes?: readonly (string | {
|
|
1846
1972
|
id: string;
|
|
1847
|
-
|
|
1848
|
-
fields?: readonly (string | {
|
|
1973
|
+
fields: readonly (string | {
|
|
1849
1974
|
id: string;
|
|
1850
|
-
customtypes: readonly (string |
|
|
1975
|
+
customtypes: readonly (string | {
|
|
1851
1976
|
id: string;
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1977
|
+
fields: readonly (string | {
|
|
1978
|
+
id: string;
|
|
1979
|
+
fields: readonly string[];
|
|
1980
|
+
})[];
|
|
1981
|
+
})[];
|
|
1982
|
+
} | {
|
|
1983
|
+
id: string;
|
|
1984
|
+
fields: readonly (string | {
|
|
1985
|
+
id: string;
|
|
1986
|
+
customtypes: readonly (string | {
|
|
1987
|
+
id: string;
|
|
1988
|
+
fields: readonly (string | {
|
|
1989
|
+
id: string;
|
|
1990
|
+
fields: readonly string[];
|
|
1991
|
+
})[];
|
|
1992
|
+
})[];
|
|
1993
|
+
})[];
|
|
1994
|
+
})[];
|
|
1995
|
+
})[] | undefined;
|
|
1857
1996
|
masks?: readonly string[] | undefined;
|
|
1858
1997
|
tags?: readonly string[] | undefined;
|
|
1859
1998
|
allowTargetBlank?: boolean | undefined;
|
|
@@ -2027,18 +2166,31 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
2027
2166
|
useAsTitle?: boolean | undefined;
|
|
2028
2167
|
placeholder?: string | undefined;
|
|
2029
2168
|
select?: "document" | "web" | "media" | null | undefined;
|
|
2030
|
-
customtypes?: readonly (string |
|
|
2169
|
+
customtypes?: readonly (string | {
|
|
2031
2170
|
id: string;
|
|
2032
|
-
|
|
2033
|
-
|
|
2171
|
+
fields: readonly (string | {
|
|
2172
|
+
id: string;
|
|
2173
|
+
customtypes: readonly (string | {
|
|
2174
|
+
id: string;
|
|
2175
|
+
fields: readonly (string | {
|
|
2176
|
+
id: string;
|
|
2177
|
+
fields: readonly string[];
|
|
2178
|
+
})[];
|
|
2179
|
+
})[];
|
|
2180
|
+
} | {
|
|
2034
2181
|
id: string;
|
|
2035
|
-
|
|
2182
|
+
fields: readonly (string | {
|
|
2036
2183
|
id: string;
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2184
|
+
customtypes: readonly (string | {
|
|
2185
|
+
id: string;
|
|
2186
|
+
fields: readonly (string | {
|
|
2187
|
+
id: string;
|
|
2188
|
+
fields: readonly string[];
|
|
2189
|
+
})[];
|
|
2190
|
+
})[];
|
|
2191
|
+
})[];
|
|
2192
|
+
})[];
|
|
2193
|
+
})[] | undefined;
|
|
2042
2194
|
masks?: readonly string[] | undefined;
|
|
2043
2195
|
tags?: readonly string[] | undefined;
|
|
2044
2196
|
allowTargetBlank?: boolean | undefined;
|
|
@@ -2136,15 +2288,6 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
2136
2288
|
});
|
|
2137
2289
|
} | undefined;
|
|
2138
2290
|
} | undefined;
|
|
2139
|
-
}) | ({
|
|
2140
|
-
type: "UID";
|
|
2141
|
-
} & {
|
|
2142
|
-
fieldset?: string | null | undefined;
|
|
2143
|
-
config?: {
|
|
2144
|
-
label?: string | null | undefined;
|
|
2145
|
-
useAsTitle?: boolean | undefined;
|
|
2146
|
-
placeholder?: string | undefined;
|
|
2147
|
-
} | undefined;
|
|
2148
2291
|
});
|
|
2149
2292
|
};
|
|
2150
2293
|
};
|
|
@@ -4,7 +4,7 @@ import type { StaticCustomType, Text } from "@prismicio/types-internal/lib/custo
|
|
|
4
4
|
import { type MetadataType } from "../core/service";
|
|
5
5
|
interface MetadataTextFieldProps {
|
|
6
6
|
content: TextContent | undefined;
|
|
7
|
-
documentId
|
|
7
|
+
documentId?: string;
|
|
8
8
|
documentContent: Document;
|
|
9
9
|
documentCustomType: StaticCustomType;
|
|
10
10
|
documentLocale: string;
|