@prismicio/types-internal 2.5.0-alpha.0 → 2.5.0-alpha.2

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 (50) hide show
  1. package/lib/content/Document.d.ts +3972 -7926
  2. package/lib/content/fields/GroupContent.d.ts +17 -1754
  3. package/lib/content/fields/GroupContent.js +62 -22
  4. package/lib/content/fields/WidgetContent.d.ts +3371 -7324
  5. package/lib/content/fields/nestable/NestableContent.d.ts +3 -145
  6. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +4 -212
  7. package/lib/content/fields/nestable/RichTextContent/Blocks.js +2 -0
  8. package/lib/content/fields/nestable/RichTextContent/index.d.ts +4 -184
  9. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +6 -290
  10. package/lib/content/fields/slices/Slice/CompositeSliceContent.js +3 -0
  11. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +2 -383
  12. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +15 -1333
  13. package/lib/content/fields/slices/Slice/SharedSliceContent.js +2 -0
  14. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +7 -1182
  15. package/lib/content/fields/slices/Slice/SimpleSliceContent.js +1 -0
  16. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +7 -1182
  17. package/lib/content/fields/slices/Slice/index.d.ts +983 -2935
  18. package/lib/content/fields/slices/SliceItem.d.ts +148 -2100
  19. package/lib/content/fields/slices/SlicesContent.d.ts +866 -3644
  20. package/lib/content/fields/withDefaultValues.d.ts +4 -3
  21. package/lib/content/fields/withDefaultValues.js +17 -1
  22. package/lib/customtypes/CustomType.d.ts +70 -915
  23. package/lib/customtypes/Section.d.ts +70 -915
  24. package/lib/customtypes/diff/SharedSlice.d.ts +2 -340
  25. package/lib/customtypes/diff/Variation.d.ts +4 -351
  26. package/lib/customtypes/diff/Variation.js +4 -3
  27. package/lib/customtypes/diff/Widgets.d.ts +11 -0
  28. package/lib/customtypes/diff/Widgets.js +2 -0
  29. package/lib/customtypes/diff/index.d.ts +1 -0
  30. package/lib/customtypes/diff/index.js +1 -0
  31. package/lib/customtypes/widgets/Group.d.ts +15 -331
  32. package/lib/customtypes/widgets/Group.js +25 -5
  33. package/lib/customtypes/widgets/Widget.d.ts +7 -1014
  34. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -168
  35. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +2 -336
  36. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +3 -338
  37. package/lib/customtypes/widgets/slices/Slices.d.ts +7 -1184
  38. package/lib/validators/function.js +8 -1
  39. package/package.json +5 -5
  40. package/src/content/fields/GroupContent.ts +107 -32
  41. package/src/content/fields/nestable/RichTextContent/Blocks.ts +3 -1
  42. package/src/content/fields/slices/Slice/CompositeSliceContent.ts +7 -4
  43. package/src/content/fields/slices/Slice/SharedSliceContent.ts +5 -3
  44. package/src/content/fields/slices/Slice/SimpleSliceContent.ts +3 -1
  45. package/src/content/fields/withDefaultValues.ts +27 -3
  46. package/src/customtypes/diff/Variation.ts +9 -20
  47. package/src/customtypes/diff/Widgets.ts +17 -0
  48. package/src/customtypes/diff/index.ts +1 -0
  49. package/src/customtypes/widgets/Group.ts +66 -20
  50. package/src/validators/function.ts +11 -1
@@ -172,174 +172,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
172
172
  placeholder: t.StringC;
173
173
  catalog: t.StringC;
174
174
  }>>;
175
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
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.ExactC<t.PartialC<{
182
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
183
- repeat: t.BooleanC;
184
- fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
185
- type: t.LiteralC<"Color">;
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
- placeholder: t.StringC;
191
- }>>;
192
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
193
- type: t.LiteralC<"Boolean">;
194
- }>, t.PartialC<{
195
- config: t.ExactC<t.PartialC<{
196
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
197
- default_value: t.BooleanC;
198
- placeholder_true: t.StringC;
199
- placeholder_false: t.StringC;
200
- }>>;
201
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
202
- type: t.LiteralC<"Embed">;
203
- }>, t.PartialC<{
204
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
205
- config: t.ExactC<t.PartialC<{
206
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
207
- placeholder: t.StringC;
208
- useAsTitle: t.BooleanC;
209
- }>>;
210
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
211
- type: t.LiteralC<"GeoPoint">;
212
- }>, t.PartialC<{
213
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
214
- config: t.ExactC<t.PartialC<{
215
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
216
- }>>;
217
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
218
- type: t.LiteralC<"Date">;
219
- }>, t.PartialC<{
220
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
221
- config: t.ExactC<t.PartialC<{
222
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
223
- placeholder: t.StringC;
224
- default: t.StringC;
225
- }>>;
226
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
227
- type: t.LiteralC<"Number">;
228
- }>, t.PartialC<{
229
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
230
- config: t.ExactC<t.PartialC<{
231
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
232
- placeholder: t.StringC;
233
- min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
234
- max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
235
- step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
236
- }>>;
237
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
238
- type: t.LiteralC<"Range">;
239
- }>, t.PartialC<{
240
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
241
- config: t.ExactC<t.PartialC<{
242
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
243
- placeholder: t.StringC;
244
- min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
245
- max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
246
- step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
247
- }>>;
248
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
249
- type: t.LiteralC<"StructuredText">;
250
- }>, t.PartialC<{
251
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
252
- config: t.ExactC<t.PartialC<{
253
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
254
- placeholder: t.StringC;
255
- useAsTitle: t.BooleanC;
256
- single: t.Type<string, string, unknown>;
257
- multi: t.Type<string, string, unknown>;
258
- imageConstraint: t.PartialC<{
259
- width: t.Type<number | null, unknown, unknown>;
260
- height: t.Type<number | null, unknown, unknown>;
261
- }>;
262
- labels: t.Type<readonly string[], object, unknown>;
263
- allowTargetBlank: t.BooleanC;
264
- }>>;
265
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
266
- type: t.LiteralC<"Select">;
267
- }>, t.PartialC<{
268
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
269
- config: t.ExactC<t.PartialC<{
270
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
271
- placeholder: t.StringC;
272
- default_value: t.StringC;
273
- options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
274
- }>>;
275
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
276
- type: t.LiteralC<"Separator">;
277
- }>, t.PartialC<{
278
- config: t.ExactC<t.PartialC<{
279
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
280
- }>>;
281
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
282
- type: t.LiteralC<"Text">;
283
- }>, t.PartialC<{
284
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
285
- config: t.ExactC<t.PartialC<{
286
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
287
- useAsTitle: t.BooleanC;
288
- placeholder: t.StringC;
289
- }>>;
290
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
291
- type: t.LiteralC<"Timestamp">;
292
- }>, t.PartialC<{
293
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
294
- config: t.ExactC<t.PartialC<{
295
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
296
- placeholder: t.StringC;
297
- default: t.StringC;
298
- }>>;
299
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
300
- type: t.LiteralC<"Link">;
301
- }>, t.PartialC<{
302
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
303
- config: t.ExactC<t.PartialC<{
304
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
305
- useAsTitle: t.BooleanC;
306
- placeholder: t.StringC;
307
- select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
308
- customtypes: t.ReadonlyArrayC<t.StringC>;
309
- masks: t.Type<readonly string[], object, unknown>;
310
- tags: t.Type<readonly string[], object, unknown>;
311
- allowTargetBlank: t.BooleanC;
312
- }>>;
313
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
314
- type: t.LiteralC<"Image">;
315
- }>, t.PartialC<{
316
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
317
- config: t.ExactC<t.PartialC<{
318
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
319
- placeholder: t.StringC;
320
- constraint: t.PartialC<{
321
- width: t.Type<number | null, unknown, unknown>;
322
- height: t.Type<number | null, unknown, unknown>;
323
- }>;
324
- thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
325
- name: t.StringC;
326
- }>, t.PartialC<{
327
- width: t.Type<number | null, unknown, unknown>;
328
- height: t.Type<number | null, unknown, unknown>;
329
- }>]>>>;
330
- }>>;
331
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
332
- type: t.LiteralC<"IntegrationFields">;
333
- }>, t.PartialC<{
334
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
335
- config: t.ExactC<t.PartialC<{
336
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
337
- placeholder: t.StringC;
338
- catalog: t.StringC;
339
- }>>;
340
- }>]>>]>>;
341
- }>>;
342
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
175
+ }>]>>]>, t.Type<import("..").Group, import("..").Group, unknown>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
343
176
  type: t.LiteralC<"Slice">;
344
177
  }>, t.PartialC<{
345
178
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -828,174 +661,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
828
661
  placeholder: t.StringC;
829
662
  catalog: t.StringC;
830
663
  }>>;
831
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
832
- type: t.LiteralC<"Group">;
833
- }>, t.PartialC<{
834
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
835
- icon: t.StringC;
836
- description: t.StringC;
837
- config: t.ExactC<t.PartialC<{
838
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
839
- repeat: t.BooleanC;
840
- fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
841
- type: t.LiteralC<"Color">;
842
- }>, t.PartialC<{
843
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
844
- config: t.ExactC<t.PartialC<{
845
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
846
- placeholder: t.StringC;
847
- }>>;
848
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
849
- type: t.LiteralC<"Boolean">;
850
- }>, t.PartialC<{
851
- config: t.ExactC<t.PartialC<{
852
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
853
- default_value: t.BooleanC;
854
- placeholder_true: t.StringC;
855
- placeholder_false: t.StringC;
856
- }>>;
857
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
858
- type: t.LiteralC<"Embed">;
859
- }>, t.PartialC<{
860
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
861
- config: t.ExactC<t.PartialC<{
862
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
863
- placeholder: t.StringC;
864
- useAsTitle: t.BooleanC;
865
- }>>;
866
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
867
- type: t.LiteralC<"GeoPoint">;
868
- }>, t.PartialC<{
869
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
870
- config: t.ExactC<t.PartialC<{
871
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
872
- }>>;
873
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
874
- type: t.LiteralC<"Date">;
875
- }>, t.PartialC<{
876
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
877
- config: t.ExactC<t.PartialC<{
878
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
879
- placeholder: t.StringC;
880
- default: t.StringC;
881
- }>>;
882
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
883
- type: t.LiteralC<"Number">;
884
- }>, t.PartialC<{
885
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
886
- config: t.ExactC<t.PartialC<{
887
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
888
- placeholder: t.StringC;
889
- min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
890
- max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
891
- step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
892
- }>>;
893
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
894
- type: t.LiteralC<"Range">;
895
- }>, t.PartialC<{
896
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
897
- config: t.ExactC<t.PartialC<{
898
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
899
- placeholder: t.StringC;
900
- min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
901
- max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
902
- step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
903
- }>>;
904
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
905
- type: t.LiteralC<"StructuredText">;
906
- }>, t.PartialC<{
907
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
908
- config: t.ExactC<t.PartialC<{
909
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
910
- placeholder: t.StringC;
911
- useAsTitle: t.BooleanC;
912
- single: t.Type<string, string, unknown>;
913
- multi: t.Type<string, string, unknown>;
914
- imageConstraint: t.PartialC<{
915
- width: t.Type<number | null, unknown, unknown>;
916
- height: t.Type<number | null, unknown, unknown>;
917
- }>;
918
- labels: t.Type<readonly string[], object, unknown>;
919
- allowTargetBlank: t.BooleanC;
920
- }>>;
921
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
922
- type: t.LiteralC<"Select">;
923
- }>, t.PartialC<{
924
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
925
- config: t.ExactC<t.PartialC<{
926
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
927
- placeholder: t.StringC;
928
- default_value: t.StringC;
929
- options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
930
- }>>;
931
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
932
- type: t.LiteralC<"Separator">;
933
- }>, t.PartialC<{
934
- config: t.ExactC<t.PartialC<{
935
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
936
- }>>;
937
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
938
- type: t.LiteralC<"Text">;
939
- }>, t.PartialC<{
940
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
941
- config: t.ExactC<t.PartialC<{
942
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
943
- useAsTitle: t.BooleanC;
944
- placeholder: t.StringC;
945
- }>>;
946
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
947
- type: t.LiteralC<"Timestamp">;
948
- }>, t.PartialC<{
949
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
950
- config: t.ExactC<t.PartialC<{
951
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
952
- placeholder: t.StringC;
953
- default: t.StringC;
954
- }>>;
955
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
956
- type: t.LiteralC<"Link">;
957
- }>, t.PartialC<{
958
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
959
- config: t.ExactC<t.PartialC<{
960
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
961
- useAsTitle: t.BooleanC;
962
- placeholder: t.StringC;
963
- select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
964
- customtypes: t.ReadonlyArrayC<t.StringC>;
965
- masks: t.Type<readonly string[], object, unknown>;
966
- tags: t.Type<readonly string[], object, unknown>;
967
- allowTargetBlank: t.BooleanC;
968
- }>>;
969
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
970
- type: t.LiteralC<"Image">;
971
- }>, t.PartialC<{
972
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
973
- config: t.ExactC<t.PartialC<{
974
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
975
- placeholder: t.StringC;
976
- constraint: t.PartialC<{
977
- width: t.Type<number | null, unknown, unknown>;
978
- height: t.Type<number | null, unknown, unknown>;
979
- }>;
980
- thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
981
- name: t.StringC;
982
- }>, t.PartialC<{
983
- width: t.Type<number | null, unknown, unknown>;
984
- height: t.Type<number | null, unknown, unknown>;
985
- }>]>>>;
986
- }>>;
987
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
988
- type: t.LiteralC<"IntegrationFields">;
989
- }>, t.PartialC<{
990
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
991
- config: t.ExactC<t.PartialC<{
992
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
993
- placeholder: t.StringC;
994
- catalog: t.StringC;
995
- }>>;
996
- }>]>>]>>;
997
- }>>;
998
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
664
+ }>]>>]>, t.Type<import("..").Group, import("..").Group, unknown>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
999
665
  type: t.LiteralC<"Slice">;
1000
666
  }>, t.PartialC<{
1001
667
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -1489,176 +1155,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1489
1155
  placeholder?: string;
1490
1156
  default?: string;
1491
1157
  };
1492
- }) | ({
1493
- type: "Group";
1494
- } & {
1495
- fieldset?: string | null | undefined;
1496
- icon?: string;
1497
- description?: string;
1498
- config?: {
1499
- label?: string | null | undefined;
1500
- repeat?: boolean;
1501
- fields?: {
1502
- [x: string]: ({
1503
- type: "Boolean";
1504
- } & {
1505
- config?: {
1506
- label?: string | null | undefined;
1507
- default_value?: boolean;
1508
- placeholder_true?: string;
1509
- placeholder_false?: string;
1510
- };
1511
- }) | ({
1512
- type: "Color";
1513
- } & {
1514
- fieldset?: string | null | undefined;
1515
- config?: {
1516
- label?: string | null | undefined;
1517
- placeholder?: string;
1518
- };
1519
- }) | ({
1520
- type: "Date";
1521
- } & {
1522
- fieldset?: string | null | undefined;
1523
- config?: {
1524
- label?: string | null | undefined;
1525
- placeholder?: string;
1526
- default?: string;
1527
- };
1528
- }) | ({
1529
- type: "Embed";
1530
- } & {
1531
- fieldset?: string | null | undefined;
1532
- config?: {
1533
- label?: string | null | undefined;
1534
- placeholder?: string;
1535
- useAsTitle?: boolean;
1536
- };
1537
- }) | ({
1538
- type: "GeoPoint";
1539
- } & {
1540
- fieldset?: string | null | undefined;
1541
- config?: {
1542
- label?: string | null | undefined;
1543
- };
1544
- }) | ({
1545
- type: "Image";
1546
- } & {
1547
- fieldset?: string | null | undefined;
1548
- config?: {
1549
- label?: string | null | undefined;
1550
- placeholder?: string;
1551
- constraint?: {
1552
- width?: number | null;
1553
- height?: number | null;
1554
- };
1555
- thumbnails?: readonly ({
1556
- name: string;
1557
- } & {
1558
- width?: number | null;
1559
- height?: number | null;
1560
- })[];
1561
- };
1562
- }) | ({
1563
- type: "IntegrationFields";
1564
- } & {
1565
- fieldset?: string | null | undefined;
1566
- config?: {
1567
- label?: string | null | undefined;
1568
- placeholder?: string;
1569
- catalog?: string;
1570
- };
1571
- }) | ({
1572
- type: "Link";
1573
- } & {
1574
- fieldset?: string | null | undefined;
1575
- config?: {
1576
- label?: string | null | undefined;
1577
- useAsTitle?: boolean;
1578
- placeholder?: string;
1579
- select?: "media" | "document" | "web" | null;
1580
- customtypes?: readonly string[];
1581
- masks?: readonly string[];
1582
- tags?: readonly string[];
1583
- allowTargetBlank?: boolean;
1584
- };
1585
- }) | ({
1586
- type: "Number";
1587
- } & {
1588
- fieldset?: string | null | undefined;
1589
- config?: {
1590
- label?: string | null | undefined;
1591
- placeholder?: string;
1592
- min?: number;
1593
- max?: number;
1594
- step?: number;
1595
- };
1596
- }) | ({
1597
- type: "Range";
1598
- } & {
1599
- fieldset?: string | null | undefined;
1600
- config?: {
1601
- label?: string | null | undefined;
1602
- placeholder?: string;
1603
- min?: number;
1604
- max?: number;
1605
- step?: number;
1606
- };
1607
- }) | ({
1608
- type: "StructuredText";
1609
- } & {
1610
- fieldset?: string | null | undefined;
1611
- config?: {
1612
- label?: string | null | undefined;
1613
- placeholder?: string;
1614
- useAsTitle?: boolean;
1615
- single?: string;
1616
- multi?: string;
1617
- imageConstraint?: {
1618
- width?: number | null;
1619
- height?: number | null;
1620
- };
1621
- labels?: readonly string[];
1622
- allowTargetBlank?: boolean;
1623
- };
1624
- }) | ({
1625
- type: "Select";
1626
- } & {
1627
- fieldset?: string | null | undefined;
1628
- config?: {
1629
- label?: string | null | undefined;
1630
- placeholder?: string;
1631
- default_value?: string;
1632
- options?: readonly string[];
1633
- };
1634
- }) | ({
1635
- type: "Separator";
1636
- } & {
1637
- config?: {
1638
- label?: string | null | undefined;
1639
- };
1640
- }) | ({
1641
- type: "Text";
1642
- } & {
1643
- fieldset?: string | null | undefined;
1644
- config?: {
1645
- label?: string | null | undefined;
1646
- useAsTitle?: boolean;
1647
- placeholder?: string;
1648
- };
1649
- }) | ({
1650
- type: "Timestamp";
1651
- } & {
1652
- fieldset?: string | null | undefined;
1653
- config?: {
1654
- label?: string | null | undefined;
1655
- placeholder?: string;
1656
- default?: string;
1657
- };
1658
- });
1659
- };
1660
- };
1661
- });
1158
+ }) | import("..").Group;
1662
1159
  };
1663
1160
  items?: {
1664
1161
  [x: string]: ({
@@ -1991,174 +1488,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1991
1488
  placeholder: t.StringC;
1992
1489
  catalog: t.StringC;
1993
1490
  }>>;
1994
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
1995
- type: t.LiteralC<"Group">;
1996
- }>, t.PartialC<{
1997
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1998
- icon: t.StringC;
1999
- description: t.StringC;
2000
- config: t.ExactC<t.PartialC<{
2001
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2002
- repeat: t.BooleanC;
2003
- fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2004
- type: t.LiteralC<"Color">;
2005
- }>, t.PartialC<{
2006
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2007
- config: t.ExactC<t.PartialC<{
2008
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2009
- placeholder: t.StringC;
2010
- }>>;
2011
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2012
- type: t.LiteralC<"Boolean">;
2013
- }>, t.PartialC<{
2014
- config: t.ExactC<t.PartialC<{
2015
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2016
- default_value: t.BooleanC;
2017
- placeholder_true: t.StringC;
2018
- placeholder_false: t.StringC;
2019
- }>>;
2020
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2021
- type: t.LiteralC<"Embed">;
2022
- }>, t.PartialC<{
2023
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2024
- config: t.ExactC<t.PartialC<{
2025
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2026
- placeholder: t.StringC;
2027
- useAsTitle: t.BooleanC;
2028
- }>>;
2029
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2030
- type: t.LiteralC<"GeoPoint">;
2031
- }>, t.PartialC<{
2032
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2033
- config: t.ExactC<t.PartialC<{
2034
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2035
- }>>;
2036
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2037
- type: t.LiteralC<"Date">;
2038
- }>, t.PartialC<{
2039
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2040
- config: t.ExactC<t.PartialC<{
2041
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2042
- placeholder: t.StringC;
2043
- default: t.StringC;
2044
- }>>;
2045
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2046
- type: t.LiteralC<"Number">;
2047
- }>, t.PartialC<{
2048
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2049
- config: t.ExactC<t.PartialC<{
2050
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2051
- placeholder: t.StringC;
2052
- min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2053
- max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2054
- step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2055
- }>>;
2056
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2057
- type: t.LiteralC<"Range">;
2058
- }>, t.PartialC<{
2059
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2060
- config: t.ExactC<t.PartialC<{
2061
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2062
- placeholder: t.StringC;
2063
- min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2064
- max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2065
- step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2066
- }>>;
2067
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2068
- type: t.LiteralC<"StructuredText">;
2069
- }>, t.PartialC<{
2070
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2071
- config: t.ExactC<t.PartialC<{
2072
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2073
- placeholder: t.StringC;
2074
- useAsTitle: t.BooleanC;
2075
- single: t.Type<string, string, unknown>;
2076
- multi: t.Type<string, string, unknown>;
2077
- imageConstraint: t.PartialC<{
2078
- width: t.Type<number | null, unknown, unknown>;
2079
- height: t.Type<number | null, unknown, unknown>;
2080
- }>;
2081
- labels: t.Type<readonly string[], object, unknown>;
2082
- allowTargetBlank: t.BooleanC;
2083
- }>>;
2084
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2085
- type: t.LiteralC<"Select">;
2086
- }>, t.PartialC<{
2087
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2088
- config: t.ExactC<t.PartialC<{
2089
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2090
- placeholder: t.StringC;
2091
- default_value: t.StringC;
2092
- options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
2093
- }>>;
2094
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2095
- type: t.LiteralC<"Separator">;
2096
- }>, t.PartialC<{
2097
- config: t.ExactC<t.PartialC<{
2098
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2099
- }>>;
2100
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2101
- type: t.LiteralC<"Text">;
2102
- }>, t.PartialC<{
2103
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2104
- config: t.ExactC<t.PartialC<{
2105
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2106
- useAsTitle: t.BooleanC;
2107
- placeholder: t.StringC;
2108
- }>>;
2109
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2110
- type: t.LiteralC<"Timestamp">;
2111
- }>, t.PartialC<{
2112
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2113
- config: t.ExactC<t.PartialC<{
2114
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2115
- placeholder: t.StringC;
2116
- default: t.StringC;
2117
- }>>;
2118
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2119
- type: t.LiteralC<"Link">;
2120
- }>, t.PartialC<{
2121
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2122
- config: t.ExactC<t.PartialC<{
2123
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2124
- useAsTitle: t.BooleanC;
2125
- placeholder: t.StringC;
2126
- select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
2127
- customtypes: t.ReadonlyArrayC<t.StringC>;
2128
- masks: t.Type<readonly string[], object, unknown>;
2129
- tags: t.Type<readonly string[], object, unknown>;
2130
- allowTargetBlank: t.BooleanC;
2131
- }>>;
2132
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2133
- type: t.LiteralC<"Image">;
2134
- }>, t.PartialC<{
2135
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2136
- config: t.ExactC<t.PartialC<{
2137
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2138
- placeholder: t.StringC;
2139
- constraint: t.PartialC<{
2140
- width: t.Type<number | null, unknown, unknown>;
2141
- height: t.Type<number | null, unknown, unknown>;
2142
- }>;
2143
- thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2144
- name: t.StringC;
2145
- }>, t.PartialC<{
2146
- width: t.Type<number | null, unknown, unknown>;
2147
- height: t.Type<number | null, unknown, unknown>;
2148
- }>]>>>;
2149
- }>>;
2150
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2151
- type: t.LiteralC<"IntegrationFields">;
2152
- }>, t.PartialC<{
2153
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2154
- config: t.ExactC<t.PartialC<{
2155
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2156
- placeholder: t.StringC;
2157
- catalog: t.StringC;
2158
- }>>;
2159
- }>]>>]>>;
2160
- }>>;
2161
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
1491
+ }>]>>]>, t.Type<import("..").Group, import("..").Group, unknown>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
2162
1492
  type: t.LiteralC<"Slice">;
2163
1493
  }>, t.PartialC<{
2164
1494
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -2669,176 +1999,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2669
1999
  placeholder?: string;
2670
2000
  default?: string;
2671
2001
  };
2672
- }) | ({
2673
- type: "Group";
2674
- } & {
2675
- fieldset?: string | null | undefined;
2676
- icon?: string;
2677
- description?: string;
2678
- config?: {
2679
- label?: string | null | undefined;
2680
- repeat?: boolean;
2681
- fields?: {
2682
- [x: string]: ({
2683
- type: "Boolean";
2684
- } & {
2685
- config?: {
2686
- label?: string | null | undefined;
2687
- default_value?: boolean;
2688
- placeholder_true?: string;
2689
- placeholder_false?: string;
2690
- };
2691
- }) | ({
2692
- type: "Color";
2693
- } & {
2694
- fieldset?: string | null | undefined;
2695
- config?: {
2696
- label?: string | null | undefined;
2697
- placeholder?: string;
2698
- };
2699
- }) | ({
2700
- type: "Date";
2701
- } & {
2702
- fieldset?: string | null | undefined;
2703
- config?: {
2704
- label?: string | null | undefined;
2705
- placeholder?: string;
2706
- default?: string;
2707
- };
2708
- }) | ({
2709
- type: "Embed";
2710
- } & {
2711
- fieldset?: string | null | undefined;
2712
- config?: {
2713
- label?: string | null | undefined;
2714
- placeholder?: string;
2715
- useAsTitle?: boolean;
2716
- };
2717
- }) | ({
2718
- type: "GeoPoint";
2719
- } & {
2720
- fieldset?: string | null | undefined;
2721
- config?: {
2722
- label?: string | null | undefined;
2723
- };
2724
- }) | ({
2725
- type: "Image";
2726
- } & {
2727
- fieldset?: string | null | undefined;
2728
- config?: {
2729
- label?: string | null | undefined;
2730
- placeholder?: string;
2731
- constraint?: {
2732
- width?: number | null;
2733
- height?: number | null;
2734
- };
2735
- thumbnails?: readonly ({
2736
- name: string;
2737
- } & {
2738
- width?: number | null;
2739
- height?: number | null;
2740
- })[];
2741
- };
2742
- }) | ({
2743
- type: "IntegrationFields";
2744
- } & {
2745
- fieldset?: string | null | undefined;
2746
- config?: {
2747
- label?: string | null | undefined;
2748
- placeholder?: string;
2749
- catalog?: string;
2750
- };
2751
- }) | ({
2752
- type: "Link";
2753
- } & {
2754
- fieldset?: string | null | undefined;
2755
- config?: {
2756
- label?: string | null | undefined;
2757
- useAsTitle?: boolean;
2758
- placeholder?: string;
2759
- select?: "media" | "document" | "web" | null;
2760
- customtypes?: readonly string[];
2761
- masks?: readonly string[];
2762
- tags?: readonly string[];
2763
- allowTargetBlank?: boolean;
2764
- };
2765
- }) | ({
2766
- type: "Number";
2767
- } & {
2768
- fieldset?: string | null | undefined;
2769
- config?: {
2770
- label?: string | null | undefined;
2771
- placeholder?: string;
2772
- min?: number;
2773
- max?: number;
2774
- step?: number;
2775
- };
2776
- }) | ({
2777
- type: "Range";
2778
- } & {
2779
- fieldset?: string | null | undefined;
2780
- config?: {
2781
- label?: string | null | undefined;
2782
- placeholder?: string;
2783
- min?: number;
2784
- max?: number;
2785
- step?: number;
2786
- };
2787
- }) | ({
2788
- type: "StructuredText";
2789
- } & {
2790
- fieldset?: string | null | undefined;
2791
- config?: {
2792
- label?: string | null | undefined;
2793
- placeholder?: string;
2794
- useAsTitle?: boolean;
2795
- single?: string;
2796
- multi?: string;
2797
- imageConstraint?: {
2798
- width?: number | null;
2799
- height?: number | null;
2800
- };
2801
- labels?: readonly string[];
2802
- allowTargetBlank?: boolean;
2803
- };
2804
- }) | ({
2805
- type: "Select";
2806
- } & {
2807
- fieldset?: string | null | undefined;
2808
- config?: {
2809
- label?: string | null | undefined;
2810
- placeholder?: string;
2811
- default_value?: string;
2812
- options?: readonly string[];
2813
- };
2814
- }) | ({
2815
- type: "Separator";
2816
- } & {
2817
- config?: {
2818
- label?: string | null | undefined;
2819
- };
2820
- }) | ({
2821
- type: "Text";
2822
- } & {
2823
- fieldset?: string | null | undefined;
2824
- config?: {
2825
- label?: string | null | undefined;
2826
- useAsTitle?: boolean;
2827
- placeholder?: string;
2828
- };
2829
- }) | ({
2830
- type: "Timestamp";
2831
- } & {
2832
- fieldset?: string | null | undefined;
2833
- config?: {
2834
- label?: string | null | undefined;
2835
- placeholder?: string;
2836
- default?: string;
2837
- };
2838
- });
2839
- };
2840
- };
2841
- }) | ({
2002
+ }) | import("..").Group | ({
2842
2003
  type: "Slice";
2843
2004
  } & {
2844
2005
  fieldset?: string | null | undefined;
@@ -3336,176 +2497,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3336
2497
  placeholder?: string;
3337
2498
  default?: string;
3338
2499
  };
3339
- }) | ({
3340
- type: "Group";
3341
- } & {
3342
- fieldset?: string | null | undefined;
3343
- icon?: string;
3344
- description?: string;
3345
- config?: {
3346
- label?: string | null | undefined;
3347
- repeat?: boolean;
3348
- fields?: {
3349
- [x: string]: ({
3350
- type: "Boolean";
3351
- } & {
3352
- config?: {
3353
- label?: string | null | undefined;
3354
- default_value?: boolean;
3355
- placeholder_true?: string;
3356
- placeholder_false?: string;
3357
- };
3358
- }) | ({
3359
- type: "Color";
3360
- } & {
3361
- fieldset?: string | null | undefined;
3362
- config?: {
3363
- label?: string | null | undefined;
3364
- placeholder?: string;
3365
- };
3366
- }) | ({
3367
- type: "Date";
3368
- } & {
3369
- fieldset?: string | null | undefined;
3370
- config?: {
3371
- label?: string | null | undefined;
3372
- placeholder?: string;
3373
- default?: string;
3374
- };
3375
- }) | ({
3376
- type: "Embed";
3377
- } & {
3378
- fieldset?: string | null | undefined;
3379
- config?: {
3380
- label?: string | null | undefined;
3381
- placeholder?: string;
3382
- useAsTitle?: boolean;
3383
- };
3384
- }) | ({
3385
- type: "GeoPoint";
3386
- } & {
3387
- fieldset?: string | null | undefined;
3388
- config?: {
3389
- label?: string | null | undefined;
3390
- };
3391
- }) | ({
3392
- type: "Image";
3393
- } & {
3394
- fieldset?: string | null | undefined;
3395
- config?: {
3396
- label?: string | null | undefined;
3397
- placeholder?: string;
3398
- constraint?: {
3399
- width?: number | null;
3400
- height?: number | null;
3401
- };
3402
- thumbnails?: readonly ({
3403
- name: string;
3404
- } & {
3405
- width?: number | null;
3406
- height?: number | null;
3407
- })[];
3408
- };
3409
- }) | ({
3410
- type: "IntegrationFields";
3411
- } & {
3412
- fieldset?: string | null | undefined;
3413
- config?: {
3414
- label?: string | null | undefined;
3415
- placeholder?: string;
3416
- catalog?: string;
3417
- };
3418
- }) | ({
3419
- type: "Link";
3420
- } & {
3421
- fieldset?: string | null | undefined;
3422
- config?: {
3423
- label?: string | null | undefined;
3424
- useAsTitle?: boolean;
3425
- placeholder?: string;
3426
- select?: "media" | "document" | "web" | null;
3427
- customtypes?: readonly string[];
3428
- masks?: readonly string[];
3429
- tags?: readonly string[];
3430
- allowTargetBlank?: boolean;
3431
- };
3432
- }) | ({
3433
- type: "Number";
3434
- } & {
3435
- fieldset?: string | null | undefined;
3436
- config?: {
3437
- label?: string | null | undefined;
3438
- placeholder?: string;
3439
- min?: number;
3440
- max?: number;
3441
- step?: number;
3442
- };
3443
- }) | ({
3444
- type: "Range";
3445
- } & {
3446
- fieldset?: string | null | undefined;
3447
- config?: {
3448
- label?: string | null | undefined;
3449
- placeholder?: string;
3450
- min?: number;
3451
- max?: number;
3452
- step?: number;
3453
- };
3454
- }) | ({
3455
- type: "StructuredText";
3456
- } & {
3457
- fieldset?: string | null | undefined;
3458
- config?: {
3459
- label?: string | null | undefined;
3460
- placeholder?: string;
3461
- useAsTitle?: boolean;
3462
- single?: string;
3463
- multi?: string;
3464
- imageConstraint?: {
3465
- width?: number | null;
3466
- height?: number | null;
3467
- };
3468
- labels?: readonly string[];
3469
- allowTargetBlank?: boolean;
3470
- };
3471
- }) | ({
3472
- type: "Select";
3473
- } & {
3474
- fieldset?: string | null | undefined;
3475
- config?: {
3476
- label?: string | null | undefined;
3477
- placeholder?: string;
3478
- default_value?: string;
3479
- options?: readonly string[];
3480
- };
3481
- }) | ({
3482
- type: "Separator";
3483
- } & {
3484
- config?: {
3485
- label?: string | null | undefined;
3486
- };
3487
- }) | ({
3488
- type: "Text";
3489
- } & {
3490
- fieldset?: string | null | undefined;
3491
- config?: {
3492
- label?: string | null | undefined;
3493
- useAsTitle?: boolean;
3494
- placeholder?: string;
3495
- };
3496
- }) | ({
3497
- type: "Timestamp";
3498
- } & {
3499
- fieldset?: string | null | undefined;
3500
- config?: {
3501
- label?: string | null | undefined;
3502
- placeholder?: string;
3503
- default?: string;
3504
- };
3505
- });
3506
- };
3507
- };
3508
- });
2500
+ }) | import("..").Group;
3509
2501
  };
3510
2502
  items?: {
3511
2503
  [x: string]: ({
@@ -3850,176 +2842,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3850
2842
  placeholder?: string;
3851
2843
  default?: string;
3852
2844
  };
3853
- }) | ({
3854
- type: "Group";
3855
- } & {
3856
- fieldset?: string | null | undefined;
3857
- icon?: string;
3858
- description?: string;
3859
- config?: {
3860
- label?: string | null | undefined;
3861
- repeat?: boolean;
3862
- fields?: {
3863
- [x: string]: ({
3864
- type: "Boolean";
3865
- } & {
3866
- config?: {
3867
- label?: string | null | undefined;
3868
- default_value?: boolean;
3869
- placeholder_true?: string;
3870
- placeholder_false?: string;
3871
- };
3872
- }) | ({
3873
- type: "Color";
3874
- } & {
3875
- fieldset?: string | null | undefined;
3876
- config?: {
3877
- label?: string | null | undefined;
3878
- placeholder?: string;
3879
- };
3880
- }) | ({
3881
- type: "Date";
3882
- } & {
3883
- fieldset?: string | null | undefined;
3884
- config?: {
3885
- label?: string | null | undefined;
3886
- placeholder?: string;
3887
- default?: string;
3888
- };
3889
- }) | ({
3890
- type: "Embed";
3891
- } & {
3892
- fieldset?: string | null | undefined;
3893
- config?: {
3894
- label?: string | null | undefined;
3895
- placeholder?: string;
3896
- useAsTitle?: boolean;
3897
- };
3898
- }) | ({
3899
- type: "GeoPoint";
3900
- } & {
3901
- fieldset?: string | null | undefined;
3902
- config?: {
3903
- label?: string | null | undefined;
3904
- };
3905
- }) | ({
3906
- type: "Image";
3907
- } & {
3908
- fieldset?: string | null | undefined;
3909
- config?: {
3910
- label?: string | null | undefined;
3911
- placeholder?: string;
3912
- constraint?: {
3913
- width?: number | null;
3914
- height?: number | null;
3915
- };
3916
- thumbnails?: readonly ({
3917
- name: string;
3918
- } & {
3919
- width?: number | null;
3920
- height?: number | null;
3921
- })[];
3922
- };
3923
- }) | ({
3924
- type: "IntegrationFields";
3925
- } & {
3926
- fieldset?: string | null | undefined;
3927
- config?: {
3928
- label?: string | null | undefined;
3929
- placeholder?: string;
3930
- catalog?: string;
3931
- };
3932
- }) | ({
3933
- type: "Link";
3934
- } & {
3935
- fieldset?: string | null | undefined;
3936
- config?: {
3937
- label?: string | null | undefined;
3938
- useAsTitle?: boolean;
3939
- placeholder?: string;
3940
- select?: "media" | "document" | "web" | null;
3941
- customtypes?: readonly string[];
3942
- masks?: readonly string[];
3943
- tags?: readonly string[];
3944
- allowTargetBlank?: boolean;
3945
- };
3946
- }) | ({
3947
- type: "Number";
3948
- } & {
3949
- fieldset?: string | null | undefined;
3950
- config?: {
3951
- label?: string | null | undefined;
3952
- placeholder?: string;
3953
- min?: number;
3954
- max?: number;
3955
- step?: number;
3956
- };
3957
- }) | ({
3958
- type: "Range";
3959
- } & {
3960
- fieldset?: string | null | undefined;
3961
- config?: {
3962
- label?: string | null | undefined;
3963
- placeholder?: string;
3964
- min?: number;
3965
- max?: number;
3966
- step?: number;
3967
- };
3968
- }) | ({
3969
- type: "StructuredText";
3970
- } & {
3971
- fieldset?: string | null | undefined;
3972
- config?: {
3973
- label?: string | null | undefined;
3974
- placeholder?: string;
3975
- useAsTitle?: boolean;
3976
- single?: string;
3977
- multi?: string;
3978
- imageConstraint?: {
3979
- width?: number | null;
3980
- height?: number | null;
3981
- };
3982
- labels?: readonly string[];
3983
- allowTargetBlank?: boolean;
3984
- };
3985
- }) | ({
3986
- type: "Select";
3987
- } & {
3988
- fieldset?: string | null | undefined;
3989
- config?: {
3990
- label?: string | null | undefined;
3991
- placeholder?: string;
3992
- default_value?: string;
3993
- options?: readonly string[];
3994
- };
3995
- }) | ({
3996
- type: "Separator";
3997
- } & {
3998
- config?: {
3999
- label?: string | null | undefined;
4000
- };
4001
- }) | ({
4002
- type: "Text";
4003
- } & {
4004
- fieldset?: string | null | undefined;
4005
- config?: {
4006
- label?: string | null | undefined;
4007
- useAsTitle?: boolean;
4008
- placeholder?: string;
4009
- };
4010
- }) | ({
4011
- type: "Timestamp";
4012
- } & {
4013
- fieldset?: string | null | undefined;
4014
- config?: {
4015
- label?: string | null | undefined;
4016
- placeholder?: string;
4017
- default?: string;
4018
- };
4019
- });
4020
- };
4021
- };
4022
- }) | ({
2845
+ }) | import("..").Group | ({
4023
2846
  type: "Slice";
4024
2847
  } & {
4025
2848
  fieldset?: string | null | undefined;