@prismicio/types-internal 3.8.0 → 3.9.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.
- package/lib/content/fields/RepeatableContent.d.ts +47 -45
- package/lib/customtypes/CustomType.d.ts +216 -18
- package/lib/customtypes/Section.d.ts +216 -18
- package/lib/customtypes/diff/SharedSlice.d.ts +96 -8
- package/lib/customtypes/diff/Variation.d.ts +96 -8
- package/lib/customtypes/widgets/Group.d.ts +138 -6
- package/lib/customtypes/widgets/Widget.d.ts +351 -21
- package/lib/customtypes/widgets/nestable/Link.d.ts +46 -2
- package/lib/customtypes/widgets/nestable/Link.js +73 -1
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +23 -1
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +46 -2
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +46 -2
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +184 -8
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +105 -6
- package/lib/customtypes/widgets/slices/Slices.d.ts +468 -28
- package/package.json +1 -1
- package/src/customtypes/widgets/nestable/Link.ts +128 -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
|
@@ -129,7 +129,29 @@ export declare const NestableWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC
|
|
|
129
129
|
useAsTitle: t.BooleanC;
|
|
130
130
|
placeholder: t.StringC;
|
|
131
131
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
132
|
-
customtypes: t.
|
|
132
|
+
customtypes: t.Type<readonly (string | ({
|
|
133
|
+
id: string;
|
|
134
|
+
} & {
|
|
135
|
+
fields?: readonly (string | {
|
|
136
|
+
id: string;
|
|
137
|
+
customtypes: readonly (string | ({
|
|
138
|
+
id: string;
|
|
139
|
+
} & {
|
|
140
|
+
fields?: readonly string[];
|
|
141
|
+
}))[];
|
|
142
|
+
})[];
|
|
143
|
+
}))[], readonly (string | ({
|
|
144
|
+
id: string;
|
|
145
|
+
} & {
|
|
146
|
+
fields?: readonly (string | {
|
|
147
|
+
id: string;
|
|
148
|
+
customtypes: readonly (string | ({
|
|
149
|
+
id: string;
|
|
150
|
+
} & {
|
|
151
|
+
fields?: readonly string[];
|
|
152
|
+
}))[];
|
|
153
|
+
})[];
|
|
154
|
+
}))[], unknown>;
|
|
133
155
|
masks: t.Type<readonly string[], object, unknown>;
|
|
134
156
|
tags: t.Type<readonly string[], object, unknown>;
|
|
135
157
|
allowTargetBlank: t.BooleanC;
|
|
@@ -142,7 +142,29 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
142
142
|
useAsTitle: t.BooleanC;
|
|
143
143
|
placeholder: t.StringC;
|
|
144
144
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
145
|
-
customtypes: t.
|
|
145
|
+
customtypes: t.Type<readonly (string | ({
|
|
146
|
+
id: string;
|
|
147
|
+
} & {
|
|
148
|
+
fields?: readonly (string | {
|
|
149
|
+
id: string;
|
|
150
|
+
customtypes: readonly (string | ({
|
|
151
|
+
id: string;
|
|
152
|
+
} & {
|
|
153
|
+
fields?: readonly string[];
|
|
154
|
+
}))[];
|
|
155
|
+
})[];
|
|
156
|
+
}))[], readonly (string | ({
|
|
157
|
+
id: string;
|
|
158
|
+
} & {
|
|
159
|
+
fields?: readonly (string | {
|
|
160
|
+
id: string;
|
|
161
|
+
customtypes: readonly (string | ({
|
|
162
|
+
id: string;
|
|
163
|
+
} & {
|
|
164
|
+
fields?: readonly string[];
|
|
165
|
+
}))[];
|
|
166
|
+
})[];
|
|
167
|
+
}))[], unknown>;
|
|
146
168
|
masks: t.Type<readonly string[], object, unknown>;
|
|
147
169
|
tags: t.Type<readonly string[], object, unknown>;
|
|
148
170
|
allowTargetBlank: t.BooleanC;
|
|
@@ -308,7 +330,29 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
308
330
|
useAsTitle: t.BooleanC;
|
|
309
331
|
placeholder: t.StringC;
|
|
310
332
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
311
|
-
customtypes: t.
|
|
333
|
+
customtypes: t.Type<readonly (string | ({
|
|
334
|
+
id: string;
|
|
335
|
+
} & {
|
|
336
|
+
fields?: readonly (string | {
|
|
337
|
+
id: string;
|
|
338
|
+
customtypes: readonly (string | ({
|
|
339
|
+
id: string;
|
|
340
|
+
} & {
|
|
341
|
+
fields?: readonly string[];
|
|
342
|
+
}))[];
|
|
343
|
+
})[];
|
|
344
|
+
}))[], readonly (string | ({
|
|
345
|
+
id: string;
|
|
346
|
+
} & {
|
|
347
|
+
fields?: readonly (string | {
|
|
348
|
+
id: string;
|
|
349
|
+
customtypes: readonly (string | ({
|
|
350
|
+
id: string;
|
|
351
|
+
} & {
|
|
352
|
+
fields?: readonly string[];
|
|
353
|
+
}))[];
|
|
354
|
+
})[];
|
|
355
|
+
}))[], unknown>;
|
|
312
356
|
masks: t.Type<readonly string[], object, unknown>;
|
|
313
357
|
tags: t.Type<readonly string[], object, unknown>;
|
|
314
358
|
allowTargetBlank: t.BooleanC;
|
|
@@ -130,7 +130,29 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
|
|
|
130
130
|
useAsTitle: t.BooleanC;
|
|
131
131
|
placeholder: t.StringC;
|
|
132
132
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
133
|
-
customtypes: t.
|
|
133
|
+
customtypes: t.Type<readonly (string | ({
|
|
134
|
+
id: string;
|
|
135
|
+
} & {
|
|
136
|
+
fields?: readonly (string | {
|
|
137
|
+
id: string;
|
|
138
|
+
customtypes: readonly (string | ({
|
|
139
|
+
id: string;
|
|
140
|
+
} & {
|
|
141
|
+
fields?: readonly string[];
|
|
142
|
+
}))[];
|
|
143
|
+
})[];
|
|
144
|
+
}))[], readonly (string | ({
|
|
145
|
+
id: string;
|
|
146
|
+
} & {
|
|
147
|
+
fields?: readonly (string | {
|
|
148
|
+
id: string;
|
|
149
|
+
customtypes: readonly (string | ({
|
|
150
|
+
id: string;
|
|
151
|
+
} & {
|
|
152
|
+
fields?: readonly string[];
|
|
153
|
+
}))[];
|
|
154
|
+
})[];
|
|
155
|
+
}))[], unknown>;
|
|
134
156
|
masks: t.Type<readonly string[], object, unknown>;
|
|
135
157
|
tags: t.Type<readonly string[], object, unknown>;
|
|
136
158
|
allowTargetBlank: t.BooleanC;
|
|
@@ -304,7 +326,29 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
|
|
|
304
326
|
useAsTitle: t.BooleanC;
|
|
305
327
|
placeholder: t.StringC;
|
|
306
328
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
307
|
-
customtypes: t.
|
|
329
|
+
customtypes: t.Type<readonly (string | ({
|
|
330
|
+
id: string;
|
|
331
|
+
} & {
|
|
332
|
+
fields?: readonly (string | {
|
|
333
|
+
id: string;
|
|
334
|
+
customtypes: readonly (string | ({
|
|
335
|
+
id: string;
|
|
336
|
+
} & {
|
|
337
|
+
fields?: readonly string[];
|
|
338
|
+
}))[];
|
|
339
|
+
})[];
|
|
340
|
+
}))[], readonly (string | ({
|
|
341
|
+
id: string;
|
|
342
|
+
} & {
|
|
343
|
+
fields?: readonly (string | {
|
|
344
|
+
id: string;
|
|
345
|
+
customtypes: readonly (string | ({
|
|
346
|
+
id: string;
|
|
347
|
+
} & {
|
|
348
|
+
fields?: readonly string[];
|
|
349
|
+
}))[];
|
|
350
|
+
})[];
|
|
351
|
+
}))[], unknown>;
|
|
308
352
|
masks: t.Type<readonly string[], object, unknown>;
|
|
309
353
|
tags: t.Type<readonly string[], object, unknown>;
|
|
310
354
|
allowTargetBlank: t.BooleanC;
|
|
@@ -140,7 +140,29 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
140
140
|
useAsTitle: t.BooleanC;
|
|
141
141
|
placeholder: t.StringC;
|
|
142
142
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
143
|
-
customtypes: t.
|
|
143
|
+
customtypes: t.Type<readonly (string | ({
|
|
144
|
+
id: string;
|
|
145
|
+
} & {
|
|
146
|
+
fields?: readonly (string | {
|
|
147
|
+
id: string;
|
|
148
|
+
customtypes: readonly (string | ({
|
|
149
|
+
id: string;
|
|
150
|
+
} & {
|
|
151
|
+
fields?: readonly string[];
|
|
152
|
+
}))[];
|
|
153
|
+
})[];
|
|
154
|
+
}))[], readonly (string | ({
|
|
155
|
+
id: string;
|
|
156
|
+
} & {
|
|
157
|
+
fields?: readonly (string | {
|
|
158
|
+
id: string;
|
|
159
|
+
customtypes: readonly (string | ({
|
|
160
|
+
id: string;
|
|
161
|
+
} & {
|
|
162
|
+
fields?: readonly string[];
|
|
163
|
+
}))[];
|
|
164
|
+
})[];
|
|
165
|
+
}))[], unknown>;
|
|
144
166
|
masks: t.Type<readonly string[], object, unknown>;
|
|
145
167
|
tags: t.Type<readonly string[], object, unknown>;
|
|
146
168
|
allowTargetBlank: t.BooleanC;
|
|
@@ -314,7 +336,29 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
314
336
|
useAsTitle: t.BooleanC;
|
|
315
337
|
placeholder: t.StringC;
|
|
316
338
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
317
|
-
customtypes: t.
|
|
339
|
+
customtypes: t.Type<readonly (string | ({
|
|
340
|
+
id: string;
|
|
341
|
+
} & {
|
|
342
|
+
fields?: readonly (string | {
|
|
343
|
+
id: string;
|
|
344
|
+
customtypes: readonly (string | ({
|
|
345
|
+
id: string;
|
|
346
|
+
} & {
|
|
347
|
+
fields?: readonly string[];
|
|
348
|
+
}))[];
|
|
349
|
+
})[];
|
|
350
|
+
}))[], readonly (string | ({
|
|
351
|
+
id: string;
|
|
352
|
+
} & {
|
|
353
|
+
fields?: readonly (string | {
|
|
354
|
+
id: string;
|
|
355
|
+
customtypes: readonly (string | ({
|
|
356
|
+
id: string;
|
|
357
|
+
} & {
|
|
358
|
+
fields?: readonly string[];
|
|
359
|
+
}))[];
|
|
360
|
+
})[];
|
|
361
|
+
}))[], unknown>;
|
|
318
362
|
masks: t.Type<readonly string[], object, unknown>;
|
|
319
363
|
tags: t.Type<readonly string[], object, unknown>;
|
|
320
364
|
allowTargetBlank: t.BooleanC;
|
|
@@ -488,7 +532,29 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
488
532
|
useAsTitle: t.BooleanC;
|
|
489
533
|
placeholder: t.StringC;
|
|
490
534
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
491
|
-
customtypes: t.
|
|
535
|
+
customtypes: t.Type<readonly (string | ({
|
|
536
|
+
id: string;
|
|
537
|
+
} & {
|
|
538
|
+
fields?: readonly (string | {
|
|
539
|
+
id: string;
|
|
540
|
+
customtypes: readonly (string | ({
|
|
541
|
+
id: string;
|
|
542
|
+
} & {
|
|
543
|
+
fields?: readonly string[];
|
|
544
|
+
}))[];
|
|
545
|
+
})[];
|
|
546
|
+
}))[], readonly (string | ({
|
|
547
|
+
id: string;
|
|
548
|
+
} & {
|
|
549
|
+
fields?: readonly (string | {
|
|
550
|
+
id: string;
|
|
551
|
+
customtypes: readonly (string | ({
|
|
552
|
+
id: string;
|
|
553
|
+
} & {
|
|
554
|
+
fields?: readonly string[];
|
|
555
|
+
}))[];
|
|
556
|
+
})[];
|
|
557
|
+
}))[], unknown>;
|
|
492
558
|
masks: t.Type<readonly string[], object, unknown>;
|
|
493
559
|
tags: t.Type<readonly string[], object, unknown>;
|
|
494
560
|
allowTargetBlank: t.BooleanC;
|
|
@@ -658,7 +724,29 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
658
724
|
useAsTitle: t.BooleanC;
|
|
659
725
|
placeholder: t.StringC;
|
|
660
726
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
661
|
-
customtypes: t.
|
|
727
|
+
customtypes: t.Type<readonly (string | ({
|
|
728
|
+
id: string;
|
|
729
|
+
} & {
|
|
730
|
+
fields?: readonly (string | {
|
|
731
|
+
id: string;
|
|
732
|
+
customtypes: readonly (string | ({
|
|
733
|
+
id: string;
|
|
734
|
+
} & {
|
|
735
|
+
fields?: readonly string[];
|
|
736
|
+
}))[];
|
|
737
|
+
})[];
|
|
738
|
+
}))[], readonly (string | ({
|
|
739
|
+
id: string;
|
|
740
|
+
} & {
|
|
741
|
+
fields?: readonly (string | {
|
|
742
|
+
id: string;
|
|
743
|
+
customtypes: readonly (string | ({
|
|
744
|
+
id: string;
|
|
745
|
+
} & {
|
|
746
|
+
fields?: readonly string[];
|
|
747
|
+
}))[];
|
|
748
|
+
})[];
|
|
749
|
+
}))[], unknown>;
|
|
662
750
|
masks: t.Type<readonly string[], object, unknown>;
|
|
663
751
|
tags: t.Type<readonly string[], object, unknown>;
|
|
664
752
|
allowTargetBlank: t.BooleanC;
|
|
@@ -846,7 +934,29 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
846
934
|
useAsTitle: t.BooleanC;
|
|
847
935
|
placeholder: t.StringC;
|
|
848
936
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
849
|
-
customtypes: t.
|
|
937
|
+
customtypes: t.Type<readonly (string | ({
|
|
938
|
+
id: string;
|
|
939
|
+
} & {
|
|
940
|
+
fields?: readonly (string | {
|
|
941
|
+
id: string;
|
|
942
|
+
customtypes: readonly (string | ({
|
|
943
|
+
id: string;
|
|
944
|
+
} & {
|
|
945
|
+
fields?: readonly string[];
|
|
946
|
+
}))[];
|
|
947
|
+
})[];
|
|
948
|
+
}))[], readonly (string | ({
|
|
949
|
+
id: string;
|
|
950
|
+
} & {
|
|
951
|
+
fields?: readonly (string | {
|
|
952
|
+
id: string;
|
|
953
|
+
customtypes: readonly (string | ({
|
|
954
|
+
id: string;
|
|
955
|
+
} & {
|
|
956
|
+
fields?: readonly string[];
|
|
957
|
+
}))[];
|
|
958
|
+
})[];
|
|
959
|
+
}))[], unknown>;
|
|
850
960
|
masks: t.Type<readonly string[], object, unknown>;
|
|
851
961
|
tags: t.Type<readonly string[], object, unknown>;
|
|
852
962
|
allowTargetBlank: t.BooleanC;
|
|
@@ -1020,7 +1130,29 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1020
1130
|
useAsTitle: t.BooleanC;
|
|
1021
1131
|
placeholder: t.StringC;
|
|
1022
1132
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
1023
|
-
customtypes: t.
|
|
1133
|
+
customtypes: t.Type<readonly (string | ({
|
|
1134
|
+
id: string;
|
|
1135
|
+
} & {
|
|
1136
|
+
fields?: readonly (string | {
|
|
1137
|
+
id: string;
|
|
1138
|
+
customtypes: readonly (string | ({
|
|
1139
|
+
id: string;
|
|
1140
|
+
} & {
|
|
1141
|
+
fields?: readonly string[];
|
|
1142
|
+
}))[];
|
|
1143
|
+
})[];
|
|
1144
|
+
}))[], readonly (string | ({
|
|
1145
|
+
id: string;
|
|
1146
|
+
} & {
|
|
1147
|
+
fields?: readonly (string | {
|
|
1148
|
+
id: string;
|
|
1149
|
+
customtypes: readonly (string | ({
|
|
1150
|
+
id: string;
|
|
1151
|
+
} & {
|
|
1152
|
+
fields?: readonly string[];
|
|
1153
|
+
}))[];
|
|
1154
|
+
})[];
|
|
1155
|
+
}))[], unknown>;
|
|
1024
1156
|
masks: t.Type<readonly string[], object, unknown>;
|
|
1025
1157
|
tags: t.Type<readonly string[], object, unknown>;
|
|
1026
1158
|
allowTargetBlank: t.BooleanC;
|
|
@@ -1194,7 +1326,29 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1194
1326
|
useAsTitle: t.BooleanC;
|
|
1195
1327
|
placeholder: t.StringC;
|
|
1196
1328
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
1197
|
-
customtypes: t.
|
|
1329
|
+
customtypes: t.Type<readonly (string | ({
|
|
1330
|
+
id: string;
|
|
1331
|
+
} & {
|
|
1332
|
+
fields?: readonly (string | {
|
|
1333
|
+
id: string;
|
|
1334
|
+
customtypes: readonly (string | ({
|
|
1335
|
+
id: string;
|
|
1336
|
+
} & {
|
|
1337
|
+
fields?: readonly string[];
|
|
1338
|
+
}))[];
|
|
1339
|
+
})[];
|
|
1340
|
+
}))[], readonly (string | ({
|
|
1341
|
+
id: string;
|
|
1342
|
+
} & {
|
|
1343
|
+
fields?: readonly (string | {
|
|
1344
|
+
id: string;
|
|
1345
|
+
customtypes: readonly (string | ({
|
|
1346
|
+
id: string;
|
|
1347
|
+
} & {
|
|
1348
|
+
fields?: readonly string[];
|
|
1349
|
+
}))[];
|
|
1350
|
+
})[];
|
|
1351
|
+
}))[], unknown>;
|
|
1198
1352
|
masks: t.Type<readonly string[], object, unknown>;
|
|
1199
1353
|
tags: t.Type<readonly string[], object, unknown>;
|
|
1200
1354
|
allowTargetBlank: t.BooleanC;
|
|
@@ -1364,7 +1518,29 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1364
1518
|
useAsTitle: t.BooleanC;
|
|
1365
1519
|
placeholder: t.StringC;
|
|
1366
1520
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
1367
|
-
customtypes: t.
|
|
1521
|
+
customtypes: t.Type<readonly (string | ({
|
|
1522
|
+
id: string;
|
|
1523
|
+
} & {
|
|
1524
|
+
fields?: readonly (string | {
|
|
1525
|
+
id: string;
|
|
1526
|
+
customtypes: readonly (string | ({
|
|
1527
|
+
id: string;
|
|
1528
|
+
} & {
|
|
1529
|
+
fields?: readonly string[];
|
|
1530
|
+
}))[];
|
|
1531
|
+
})[];
|
|
1532
|
+
}))[], readonly (string | ({
|
|
1533
|
+
id: string;
|
|
1534
|
+
} & {
|
|
1535
|
+
fields?: readonly (string | {
|
|
1536
|
+
id: string;
|
|
1537
|
+
customtypes: readonly (string | ({
|
|
1538
|
+
id: string;
|
|
1539
|
+
} & {
|
|
1540
|
+
fields?: readonly string[];
|
|
1541
|
+
}))[];
|
|
1542
|
+
})[];
|
|
1543
|
+
}))[], unknown>;
|
|
1368
1544
|
masks: t.Type<readonly string[], object, unknown>;
|
|
1369
1545
|
tags: t.Type<readonly string[], object, unknown>;
|
|
1370
1546
|
allowTargetBlank: t.BooleanC;
|
|
@@ -129,7 +129,29 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
|
|
|
129
129
|
useAsTitle: t.BooleanC;
|
|
130
130
|
placeholder: t.StringC;
|
|
131
131
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
132
|
-
customtypes: t.
|
|
132
|
+
customtypes: t.Type<readonly (string | ({
|
|
133
|
+
id: string;
|
|
134
|
+
} & {
|
|
135
|
+
fields?: readonly (string | {
|
|
136
|
+
id: string;
|
|
137
|
+
customtypes: readonly (string | ({
|
|
138
|
+
id: string;
|
|
139
|
+
} & {
|
|
140
|
+
fields?: readonly string[];
|
|
141
|
+
}))[];
|
|
142
|
+
})[];
|
|
143
|
+
}))[], readonly (string | ({
|
|
144
|
+
id: string;
|
|
145
|
+
} & {
|
|
146
|
+
fields?: readonly (string | {
|
|
147
|
+
id: string;
|
|
148
|
+
customtypes: readonly (string | ({
|
|
149
|
+
id: string;
|
|
150
|
+
} & {
|
|
151
|
+
fields?: readonly string[];
|
|
152
|
+
}))[];
|
|
153
|
+
})[];
|
|
154
|
+
}))[], unknown>;
|
|
133
155
|
masks: t.Type<readonly string[], object, unknown>;
|
|
134
156
|
tags: t.Type<readonly string[], object, unknown>;
|
|
135
157
|
allowTargetBlank: t.BooleanC;
|
|
@@ -303,7 +325,29 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
|
|
|
303
325
|
useAsTitle: t.BooleanC;
|
|
304
326
|
placeholder: t.StringC;
|
|
305
327
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
306
|
-
customtypes: t.
|
|
328
|
+
customtypes: t.Type<readonly (string | ({
|
|
329
|
+
id: string;
|
|
330
|
+
} & {
|
|
331
|
+
fields?: readonly (string | {
|
|
332
|
+
id: string;
|
|
333
|
+
customtypes: readonly (string | ({
|
|
334
|
+
id: string;
|
|
335
|
+
} & {
|
|
336
|
+
fields?: readonly string[];
|
|
337
|
+
}))[];
|
|
338
|
+
})[];
|
|
339
|
+
}))[], readonly (string | ({
|
|
340
|
+
id: string;
|
|
341
|
+
} & {
|
|
342
|
+
fields?: readonly (string | {
|
|
343
|
+
id: string;
|
|
344
|
+
customtypes: readonly (string | ({
|
|
345
|
+
id: string;
|
|
346
|
+
} & {
|
|
347
|
+
fields?: readonly string[];
|
|
348
|
+
}))[];
|
|
349
|
+
})[];
|
|
350
|
+
}))[], unknown>;
|
|
307
351
|
masks: t.Type<readonly string[], object, unknown>;
|
|
308
352
|
tags: t.Type<readonly string[], object, unknown>;
|
|
309
353
|
allowTargetBlank: t.BooleanC;
|
|
@@ -477,7 +521,29 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
|
|
|
477
521
|
useAsTitle: t.BooleanC;
|
|
478
522
|
placeholder: t.StringC;
|
|
479
523
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
480
|
-
customtypes: t.
|
|
524
|
+
customtypes: t.Type<readonly (string | ({
|
|
525
|
+
id: string;
|
|
526
|
+
} & {
|
|
527
|
+
fields?: readonly (string | {
|
|
528
|
+
id: string;
|
|
529
|
+
customtypes: readonly (string | ({
|
|
530
|
+
id: string;
|
|
531
|
+
} & {
|
|
532
|
+
fields?: readonly string[];
|
|
533
|
+
}))[];
|
|
534
|
+
})[];
|
|
535
|
+
}))[], readonly (string | ({
|
|
536
|
+
id: string;
|
|
537
|
+
} & {
|
|
538
|
+
fields?: readonly (string | {
|
|
539
|
+
id: string;
|
|
540
|
+
customtypes: readonly (string | ({
|
|
541
|
+
id: string;
|
|
542
|
+
} & {
|
|
543
|
+
fields?: readonly string[];
|
|
544
|
+
}))[];
|
|
545
|
+
})[];
|
|
546
|
+
}))[], unknown>;
|
|
481
547
|
masks: t.Type<readonly string[], object, unknown>;
|
|
482
548
|
tags: t.Type<readonly string[], object, unknown>;
|
|
483
549
|
allowTargetBlank: t.BooleanC;
|
|
@@ -597,7 +663,18 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
|
|
|
597
663
|
useAsTitle?: boolean;
|
|
598
664
|
placeholder?: string;
|
|
599
665
|
select?: "media" | "document" | "web" | null;
|
|
600
|
-
customtypes?: readonly string
|
|
666
|
+
customtypes?: readonly (string | ({
|
|
667
|
+
id: string;
|
|
668
|
+
} & {
|
|
669
|
+
fields?: readonly (string | {
|
|
670
|
+
id: string;
|
|
671
|
+
customtypes: readonly (string | ({
|
|
672
|
+
id: string;
|
|
673
|
+
} & {
|
|
674
|
+
fields?: readonly string[];
|
|
675
|
+
}))[];
|
|
676
|
+
})[];
|
|
677
|
+
}))[];
|
|
601
678
|
masks?: readonly string[];
|
|
602
679
|
tags?: readonly string[];
|
|
603
680
|
allowTargetBlank?: boolean;
|
|
@@ -772,7 +849,18 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
|
|
|
772
849
|
useAsTitle?: boolean;
|
|
773
850
|
placeholder?: string;
|
|
774
851
|
select?: "media" | "document" | "web" | null;
|
|
775
|
-
customtypes?: readonly string
|
|
852
|
+
customtypes?: readonly (string | ({
|
|
853
|
+
id: string;
|
|
854
|
+
} & {
|
|
855
|
+
fields?: readonly (string | {
|
|
856
|
+
id: string;
|
|
857
|
+
customtypes: readonly (string | ({
|
|
858
|
+
id: string;
|
|
859
|
+
} & {
|
|
860
|
+
fields?: readonly string[];
|
|
861
|
+
}))[];
|
|
862
|
+
})[];
|
|
863
|
+
}))[];
|
|
776
864
|
masks?: readonly string[];
|
|
777
865
|
tags?: readonly string[];
|
|
778
866
|
allowTargetBlank?: boolean;
|
|
@@ -947,7 +1035,18 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
|
|
|
947
1035
|
useAsTitle?: boolean;
|
|
948
1036
|
placeholder?: string;
|
|
949
1037
|
select?: "media" | "document" | "web" | null;
|
|
950
|
-
customtypes?: readonly string
|
|
1038
|
+
customtypes?: readonly (string | ({
|
|
1039
|
+
id: string;
|
|
1040
|
+
} & {
|
|
1041
|
+
fields?: readonly (string | {
|
|
1042
|
+
id: string;
|
|
1043
|
+
customtypes: readonly (string | ({
|
|
1044
|
+
id: string;
|
|
1045
|
+
} & {
|
|
1046
|
+
fields?: readonly string[];
|
|
1047
|
+
}))[];
|
|
1048
|
+
})[];
|
|
1049
|
+
}))[];
|
|
951
1050
|
masks?: readonly string[];
|
|
952
1051
|
tags?: readonly string[];
|
|
953
1052
|
allowTargetBlank?: boolean;
|