@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.
Files changed (34) hide show
  1. package/lib/content/Document.d.ts +2118 -798
  2. package/lib/content/fields/WidgetContent.d.ts +2118 -798
  3. package/lib/content/fields/nestable/LinkContent.d.ts +248 -85
  4. package/lib/content/fields/nestable/LinkContent.js +96 -42
  5. package/lib/content/fields/nestable/NestableContent.d.ts +353 -133
  6. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +654 -234
  7. package/lib/content/fields/nestable/RichTextContent/index.d.ts +320 -120
  8. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +706 -266
  9. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +161 -61
  10. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +706 -266
  11. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +353 -133
  12. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +353 -133
  13. package/lib/content/fields/slices/Slice/index.d.ts +1285 -485
  14. package/lib/content/fields/slices/SliceItem.d.ts +1285 -485
  15. package/lib/content/fields/slices/SlicesContent.d.ts +1766 -666
  16. package/lib/customtypes/CustomType.d.ts +18 -320
  17. package/lib/customtypes/Section.d.ts +18 -320
  18. package/lib/customtypes/diff/SharedSlice.d.ts +8 -160
  19. package/lib/customtypes/diff/Variation.d.ts +8 -160
  20. package/lib/customtypes/widgets/Group.d.ts +18 -315
  21. package/lib/customtypes/widgets/Group.js +5 -43
  22. package/lib/customtypes/widgets/Widget.d.ts +33 -412
  23. package/lib/customtypes/widgets/nestable/Link.d.ts +2 -0
  24. package/lib/customtypes/widgets/nestable/Link.js +1 -0
  25. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +1 -0
  26. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -0
  27. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +4 -42
  28. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +16 -168
  29. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +10 -164
  30. package/lib/customtypes/widgets/slices/Slices.d.ts +34 -366
  31. package/package.json +1 -1
  32. package/src/content/fields/nestable/LinkContent.ts +121 -50
  33. package/src/customtypes/widgets/Group.ts +6 -52
  34. package/src/customtypes/widgets/nestable/Link.ts +1 -0
@@ -9,6 +9,7 @@ export declare const LinkConfig: t.ExactC<t.PartialC<{
9
9
  masks: t.Type<readonly string[], object, unknown>;
10
10
  tags: t.Type<readonly string[], object, unknown>;
11
11
  allowTargetBlank: t.BooleanC;
12
+ allowText: t.BooleanC;
12
13
  }>>;
13
14
  export declare type LinkConfig = t.TypeOf<typeof LinkConfig>;
14
15
  export declare const Link: t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -24,6 +25,7 @@ export declare const Link: t.ExactC<t.IntersectionC<[t.TypeC<{
24
25
  masks: t.Type<readonly string[], object, unknown>;
25
26
  tags: t.Type<readonly string[], object, unknown>;
26
27
  allowTargetBlank: t.BooleanC;
28
+ allowText: t.BooleanC;
27
29
  }>>;
28
30
  }>]>>;
29
31
  export declare type Link = t.TypeOf<typeof Link>;
@@ -42,6 +42,7 @@ exports.LinkConfig = t.exact(t.partial({
42
42
  masks: MasksArrayString,
43
43
  tags: MasksArrayString,
44
44
  allowTargetBlank: t.boolean,
45
+ allowText: t.boolean,
45
46
  }));
46
47
  exports.Link = t.exact(t.intersection([
47
48
  t.type({
@@ -127,6 +127,7 @@ export declare const NestableWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC
127
127
  masks: t.Type<readonly string[], object, unknown>;
128
128
  tags: t.Type<readonly string[], object, unknown>;
129
129
  allowTargetBlank: t.BooleanC;
130
+ allowText: t.BooleanC;
130
131
  }>>;
131
132
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
132
133
  type: t.LiteralC<"Image">;
@@ -140,6 +140,7 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
140
140
  masks: t.Type<readonly string[], object, unknown>;
141
141
  tags: t.Type<readonly string[], object, unknown>;
142
142
  allowTargetBlank: t.BooleanC;
143
+ allowText: t.BooleanC;
143
144
  }>>;
144
145
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
145
146
  type: t.LiteralC<"Image">;
@@ -297,6 +298,7 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
297
298
  masks: t.Type<readonly string[], object, unknown>;
298
299
  tags: t.Type<readonly string[], object, unknown>;
299
300
  allowTargetBlank: t.BooleanC;
301
+ allowText: t.BooleanC;
300
302
  }>>;
301
303
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
302
304
  type: t.LiteralC<"Image">;
@@ -128,6 +128,7 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
128
128
  masks: t.Type<readonly string[], object, unknown>;
129
129
  tags: t.Type<readonly string[], object, unknown>;
130
130
  allowTargetBlank: t.BooleanC;
131
+ allowText: t.BooleanC;
131
132
  }>>;
132
133
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
133
134
  type: t.LiteralC<"Image">;
@@ -156,47 +157,7 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
156
157
  placeholder: t.StringC;
157
158
  catalog: t.StringC;
158
159
  }>>;
159
- }>]>>]>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
160
- type: t.LiteralC<"Group">;
161
- }>, t.PartialC<{
162
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
163
- icon: t.StringC;
164
- description: t.StringC;
165
- config: t.IntersectionC<[t.ExactC<t.TypeC<{
166
- as: t.LiteralC<"Link">;
167
- fields: t.IntersectionC<[t.ExactC<t.TypeC<{
168
- link: t.ExactC<t.IntersectionC<[t.TypeC<{
169
- type: t.LiteralC<"Link">;
170
- }>, t.PartialC<{
171
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
172
- config: t.ExactC<t.PartialC<{
173
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
174
- useAsTitle: t.BooleanC;
175
- placeholder: t.StringC;
176
- select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
177
- customtypes: t.ReadonlyArrayC<t.StringC>;
178
- masks: t.Type<readonly string[], object, unknown>;
179
- tags: t.Type<readonly string[], object, unknown>;
180
- allowTargetBlank: t.BooleanC;
181
- }>>;
182
- }>]>>;
183
- }>>, t.ExactC<t.PartialC<{
184
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
185
- type: t.LiteralC<"Text">;
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
- }>>;
193
- }>]>>;
194
- }>>]>;
195
- }>>, t.ExactC<t.PartialC<{
196
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
197
- repeat: t.BooleanC;
198
- }>>]>;
199
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
160
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
200
161
  type: t.LiteralC<"Group">;
201
162
  }>, t.PartialC<{
202
163
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -333,6 +294,7 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
333
294
  masks: t.Type<readonly string[], object, unknown>;
334
295
  tags: t.Type<readonly string[], object, unknown>;
335
296
  allowTargetBlank: t.BooleanC;
297
+ allowText: t.BooleanC;
336
298
  }>>;
337
299
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
338
300
  type: t.LiteralC<"Image">;
@@ -363,6 +325,6 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
363
325
  }>>;
364
326
  }>]>>]>>;
365
327
  }>>;
366
- }>]>>]>]>;
328
+ }>]>>]>;
367
329
  export declare type LegacySlice = t.TypeOf<typeof LegacySlice>;
368
330
  export declare function isLegacySlice(slice: DynamicSlice | StaticSlice): slice is LegacySlice;
@@ -138,6 +138,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
138
138
  masks: t.Type<readonly string[], object, unknown>;
139
139
  tags: t.Type<readonly string[], object, unknown>;
140
140
  allowTargetBlank: t.BooleanC;
141
+ allowText: t.BooleanC;
141
142
  }>>;
142
143
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
143
144
  type: t.LiteralC<"Image">;
@@ -166,47 +167,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
166
167
  placeholder: t.StringC;
167
168
  catalog: t.StringC;
168
169
  }>>;
169
- }>]>>]>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
170
- type: t.LiteralC<"Group">;
171
- }>, t.PartialC<{
172
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
173
- icon: t.StringC;
174
- description: t.StringC;
175
- config: t.IntersectionC<[t.ExactC<t.TypeC<{
176
- as: t.LiteralC<"Link">;
177
- fields: t.IntersectionC<[t.ExactC<t.TypeC<{
178
- link: t.ExactC<t.IntersectionC<[t.TypeC<{
179
- type: t.LiteralC<"Link">;
180
- }>, t.PartialC<{
181
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
182
- config: t.ExactC<t.PartialC<{
183
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
184
- useAsTitle: t.BooleanC;
185
- placeholder: t.StringC;
186
- select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
187
- customtypes: t.ReadonlyArrayC<t.StringC>;
188
- masks: t.Type<readonly string[], object, unknown>;
189
- tags: t.Type<readonly string[], object, unknown>;
190
- allowTargetBlank: t.BooleanC;
191
- }>>;
192
- }>]>>;
193
- }>>, t.ExactC<t.PartialC<{
194
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
195
- type: t.LiteralC<"Text">;
196
- }>, t.PartialC<{
197
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
198
- config: t.ExactC<t.PartialC<{
199
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
200
- useAsTitle: t.BooleanC;
201
- placeholder: t.StringC;
202
- }>>;
203
- }>]>>;
204
- }>>]>;
205
- }>>, t.ExactC<t.PartialC<{
206
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
207
- repeat: t.BooleanC;
208
- }>>]>;
209
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
170
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
210
171
  type: t.LiteralC<"Group">;
211
172
  }>, t.PartialC<{
212
173
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -343,6 +304,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
343
304
  masks: t.Type<readonly string[], object, unknown>;
344
305
  tags: t.Type<readonly string[], object, unknown>;
345
306
  allowTargetBlank: t.BooleanC;
307
+ allowText: t.BooleanC;
346
308
  }>>;
347
309
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
348
310
  type: t.LiteralC<"Image">;
@@ -371,47 +333,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
371
333
  placeholder: t.StringC;
372
334
  catalog: t.StringC;
373
335
  }>>;
374
- }>]>>]>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
375
- type: t.LiteralC<"Group">;
376
- }>, t.PartialC<{
377
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
378
- icon: t.StringC;
379
- description: t.StringC;
380
- config: t.IntersectionC<[t.ExactC<t.TypeC<{
381
- as: t.LiteralC<"Link">;
382
- fields: t.IntersectionC<[t.ExactC<t.TypeC<{
383
- link: t.ExactC<t.IntersectionC<[t.TypeC<{
384
- type: t.LiteralC<"Link">;
385
- }>, t.PartialC<{
386
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
387
- config: t.ExactC<t.PartialC<{
388
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
389
- useAsTitle: t.BooleanC;
390
- placeholder: t.StringC;
391
- select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
392
- customtypes: t.ReadonlyArrayC<t.StringC>;
393
- masks: t.Type<readonly string[], object, unknown>;
394
- tags: t.Type<readonly string[], object, unknown>;
395
- allowTargetBlank: t.BooleanC;
396
- }>>;
397
- }>]>>;
398
- }>>, t.ExactC<t.PartialC<{
399
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
400
- type: t.LiteralC<"Text">;
401
- }>, t.PartialC<{
402
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
403
- config: t.ExactC<t.PartialC<{
404
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
405
- useAsTitle: t.BooleanC;
406
- placeholder: t.StringC;
407
- }>>;
408
- }>]>>;
409
- }>>]>;
410
- }>>, t.ExactC<t.PartialC<{
411
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
412
- repeat: t.BooleanC;
413
- }>>]>;
414
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
336
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
415
337
  type: t.LiteralC<"Group">;
416
338
  }>, t.PartialC<{
417
339
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -548,6 +470,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
548
470
  masks: t.Type<readonly string[], object, unknown>;
549
471
  tags: t.Type<readonly string[], object, unknown>;
550
472
  allowTargetBlank: t.BooleanC;
473
+ allowText: t.BooleanC;
551
474
  }>>;
552
475
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
553
476
  type: t.LiteralC<"Image">;
@@ -578,9 +501,9 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
578
501
  }>>;
579
502
  }>]>>]>>;
580
503
  }>>;
581
- }>]>>]>]>>;
504
+ }>]>>]>>;
582
505
  }>>;
583
- }>]>>]>]>>;
506
+ }>]>>]>>;
584
507
  items: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
585
508
  type: t.LiteralC<"Color">;
586
509
  }>, t.PartialC<{
@@ -709,6 +632,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
709
632
  masks: t.Type<readonly string[], object, unknown>;
710
633
  tags: t.Type<readonly string[], object, unknown>;
711
634
  allowTargetBlank: t.BooleanC;
635
+ allowText: t.BooleanC;
712
636
  }>>;
713
637
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
714
638
  type: t.LiteralC<"Image">;
@@ -888,6 +812,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
888
812
  masks: t.Type<readonly string[], object, unknown>;
889
813
  tags: t.Type<readonly string[], object, unknown>;
890
814
  allowTargetBlank: t.BooleanC;
815
+ allowText: t.BooleanC;
891
816
  }>>;
892
817
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
893
818
  type: t.LiteralC<"Image">;
@@ -916,47 +841,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
916
841
  placeholder: t.StringC;
917
842
  catalog: t.StringC;
918
843
  }>>;
919
- }>]>>]>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
920
- type: t.LiteralC<"Group">;
921
- }>, t.PartialC<{
922
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
923
- icon: t.StringC;
924
- description: t.StringC;
925
- config: t.IntersectionC<[t.ExactC<t.TypeC<{
926
- as: t.LiteralC<"Link">;
927
- fields: t.IntersectionC<[t.ExactC<t.TypeC<{
928
- link: t.ExactC<t.IntersectionC<[t.TypeC<{
929
- type: t.LiteralC<"Link">;
930
- }>, t.PartialC<{
931
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
932
- config: t.ExactC<t.PartialC<{
933
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
934
- useAsTitle: t.BooleanC;
935
- placeholder: t.StringC;
936
- select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
937
- customtypes: t.ReadonlyArrayC<t.StringC>;
938
- masks: t.Type<readonly string[], object, unknown>;
939
- tags: t.Type<readonly string[], object, unknown>;
940
- allowTargetBlank: t.BooleanC;
941
- }>>;
942
- }>]>>;
943
- }>>, t.ExactC<t.PartialC<{
944
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
945
- type: t.LiteralC<"Text">;
946
- }>, t.PartialC<{
947
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
948
- config: t.ExactC<t.PartialC<{
949
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
950
- useAsTitle: t.BooleanC;
951
- placeholder: t.StringC;
952
- }>>;
953
- }>]>>;
954
- }>>]>;
955
- }>>, t.ExactC<t.PartialC<{
956
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
957
- repeat: t.BooleanC;
958
- }>>]>;
959
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
844
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
960
845
  type: t.LiteralC<"Group">;
961
846
  }>, t.PartialC<{
962
847
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -1093,6 +978,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
1093
978
  masks: t.Type<readonly string[], object, unknown>;
1094
979
  tags: t.Type<readonly string[], object, unknown>;
1095
980
  allowTargetBlank: t.BooleanC;
981
+ allowText: t.BooleanC;
1096
982
  }>>;
1097
983
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1098
984
  type: t.LiteralC<"Image">;
@@ -1121,47 +1007,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
1121
1007
  placeholder: t.StringC;
1122
1008
  catalog: t.StringC;
1123
1009
  }>>;
1124
- }>]>>]>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1125
- type: t.LiteralC<"Group">;
1126
- }>, t.PartialC<{
1127
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1128
- icon: t.StringC;
1129
- description: t.StringC;
1130
- config: t.IntersectionC<[t.ExactC<t.TypeC<{
1131
- as: t.LiteralC<"Link">;
1132
- fields: t.IntersectionC<[t.ExactC<t.TypeC<{
1133
- link: t.ExactC<t.IntersectionC<[t.TypeC<{
1134
- type: t.LiteralC<"Link">;
1135
- }>, t.PartialC<{
1136
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1137
- config: t.ExactC<t.PartialC<{
1138
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1139
- useAsTitle: t.BooleanC;
1140
- placeholder: t.StringC;
1141
- select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
1142
- customtypes: t.ReadonlyArrayC<t.StringC>;
1143
- masks: t.Type<readonly string[], object, unknown>;
1144
- tags: t.Type<readonly string[], object, unknown>;
1145
- allowTargetBlank: t.BooleanC;
1146
- }>>;
1147
- }>]>>;
1148
- }>>, t.ExactC<t.PartialC<{
1149
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
1150
- type: t.LiteralC<"Text">;
1151
- }>, t.PartialC<{
1152
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1153
- config: t.ExactC<t.PartialC<{
1154
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1155
- useAsTitle: t.BooleanC;
1156
- placeholder: t.StringC;
1157
- }>>;
1158
- }>]>>;
1159
- }>>]>;
1160
- }>>, t.ExactC<t.PartialC<{
1161
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1162
- repeat: t.BooleanC;
1163
- }>>]>;
1164
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1010
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
1165
1011
  type: t.LiteralC<"Group">;
1166
1012
  }>, t.PartialC<{
1167
1013
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -1298,6 +1144,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
1298
1144
  masks: t.Type<readonly string[], object, unknown>;
1299
1145
  tags: t.Type<readonly string[], object, unknown>;
1300
1146
  allowTargetBlank: t.BooleanC;
1147
+ allowText: t.BooleanC;
1301
1148
  }>>;
1302
1149
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1303
1150
  type: t.LiteralC<"Image">;
@@ -1328,9 +1175,9 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
1328
1175
  }>>;
1329
1176
  }>]>>]>>;
1330
1177
  }>>;
1331
- }>]>>]>]>>;
1178
+ }>]>>]>>;
1332
1179
  }>>;
1333
- }>]>>]>]>>;
1180
+ }>]>>]>>;
1334
1181
  items: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1335
1182
  type: t.LiteralC<"Color">;
1336
1183
  }>, t.PartialC<{
@@ -1459,6 +1306,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
1459
1306
  masks: t.Type<readonly string[], object, unknown>;
1460
1307
  tags: t.Type<readonly string[], object, unknown>;
1461
1308
  allowTargetBlank: t.BooleanC;
1309
+ allowText: t.BooleanC;
1462
1310
  }>>;
1463
1311
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1464
1312
  type: t.LiteralC<"Image">;
@@ -127,6 +127,7 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
127
127
  masks: t.Type<readonly string[], object, unknown>;
128
128
  tags: t.Type<readonly string[], object, unknown>;
129
129
  allowTargetBlank: t.BooleanC;
130
+ allowText: t.BooleanC;
130
131
  }>>;
131
132
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
132
133
  type: t.LiteralC<"Image">;
@@ -155,47 +156,7 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
155
156
  placeholder: t.StringC;
156
157
  catalog: t.StringC;
157
158
  }>>;
158
- }>]>>]>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
159
- type: t.LiteralC<"Group">;
160
- }>, t.PartialC<{
161
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
162
- icon: t.StringC;
163
- description: t.StringC;
164
- config: t.IntersectionC<[t.ExactC<t.TypeC<{
165
- as: t.LiteralC<"Link">;
166
- fields: t.IntersectionC<[t.ExactC<t.TypeC<{
167
- link: t.ExactC<t.IntersectionC<[t.TypeC<{
168
- type: t.LiteralC<"Link">;
169
- }>, t.PartialC<{
170
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
171
- config: t.ExactC<t.PartialC<{
172
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
173
- useAsTitle: t.BooleanC;
174
- placeholder: t.StringC;
175
- select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
176
- customtypes: t.ReadonlyArrayC<t.StringC>;
177
- masks: t.Type<readonly string[], object, unknown>;
178
- tags: t.Type<readonly string[], object, unknown>;
179
- allowTargetBlank: t.BooleanC;
180
- }>>;
181
- }>]>>;
182
- }>>, t.ExactC<t.PartialC<{
183
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
184
- type: t.LiteralC<"Text">;
185
- }>, t.PartialC<{
186
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
187
- config: t.ExactC<t.PartialC<{
188
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
189
- useAsTitle: t.BooleanC;
190
- placeholder: t.StringC;
191
- }>>;
192
- }>]>>;
193
- }>>]>;
194
- }>>, t.ExactC<t.PartialC<{
195
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
196
- repeat: t.BooleanC;
197
- }>>]>;
198
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
159
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
199
160
  type: t.LiteralC<"Group">;
200
161
  }>, t.PartialC<{
201
162
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -332,6 +293,7 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
332
293
  masks: t.Type<readonly string[], object, unknown>;
333
294
  tags: t.Type<readonly string[], object, unknown>;
334
295
  allowTargetBlank: t.BooleanC;
296
+ allowText: t.BooleanC;
335
297
  }>>;
336
298
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
337
299
  type: t.LiteralC<"Image">;
@@ -360,47 +322,7 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
360
322
  placeholder: t.StringC;
361
323
  catalog: t.StringC;
362
324
  }>>;
363
- }>]>>]>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
364
- type: t.LiteralC<"Group">;
365
- }>, t.PartialC<{
366
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
367
- icon: t.StringC;
368
- description: t.StringC;
369
- config: t.IntersectionC<[t.ExactC<t.TypeC<{
370
- as: t.LiteralC<"Link">;
371
- fields: t.IntersectionC<[t.ExactC<t.TypeC<{
372
- link: t.ExactC<t.IntersectionC<[t.TypeC<{
373
- type: t.LiteralC<"Link">;
374
- }>, t.PartialC<{
375
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
376
- config: t.ExactC<t.PartialC<{
377
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
378
- useAsTitle: t.BooleanC;
379
- placeholder: t.StringC;
380
- select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
381
- customtypes: t.ReadonlyArrayC<t.StringC>;
382
- masks: t.Type<readonly string[], object, unknown>;
383
- tags: t.Type<readonly string[], object, unknown>;
384
- allowTargetBlank: t.BooleanC;
385
- }>>;
386
- }>]>>;
387
- }>>, t.ExactC<t.PartialC<{
388
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
389
- type: t.LiteralC<"Text">;
390
- }>, t.PartialC<{
391
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
392
- config: t.ExactC<t.PartialC<{
393
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
394
- useAsTitle: t.BooleanC;
395
- placeholder: t.StringC;
396
- }>>;
397
- }>]>>;
398
- }>>]>;
399
- }>>, t.ExactC<t.PartialC<{
400
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
401
- repeat: t.BooleanC;
402
- }>>]>;
403
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
325
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
404
326
  type: t.LiteralC<"Group">;
405
327
  }>, t.PartialC<{
406
328
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -537,6 +459,7 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
537
459
  masks: t.Type<readonly string[], object, unknown>;
538
460
  tags: t.Type<readonly string[], object, unknown>;
539
461
  allowTargetBlank: t.BooleanC;
462
+ allowText: t.BooleanC;
540
463
  }>>;
541
464
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
542
465
  type: t.LiteralC<"Image">;
@@ -567,9 +490,9 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
567
490
  }>>;
568
491
  }>]>>]>>;
569
492
  }>>;
570
- }>]>>]>]>>;
493
+ }>]>>]>>;
571
494
  }>>;
572
- }>]>>]>]>;
495
+ }>]>>]>;
573
496
  export declare type SlicePrimaryWidget = t.TypeOf<typeof SlicePrimaryWidget>;
574
497
  export declare type SlicePrimaryFieldTypes = SlicePrimaryWidget["type"];
575
498
  export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
@@ -654,6 +577,7 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
654
577
  masks?: readonly string[];
655
578
  tags?: readonly string[];
656
579
  allowTargetBlank?: boolean;
580
+ allowText?: boolean;
657
581
  };
658
582
  }) | ({
659
583
  type: "Number";
@@ -730,46 +654,6 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
730
654
  };
731
655
  }) | ({
732
656
  type: "Group";
733
- } & {
734
- fieldset?: string | null | undefined;
735
- icon?: string;
736
- description?: string;
737
- config?: {
738
- as: "Link";
739
- fields: {
740
- link: {
741
- type: "Link";
742
- } & {
743
- fieldset?: string | null | undefined;
744
- config?: {
745
- label?: string | null | undefined;
746
- useAsTitle?: boolean;
747
- placeholder?: string;
748
- select?: "media" | "document" | "web" | null;
749
- customtypes?: readonly string[];
750
- masks?: readonly string[];
751
- tags?: readonly string[];
752
- allowTargetBlank?: boolean;
753
- };
754
- };
755
- } & {
756
- text?: {
757
- type: "Text";
758
- } & {
759
- fieldset?: string | null | undefined;
760
- config?: {
761
- label?: string | null | undefined;
762
- useAsTitle?: boolean;
763
- placeholder?: string;
764
- };
765
- };
766
- };
767
- } & {
768
- label?: string | null | undefined;
769
- repeat?: boolean;
770
- };
771
- }) | ({
772
- type: "Group";
773
657
  } & {
774
658
  fieldset?: string | null | undefined;
775
659
  icon?: string;
@@ -860,6 +744,7 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
860
744
  masks?: readonly string[];
861
745
  tags?: readonly string[];
862
746
  allowTargetBlank?: boolean;
747
+ allowText?: boolean;
863
748
  };
864
749
  }) | ({
865
750
  type: "Number";
@@ -936,46 +821,6 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
936
821
  };
937
822
  }) | ({
938
823
  type: "Group";
939
- } & {
940
- fieldset?: string | null | undefined;
941
- icon?: string;
942
- description?: string;
943
- config?: {
944
- as: "Link";
945
- fields: {
946
- link: {
947
- type: "Link";
948
- } & {
949
- fieldset?: string | null | undefined;
950
- config?: {
951
- label?: string | null | undefined;
952
- useAsTitle?: boolean;
953
- placeholder?: string;
954
- select?: "media" | "document" | "web" | null;
955
- customtypes?: readonly string[];
956
- masks?: readonly string[];
957
- tags?: readonly string[];
958
- allowTargetBlank?: boolean;
959
- };
960
- };
961
- } & {
962
- text?: {
963
- type: "Text";
964
- } & {
965
- fieldset?: string | null | undefined;
966
- config?: {
967
- label?: string | null | undefined;
968
- useAsTitle?: boolean;
969
- placeholder?: string;
970
- };
971
- };
972
- };
973
- } & {
974
- label?: string | null | undefined;
975
- repeat?: boolean;
976
- };
977
- }) | ({
978
- type: "Group";
979
824
  } & {
980
825
  fieldset?: string | null | undefined;
981
826
  icon?: string;
@@ -1066,6 +911,7 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
1066
911
  masks?: readonly string[];
1067
912
  tags?: readonly string[];
1068
913
  allowTargetBlank?: boolean;
914
+ allowText?: boolean;
1069
915
  };
1070
916
  }) | ({
1071
917
  type: "Number";