@prismicio/types-internal 2.5.0-alpha.2 → 2.5.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 (41) hide show
  1. package/lib/content/Document.d.ts +957 -45
  2. package/lib/content/fields/GroupContent.d.ts +8 -8
  3. package/lib/content/fields/GroupContent.js +14 -32
  4. package/lib/content/fields/WidgetContent.d.ts +957 -45
  5. package/lib/content/fields/nestable/NestableContent.d.ts +155 -3
  6. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +232 -4
  7. package/lib/content/fields/nestable/RichTextContent/Blocks.js +5 -2
  8. package/lib/content/fields/nestable/RichTextContent/index.d.ts +194 -4
  9. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +314 -10
  10. package/lib/content/fields/slices/Slice/CompositeSliceContent.js +0 -3
  11. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +80 -3
  12. package/lib/content/fields/slices/Slice/RepeatableContent.js +4 -1
  13. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +314 -10
  14. package/lib/content/fields/slices/Slice/SharedSliceContent.js +0 -2
  15. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +155 -3
  16. package/lib/content/fields/slices/Slice/SimpleSliceContent.js +0 -1
  17. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +155 -3
  18. package/lib/content/fields/slices/Slice/index.d.ts +586 -16
  19. package/lib/content/fields/slices/SliceItem.d.ts +586 -16
  20. package/lib/content/fields/slices/SlicesContent.d.ts +817 -57
  21. package/lib/customtypes/CustomType.d.ts +2042 -690
  22. package/lib/customtypes/Section.d.ts +2028 -676
  23. package/lib/customtypes/diff/SharedSlice.d.ts +678 -2
  24. package/lib/customtypes/diff/Variation.d.ts +678 -3
  25. package/lib/customtypes/widgets/Group.d.ts +996 -15
  26. package/lib/customtypes/widgets/Group.js +15 -27
  27. package/lib/customtypes/widgets/Widget.d.ts +1684 -7
  28. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +168 -2
  29. package/lib/customtypes/widgets/slices/LegacySlice.js +1 -1
  30. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +670 -2
  31. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +674 -3
  32. package/lib/customtypes/widgets/slices/Slices.d.ts +1522 -7
  33. package/package.json +1 -1
  34. package/src/content/fields/GroupContent.ts +24 -48
  35. package/src/content/fields/nestable/RichTextContent/Blocks.ts +6 -3
  36. package/src/content/fields/slices/Slice/CompositeSliceContent.ts +4 -7
  37. package/src/content/fields/slices/Slice/RepeatableContent.ts +9 -2
  38. package/src/content/fields/slices/Slice/SharedSliceContent.ts +3 -5
  39. package/src/content/fields/slices/Slice/SimpleSliceContent.ts +1 -3
  40. package/src/customtypes/widgets/Group.ts +34 -61
  41. package/src/customtypes/widgets/slices/LegacySlice.ts +2 -2
@@ -1,5 +1,4 @@
1
1
  import * as t from "io-ts";
2
- import { Group } from "../Group";
3
2
  export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4
3
  type: t.LiteralC<"Color">;
5
4
  }>, t.PartialC<{
@@ -156,7 +155,341 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
156
155
  placeholder: t.StringC;
157
156
  catalog: t.StringC;
158
157
  }>>;
159
- }>]>>]>, t.Type<Group, Group, unknown>]>;
158
+ }>]>>]>, 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.ExactC<t.PartialC<{
165
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
166
+ repeat: t.BooleanC;
167
+ fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
168
+ type: t.LiteralC<"Color">;
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
+ placeholder: t.StringC;
174
+ }>>;
175
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
176
+ type: t.LiteralC<"Boolean">;
177
+ }>, t.PartialC<{
178
+ config: t.ExactC<t.PartialC<{
179
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
180
+ default_value: t.BooleanC;
181
+ placeholder_true: t.StringC;
182
+ placeholder_false: t.StringC;
183
+ }>>;
184
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
185
+ type: t.LiteralC<"Embed">;
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
+ useAsTitle: t.BooleanC;
192
+ }>>;
193
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
194
+ type: t.LiteralC<"GeoPoint">;
195
+ }>, t.PartialC<{
196
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
197
+ config: t.ExactC<t.PartialC<{
198
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
199
+ }>>;
200
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
201
+ type: t.LiteralC<"Date">;
202
+ }>, t.PartialC<{
203
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
204
+ config: t.ExactC<t.PartialC<{
205
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
206
+ placeholder: t.StringC;
207
+ default: t.StringC;
208
+ }>>;
209
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
210
+ type: t.LiteralC<"Number">;
211
+ }>, t.PartialC<{
212
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
213
+ config: t.ExactC<t.PartialC<{
214
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
215
+ placeholder: t.StringC;
216
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
217
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
218
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
219
+ }>>;
220
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
221
+ type: t.LiteralC<"Range">;
222
+ }>, t.PartialC<{
223
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
224
+ config: t.ExactC<t.PartialC<{
225
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
226
+ placeholder: t.StringC;
227
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
228
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
229
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
230
+ }>>;
231
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
232
+ type: t.LiteralC<"StructuredText">;
233
+ }>, t.PartialC<{
234
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
235
+ config: t.ExactC<t.PartialC<{
236
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
237
+ placeholder: t.StringC;
238
+ useAsTitle: t.BooleanC;
239
+ single: t.Type<string, string, unknown>;
240
+ multi: t.Type<string, string, unknown>;
241
+ imageConstraint: t.PartialC<{
242
+ width: t.Type<number | null, unknown, unknown>;
243
+ height: t.Type<number | null, unknown, unknown>;
244
+ }>;
245
+ labels: t.Type<readonly string[], object, unknown>;
246
+ allowTargetBlank: t.BooleanC;
247
+ }>>;
248
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
249
+ type: t.LiteralC<"Select">;
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
+ default_value: t.StringC;
256
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
257
+ }>>;
258
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
259
+ type: t.LiteralC<"Separator">;
260
+ }>, t.PartialC<{
261
+ config: t.ExactC<t.PartialC<{
262
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
263
+ }>>;
264
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
265
+ type: t.LiteralC<"Text">;
266
+ }>, t.PartialC<{
267
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
268
+ config: t.ExactC<t.PartialC<{
269
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
270
+ useAsTitle: t.BooleanC;
271
+ placeholder: t.StringC;
272
+ }>>;
273
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
274
+ type: t.LiteralC<"Timestamp">;
275
+ }>, t.PartialC<{
276
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
277
+ config: t.ExactC<t.PartialC<{
278
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
279
+ placeholder: t.StringC;
280
+ default: t.StringC;
281
+ }>>;
282
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
283
+ type: t.LiteralC<"Link">;
284
+ }>, t.PartialC<{
285
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
286
+ config: t.ExactC<t.PartialC<{
287
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
288
+ useAsTitle: t.BooleanC;
289
+ placeholder: t.StringC;
290
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
291
+ customtypes: t.ReadonlyArrayC<t.StringC>;
292
+ masks: t.Type<readonly string[], object, unknown>;
293
+ tags: t.Type<readonly string[], object, unknown>;
294
+ allowTargetBlank: t.BooleanC;
295
+ }>>;
296
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
297
+ type: t.LiteralC<"Image">;
298
+ }>, t.PartialC<{
299
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
300
+ config: t.ExactC<t.PartialC<{
301
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
302
+ placeholder: t.StringC;
303
+ constraint: t.PartialC<{
304
+ width: t.Type<number | null, unknown, unknown>;
305
+ height: t.Type<number | null, unknown, unknown>;
306
+ }>;
307
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
308
+ name: t.StringC;
309
+ }>, t.PartialC<{
310
+ width: t.Type<number | null, unknown, unknown>;
311
+ height: t.Type<number | null, unknown, unknown>;
312
+ }>]>>>;
313
+ }>>;
314
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
315
+ type: t.LiteralC<"IntegrationFields">;
316
+ }>, t.PartialC<{
317
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
318
+ config: t.ExactC<t.PartialC<{
319
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
320
+ placeholder: t.StringC;
321
+ catalog: t.StringC;
322
+ }>>;
323
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
324
+ type: t.LiteralC<"Group">;
325
+ }>, t.PartialC<{
326
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
327
+ icon: t.StringC;
328
+ description: t.StringC;
329
+ config: t.ExactC<t.PartialC<{
330
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
331
+ repeat: t.BooleanC;
332
+ fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
333
+ type: t.LiteralC<"Color">;
334
+ }>, t.PartialC<{
335
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
336
+ config: t.ExactC<t.PartialC<{
337
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
338
+ placeholder: t.StringC;
339
+ }>>;
340
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
341
+ type: t.LiteralC<"Boolean">;
342
+ }>, t.PartialC<{
343
+ config: t.ExactC<t.PartialC<{
344
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
345
+ default_value: t.BooleanC;
346
+ placeholder_true: t.StringC;
347
+ placeholder_false: t.StringC;
348
+ }>>;
349
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
350
+ type: t.LiteralC<"Embed">;
351
+ }>, t.PartialC<{
352
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
353
+ config: t.ExactC<t.PartialC<{
354
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
355
+ placeholder: t.StringC;
356
+ useAsTitle: t.BooleanC;
357
+ }>>;
358
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
359
+ type: t.LiteralC<"GeoPoint">;
360
+ }>, t.PartialC<{
361
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
362
+ config: t.ExactC<t.PartialC<{
363
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
364
+ }>>;
365
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
366
+ type: t.LiteralC<"Date">;
367
+ }>, t.PartialC<{
368
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
369
+ config: t.ExactC<t.PartialC<{
370
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
371
+ placeholder: t.StringC;
372
+ default: t.StringC;
373
+ }>>;
374
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
375
+ type: t.LiteralC<"Number">;
376
+ }>, t.PartialC<{
377
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
378
+ config: t.ExactC<t.PartialC<{
379
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
380
+ placeholder: t.StringC;
381
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
382
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
383
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
384
+ }>>;
385
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
386
+ type: t.LiteralC<"Range">;
387
+ }>, t.PartialC<{
388
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
389
+ config: t.ExactC<t.PartialC<{
390
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
391
+ placeholder: t.StringC;
392
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
393
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
394
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
395
+ }>>;
396
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
397
+ type: t.LiteralC<"StructuredText">;
398
+ }>, t.PartialC<{
399
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
400
+ config: t.ExactC<t.PartialC<{
401
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
402
+ placeholder: t.StringC;
403
+ useAsTitle: t.BooleanC;
404
+ single: t.Type<string, string, unknown>;
405
+ multi: t.Type<string, string, unknown>;
406
+ imageConstraint: t.PartialC<{
407
+ width: t.Type<number | null, unknown, unknown>;
408
+ height: t.Type<number | null, unknown, unknown>;
409
+ }>;
410
+ labels: t.Type<readonly string[], object, unknown>;
411
+ allowTargetBlank: t.BooleanC;
412
+ }>>;
413
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
414
+ type: t.LiteralC<"Select">;
415
+ }>, t.PartialC<{
416
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
417
+ config: t.ExactC<t.PartialC<{
418
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
419
+ placeholder: t.StringC;
420
+ default_value: t.StringC;
421
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
422
+ }>>;
423
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
424
+ type: t.LiteralC<"Separator">;
425
+ }>, t.PartialC<{
426
+ config: t.ExactC<t.PartialC<{
427
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
428
+ }>>;
429
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
430
+ type: t.LiteralC<"Text">;
431
+ }>, t.PartialC<{
432
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
433
+ config: t.ExactC<t.PartialC<{
434
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
435
+ useAsTitle: t.BooleanC;
436
+ placeholder: t.StringC;
437
+ }>>;
438
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
439
+ type: t.LiteralC<"Timestamp">;
440
+ }>, t.PartialC<{
441
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
442
+ config: t.ExactC<t.PartialC<{
443
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
444
+ placeholder: t.StringC;
445
+ default: t.StringC;
446
+ }>>;
447
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
448
+ type: t.LiteralC<"Link">;
449
+ }>, t.PartialC<{
450
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
451
+ config: t.ExactC<t.PartialC<{
452
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
453
+ useAsTitle: t.BooleanC;
454
+ placeholder: t.StringC;
455
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
456
+ customtypes: t.ReadonlyArrayC<t.StringC>;
457
+ masks: t.Type<readonly string[], object, unknown>;
458
+ tags: t.Type<readonly string[], object, unknown>;
459
+ allowTargetBlank: t.BooleanC;
460
+ }>>;
461
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
462
+ type: t.LiteralC<"Image">;
463
+ }>, t.PartialC<{
464
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
465
+ config: t.ExactC<t.PartialC<{
466
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
467
+ placeholder: t.StringC;
468
+ constraint: t.PartialC<{
469
+ width: t.Type<number | null, unknown, unknown>;
470
+ height: t.Type<number | null, unknown, unknown>;
471
+ }>;
472
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
473
+ name: t.StringC;
474
+ }>, t.PartialC<{
475
+ width: t.Type<number | null, unknown, unknown>;
476
+ height: t.Type<number | null, unknown, unknown>;
477
+ }>]>>>;
478
+ }>>;
479
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
480
+ type: t.LiteralC<"IntegrationFields">;
481
+ }>, t.PartialC<{
482
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
483
+ config: t.ExactC<t.PartialC<{
484
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
485
+ placeholder: t.StringC;
486
+ catalog: t.StringC;
487
+ }>>;
488
+ }>]>>]>>;
489
+ }>>;
490
+ }>]>>]>>;
491
+ }>>;
492
+ }>]>>]>;
160
493
  export declare type SlicePrimaryWidget = t.TypeOf<typeof SlicePrimaryWidget>;
161
494
  export declare type SlicePrimaryFieldTypes = SlicePrimaryWidget["type"];
162
495
  export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
@@ -315,4 +648,342 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
315
648
  placeholder?: string;
316
649
  default?: string;
317
650
  };
318
- }) | Group;
651
+ }) | ({
652
+ type: "Group";
653
+ } & {
654
+ fieldset?: string | null | undefined;
655
+ icon?: string;
656
+ description?: string;
657
+ config?: {
658
+ label?: string | null | undefined;
659
+ repeat?: boolean;
660
+ fields?: {
661
+ [x: string]: ({
662
+ type: "Boolean";
663
+ } & {
664
+ config?: {
665
+ label?: string | null | undefined;
666
+ default_value?: boolean;
667
+ placeholder_true?: string;
668
+ placeholder_false?: string;
669
+ };
670
+ }) | ({
671
+ type: "Color";
672
+ } & {
673
+ fieldset?: string | null | undefined;
674
+ config?: {
675
+ label?: string | null | undefined;
676
+ placeholder?: string;
677
+ };
678
+ }) | ({
679
+ type: "Date";
680
+ } & {
681
+ fieldset?: string | null | undefined;
682
+ config?: {
683
+ label?: string | null | undefined;
684
+ placeholder?: string;
685
+ default?: string;
686
+ };
687
+ }) | ({
688
+ type: "Embed";
689
+ } & {
690
+ fieldset?: string | null | undefined;
691
+ config?: {
692
+ label?: string | null | undefined;
693
+ placeholder?: string;
694
+ useAsTitle?: boolean;
695
+ };
696
+ }) | ({
697
+ type: "GeoPoint";
698
+ } & {
699
+ fieldset?: string | null | undefined;
700
+ config?: {
701
+ label?: string | null | undefined;
702
+ };
703
+ }) | ({
704
+ type: "Image";
705
+ } & {
706
+ fieldset?: string | null | undefined;
707
+ config?: {
708
+ label?: string | null | undefined;
709
+ placeholder?: string;
710
+ constraint?: {
711
+ width?: number | null;
712
+ height?: number | null;
713
+ };
714
+ thumbnails?: readonly ({
715
+ name: string;
716
+ } & {
717
+ width?: number | null;
718
+ height?: number | null;
719
+ })[];
720
+ };
721
+ }) | ({
722
+ type: "IntegrationFields";
723
+ } & {
724
+ fieldset?: string | null | undefined;
725
+ config?: {
726
+ label?: string | null | undefined;
727
+ placeholder?: string;
728
+ catalog?: string;
729
+ };
730
+ }) | ({
731
+ type: "Link";
732
+ } & {
733
+ fieldset?: string | null | undefined;
734
+ config?: {
735
+ label?: string | null | undefined;
736
+ useAsTitle?: boolean;
737
+ placeholder?: string;
738
+ select?: "media" | "document" | "web" | null;
739
+ customtypes?: readonly string[];
740
+ masks?: readonly string[];
741
+ tags?: readonly string[];
742
+ allowTargetBlank?: boolean;
743
+ };
744
+ }) | ({
745
+ type: "Number";
746
+ } & {
747
+ fieldset?: string | null | undefined;
748
+ config?: {
749
+ label?: string | null | undefined;
750
+ placeholder?: string;
751
+ min?: number;
752
+ max?: number;
753
+ step?: number;
754
+ };
755
+ }) | ({
756
+ type: "Range";
757
+ } & {
758
+ fieldset?: string | null | undefined;
759
+ config?: {
760
+ label?: string | null | undefined;
761
+ placeholder?: string;
762
+ min?: number;
763
+ max?: number;
764
+ step?: number;
765
+ };
766
+ }) | ({
767
+ type: "StructuredText";
768
+ } & {
769
+ fieldset?: string | null | undefined;
770
+ config?: {
771
+ label?: string | null | undefined;
772
+ placeholder?: string;
773
+ useAsTitle?: boolean;
774
+ single?: string;
775
+ multi?: string;
776
+ imageConstraint?: {
777
+ width?: number | null;
778
+ height?: number | null;
779
+ };
780
+ labels?: readonly string[];
781
+ allowTargetBlank?: boolean;
782
+ };
783
+ }) | ({
784
+ type: "Select";
785
+ } & {
786
+ fieldset?: string | null | undefined;
787
+ config?: {
788
+ label?: string | null | undefined;
789
+ placeholder?: string;
790
+ default_value?: string;
791
+ options?: readonly string[];
792
+ };
793
+ }) | ({
794
+ type: "Separator";
795
+ } & {
796
+ config?: {
797
+ label?: string | null | undefined;
798
+ };
799
+ }) | ({
800
+ type: "Text";
801
+ } & {
802
+ fieldset?: string | null | undefined;
803
+ config?: {
804
+ label?: string | null | undefined;
805
+ useAsTitle?: boolean;
806
+ placeholder?: string;
807
+ };
808
+ }) | ({
809
+ type: "Timestamp";
810
+ } & {
811
+ fieldset?: string | null | undefined;
812
+ config?: {
813
+ label?: string | null | undefined;
814
+ placeholder?: string;
815
+ default?: string;
816
+ };
817
+ }) | ({
818
+ type: "Group";
819
+ } & {
820
+ fieldset?: string | null | undefined;
821
+ icon?: string;
822
+ description?: string;
823
+ config?: {
824
+ label?: string | null | undefined;
825
+ repeat?: boolean;
826
+ fields?: {
827
+ [x: string]: ({
828
+ type: "Boolean";
829
+ } & {
830
+ config?: {
831
+ label?: string | null | undefined;
832
+ default_value?: boolean;
833
+ placeholder_true?: string;
834
+ placeholder_false?: string;
835
+ };
836
+ }) | ({
837
+ type: "Color";
838
+ } & {
839
+ fieldset?: string | null | undefined;
840
+ config?: {
841
+ label?: string | null | undefined;
842
+ placeholder?: string;
843
+ };
844
+ }) | ({
845
+ type: "Date";
846
+ } & {
847
+ fieldset?: string | null | undefined;
848
+ config?: {
849
+ label?: string | null | undefined;
850
+ placeholder?: string;
851
+ default?: string;
852
+ };
853
+ }) | ({
854
+ type: "Embed";
855
+ } & {
856
+ fieldset?: string | null | undefined;
857
+ config?: {
858
+ label?: string | null | undefined;
859
+ placeholder?: string;
860
+ useAsTitle?: boolean;
861
+ };
862
+ }) | ({
863
+ type: "GeoPoint";
864
+ } & {
865
+ fieldset?: string | null | undefined;
866
+ config?: {
867
+ label?: string | null | undefined;
868
+ };
869
+ }) | ({
870
+ type: "Image";
871
+ } & {
872
+ fieldset?: string | null | undefined;
873
+ config?: {
874
+ label?: string | null | undefined;
875
+ placeholder?: string;
876
+ constraint?: {
877
+ width?: number | null;
878
+ height?: number | null;
879
+ };
880
+ thumbnails?: readonly ({
881
+ name: string;
882
+ } & {
883
+ width?: number | null;
884
+ height?: number | null;
885
+ })[];
886
+ };
887
+ }) | ({
888
+ type: "IntegrationFields";
889
+ } & {
890
+ fieldset?: string | null | undefined;
891
+ config?: {
892
+ label?: string | null | undefined;
893
+ placeholder?: string;
894
+ catalog?: string;
895
+ };
896
+ }) | ({
897
+ type: "Link";
898
+ } & {
899
+ fieldset?: string | null | undefined;
900
+ config?: {
901
+ label?: string | null | undefined;
902
+ useAsTitle?: boolean;
903
+ placeholder?: string;
904
+ select?: "media" | "document" | "web" | null;
905
+ customtypes?: readonly string[];
906
+ masks?: readonly string[];
907
+ tags?: readonly string[];
908
+ allowTargetBlank?: boolean;
909
+ };
910
+ }) | ({
911
+ type: "Number";
912
+ } & {
913
+ fieldset?: string | null | undefined;
914
+ config?: {
915
+ label?: string | null | undefined;
916
+ placeholder?: string;
917
+ min?: number;
918
+ max?: number;
919
+ step?: number;
920
+ };
921
+ }) | ({
922
+ type: "Range";
923
+ } & {
924
+ fieldset?: string | null | undefined;
925
+ config?: {
926
+ label?: string | null | undefined;
927
+ placeholder?: string;
928
+ min?: number;
929
+ max?: number;
930
+ step?: number;
931
+ };
932
+ }) | ({
933
+ type: "StructuredText";
934
+ } & {
935
+ fieldset?: string | null | undefined;
936
+ config?: {
937
+ label?: string | null | undefined;
938
+ placeholder?: string;
939
+ useAsTitle?: boolean;
940
+ single?: string;
941
+ multi?: string;
942
+ imageConstraint?: {
943
+ width?: number | null;
944
+ height?: number | null;
945
+ };
946
+ labels?: readonly string[];
947
+ allowTargetBlank?: boolean;
948
+ };
949
+ }) | ({
950
+ type: "Select";
951
+ } & {
952
+ fieldset?: string | null | undefined;
953
+ config?: {
954
+ label?: string | null | undefined;
955
+ placeholder?: string;
956
+ default_value?: string;
957
+ options?: readonly string[];
958
+ };
959
+ }) | ({
960
+ type: "Separator";
961
+ } & {
962
+ config?: {
963
+ label?: string | null | undefined;
964
+ };
965
+ }) | ({
966
+ type: "Text";
967
+ } & {
968
+ fieldset?: string | null | undefined;
969
+ config?: {
970
+ label?: string | null | undefined;
971
+ useAsTitle?: boolean;
972
+ placeholder?: string;
973
+ };
974
+ }) | ({
975
+ type: "Timestamp";
976
+ } & {
977
+ fieldset?: string | null | undefined;
978
+ config?: {
979
+ label?: string | null | undefined;
980
+ placeholder?: string;
981
+ default?: string;
982
+ };
983
+ });
984
+ };
985
+ };
986
+ });
987
+ };
988
+ };
989
+ });