@prismicio/types-internal 2.7.0-alpha.3 → 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 +2118 -798
- package/lib/content/fields/WidgetContent.d.ts +2118 -798
- package/lib/content/fields/nestable/LinkContent.d.ts +248 -85
- package/lib/content/fields/nestable/LinkContent.js +96 -42
- package/lib/content/fields/nestable/NestableContent.d.ts +353 -133
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +654 -234
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +320 -120
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +706 -266
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +161 -61
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +706 -266
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +353 -133
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +353 -133
- package/lib/content/fields/slices/Slice/index.d.ts +1285 -485
- package/lib/content/fields/slices/SliceItem.d.ts +1285 -485
- package/lib/content/fields/slices/SlicesContent.d.ts +1766 -666
- package/lib/customtypes/CustomType.d.ts +18 -320
- package/lib/customtypes/Section.d.ts +18 -320
- package/lib/customtypes/diff/SharedSlice.d.ts +8 -160
- package/lib/customtypes/diff/Variation.d.ts +8 -160
- package/lib/customtypes/widgets/Group.d.ts +18 -315
- package/lib/customtypes/widgets/Group.js +5 -43
- package/lib/customtypes/widgets/Widget.d.ts +33 -412
- package/lib/customtypes/widgets/nestable/Link.d.ts +2 -0
- package/lib/customtypes/widgets/nestable/Link.js +1 -0
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +1 -0
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -0
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +4 -42
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +16 -168
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +10 -164
- package/lib/customtypes/widgets/slices/Slices.d.ts +34 -366
- package/package.json +1 -1
- package/src/content/fields/nestable/LinkContent.ts +121 -50
- package/src/customtypes/widgets/Group.ts +6 -52
- package/src/customtypes/widgets/nestable/Link.ts +1 -0
|
@@ -144,6 +144,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
|
|
|
144
144
|
masks: t.Type<readonly string[], object, unknown>;
|
|
145
145
|
tags: t.Type<readonly string[], object, unknown>;
|
|
146
146
|
allowTargetBlank: t.BooleanC;
|
|
147
|
+
allowText: t.BooleanC;
|
|
147
148
|
}>>;
|
|
148
149
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
149
150
|
type: t.LiteralC<"Image">;
|
|
@@ -172,47 +173,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
|
|
|
172
173
|
placeholder: t.StringC;
|
|
173
174
|
catalog: t.StringC;
|
|
174
175
|
}>>;
|
|
175
|
-
}>]>>]>, t.
|
|
176
|
-
type: t.LiteralC<"Group">;
|
|
177
|
-
}>, t.PartialC<{
|
|
178
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
179
|
-
icon: t.StringC;
|
|
180
|
-
description: t.StringC;
|
|
181
|
-
config: t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
182
|
-
as: t.LiteralC<"Link">;
|
|
183
|
-
fields: t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
184
|
-
link: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
185
|
-
type: t.LiteralC<"Link">;
|
|
186
|
-
}>, t.PartialC<{
|
|
187
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
188
|
-
config: t.ExactC<t.PartialC<{
|
|
189
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
190
|
-
useAsTitle: t.BooleanC;
|
|
191
|
-
placeholder: t.StringC;
|
|
192
|
-
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
193
|
-
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
194
|
-
masks: t.Type<readonly string[], object, unknown>;
|
|
195
|
-
tags: t.Type<readonly string[], object, unknown>;
|
|
196
|
-
allowTargetBlank: t.BooleanC;
|
|
197
|
-
}>>;
|
|
198
|
-
}>]>>;
|
|
199
|
-
}>>, t.ExactC<t.PartialC<{
|
|
200
|
-
text: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
201
|
-
type: t.LiteralC<"Text">;
|
|
202
|
-
}>, t.PartialC<{
|
|
203
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
204
|
-
config: t.ExactC<t.PartialC<{
|
|
205
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
206
|
-
useAsTitle: t.BooleanC;
|
|
207
|
-
placeholder: t.StringC;
|
|
208
|
-
}>>;
|
|
209
|
-
}>]>>;
|
|
210
|
-
}>>]>;
|
|
211
|
-
}>>, t.ExactC<t.PartialC<{
|
|
212
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
213
|
-
repeat: t.BooleanC;
|
|
214
|
-
}>>]>;
|
|
215
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
176
|
+
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
216
177
|
type: t.LiteralC<"Group">;
|
|
217
178
|
}>, t.PartialC<{
|
|
218
179
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -349,6 +310,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
|
|
|
349
310
|
masks: t.Type<readonly string[], object, unknown>;
|
|
350
311
|
tags: t.Type<readonly string[], object, unknown>;
|
|
351
312
|
allowTargetBlank: t.BooleanC;
|
|
313
|
+
allowText: t.BooleanC;
|
|
352
314
|
}>>;
|
|
353
315
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
354
316
|
type: t.LiteralC<"Image">;
|
|
@@ -379,7 +341,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
|
|
|
379
341
|
}>>;
|
|
380
342
|
}>]>>]>>;
|
|
381
343
|
}>>;
|
|
382
|
-
}>]>>]
|
|
344
|
+
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
383
345
|
type: t.LiteralC<"Slice">;
|
|
384
346
|
}>, t.PartialC<{
|
|
385
347
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -514,6 +476,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
|
|
|
514
476
|
masks: t.Type<readonly string[], object, unknown>;
|
|
515
477
|
tags: t.Type<readonly string[], object, unknown>;
|
|
516
478
|
allowTargetBlank: t.BooleanC;
|
|
479
|
+
allowText: t.BooleanC;
|
|
517
480
|
}>>;
|
|
518
481
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
519
482
|
type: t.LiteralC<"Image">;
|
|
@@ -671,6 +634,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
|
|
|
671
634
|
masks: t.Type<readonly string[], object, unknown>;
|
|
672
635
|
tags: t.Type<readonly string[], object, unknown>;
|
|
673
636
|
allowTargetBlank: t.BooleanC;
|
|
637
|
+
allowText: t.BooleanC;
|
|
674
638
|
}>>;
|
|
675
639
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
676
640
|
type: t.LiteralC<"Image">;
|
|
@@ -840,6 +804,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
840
804
|
masks: t.Type<readonly string[], object, unknown>;
|
|
841
805
|
tags: t.Type<readonly string[], object, unknown>;
|
|
842
806
|
allowTargetBlank: t.BooleanC;
|
|
807
|
+
allowText: t.BooleanC;
|
|
843
808
|
}>>;
|
|
844
809
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
845
810
|
type: t.LiteralC<"Image">;
|
|
@@ -868,47 +833,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
868
833
|
placeholder: t.StringC;
|
|
869
834
|
catalog: t.StringC;
|
|
870
835
|
}>>;
|
|
871
|
-
}>]>>]>, t.
|
|
872
|
-
type: t.LiteralC<"Group">;
|
|
873
|
-
}>, t.PartialC<{
|
|
874
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
875
|
-
icon: t.StringC;
|
|
876
|
-
description: t.StringC;
|
|
877
|
-
config: t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
878
|
-
as: t.LiteralC<"Link">;
|
|
879
|
-
fields: t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
880
|
-
link: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
881
|
-
type: t.LiteralC<"Link">;
|
|
882
|
-
}>, t.PartialC<{
|
|
883
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
884
|
-
config: t.ExactC<t.PartialC<{
|
|
885
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
886
|
-
useAsTitle: t.BooleanC;
|
|
887
|
-
placeholder: t.StringC;
|
|
888
|
-
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
889
|
-
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
890
|
-
masks: t.Type<readonly string[], object, unknown>;
|
|
891
|
-
tags: t.Type<readonly string[], object, unknown>;
|
|
892
|
-
allowTargetBlank: t.BooleanC;
|
|
893
|
-
}>>;
|
|
894
|
-
}>]>>;
|
|
895
|
-
}>>, t.ExactC<t.PartialC<{
|
|
896
|
-
text: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
897
|
-
type: t.LiteralC<"Text">;
|
|
898
|
-
}>, t.PartialC<{
|
|
899
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
900
|
-
config: t.ExactC<t.PartialC<{
|
|
901
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
902
|
-
useAsTitle: t.BooleanC;
|
|
903
|
-
placeholder: t.StringC;
|
|
904
|
-
}>>;
|
|
905
|
-
}>]>>;
|
|
906
|
-
}>>]>;
|
|
907
|
-
}>>, t.ExactC<t.PartialC<{
|
|
908
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
909
|
-
repeat: t.BooleanC;
|
|
910
|
-
}>>]>;
|
|
911
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
836
|
+
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
912
837
|
type: t.LiteralC<"Group">;
|
|
913
838
|
}>, t.PartialC<{
|
|
914
839
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -1045,6 +970,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1045
970
|
masks: t.Type<readonly string[], object, unknown>;
|
|
1046
971
|
tags: t.Type<readonly string[], object, unknown>;
|
|
1047
972
|
allowTargetBlank: t.BooleanC;
|
|
973
|
+
allowText: t.BooleanC;
|
|
1048
974
|
}>>;
|
|
1049
975
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1050
976
|
type: t.LiteralC<"Image">;
|
|
@@ -1075,7 +1001,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1075
1001
|
}>>;
|
|
1076
1002
|
}>]>>]>>;
|
|
1077
1003
|
}>>;
|
|
1078
|
-
}>]>>]
|
|
1004
|
+
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1079
1005
|
type: t.LiteralC<"Slice">;
|
|
1080
1006
|
}>, t.PartialC<{
|
|
1081
1007
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -1210,6 +1136,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1210
1136
|
masks: t.Type<readonly string[], object, unknown>;
|
|
1211
1137
|
tags: t.Type<readonly string[], object, unknown>;
|
|
1212
1138
|
allowTargetBlank: t.BooleanC;
|
|
1139
|
+
allowText: t.BooleanC;
|
|
1213
1140
|
}>>;
|
|
1214
1141
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1215
1142
|
type: t.LiteralC<"Image">;
|
|
@@ -1367,6 +1294,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1367
1294
|
masks: t.Type<readonly string[], object, unknown>;
|
|
1368
1295
|
tags: t.Type<readonly string[], object, unknown>;
|
|
1369
1296
|
allowTargetBlank: t.BooleanC;
|
|
1297
|
+
allowText: t.BooleanC;
|
|
1370
1298
|
}>>;
|
|
1371
1299
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1372
1300
|
type: t.LiteralC<"Image">;
|
|
@@ -1495,6 +1423,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1495
1423
|
masks?: readonly string[];
|
|
1496
1424
|
tags?: readonly string[];
|
|
1497
1425
|
allowTargetBlank?: boolean;
|
|
1426
|
+
allowText?: boolean;
|
|
1498
1427
|
};
|
|
1499
1428
|
}) | ({
|
|
1500
1429
|
type: "Number";
|
|
@@ -1571,46 +1500,6 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1571
1500
|
};
|
|
1572
1501
|
}) | ({
|
|
1573
1502
|
type: "Group";
|
|
1574
|
-
} & {
|
|
1575
|
-
fieldset?: string | null | undefined;
|
|
1576
|
-
icon?: string;
|
|
1577
|
-
description?: string;
|
|
1578
|
-
config?: {
|
|
1579
|
-
as: "Link";
|
|
1580
|
-
fields: {
|
|
1581
|
-
link: {
|
|
1582
|
-
type: "Link";
|
|
1583
|
-
} & {
|
|
1584
|
-
fieldset?: string | null | undefined;
|
|
1585
|
-
config?: {
|
|
1586
|
-
label?: string | null | undefined;
|
|
1587
|
-
useAsTitle?: boolean;
|
|
1588
|
-
placeholder?: string;
|
|
1589
|
-
select?: "media" | "document" | "web" | null;
|
|
1590
|
-
customtypes?: readonly string[];
|
|
1591
|
-
masks?: readonly string[];
|
|
1592
|
-
tags?: readonly string[];
|
|
1593
|
-
allowTargetBlank?: boolean;
|
|
1594
|
-
};
|
|
1595
|
-
};
|
|
1596
|
-
} & {
|
|
1597
|
-
text?: {
|
|
1598
|
-
type: "Text";
|
|
1599
|
-
} & {
|
|
1600
|
-
fieldset?: string | null | undefined;
|
|
1601
|
-
config?: {
|
|
1602
|
-
label?: string | null | undefined;
|
|
1603
|
-
useAsTitle?: boolean;
|
|
1604
|
-
placeholder?: string;
|
|
1605
|
-
};
|
|
1606
|
-
};
|
|
1607
|
-
};
|
|
1608
|
-
} & {
|
|
1609
|
-
label?: string | null | undefined;
|
|
1610
|
-
repeat?: boolean;
|
|
1611
|
-
};
|
|
1612
|
-
}) | ({
|
|
1613
|
-
type: "Group";
|
|
1614
1503
|
} & {
|
|
1615
1504
|
fieldset?: string | null | undefined;
|
|
1616
1505
|
icon?: string;
|
|
@@ -1701,6 +1590,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1701
1590
|
masks?: readonly string[];
|
|
1702
1591
|
tags?: readonly string[];
|
|
1703
1592
|
allowTargetBlank?: boolean;
|
|
1593
|
+
allowText?: boolean;
|
|
1704
1594
|
};
|
|
1705
1595
|
}) | ({
|
|
1706
1596
|
type: "Number";
|
|
@@ -1777,46 +1667,6 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1777
1667
|
};
|
|
1778
1668
|
}) | ({
|
|
1779
1669
|
type: "Group";
|
|
1780
|
-
} & {
|
|
1781
|
-
fieldset?: string | null | undefined;
|
|
1782
|
-
icon?: string;
|
|
1783
|
-
description?: string;
|
|
1784
|
-
config?: {
|
|
1785
|
-
as: "Link";
|
|
1786
|
-
fields: {
|
|
1787
|
-
link: {
|
|
1788
|
-
type: "Link";
|
|
1789
|
-
} & {
|
|
1790
|
-
fieldset?: string | null | undefined;
|
|
1791
|
-
config?: {
|
|
1792
|
-
label?: string | null | undefined;
|
|
1793
|
-
useAsTitle?: boolean;
|
|
1794
|
-
placeholder?: string;
|
|
1795
|
-
select?: "media" | "document" | "web" | null;
|
|
1796
|
-
customtypes?: readonly string[];
|
|
1797
|
-
masks?: readonly string[];
|
|
1798
|
-
tags?: readonly string[];
|
|
1799
|
-
allowTargetBlank?: boolean;
|
|
1800
|
-
};
|
|
1801
|
-
};
|
|
1802
|
-
} & {
|
|
1803
|
-
text?: {
|
|
1804
|
-
type: "Text";
|
|
1805
|
-
} & {
|
|
1806
|
-
fieldset?: string | null | undefined;
|
|
1807
|
-
config?: {
|
|
1808
|
-
label?: string | null | undefined;
|
|
1809
|
-
useAsTitle?: boolean;
|
|
1810
|
-
placeholder?: string;
|
|
1811
|
-
};
|
|
1812
|
-
};
|
|
1813
|
-
};
|
|
1814
|
-
} & {
|
|
1815
|
-
label?: string | null | undefined;
|
|
1816
|
-
repeat?: boolean;
|
|
1817
|
-
};
|
|
1818
|
-
}) | ({
|
|
1819
|
-
type: "Group";
|
|
1820
1670
|
} & {
|
|
1821
1671
|
fieldset?: string | null | undefined;
|
|
1822
1672
|
icon?: string;
|
|
@@ -1907,6 +1757,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1907
1757
|
masks?: readonly string[];
|
|
1908
1758
|
tags?: readonly string[];
|
|
1909
1759
|
allowTargetBlank?: boolean;
|
|
1760
|
+
allowText?: boolean;
|
|
1910
1761
|
};
|
|
1911
1762
|
}) | ({
|
|
1912
1763
|
type: "Number";
|
|
@@ -2072,6 +1923,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
2072
1923
|
masks?: readonly string[];
|
|
2073
1924
|
tags?: readonly string[];
|
|
2074
1925
|
allowTargetBlank?: boolean;
|
|
1926
|
+
allowText?: boolean;
|
|
2075
1927
|
};
|
|
2076
1928
|
}) | ({
|
|
2077
1929
|
type: "Number";
|
|
@@ -2292,6 +2144,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
2292
2144
|
masks: t.Type<readonly string[], object, unknown>;
|
|
2293
2145
|
tags: t.Type<readonly string[], object, unknown>;
|
|
2294
2146
|
allowTargetBlank: t.BooleanC;
|
|
2147
|
+
allowText: t.BooleanC;
|
|
2295
2148
|
}>>;
|
|
2296
2149
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2297
2150
|
type: t.LiteralC<"Image">;
|
|
@@ -2320,47 +2173,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
2320
2173
|
placeholder: t.StringC;
|
|
2321
2174
|
catalog: t.StringC;
|
|
2322
2175
|
}>>;
|
|
2323
|
-
}>]>>]>, t.
|
|
2324
|
-
type: t.LiteralC<"Group">;
|
|
2325
|
-
}>, t.PartialC<{
|
|
2326
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2327
|
-
icon: t.StringC;
|
|
2328
|
-
description: t.StringC;
|
|
2329
|
-
config: t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2330
|
-
as: t.LiteralC<"Link">;
|
|
2331
|
-
fields: t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2332
|
-
link: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2333
|
-
type: t.LiteralC<"Link">;
|
|
2334
|
-
}>, t.PartialC<{
|
|
2335
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2336
|
-
config: t.ExactC<t.PartialC<{
|
|
2337
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2338
|
-
useAsTitle: t.BooleanC;
|
|
2339
|
-
placeholder: t.StringC;
|
|
2340
|
-
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
2341
|
-
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
2342
|
-
masks: t.Type<readonly string[], object, unknown>;
|
|
2343
|
-
tags: t.Type<readonly string[], object, unknown>;
|
|
2344
|
-
allowTargetBlank: t.BooleanC;
|
|
2345
|
-
}>>;
|
|
2346
|
-
}>]>>;
|
|
2347
|
-
}>>, t.ExactC<t.PartialC<{
|
|
2348
|
-
text: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2349
|
-
type: t.LiteralC<"Text">;
|
|
2350
|
-
}>, t.PartialC<{
|
|
2351
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2352
|
-
config: t.ExactC<t.PartialC<{
|
|
2353
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2354
|
-
useAsTitle: t.BooleanC;
|
|
2355
|
-
placeholder: t.StringC;
|
|
2356
|
-
}>>;
|
|
2357
|
-
}>]>>;
|
|
2358
|
-
}>>]>;
|
|
2359
|
-
}>>, t.ExactC<t.PartialC<{
|
|
2360
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2361
|
-
repeat: t.BooleanC;
|
|
2362
|
-
}>>]>;
|
|
2363
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2176
|
+
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2364
2177
|
type: t.LiteralC<"Group">;
|
|
2365
2178
|
}>, t.PartialC<{
|
|
2366
2179
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -2497,6 +2310,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
2497
2310
|
masks: t.Type<readonly string[], object, unknown>;
|
|
2498
2311
|
tags: t.Type<readonly string[], object, unknown>;
|
|
2499
2312
|
allowTargetBlank: t.BooleanC;
|
|
2313
|
+
allowText: t.BooleanC;
|
|
2500
2314
|
}>>;
|
|
2501
2315
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2502
2316
|
type: t.LiteralC<"Image">;
|
|
@@ -2527,7 +2341,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
2527
2341
|
}>>;
|
|
2528
2342
|
}>]>>]>>;
|
|
2529
2343
|
}>>;
|
|
2530
|
-
}>]>>]
|
|
2344
|
+
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2531
2345
|
type: t.LiteralC<"Slice">;
|
|
2532
2346
|
}>, t.PartialC<{
|
|
2533
2347
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -2662,6 +2476,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
2662
2476
|
masks: t.Type<readonly string[], object, unknown>;
|
|
2663
2477
|
tags: t.Type<readonly string[], object, unknown>;
|
|
2664
2478
|
allowTargetBlank: t.BooleanC;
|
|
2479
|
+
allowText: t.BooleanC;
|
|
2665
2480
|
}>>;
|
|
2666
2481
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2667
2482
|
type: t.LiteralC<"Image">;
|
|
@@ -2819,6 +2634,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
2819
2634
|
masks: t.Type<readonly string[], object, unknown>;
|
|
2820
2635
|
tags: t.Type<readonly string[], object, unknown>;
|
|
2821
2636
|
allowTargetBlank: t.BooleanC;
|
|
2637
|
+
allowText: t.BooleanC;
|
|
2822
2638
|
}>>;
|
|
2823
2639
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2824
2640
|
type: t.LiteralC<"Image">;
|
|
@@ -2964,6 +2780,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2964
2780
|
masks?: readonly string[];
|
|
2965
2781
|
tags?: readonly string[];
|
|
2966
2782
|
allowTargetBlank?: boolean;
|
|
2783
|
+
allowText?: boolean;
|
|
2967
2784
|
};
|
|
2968
2785
|
}) | ({
|
|
2969
2786
|
type: "Number";
|
|
@@ -3040,46 +2857,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3040
2857
|
};
|
|
3041
2858
|
}) | ({
|
|
3042
2859
|
type: "Group";
|
|
3043
|
-
} & {
|
|
3044
|
-
fieldset?: string | null | undefined;
|
|
3045
|
-
icon?: string;
|
|
3046
|
-
description?: string;
|
|
3047
|
-
config?: {
|
|
3048
|
-
as: "Link";
|
|
3049
|
-
fields: {
|
|
3050
|
-
link: {
|
|
3051
|
-
type: "Link";
|
|
3052
|
-
} & {
|
|
3053
|
-
fieldset?: string | null | undefined;
|
|
3054
|
-
config?: {
|
|
3055
|
-
label?: string | null | undefined;
|
|
3056
|
-
useAsTitle?: boolean;
|
|
3057
|
-
placeholder?: string;
|
|
3058
|
-
select?: "media" | "document" | "web" | null;
|
|
3059
|
-
customtypes?: readonly string[];
|
|
3060
|
-
masks?: readonly string[];
|
|
3061
|
-
tags?: readonly string[];
|
|
3062
|
-
allowTargetBlank?: boolean;
|
|
3063
|
-
};
|
|
3064
|
-
};
|
|
3065
|
-
} & {
|
|
3066
|
-
text?: {
|
|
3067
|
-
type: "Text";
|
|
3068
|
-
} & {
|
|
3069
|
-
fieldset?: string | null | undefined;
|
|
3070
|
-
config?: {
|
|
3071
|
-
label?: string | null | undefined;
|
|
3072
|
-
useAsTitle?: boolean;
|
|
3073
|
-
placeholder?: string;
|
|
3074
|
-
};
|
|
3075
|
-
};
|
|
3076
|
-
};
|
|
3077
|
-
} & {
|
|
3078
|
-
label?: string | null | undefined;
|
|
3079
|
-
repeat?: boolean;
|
|
3080
|
-
};
|
|
3081
|
-
}) | ({
|
|
3082
|
-
type: "Group";
|
|
3083
2860
|
} & {
|
|
3084
2861
|
fieldset?: string | null | undefined;
|
|
3085
2862
|
icon?: string;
|
|
@@ -3170,6 +2947,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3170
2947
|
masks?: readonly string[];
|
|
3171
2948
|
tags?: readonly string[];
|
|
3172
2949
|
allowTargetBlank?: boolean;
|
|
2950
|
+
allowText?: boolean;
|
|
3173
2951
|
};
|
|
3174
2952
|
}) | ({
|
|
3175
2953
|
type: "Number";
|
|
@@ -3337,6 +3115,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3337
3115
|
masks?: readonly string[];
|
|
3338
3116
|
tags?: readonly string[];
|
|
3339
3117
|
allowTargetBlank?: boolean;
|
|
3118
|
+
allowText?: boolean;
|
|
3340
3119
|
};
|
|
3341
3120
|
}) | ({
|
|
3342
3121
|
type: "Number";
|
|
@@ -3496,6 +3275,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3496
3275
|
masks?: readonly string[];
|
|
3497
3276
|
tags?: readonly string[];
|
|
3498
3277
|
allowTargetBlank?: boolean;
|
|
3278
|
+
allowText?: boolean;
|
|
3499
3279
|
};
|
|
3500
3280
|
}) | ({
|
|
3501
3281
|
type: "Number";
|
|
@@ -3671,6 +3451,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3671
3451
|
masks?: readonly string[];
|
|
3672
3452
|
tags?: readonly string[];
|
|
3673
3453
|
allowTargetBlank?: boolean;
|
|
3454
|
+
allowText?: boolean;
|
|
3674
3455
|
};
|
|
3675
3456
|
}) | ({
|
|
3676
3457
|
type: "Number";
|
|
@@ -3747,46 +3528,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3747
3528
|
};
|
|
3748
3529
|
}) | ({
|
|
3749
3530
|
type: "Group";
|
|
3750
|
-
} & {
|
|
3751
|
-
fieldset?: string | null | undefined;
|
|
3752
|
-
icon?: string;
|
|
3753
|
-
description?: string;
|
|
3754
|
-
config?: {
|
|
3755
|
-
as: "Link";
|
|
3756
|
-
fields: {
|
|
3757
|
-
link: {
|
|
3758
|
-
type: "Link";
|
|
3759
|
-
} & {
|
|
3760
|
-
fieldset?: string | null | undefined;
|
|
3761
|
-
config?: {
|
|
3762
|
-
label?: string | null | undefined;
|
|
3763
|
-
useAsTitle?: boolean;
|
|
3764
|
-
placeholder?: string;
|
|
3765
|
-
select?: "media" | "document" | "web" | null;
|
|
3766
|
-
customtypes?: readonly string[];
|
|
3767
|
-
masks?: readonly string[];
|
|
3768
|
-
tags?: readonly string[];
|
|
3769
|
-
allowTargetBlank?: boolean;
|
|
3770
|
-
};
|
|
3771
|
-
};
|
|
3772
|
-
} & {
|
|
3773
|
-
text?: {
|
|
3774
|
-
type: "Text";
|
|
3775
|
-
} & {
|
|
3776
|
-
fieldset?: string | null | undefined;
|
|
3777
|
-
config?: {
|
|
3778
|
-
label?: string | null | undefined;
|
|
3779
|
-
useAsTitle?: boolean;
|
|
3780
|
-
placeholder?: string;
|
|
3781
|
-
};
|
|
3782
|
-
};
|
|
3783
|
-
};
|
|
3784
|
-
} & {
|
|
3785
|
-
label?: string | null | undefined;
|
|
3786
|
-
repeat?: boolean;
|
|
3787
|
-
};
|
|
3788
|
-
}) | ({
|
|
3789
|
-
type: "Group";
|
|
3790
3531
|
} & {
|
|
3791
3532
|
fieldset?: string | null | undefined;
|
|
3792
3533
|
icon?: string;
|
|
@@ -3877,6 +3618,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3877
3618
|
masks?: readonly string[];
|
|
3878
3619
|
tags?: readonly string[];
|
|
3879
3620
|
allowTargetBlank?: boolean;
|
|
3621
|
+
allowText?: boolean;
|
|
3880
3622
|
};
|
|
3881
3623
|
}) | ({
|
|
3882
3624
|
type: "Number";
|
|
@@ -3953,46 +3695,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3953
3695
|
};
|
|
3954
3696
|
}) | ({
|
|
3955
3697
|
type: "Group";
|
|
3956
|
-
} & {
|
|
3957
|
-
fieldset?: string | null | undefined;
|
|
3958
|
-
icon?: string;
|
|
3959
|
-
description?: string;
|
|
3960
|
-
config?: {
|
|
3961
|
-
as: "Link";
|
|
3962
|
-
fields: {
|
|
3963
|
-
link: {
|
|
3964
|
-
type: "Link";
|
|
3965
|
-
} & {
|
|
3966
|
-
fieldset?: string | null | undefined;
|
|
3967
|
-
config?: {
|
|
3968
|
-
label?: string | null | undefined;
|
|
3969
|
-
useAsTitle?: boolean;
|
|
3970
|
-
placeholder?: string;
|
|
3971
|
-
select?: "media" | "document" | "web" | null;
|
|
3972
|
-
customtypes?: readonly string[];
|
|
3973
|
-
masks?: readonly string[];
|
|
3974
|
-
tags?: readonly string[];
|
|
3975
|
-
allowTargetBlank?: boolean;
|
|
3976
|
-
};
|
|
3977
|
-
};
|
|
3978
|
-
} & {
|
|
3979
|
-
text?: {
|
|
3980
|
-
type: "Text";
|
|
3981
|
-
} & {
|
|
3982
|
-
fieldset?: string | null | undefined;
|
|
3983
|
-
config?: {
|
|
3984
|
-
label?: string | null | undefined;
|
|
3985
|
-
useAsTitle?: boolean;
|
|
3986
|
-
placeholder?: string;
|
|
3987
|
-
};
|
|
3988
|
-
};
|
|
3989
|
-
};
|
|
3990
|
-
} & {
|
|
3991
|
-
label?: string | null | undefined;
|
|
3992
|
-
repeat?: boolean;
|
|
3993
|
-
};
|
|
3994
|
-
}) | ({
|
|
3995
|
-
type: "Group";
|
|
3996
3698
|
} & {
|
|
3997
3699
|
fieldset?: string | null | undefined;
|
|
3998
3700
|
icon?: string;
|
|
@@ -4083,6 +3785,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
4083
3785
|
masks?: readonly string[];
|
|
4084
3786
|
tags?: readonly string[];
|
|
4085
3787
|
allowTargetBlank?: boolean;
|
|
3788
|
+
allowText?: boolean;
|
|
4086
3789
|
};
|
|
4087
3790
|
}) | ({
|
|
4088
3791
|
type: "Number";
|
|
@@ -4248,6 +3951,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
4248
3951
|
masks?: readonly string[];
|
|
4249
3952
|
tags?: readonly string[];
|
|
4250
3953
|
allowTargetBlank?: boolean;
|
|
3954
|
+
allowText?: boolean;
|
|
4251
3955
|
};
|
|
4252
3956
|
}) | ({
|
|
4253
3957
|
type: "Number";
|
|
@@ -4434,6 +4138,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
4434
4138
|
masks?: readonly string[];
|
|
4435
4139
|
tags?: readonly string[];
|
|
4436
4140
|
allowTargetBlank?: boolean;
|
|
4141
|
+
allowText?: boolean;
|
|
4437
4142
|
};
|
|
4438
4143
|
}) | ({
|
|
4439
4144
|
type: "Number";
|
|
@@ -4510,46 +4215,6 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
4510
4215
|
};
|
|
4511
4216
|
}) | ({
|
|
4512
4217
|
type: "Group";
|
|
4513
|
-
} & {
|
|
4514
|
-
fieldset?: string | null | undefined;
|
|
4515
|
-
icon?: string;
|
|
4516
|
-
description?: string;
|
|
4517
|
-
config?: {
|
|
4518
|
-
as: "Link";
|
|
4519
|
-
fields: {
|
|
4520
|
-
link: {
|
|
4521
|
-
type: "Link";
|
|
4522
|
-
} & {
|
|
4523
|
-
fieldset?: string | null | undefined;
|
|
4524
|
-
config?: {
|
|
4525
|
-
label?: string | null | undefined;
|
|
4526
|
-
useAsTitle?: boolean;
|
|
4527
|
-
placeholder?: string;
|
|
4528
|
-
select?: "media" | "document" | "web" | null;
|
|
4529
|
-
customtypes?: readonly string[];
|
|
4530
|
-
masks?: readonly string[];
|
|
4531
|
-
tags?: readonly string[];
|
|
4532
|
-
allowTargetBlank?: boolean;
|
|
4533
|
-
};
|
|
4534
|
-
};
|
|
4535
|
-
} & {
|
|
4536
|
-
text?: {
|
|
4537
|
-
type: "Text";
|
|
4538
|
-
} & {
|
|
4539
|
-
fieldset?: string | null | undefined;
|
|
4540
|
-
config?: {
|
|
4541
|
-
label?: string | null | undefined;
|
|
4542
|
-
useAsTitle?: boolean;
|
|
4543
|
-
placeholder?: string;
|
|
4544
|
-
};
|
|
4545
|
-
};
|
|
4546
|
-
};
|
|
4547
|
-
} & {
|
|
4548
|
-
label?: string | null | undefined;
|
|
4549
|
-
repeat?: boolean;
|
|
4550
|
-
};
|
|
4551
|
-
}) | ({
|
|
4552
|
-
type: "Group";
|
|
4553
4218
|
} & {
|
|
4554
4219
|
fieldset?: string | null | undefined;
|
|
4555
4220
|
icon?: string;
|
|
@@ -4640,6 +4305,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
4640
4305
|
masks?: readonly string[];
|
|
4641
4306
|
tags?: readonly string[];
|
|
4642
4307
|
allowTargetBlank?: boolean;
|
|
4308
|
+
allowText?: boolean;
|
|
4643
4309
|
};
|
|
4644
4310
|
}) | ({
|
|
4645
4311
|
type: "Number";
|
|
@@ -4807,6 +4473,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
4807
4473
|
masks?: readonly string[];
|
|
4808
4474
|
tags?: readonly string[];
|
|
4809
4475
|
allowTargetBlank?: boolean;
|
|
4476
|
+
allowText?: boolean;
|
|
4810
4477
|
};
|
|
4811
4478
|
}) | ({
|
|
4812
4479
|
type: "Number";
|
|
@@ -4966,6 +4633,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
4966
4633
|
masks?: readonly string[];
|
|
4967
4634
|
tags?: readonly string[];
|
|
4968
4635
|
allowTargetBlank?: boolean;
|
|
4636
|
+
allowText?: boolean;
|
|
4969
4637
|
};
|
|
4970
4638
|
}) | ({
|
|
4971
4639
|
type: "Number";
|