@prismicio/types-internal 2.7.0-alpha.2 → 2.7.0-alpha.4
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/lib/content/Document.d.ts +1783 -859
- package/lib/content/fields/WidgetContent.d.ts +1782 -858
- package/lib/content/fields/nestable/LinkContent.d.ts +207 -90
- package/lib/content/fields/nestable/LinkContent.js +93 -48
- package/lib/content/fields/nestable/NestableContent.d.ts +297 -143
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +546 -249
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +270 -130
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +594 -286
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +135 -65
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +594 -286
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +297 -143
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +297 -143
- package/lib/content/fields/slices/Slice/index.d.ts +1080 -520
- package/lib/content/fields/slices/SliceItem.d.ts +1080 -520
- package/lib/content/fields/slices/SlicesContent.d.ts +1485 -715
- package/lib/customtypes/CustomType.d.ts +180 -342
- package/lib/customtypes/Section.d.ts +180 -342
- package/lib/customtypes/diff/SharedSlice.d.ts +80 -152
- package/lib/customtypes/diff/Variation.d.ts +80 -152
- package/lib/customtypes/widgets/Group.d.ts +6 -60
- package/lib/customtypes/widgets/Widget.d.ts +129 -318
- package/lib/customtypes/widgets/nestable/Link.d.ts +2 -20
- package/lib/customtypes/widgets/nestable/Link.js +1 -2
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +1 -10
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -20
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -20
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +8 -80
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +33 -87
- package/lib/customtypes/widgets/slices/Slices.d.ts +172 -424
- package/package.json +1 -1
- package/src/content/fields/nestable/LinkContent.ts +118 -58
- package/src/customtypes/widgets/nestable/Link.ts +1 -2
- package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +0 -727
- package/lib/content/fields/nestable/RichTextContent/TextBlock.js +0 -80
- package/lib/customtypes/widgets/slices/SliceWidget.d.ts +0 -327
- package/lib/customtypes/widgets/slices/SliceWidget.js +0 -8
|
@@ -138,16 +138,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
138
138
|
masks: t.Type<readonly string[], object, unknown>;
|
|
139
139
|
tags: t.Type<readonly string[], object, unknown>;
|
|
140
140
|
allowTargetBlank: t.BooleanC;
|
|
141
|
-
|
|
142
|
-
type: t.LiteralC<"Text">;
|
|
143
|
-
}>, t.PartialC<{
|
|
144
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
145
|
-
config: t.ExactC<t.PartialC<{
|
|
146
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
147
|
-
useAsTitle: t.BooleanC;
|
|
148
|
-
placeholder: t.StringC;
|
|
149
|
-
}>>;
|
|
150
|
-
}>]>>;
|
|
141
|
+
allowText: t.BooleanC;
|
|
151
142
|
}>>;
|
|
152
143
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
153
144
|
type: t.LiteralC<"Image">;
|
|
@@ -313,16 +304,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
313
304
|
masks: t.Type<readonly string[], object, unknown>;
|
|
314
305
|
tags: t.Type<readonly string[], object, unknown>;
|
|
315
306
|
allowTargetBlank: t.BooleanC;
|
|
316
|
-
|
|
317
|
-
type: t.LiteralC<"Text">;
|
|
318
|
-
}>, t.PartialC<{
|
|
319
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
320
|
-
config: t.ExactC<t.PartialC<{
|
|
321
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
322
|
-
useAsTitle: t.BooleanC;
|
|
323
|
-
placeholder: t.StringC;
|
|
324
|
-
}>>;
|
|
325
|
-
}>]>>;
|
|
307
|
+
allowText: t.BooleanC;
|
|
326
308
|
}>>;
|
|
327
309
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
328
310
|
type: t.LiteralC<"Image">;
|
|
@@ -488,16 +470,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
488
470
|
masks: t.Type<readonly string[], object, unknown>;
|
|
489
471
|
tags: t.Type<readonly string[], object, unknown>;
|
|
490
472
|
allowTargetBlank: t.BooleanC;
|
|
491
|
-
|
|
492
|
-
type: t.LiteralC<"Text">;
|
|
493
|
-
}>, t.PartialC<{
|
|
494
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
495
|
-
config: t.ExactC<t.PartialC<{
|
|
496
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
497
|
-
useAsTitle: t.BooleanC;
|
|
498
|
-
placeholder: t.StringC;
|
|
499
|
-
}>>;
|
|
500
|
-
}>]>>;
|
|
473
|
+
allowText: t.BooleanC;
|
|
501
474
|
}>>;
|
|
502
475
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
503
476
|
type: t.LiteralC<"Image">;
|
|
@@ -668,16 +641,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
668
641
|
masks: t.Type<readonly string[], object, unknown>;
|
|
669
642
|
tags: t.Type<readonly string[], object, unknown>;
|
|
670
643
|
allowTargetBlank: t.BooleanC;
|
|
671
|
-
|
|
672
|
-
type: t.LiteralC<"Text">;
|
|
673
|
-
}>, t.PartialC<{
|
|
674
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
675
|
-
config: t.ExactC<t.PartialC<{
|
|
676
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
677
|
-
useAsTitle: t.BooleanC;
|
|
678
|
-
placeholder: t.StringC;
|
|
679
|
-
}>>;
|
|
680
|
-
}>]>>;
|
|
644
|
+
allowText: t.BooleanC;
|
|
681
645
|
}>>;
|
|
682
646
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
683
647
|
type: t.LiteralC<"Image">;
|
|
@@ -843,16 +807,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
843
807
|
masks: t.Type<readonly string[], object, unknown>;
|
|
844
808
|
tags: t.Type<readonly string[], object, unknown>;
|
|
845
809
|
allowTargetBlank: t.BooleanC;
|
|
846
|
-
|
|
847
|
-
type: t.LiteralC<"Text">;
|
|
848
|
-
}>, t.PartialC<{
|
|
849
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
850
|
-
config: t.ExactC<t.PartialC<{
|
|
851
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
852
|
-
useAsTitle: t.BooleanC;
|
|
853
|
-
placeholder: t.StringC;
|
|
854
|
-
}>>;
|
|
855
|
-
}>]>>;
|
|
810
|
+
allowText: t.BooleanC;
|
|
856
811
|
}>>;
|
|
857
812
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
858
813
|
type: t.LiteralC<"Image">;
|
|
@@ -1018,16 +973,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1018
973
|
masks: t.Type<readonly string[], object, unknown>;
|
|
1019
974
|
tags: t.Type<readonly string[], object, unknown>;
|
|
1020
975
|
allowTargetBlank: t.BooleanC;
|
|
1021
|
-
|
|
1022
|
-
type: t.LiteralC<"Text">;
|
|
1023
|
-
}>, t.PartialC<{
|
|
1024
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1025
|
-
config: t.ExactC<t.PartialC<{
|
|
1026
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1027
|
-
useAsTitle: t.BooleanC;
|
|
1028
|
-
placeholder: t.StringC;
|
|
1029
|
-
}>>;
|
|
1030
|
-
}>]>>;
|
|
976
|
+
allowText: t.BooleanC;
|
|
1031
977
|
}>>;
|
|
1032
978
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1033
979
|
type: t.LiteralC<"Image">;
|
|
@@ -1143,15 +1089,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1143
1089
|
placeholder?: string;
|
|
1144
1090
|
catalog?: string;
|
|
1145
1091
|
};
|
|
1146
|
-
}) | ({
|
|
1147
|
-
type: "Text";
|
|
1148
|
-
} & {
|
|
1149
|
-
fieldset?: string | null | undefined;
|
|
1150
|
-
config?: {
|
|
1151
|
-
label?: string | null | undefined;
|
|
1152
|
-
useAsTitle?: boolean;
|
|
1153
|
-
placeholder?: string;
|
|
1154
|
-
};
|
|
1155
1092
|
}) | ({
|
|
1156
1093
|
type: "Link";
|
|
1157
1094
|
} & {
|
|
@@ -1165,16 +1102,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1165
1102
|
masks?: readonly string[];
|
|
1166
1103
|
tags?: readonly string[];
|
|
1167
1104
|
allowTargetBlank?: boolean;
|
|
1168
|
-
|
|
1169
|
-
type: "Text";
|
|
1170
|
-
} & {
|
|
1171
|
-
fieldset?: string | null | undefined;
|
|
1172
|
-
config?: {
|
|
1173
|
-
label?: string | null | undefined;
|
|
1174
|
-
useAsTitle?: boolean;
|
|
1175
|
-
placeholder?: string;
|
|
1176
|
-
};
|
|
1177
|
-
};
|
|
1105
|
+
allowText?: boolean;
|
|
1178
1106
|
};
|
|
1179
1107
|
}) | ({
|
|
1180
1108
|
type: "Number";
|
|
@@ -1231,6 +1159,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1231
1159
|
config?: {
|
|
1232
1160
|
label?: string | null | undefined;
|
|
1233
1161
|
};
|
|
1162
|
+
}) | ({
|
|
1163
|
+
type: "Text";
|
|
1164
|
+
} & {
|
|
1165
|
+
fieldset?: string | null | undefined;
|
|
1166
|
+
config?: {
|
|
1167
|
+
label?: string | null | undefined;
|
|
1168
|
+
useAsTitle?: boolean;
|
|
1169
|
+
placeholder?: string;
|
|
1170
|
+
};
|
|
1234
1171
|
}) | ({
|
|
1235
1172
|
type: "Timestamp";
|
|
1236
1173
|
} & {
|
|
@@ -1319,15 +1256,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1319
1256
|
placeholder?: string;
|
|
1320
1257
|
catalog?: string;
|
|
1321
1258
|
};
|
|
1322
|
-
}) | ({
|
|
1323
|
-
type: "Text";
|
|
1324
|
-
} & {
|
|
1325
|
-
fieldset?: string | null | undefined;
|
|
1326
|
-
config?: {
|
|
1327
|
-
label?: string | null | undefined;
|
|
1328
|
-
useAsTitle?: boolean;
|
|
1329
|
-
placeholder?: string;
|
|
1330
|
-
};
|
|
1331
1259
|
}) | ({
|
|
1332
1260
|
type: "Link";
|
|
1333
1261
|
} & {
|
|
@@ -1341,16 +1269,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1341
1269
|
masks?: readonly string[];
|
|
1342
1270
|
tags?: readonly string[];
|
|
1343
1271
|
allowTargetBlank?: boolean;
|
|
1344
|
-
|
|
1345
|
-
type: "Text";
|
|
1346
|
-
} & {
|
|
1347
|
-
fieldset?: string | null | undefined;
|
|
1348
|
-
config?: {
|
|
1349
|
-
label?: string | null | undefined;
|
|
1350
|
-
useAsTitle?: boolean;
|
|
1351
|
-
placeholder?: string;
|
|
1352
|
-
};
|
|
1353
|
-
};
|
|
1272
|
+
allowText?: boolean;
|
|
1354
1273
|
};
|
|
1355
1274
|
}) | ({
|
|
1356
1275
|
type: "Number";
|
|
@@ -1407,6 +1326,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1407
1326
|
config?: {
|
|
1408
1327
|
label?: string | null | undefined;
|
|
1409
1328
|
};
|
|
1329
|
+
}) | ({
|
|
1330
|
+
type: "Text";
|
|
1331
|
+
} & {
|
|
1332
|
+
fieldset?: string | null | undefined;
|
|
1333
|
+
config?: {
|
|
1334
|
+
label?: string | null | undefined;
|
|
1335
|
+
useAsTitle?: boolean;
|
|
1336
|
+
placeholder?: string;
|
|
1337
|
+
};
|
|
1410
1338
|
}) | ({
|
|
1411
1339
|
type: "Timestamp";
|
|
1412
1340
|
} & {
|
|
@@ -1496,15 +1424,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1496
1424
|
placeholder?: string;
|
|
1497
1425
|
catalog?: string;
|
|
1498
1426
|
};
|
|
1499
|
-
}) | ({
|
|
1500
|
-
type: "Text";
|
|
1501
|
-
} & {
|
|
1502
|
-
fieldset?: string | null | undefined;
|
|
1503
|
-
config?: {
|
|
1504
|
-
label?: string | null | undefined;
|
|
1505
|
-
useAsTitle?: boolean;
|
|
1506
|
-
placeholder?: string;
|
|
1507
|
-
};
|
|
1508
1427
|
}) | ({
|
|
1509
1428
|
type: "Link";
|
|
1510
1429
|
} & {
|
|
@@ -1518,16 +1437,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1518
1437
|
masks?: readonly string[];
|
|
1519
1438
|
tags?: readonly string[];
|
|
1520
1439
|
allowTargetBlank?: boolean;
|
|
1521
|
-
|
|
1522
|
-
type: "Text";
|
|
1523
|
-
} & {
|
|
1524
|
-
fieldset?: string | null | undefined;
|
|
1525
|
-
config?: {
|
|
1526
|
-
label?: string | null | undefined;
|
|
1527
|
-
useAsTitle?: boolean;
|
|
1528
|
-
placeholder?: string;
|
|
1529
|
-
};
|
|
1530
|
-
};
|
|
1440
|
+
allowText?: boolean;
|
|
1531
1441
|
};
|
|
1532
1442
|
}) | ({
|
|
1533
1443
|
type: "Number";
|
|
@@ -1584,6 +1494,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1584
1494
|
config?: {
|
|
1585
1495
|
label?: string | null | undefined;
|
|
1586
1496
|
};
|
|
1497
|
+
}) | ({
|
|
1498
|
+
type: "Text";
|
|
1499
|
+
} & {
|
|
1500
|
+
fieldset?: string | null | undefined;
|
|
1501
|
+
config?: {
|
|
1502
|
+
label?: string | null | undefined;
|
|
1503
|
+
useAsTitle?: boolean;
|
|
1504
|
+
placeholder?: string;
|
|
1505
|
+
};
|
|
1587
1506
|
}) | ({
|
|
1588
1507
|
type: "Timestamp";
|
|
1589
1508
|
} & {
|
|
@@ -1665,15 +1584,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1665
1584
|
placeholder?: string;
|
|
1666
1585
|
catalog?: string;
|
|
1667
1586
|
};
|
|
1668
|
-
}) | ({
|
|
1669
|
-
type: "Text";
|
|
1670
|
-
} & {
|
|
1671
|
-
fieldset?: string | null | undefined;
|
|
1672
|
-
config?: {
|
|
1673
|
-
label?: string | null | undefined;
|
|
1674
|
-
useAsTitle?: boolean;
|
|
1675
|
-
placeholder?: string;
|
|
1676
|
-
};
|
|
1677
1587
|
}) | ({
|
|
1678
1588
|
type: "Link";
|
|
1679
1589
|
} & {
|
|
@@ -1687,16 +1597,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1687
1597
|
masks?: readonly string[];
|
|
1688
1598
|
tags?: readonly string[];
|
|
1689
1599
|
allowTargetBlank?: boolean;
|
|
1690
|
-
|
|
1691
|
-
type: "Text";
|
|
1692
|
-
} & {
|
|
1693
|
-
fieldset?: string | null | undefined;
|
|
1694
|
-
config?: {
|
|
1695
|
-
label?: string | null | undefined;
|
|
1696
|
-
useAsTitle?: boolean;
|
|
1697
|
-
placeholder?: string;
|
|
1698
|
-
};
|
|
1699
|
-
};
|
|
1600
|
+
allowText?: boolean;
|
|
1700
1601
|
};
|
|
1701
1602
|
}) | ({
|
|
1702
1603
|
type: "Number";
|
|
@@ -1753,6 +1654,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1753
1654
|
config?: {
|
|
1754
1655
|
label?: string | null | undefined;
|
|
1755
1656
|
};
|
|
1657
|
+
}) | ({
|
|
1658
|
+
type: "Text";
|
|
1659
|
+
} & {
|
|
1660
|
+
fieldset?: string | null | undefined;
|
|
1661
|
+
config?: {
|
|
1662
|
+
label?: string | null | undefined;
|
|
1663
|
+
useAsTitle?: boolean;
|
|
1664
|
+
placeholder?: string;
|
|
1665
|
+
};
|
|
1756
1666
|
}) | ({
|
|
1757
1667
|
type: "Timestamp";
|
|
1758
1668
|
} & {
|
|
@@ -1850,15 +1760,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1850
1760
|
placeholder?: string;
|
|
1851
1761
|
catalog?: string;
|
|
1852
1762
|
};
|
|
1853
|
-
}) | ({
|
|
1854
|
-
type: "Text";
|
|
1855
|
-
} & {
|
|
1856
|
-
fieldset?: string | null | undefined;
|
|
1857
|
-
config?: {
|
|
1858
|
-
label?: string | null | undefined;
|
|
1859
|
-
useAsTitle?: boolean;
|
|
1860
|
-
placeholder?: string;
|
|
1861
|
-
};
|
|
1862
1763
|
}) | ({
|
|
1863
1764
|
type: "Link";
|
|
1864
1765
|
} & {
|
|
@@ -1872,16 +1773,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1872
1773
|
masks?: readonly string[];
|
|
1873
1774
|
tags?: readonly string[];
|
|
1874
1775
|
allowTargetBlank?: boolean;
|
|
1875
|
-
|
|
1876
|
-
type: "Text";
|
|
1877
|
-
} & {
|
|
1878
|
-
fieldset?: string | null | undefined;
|
|
1879
|
-
config?: {
|
|
1880
|
-
label?: string | null | undefined;
|
|
1881
|
-
useAsTitle?: boolean;
|
|
1882
|
-
placeholder?: string;
|
|
1883
|
-
};
|
|
1884
|
-
};
|
|
1776
|
+
allowText?: boolean;
|
|
1885
1777
|
};
|
|
1886
1778
|
}) | ({
|
|
1887
1779
|
type: "Number";
|
|
@@ -1938,6 +1830,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1938
1830
|
config?: {
|
|
1939
1831
|
label?: string | null | undefined;
|
|
1940
1832
|
};
|
|
1833
|
+
}) | ({
|
|
1834
|
+
type: "Text";
|
|
1835
|
+
} & {
|
|
1836
|
+
fieldset?: string | null | undefined;
|
|
1837
|
+
config?: {
|
|
1838
|
+
label?: string | null | undefined;
|
|
1839
|
+
useAsTitle?: boolean;
|
|
1840
|
+
placeholder?: string;
|
|
1841
|
+
};
|
|
1941
1842
|
}) | ({
|
|
1942
1843
|
type: "Timestamp";
|
|
1943
1844
|
} & {
|
|
@@ -2026,15 +1927,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2026
1927
|
placeholder?: string;
|
|
2027
1928
|
catalog?: string;
|
|
2028
1929
|
};
|
|
2029
|
-
}) | ({
|
|
2030
|
-
type: "Text";
|
|
2031
|
-
} & {
|
|
2032
|
-
fieldset?: string | null | undefined;
|
|
2033
|
-
config?: {
|
|
2034
|
-
label?: string | null | undefined;
|
|
2035
|
-
useAsTitle?: boolean;
|
|
2036
|
-
placeholder?: string;
|
|
2037
|
-
};
|
|
2038
1930
|
}) | ({
|
|
2039
1931
|
type: "Link";
|
|
2040
1932
|
} & {
|
|
@@ -2048,16 +1940,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2048
1940
|
masks?: readonly string[];
|
|
2049
1941
|
tags?: readonly string[];
|
|
2050
1942
|
allowTargetBlank?: boolean;
|
|
2051
|
-
|
|
2052
|
-
type: "Text";
|
|
2053
|
-
} & {
|
|
2054
|
-
fieldset?: string | null | undefined;
|
|
2055
|
-
config?: {
|
|
2056
|
-
label?: string | null | undefined;
|
|
2057
|
-
useAsTitle?: boolean;
|
|
2058
|
-
placeholder?: string;
|
|
2059
|
-
};
|
|
2060
|
-
};
|
|
1943
|
+
allowText?: boolean;
|
|
2061
1944
|
};
|
|
2062
1945
|
}) | ({
|
|
2063
1946
|
type: "Number";
|
|
@@ -2114,6 +1997,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2114
1997
|
config?: {
|
|
2115
1998
|
label?: string | null | undefined;
|
|
2116
1999
|
};
|
|
2000
|
+
}) | ({
|
|
2001
|
+
type: "Text";
|
|
2002
|
+
} & {
|
|
2003
|
+
fieldset?: string | null | undefined;
|
|
2004
|
+
config?: {
|
|
2005
|
+
label?: string | null | undefined;
|
|
2006
|
+
useAsTitle?: boolean;
|
|
2007
|
+
placeholder?: string;
|
|
2008
|
+
};
|
|
2117
2009
|
}) | ({
|
|
2118
2010
|
type: "Timestamp";
|
|
2119
2011
|
} & {
|
|
@@ -2202,15 +2094,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2202
2094
|
placeholder?: string;
|
|
2203
2095
|
catalog?: string;
|
|
2204
2096
|
};
|
|
2205
|
-
}) | ({
|
|
2206
|
-
type: "Text";
|
|
2207
|
-
} & {
|
|
2208
|
-
fieldset?: string | null | undefined;
|
|
2209
|
-
config?: {
|
|
2210
|
-
label?: string | null | undefined;
|
|
2211
|
-
useAsTitle?: boolean;
|
|
2212
|
-
placeholder?: string;
|
|
2213
|
-
};
|
|
2214
2097
|
}) | ({
|
|
2215
2098
|
type: "Link";
|
|
2216
2099
|
} & {
|
|
@@ -2224,16 +2107,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2224
2107
|
masks?: readonly string[];
|
|
2225
2108
|
tags?: readonly string[];
|
|
2226
2109
|
allowTargetBlank?: boolean;
|
|
2227
|
-
|
|
2228
|
-
type: "Text";
|
|
2229
|
-
} & {
|
|
2230
|
-
fieldset?: string | null | undefined;
|
|
2231
|
-
config?: {
|
|
2232
|
-
label?: string | null | undefined;
|
|
2233
|
-
useAsTitle?: boolean;
|
|
2234
|
-
placeholder?: string;
|
|
2235
|
-
};
|
|
2236
|
-
};
|
|
2110
|
+
allowText?: boolean;
|
|
2237
2111
|
};
|
|
2238
2112
|
}) | ({
|
|
2239
2113
|
type: "Number";
|
|
@@ -2290,6 +2164,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2290
2164
|
config?: {
|
|
2291
2165
|
label?: string | null | undefined;
|
|
2292
2166
|
};
|
|
2167
|
+
}) | ({
|
|
2168
|
+
type: "Text";
|
|
2169
|
+
} & {
|
|
2170
|
+
fieldset?: string | null | undefined;
|
|
2171
|
+
config?: {
|
|
2172
|
+
label?: string | null | undefined;
|
|
2173
|
+
useAsTitle?: boolean;
|
|
2174
|
+
placeholder?: string;
|
|
2175
|
+
};
|
|
2293
2176
|
}) | ({
|
|
2294
2177
|
type: "Timestamp";
|
|
2295
2178
|
} & {
|
|
@@ -2377,15 +2260,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2377
2260
|
placeholder?: string;
|
|
2378
2261
|
catalog?: string;
|
|
2379
2262
|
};
|
|
2380
|
-
}) | ({
|
|
2381
|
-
type: "Text";
|
|
2382
|
-
} & {
|
|
2383
|
-
fieldset?: string | null | undefined;
|
|
2384
|
-
config?: {
|
|
2385
|
-
label?: string | null | undefined;
|
|
2386
|
-
useAsTitle?: boolean;
|
|
2387
|
-
placeholder?: string;
|
|
2388
|
-
};
|
|
2389
2263
|
}) | ({
|
|
2390
2264
|
type: "Link";
|
|
2391
2265
|
} & {
|
|
@@ -2399,16 +2273,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2399
2273
|
masks?: readonly string[];
|
|
2400
2274
|
tags?: readonly string[];
|
|
2401
2275
|
allowTargetBlank?: boolean;
|
|
2402
|
-
|
|
2403
|
-
type: "Text";
|
|
2404
|
-
} & {
|
|
2405
|
-
fieldset?: string | null | undefined;
|
|
2406
|
-
config?: {
|
|
2407
|
-
label?: string | null | undefined;
|
|
2408
|
-
useAsTitle?: boolean;
|
|
2409
|
-
placeholder?: string;
|
|
2410
|
-
};
|
|
2411
|
-
};
|
|
2276
|
+
allowText?: boolean;
|
|
2412
2277
|
};
|
|
2413
2278
|
}) | ({
|
|
2414
2279
|
type: "Number";
|
|
@@ -2465,6 +2330,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2465
2330
|
config?: {
|
|
2466
2331
|
label?: string | null | undefined;
|
|
2467
2332
|
};
|
|
2333
|
+
}) | ({
|
|
2334
|
+
type: "Text";
|
|
2335
|
+
} & {
|
|
2336
|
+
fieldset?: string | null | undefined;
|
|
2337
|
+
config?: {
|
|
2338
|
+
label?: string | null | undefined;
|
|
2339
|
+
useAsTitle?: boolean;
|
|
2340
|
+
placeholder?: string;
|
|
2341
|
+
};
|
|
2468
2342
|
}) | ({
|
|
2469
2343
|
type: "Timestamp";
|
|
2470
2344
|
} & {
|
|
@@ -2624,16 +2498,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2624
2498
|
masks: t.Type<readonly string[], object, unknown>;
|
|
2625
2499
|
tags: t.Type<readonly string[], object, unknown>;
|
|
2626
2500
|
allowTargetBlank: t.BooleanC;
|
|
2627
|
-
|
|
2628
|
-
type: t.LiteralC<"Text">;
|
|
2629
|
-
}>, t.PartialC<{
|
|
2630
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2631
|
-
config: t.ExactC<t.PartialC<{
|
|
2632
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2633
|
-
useAsTitle: t.BooleanC;
|
|
2634
|
-
placeholder: t.StringC;
|
|
2635
|
-
}>>;
|
|
2636
|
-
}>]>>;
|
|
2501
|
+
allowText: t.BooleanC;
|
|
2637
2502
|
}>>;
|
|
2638
2503
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2639
2504
|
type: t.LiteralC<"Image">;
|
|
@@ -2799,16 +2664,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2799
2664
|
masks: t.Type<readonly string[], object, unknown>;
|
|
2800
2665
|
tags: t.Type<readonly string[], object, unknown>;
|
|
2801
2666
|
allowTargetBlank: t.BooleanC;
|
|
2802
|
-
|
|
2803
|
-
type: t.LiteralC<"Text">;
|
|
2804
|
-
}>, t.PartialC<{
|
|
2805
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2806
|
-
config: t.ExactC<t.PartialC<{
|
|
2807
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2808
|
-
useAsTitle: t.BooleanC;
|
|
2809
|
-
placeholder: t.StringC;
|
|
2810
|
-
}>>;
|
|
2811
|
-
}>]>>;
|
|
2667
|
+
allowText: t.BooleanC;
|
|
2812
2668
|
}>>;
|
|
2813
2669
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2814
2670
|
type: t.LiteralC<"Image">;
|
|
@@ -2974,16 +2830,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2974
2830
|
masks: t.Type<readonly string[], object, unknown>;
|
|
2975
2831
|
tags: t.Type<readonly string[], object, unknown>;
|
|
2976
2832
|
allowTargetBlank: t.BooleanC;
|
|
2977
|
-
|
|
2978
|
-
type: t.LiteralC<"Text">;
|
|
2979
|
-
}>, t.PartialC<{
|
|
2980
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2981
|
-
config: t.ExactC<t.PartialC<{
|
|
2982
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2983
|
-
useAsTitle: t.BooleanC;
|
|
2984
|
-
placeholder: t.StringC;
|
|
2985
|
-
}>>;
|
|
2986
|
-
}>]>>;
|
|
2833
|
+
allowText: t.BooleanC;
|
|
2987
2834
|
}>>;
|
|
2988
2835
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2989
2836
|
type: t.LiteralC<"Image">;
|
|
@@ -3099,15 +2946,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3099
2946
|
placeholder?: string;
|
|
3100
2947
|
catalog?: string;
|
|
3101
2948
|
};
|
|
3102
|
-
}) | ({
|
|
3103
|
-
type: "Text";
|
|
3104
|
-
} & {
|
|
3105
|
-
fieldset?: string | null | undefined;
|
|
3106
|
-
config?: {
|
|
3107
|
-
label?: string | null | undefined;
|
|
3108
|
-
useAsTitle?: boolean;
|
|
3109
|
-
placeholder?: string;
|
|
3110
|
-
};
|
|
3111
2949
|
}) | ({
|
|
3112
2950
|
type: "Link";
|
|
3113
2951
|
} & {
|
|
@@ -3121,16 +2959,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3121
2959
|
masks?: readonly string[];
|
|
3122
2960
|
tags?: readonly string[];
|
|
3123
2961
|
allowTargetBlank?: boolean;
|
|
3124
|
-
|
|
3125
|
-
type: "Text";
|
|
3126
|
-
} & {
|
|
3127
|
-
fieldset?: string | null | undefined;
|
|
3128
|
-
config?: {
|
|
3129
|
-
label?: string | null | undefined;
|
|
3130
|
-
useAsTitle?: boolean;
|
|
3131
|
-
placeholder?: string;
|
|
3132
|
-
};
|
|
3133
|
-
};
|
|
2962
|
+
allowText?: boolean;
|
|
3134
2963
|
};
|
|
3135
2964
|
}) | ({
|
|
3136
2965
|
type: "Number";
|
|
@@ -3187,6 +3016,15 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3187
3016
|
config?: {
|
|
3188
3017
|
label?: string | null | undefined;
|
|
3189
3018
|
};
|
|
3019
|
+
}) | ({
|
|
3020
|
+
type: "Text";
|
|
3021
|
+
} & {
|
|
3022
|
+
fieldset?: string | null | undefined;
|
|
3023
|
+
config?: {
|
|
3024
|
+
label?: string | null | undefined;
|
|
3025
|
+
useAsTitle?: boolean;
|
|
3026
|
+
placeholder?: string;
|
|
3027
|
+
};
|
|
3190
3028
|
}) | ({
|
|
3191
3029
|
type: "Timestamp";
|
|
3192
3030
|
} & {
|
|
@@ -3275,15 +3113,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3275
3113
|
placeholder?: string;
|
|
3276
3114
|
catalog?: string;
|
|
3277
3115
|
};
|
|
3278
|
-
}) | ({
|
|
3279
|
-
type: "Text";
|
|
3280
|
-
} & {
|
|
3281
|
-
fieldset?: string | null | undefined;
|
|
3282
|
-
config?: {
|
|
3283
|
-
label?: string | null | undefined;
|
|
3284
|
-
useAsTitle?: boolean;
|
|
3285
|
-
placeholder?: string;
|
|
3286
|
-
};
|
|
3287
3116
|
}) | ({
|
|
3288
3117
|
type: "Link";
|
|
3289
3118
|
} & {
|
|
@@ -3297,16 +3126,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3297
3126
|
masks?: readonly string[];
|
|
3298
3127
|
tags?: readonly string[];
|
|
3299
3128
|
allowTargetBlank?: boolean;
|
|
3300
|
-
|
|
3301
|
-
type: "Text";
|
|
3302
|
-
} & {
|
|
3303
|
-
fieldset?: string | null | undefined;
|
|
3304
|
-
config?: {
|
|
3305
|
-
label?: string | null | undefined;
|
|
3306
|
-
useAsTitle?: boolean;
|
|
3307
|
-
placeholder?: string;
|
|
3308
|
-
};
|
|
3309
|
-
};
|
|
3129
|
+
allowText?: boolean;
|
|
3310
3130
|
};
|
|
3311
3131
|
}) | ({
|
|
3312
3132
|
type: "Number";
|
|
@@ -3363,6 +3183,15 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3363
3183
|
config?: {
|
|
3364
3184
|
label?: string | null | undefined;
|
|
3365
3185
|
};
|
|
3186
|
+
}) | ({
|
|
3187
|
+
type: "Text";
|
|
3188
|
+
} & {
|
|
3189
|
+
fieldset?: string | null | undefined;
|
|
3190
|
+
config?: {
|
|
3191
|
+
label?: string | null | undefined;
|
|
3192
|
+
useAsTitle?: boolean;
|
|
3193
|
+
placeholder?: string;
|
|
3194
|
+
};
|
|
3366
3195
|
}) | ({
|
|
3367
3196
|
type: "Timestamp";
|
|
3368
3197
|
} & {
|
|
@@ -3452,15 +3281,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3452
3281
|
placeholder?: string;
|
|
3453
3282
|
catalog?: string;
|
|
3454
3283
|
};
|
|
3455
|
-
}) | ({
|
|
3456
|
-
type: "Text";
|
|
3457
|
-
} & {
|
|
3458
|
-
fieldset?: string | null | undefined;
|
|
3459
|
-
config?: {
|
|
3460
|
-
label?: string | null | undefined;
|
|
3461
|
-
useAsTitle?: boolean;
|
|
3462
|
-
placeholder?: string;
|
|
3463
|
-
};
|
|
3464
3284
|
}) | ({
|
|
3465
3285
|
type: "Link";
|
|
3466
3286
|
} & {
|
|
@@ -3474,16 +3294,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3474
3294
|
masks?: readonly string[];
|
|
3475
3295
|
tags?: readonly string[];
|
|
3476
3296
|
allowTargetBlank?: boolean;
|
|
3477
|
-
|
|
3478
|
-
type: "Text";
|
|
3479
|
-
} & {
|
|
3480
|
-
fieldset?: string | null | undefined;
|
|
3481
|
-
config?: {
|
|
3482
|
-
label?: string | null | undefined;
|
|
3483
|
-
useAsTitle?: boolean;
|
|
3484
|
-
placeholder?: string;
|
|
3485
|
-
};
|
|
3486
|
-
};
|
|
3297
|
+
allowText?: boolean;
|
|
3487
3298
|
};
|
|
3488
3299
|
}) | ({
|
|
3489
3300
|
type: "Number";
|
|
@@ -3540,6 +3351,15 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3540
3351
|
config?: {
|
|
3541
3352
|
label?: string | null | undefined;
|
|
3542
3353
|
};
|
|
3354
|
+
}) | ({
|
|
3355
|
+
type: "Text";
|
|
3356
|
+
} & {
|
|
3357
|
+
fieldset?: string | null | undefined;
|
|
3358
|
+
config?: {
|
|
3359
|
+
label?: string | null | undefined;
|
|
3360
|
+
useAsTitle?: boolean;
|
|
3361
|
+
placeholder?: string;
|
|
3362
|
+
};
|
|
3543
3363
|
}) | ({
|
|
3544
3364
|
type: "Timestamp";
|
|
3545
3365
|
} & {
|
|
@@ -3621,15 +3441,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3621
3441
|
placeholder?: string;
|
|
3622
3442
|
catalog?: string;
|
|
3623
3443
|
};
|
|
3624
|
-
}) | ({
|
|
3625
|
-
type: "Text";
|
|
3626
|
-
} & {
|
|
3627
|
-
fieldset?: string | null | undefined;
|
|
3628
|
-
config?: {
|
|
3629
|
-
label?: string | null | undefined;
|
|
3630
|
-
useAsTitle?: boolean;
|
|
3631
|
-
placeholder?: string;
|
|
3632
|
-
};
|
|
3633
3444
|
}) | ({
|
|
3634
3445
|
type: "Link";
|
|
3635
3446
|
} & {
|
|
@@ -3643,16 +3454,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3643
3454
|
masks?: readonly string[];
|
|
3644
3455
|
tags?: readonly string[];
|
|
3645
3456
|
allowTargetBlank?: boolean;
|
|
3646
|
-
|
|
3647
|
-
type: "Text";
|
|
3648
|
-
} & {
|
|
3649
|
-
fieldset?: string | null | undefined;
|
|
3650
|
-
config?: {
|
|
3651
|
-
label?: string | null | undefined;
|
|
3652
|
-
useAsTitle?: boolean;
|
|
3653
|
-
placeholder?: string;
|
|
3654
|
-
};
|
|
3655
|
-
};
|
|
3457
|
+
allowText?: boolean;
|
|
3656
3458
|
};
|
|
3657
3459
|
}) | ({
|
|
3658
3460
|
type: "Number";
|
|
@@ -3709,6 +3511,15 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3709
3511
|
config?: {
|
|
3710
3512
|
label?: string | null | undefined;
|
|
3711
3513
|
};
|
|
3514
|
+
}) | ({
|
|
3515
|
+
type: "Text";
|
|
3516
|
+
} & {
|
|
3517
|
+
fieldset?: string | null | undefined;
|
|
3518
|
+
config?: {
|
|
3519
|
+
label?: string | null | undefined;
|
|
3520
|
+
useAsTitle?: boolean;
|
|
3521
|
+
placeholder?: string;
|
|
3522
|
+
};
|
|
3712
3523
|
}) | ({
|
|
3713
3524
|
type: "Timestamp";
|
|
3714
3525
|
} & {
|