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

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 +8 -8
  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 +8 -8
  5. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +4 -4
  6. package/lib/content/fields/slices/Slice/CompositeSliceContent.js +0 -3
  7. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +3 -2
  8. package/lib/content/fields/slices/Slice/RepeatableContent.js +4 -1
  9. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +4 -4
  10. package/lib/content/fields/slices/Slice/SharedSliceContent.js +0 -2
  11. package/lib/content/fields/slices/Slice/SimpleSliceContent.js +0 -1
  12. package/lib/content/fields/slices/Slice/index.d.ts +6 -6
  13. package/lib/content/fields/slices/SliceItem.d.ts +6 -6
  14. package/lib/content/fields/slices/SlicesContent.d.ts +8 -8
  15. package/lib/customtypes/CustomType.d.ts +2042 -690
  16. package/lib/customtypes/Section.d.ts +2028 -676
  17. package/lib/customtypes/diff/SharedSlice.d.ts +678 -2
  18. package/lib/customtypes/diff/Variation.d.ts +678 -3
  19. package/lib/customtypes/widgets/Group.d.ts +996 -15
  20. package/lib/customtypes/widgets/Group.js +15 -27
  21. package/lib/customtypes/widgets/Widget.d.ts +1684 -7
  22. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +168 -2
  23. package/lib/customtypes/widgets/slices/LegacySlice.js +1 -1
  24. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +670 -2
  25. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +674 -3
  26. package/lib/customtypes/widgets/slices/Slices.d.ts +1522 -7
  27. package/package.json +1 -1
  28. package/src/content/fields/GroupContent.ts +24 -48
  29. package/src/content/fields/slices/Slice/CompositeSliceContent.ts +4 -7
  30. package/src/content/fields/slices/Slice/RepeatableContent.ts +9 -2
  31. package/src/content/fields/slices/Slice/SharedSliceContent.ts +3 -5
  32. package/src/content/fields/slices/Slice/SimpleSliceContent.ts +1 -3
  33. package/src/customtypes/widgets/Group.ts +34 -61
  34. 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
  import type { SharedSlice } from "./slices/SharedSlice";
4
3
  import { DynamicSlices, StaticSlices } from "./slices/Slices";
5
4
  export declare function widgetReader<T extends StaticSlices | DynamicSlices>(codec: t.Type<T, unknown>): t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -167,7 +166,341 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
167
166
  placeholder: t.StringC;
168
167
  catalog: t.StringC;
169
168
  }>>;
170
- }>]>>]>, t.Type<Group, Group, unknown>, t.Type<T, unknown, unknown>]>;
169
+ }>]>>]>, 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.ExactC<t.PartialC<{
176
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
177
+ repeat: t.BooleanC;
178
+ fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
179
+ type: t.LiteralC<"Color">;
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
+ placeholder: t.StringC;
185
+ }>>;
186
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
187
+ type: t.LiteralC<"Boolean">;
188
+ }>, t.PartialC<{
189
+ config: t.ExactC<t.PartialC<{
190
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
191
+ default_value: t.BooleanC;
192
+ placeholder_true: t.StringC;
193
+ placeholder_false: t.StringC;
194
+ }>>;
195
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
196
+ type: t.LiteralC<"Embed">;
197
+ }>, t.PartialC<{
198
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
199
+ config: t.ExactC<t.PartialC<{
200
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
201
+ placeholder: t.StringC;
202
+ useAsTitle: t.BooleanC;
203
+ }>>;
204
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
205
+ type: t.LiteralC<"GeoPoint">;
206
+ }>, t.PartialC<{
207
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
208
+ config: t.ExactC<t.PartialC<{
209
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
210
+ }>>;
211
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
212
+ type: t.LiteralC<"Date">;
213
+ }>, t.PartialC<{
214
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
215
+ config: t.ExactC<t.PartialC<{
216
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
217
+ placeholder: t.StringC;
218
+ default: t.StringC;
219
+ }>>;
220
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
221
+ type: t.LiteralC<"Number">;
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<"Range">;
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
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
239
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
240
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
241
+ }>>;
242
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
243
+ type: t.LiteralC<"StructuredText">;
244
+ }>, t.PartialC<{
245
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
246
+ config: t.ExactC<t.PartialC<{
247
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
248
+ placeholder: t.StringC;
249
+ useAsTitle: t.BooleanC;
250
+ single: t.Type<string, string, unknown>;
251
+ multi: t.Type<string, string, unknown>;
252
+ imageConstraint: t.PartialC<{
253
+ width: t.Type<number | null, unknown, unknown>;
254
+ height: t.Type<number | null, unknown, unknown>;
255
+ }>;
256
+ labels: t.Type<readonly string[], object, unknown>;
257
+ allowTargetBlank: t.BooleanC;
258
+ }>>;
259
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
260
+ type: t.LiteralC<"Select">;
261
+ }>, t.PartialC<{
262
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
263
+ config: t.ExactC<t.PartialC<{
264
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
265
+ placeholder: t.StringC;
266
+ default_value: t.StringC;
267
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
268
+ }>>;
269
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
270
+ type: t.LiteralC<"Separator">;
271
+ }>, t.PartialC<{
272
+ config: t.ExactC<t.PartialC<{
273
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
274
+ }>>;
275
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
276
+ type: t.LiteralC<"Text">;
277
+ }>, t.PartialC<{
278
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
279
+ config: t.ExactC<t.PartialC<{
280
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
281
+ useAsTitle: t.BooleanC;
282
+ placeholder: t.StringC;
283
+ }>>;
284
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
285
+ type: t.LiteralC<"Timestamp">;
286
+ }>, t.PartialC<{
287
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
288
+ config: t.ExactC<t.PartialC<{
289
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
290
+ placeholder: t.StringC;
291
+ default: t.StringC;
292
+ }>>;
293
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
294
+ type: t.LiteralC<"Link">;
295
+ }>, t.PartialC<{
296
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
297
+ config: t.ExactC<t.PartialC<{
298
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
299
+ useAsTitle: t.BooleanC;
300
+ placeholder: t.StringC;
301
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
302
+ customtypes: t.ReadonlyArrayC<t.StringC>;
303
+ masks: t.Type<readonly string[], object, unknown>;
304
+ tags: t.Type<readonly string[], object, unknown>;
305
+ allowTargetBlank: t.BooleanC;
306
+ }>>;
307
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
308
+ type: t.LiteralC<"Image">;
309
+ }>, t.PartialC<{
310
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
311
+ config: t.ExactC<t.PartialC<{
312
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
313
+ placeholder: t.StringC;
314
+ constraint: t.PartialC<{
315
+ width: t.Type<number | null, unknown, unknown>;
316
+ height: t.Type<number | null, unknown, unknown>;
317
+ }>;
318
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
319
+ name: t.StringC;
320
+ }>, t.PartialC<{
321
+ width: t.Type<number | null, unknown, unknown>;
322
+ height: t.Type<number | null, unknown, unknown>;
323
+ }>]>>>;
324
+ }>>;
325
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
326
+ type: t.LiteralC<"IntegrationFields">;
327
+ }>, t.PartialC<{
328
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
329
+ config: t.ExactC<t.PartialC<{
330
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
331
+ placeholder: t.StringC;
332
+ catalog: t.StringC;
333
+ }>>;
334
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
335
+ type: t.LiteralC<"Group">;
336
+ }>, t.PartialC<{
337
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
338
+ icon: t.StringC;
339
+ description: t.StringC;
340
+ config: t.ExactC<t.PartialC<{
341
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
342
+ repeat: t.BooleanC;
343
+ fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
344
+ type: t.LiteralC<"Color">;
345
+ }>, t.PartialC<{
346
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
347
+ config: t.ExactC<t.PartialC<{
348
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
349
+ placeholder: t.StringC;
350
+ }>>;
351
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
352
+ type: t.LiteralC<"Boolean">;
353
+ }>, t.PartialC<{
354
+ config: t.ExactC<t.PartialC<{
355
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
356
+ default_value: t.BooleanC;
357
+ placeholder_true: t.StringC;
358
+ placeholder_false: t.StringC;
359
+ }>>;
360
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
361
+ type: t.LiteralC<"Embed">;
362
+ }>, t.PartialC<{
363
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
364
+ config: t.ExactC<t.PartialC<{
365
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
366
+ placeholder: t.StringC;
367
+ useAsTitle: t.BooleanC;
368
+ }>>;
369
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
370
+ type: t.LiteralC<"GeoPoint">;
371
+ }>, t.PartialC<{
372
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
373
+ config: t.ExactC<t.PartialC<{
374
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
375
+ }>>;
376
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
377
+ type: t.LiteralC<"Date">;
378
+ }>, t.PartialC<{
379
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
380
+ config: t.ExactC<t.PartialC<{
381
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
382
+ placeholder: t.StringC;
383
+ default: t.StringC;
384
+ }>>;
385
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
386
+ type: t.LiteralC<"Number">;
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<"Range">;
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
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
404
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
405
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
406
+ }>>;
407
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
408
+ type: t.LiteralC<"StructuredText">;
409
+ }>, t.PartialC<{
410
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
411
+ config: t.ExactC<t.PartialC<{
412
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
413
+ placeholder: t.StringC;
414
+ useAsTitle: t.BooleanC;
415
+ single: t.Type<string, string, unknown>;
416
+ multi: t.Type<string, string, unknown>;
417
+ imageConstraint: t.PartialC<{
418
+ width: t.Type<number | null, unknown, unknown>;
419
+ height: t.Type<number | null, unknown, unknown>;
420
+ }>;
421
+ labels: t.Type<readonly string[], object, unknown>;
422
+ allowTargetBlank: t.BooleanC;
423
+ }>>;
424
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
425
+ type: t.LiteralC<"Select">;
426
+ }>, t.PartialC<{
427
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
428
+ config: t.ExactC<t.PartialC<{
429
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
430
+ placeholder: t.StringC;
431
+ default_value: t.StringC;
432
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
433
+ }>>;
434
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
435
+ type: t.LiteralC<"Separator">;
436
+ }>, t.PartialC<{
437
+ config: t.ExactC<t.PartialC<{
438
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
439
+ }>>;
440
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
441
+ type: t.LiteralC<"Text">;
442
+ }>, t.PartialC<{
443
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
444
+ config: t.ExactC<t.PartialC<{
445
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
446
+ useAsTitle: t.BooleanC;
447
+ placeholder: t.StringC;
448
+ }>>;
449
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
450
+ type: t.LiteralC<"Timestamp">;
451
+ }>, t.PartialC<{
452
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
453
+ config: t.ExactC<t.PartialC<{
454
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
455
+ placeholder: t.StringC;
456
+ default: t.StringC;
457
+ }>>;
458
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
459
+ type: t.LiteralC<"Link">;
460
+ }>, t.PartialC<{
461
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
462
+ config: t.ExactC<t.PartialC<{
463
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
464
+ useAsTitle: t.BooleanC;
465
+ placeholder: t.StringC;
466
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
467
+ customtypes: t.ReadonlyArrayC<t.StringC>;
468
+ masks: t.Type<readonly string[], object, unknown>;
469
+ tags: t.Type<readonly string[], object, unknown>;
470
+ allowTargetBlank: t.BooleanC;
471
+ }>>;
472
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
473
+ type: t.LiteralC<"Image">;
474
+ }>, t.PartialC<{
475
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
476
+ config: t.ExactC<t.PartialC<{
477
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
478
+ placeholder: t.StringC;
479
+ constraint: t.PartialC<{
480
+ width: t.Type<number | null, unknown, unknown>;
481
+ height: t.Type<number | null, unknown, unknown>;
482
+ }>;
483
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
484
+ name: t.StringC;
485
+ }>, t.PartialC<{
486
+ width: t.Type<number | null, unknown, unknown>;
487
+ height: t.Type<number | null, unknown, unknown>;
488
+ }>]>>>;
489
+ }>>;
490
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
491
+ type: t.LiteralC<"IntegrationFields">;
492
+ }>, t.PartialC<{
493
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
494
+ config: t.ExactC<t.PartialC<{
495
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
496
+ placeholder: t.StringC;
497
+ catalog: t.StringC;
498
+ }>>;
499
+ }>]>>]>>;
500
+ }>>;
501
+ }>]>>]>>;
502
+ }>>;
503
+ }>]>>, t.Type<T, unknown, unknown>]>;
171
504
  export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
172
505
  type: t.LiteralC<"UID">;
173
506
  }>, t.PartialC<{
@@ -333,7 +666,341 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
333
666
  placeholder: t.StringC;
334
667
  catalog: t.StringC;
335
668
  }>>;
336
- }>]>>]>, t.Type<Group, Group, unknown>, t.Type<{
669
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
670
+ type: t.LiteralC<"Group">;
671
+ }>, t.PartialC<{
672
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
673
+ icon: t.StringC;
674
+ description: t.StringC;
675
+ config: t.ExactC<t.PartialC<{
676
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
677
+ repeat: t.BooleanC;
678
+ fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
679
+ type: t.LiteralC<"Color">;
680
+ }>, t.PartialC<{
681
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
682
+ config: t.ExactC<t.PartialC<{
683
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
684
+ placeholder: t.StringC;
685
+ }>>;
686
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
687
+ type: t.LiteralC<"Boolean">;
688
+ }>, t.PartialC<{
689
+ config: t.ExactC<t.PartialC<{
690
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
691
+ default_value: t.BooleanC;
692
+ placeholder_true: t.StringC;
693
+ placeholder_false: t.StringC;
694
+ }>>;
695
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
696
+ type: t.LiteralC<"Embed">;
697
+ }>, t.PartialC<{
698
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
699
+ config: t.ExactC<t.PartialC<{
700
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
701
+ placeholder: t.StringC;
702
+ useAsTitle: t.BooleanC;
703
+ }>>;
704
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
705
+ type: t.LiteralC<"GeoPoint">;
706
+ }>, t.PartialC<{
707
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
708
+ config: t.ExactC<t.PartialC<{
709
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
710
+ }>>;
711
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
712
+ type: t.LiteralC<"Date">;
713
+ }>, t.PartialC<{
714
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
715
+ config: t.ExactC<t.PartialC<{
716
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
717
+ placeholder: t.StringC;
718
+ default: t.StringC;
719
+ }>>;
720
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
721
+ type: t.LiteralC<"Number">;
722
+ }>, t.PartialC<{
723
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
724
+ config: t.ExactC<t.PartialC<{
725
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
726
+ placeholder: t.StringC;
727
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
728
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
729
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
730
+ }>>;
731
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
732
+ type: t.LiteralC<"Range">;
733
+ }>, t.PartialC<{
734
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
735
+ config: t.ExactC<t.PartialC<{
736
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
737
+ placeholder: t.StringC;
738
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
739
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
740
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
741
+ }>>;
742
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
743
+ type: t.LiteralC<"StructuredText">;
744
+ }>, t.PartialC<{
745
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
746
+ config: t.ExactC<t.PartialC<{
747
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
748
+ placeholder: t.StringC;
749
+ useAsTitle: t.BooleanC;
750
+ single: t.Type<string, string, unknown>;
751
+ multi: t.Type<string, string, unknown>;
752
+ imageConstraint: t.PartialC<{
753
+ width: t.Type<number | null, unknown, unknown>;
754
+ height: t.Type<number | null, unknown, unknown>;
755
+ }>;
756
+ labels: t.Type<readonly string[], object, unknown>;
757
+ allowTargetBlank: t.BooleanC;
758
+ }>>;
759
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
760
+ type: t.LiteralC<"Select">;
761
+ }>, t.PartialC<{
762
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
763
+ config: t.ExactC<t.PartialC<{
764
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
765
+ placeholder: t.StringC;
766
+ default_value: t.StringC;
767
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
768
+ }>>;
769
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
770
+ type: t.LiteralC<"Separator">;
771
+ }>, t.PartialC<{
772
+ config: t.ExactC<t.PartialC<{
773
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
774
+ }>>;
775
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
776
+ type: t.LiteralC<"Text">;
777
+ }>, t.PartialC<{
778
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
779
+ config: t.ExactC<t.PartialC<{
780
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
781
+ useAsTitle: t.BooleanC;
782
+ placeholder: t.StringC;
783
+ }>>;
784
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
785
+ type: t.LiteralC<"Timestamp">;
786
+ }>, t.PartialC<{
787
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
788
+ config: t.ExactC<t.PartialC<{
789
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
790
+ placeholder: t.StringC;
791
+ default: t.StringC;
792
+ }>>;
793
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
794
+ type: t.LiteralC<"Link">;
795
+ }>, t.PartialC<{
796
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
797
+ config: t.ExactC<t.PartialC<{
798
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
799
+ useAsTitle: t.BooleanC;
800
+ placeholder: t.StringC;
801
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
802
+ customtypes: t.ReadonlyArrayC<t.StringC>;
803
+ masks: t.Type<readonly string[], object, unknown>;
804
+ tags: t.Type<readonly string[], object, unknown>;
805
+ allowTargetBlank: t.BooleanC;
806
+ }>>;
807
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
808
+ type: t.LiteralC<"Image">;
809
+ }>, t.PartialC<{
810
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
811
+ config: t.ExactC<t.PartialC<{
812
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
813
+ placeholder: t.StringC;
814
+ constraint: t.PartialC<{
815
+ width: t.Type<number | null, unknown, unknown>;
816
+ height: t.Type<number | null, unknown, unknown>;
817
+ }>;
818
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
819
+ name: t.StringC;
820
+ }>, t.PartialC<{
821
+ width: t.Type<number | null, unknown, unknown>;
822
+ height: t.Type<number | null, unknown, unknown>;
823
+ }>]>>>;
824
+ }>>;
825
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
826
+ type: t.LiteralC<"IntegrationFields">;
827
+ }>, t.PartialC<{
828
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
829
+ config: t.ExactC<t.PartialC<{
830
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
831
+ placeholder: t.StringC;
832
+ catalog: t.StringC;
833
+ }>>;
834
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
835
+ type: t.LiteralC<"Group">;
836
+ }>, t.PartialC<{
837
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
838
+ icon: t.StringC;
839
+ description: t.StringC;
840
+ config: t.ExactC<t.PartialC<{
841
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
842
+ repeat: t.BooleanC;
843
+ fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
844
+ type: t.LiteralC<"Color">;
845
+ }>, t.PartialC<{
846
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
847
+ config: t.ExactC<t.PartialC<{
848
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
849
+ placeholder: t.StringC;
850
+ }>>;
851
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
852
+ type: t.LiteralC<"Boolean">;
853
+ }>, t.PartialC<{
854
+ config: t.ExactC<t.PartialC<{
855
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
856
+ default_value: t.BooleanC;
857
+ placeholder_true: t.StringC;
858
+ placeholder_false: t.StringC;
859
+ }>>;
860
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
861
+ type: t.LiteralC<"Embed">;
862
+ }>, t.PartialC<{
863
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
864
+ config: t.ExactC<t.PartialC<{
865
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
866
+ placeholder: t.StringC;
867
+ useAsTitle: t.BooleanC;
868
+ }>>;
869
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
870
+ type: t.LiteralC<"GeoPoint">;
871
+ }>, t.PartialC<{
872
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
873
+ config: t.ExactC<t.PartialC<{
874
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
875
+ }>>;
876
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
877
+ type: t.LiteralC<"Date">;
878
+ }>, t.PartialC<{
879
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
880
+ config: t.ExactC<t.PartialC<{
881
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
882
+ placeholder: t.StringC;
883
+ default: t.StringC;
884
+ }>>;
885
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
886
+ type: t.LiteralC<"Number">;
887
+ }>, t.PartialC<{
888
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
889
+ config: t.ExactC<t.PartialC<{
890
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
891
+ placeholder: t.StringC;
892
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
893
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
894
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
895
+ }>>;
896
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
897
+ type: t.LiteralC<"Range">;
898
+ }>, t.PartialC<{
899
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
900
+ config: t.ExactC<t.PartialC<{
901
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
902
+ placeholder: t.StringC;
903
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
904
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
905
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
906
+ }>>;
907
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
908
+ type: t.LiteralC<"StructuredText">;
909
+ }>, t.PartialC<{
910
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
911
+ config: t.ExactC<t.PartialC<{
912
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
913
+ placeholder: t.StringC;
914
+ useAsTitle: t.BooleanC;
915
+ single: t.Type<string, string, unknown>;
916
+ multi: t.Type<string, string, unknown>;
917
+ imageConstraint: t.PartialC<{
918
+ width: t.Type<number | null, unknown, unknown>;
919
+ height: t.Type<number | null, unknown, unknown>;
920
+ }>;
921
+ labels: t.Type<readonly string[], object, unknown>;
922
+ allowTargetBlank: t.BooleanC;
923
+ }>>;
924
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
925
+ type: t.LiteralC<"Select">;
926
+ }>, t.PartialC<{
927
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
928
+ config: t.ExactC<t.PartialC<{
929
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
930
+ placeholder: t.StringC;
931
+ default_value: t.StringC;
932
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
933
+ }>>;
934
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
935
+ type: t.LiteralC<"Separator">;
936
+ }>, t.PartialC<{
937
+ config: t.ExactC<t.PartialC<{
938
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
939
+ }>>;
940
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
941
+ type: t.LiteralC<"Text">;
942
+ }>, t.PartialC<{
943
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
944
+ config: t.ExactC<t.PartialC<{
945
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
946
+ useAsTitle: t.BooleanC;
947
+ placeholder: t.StringC;
948
+ }>>;
949
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
950
+ type: t.LiteralC<"Timestamp">;
951
+ }>, t.PartialC<{
952
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
953
+ config: t.ExactC<t.PartialC<{
954
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
955
+ placeholder: t.StringC;
956
+ default: t.StringC;
957
+ }>>;
958
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
959
+ type: t.LiteralC<"Link">;
960
+ }>, t.PartialC<{
961
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
962
+ config: t.ExactC<t.PartialC<{
963
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
964
+ useAsTitle: t.BooleanC;
965
+ placeholder: t.StringC;
966
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
967
+ customtypes: t.ReadonlyArrayC<t.StringC>;
968
+ masks: t.Type<readonly string[], object, unknown>;
969
+ tags: t.Type<readonly string[], object, unknown>;
970
+ allowTargetBlank: t.BooleanC;
971
+ }>>;
972
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
973
+ type: t.LiteralC<"Image">;
974
+ }>, t.PartialC<{
975
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
976
+ config: t.ExactC<t.PartialC<{
977
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
978
+ placeholder: t.StringC;
979
+ constraint: t.PartialC<{
980
+ width: t.Type<number | null, unknown, unknown>;
981
+ height: t.Type<number | null, unknown, unknown>;
982
+ }>;
983
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
984
+ name: t.StringC;
985
+ }>, t.PartialC<{
986
+ width: t.Type<number | null, unknown, unknown>;
987
+ height: t.Type<number | null, unknown, unknown>;
988
+ }>]>>>;
989
+ }>>;
990
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
991
+ type: t.LiteralC<"IntegrationFields">;
992
+ }>, t.PartialC<{
993
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
994
+ config: t.ExactC<t.PartialC<{
995
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
996
+ placeholder: t.StringC;
997
+ catalog: t.StringC;
998
+ }>>;
999
+ }>]>>]>>;
1000
+ }>>;
1001
+ }>]>>]>>;
1002
+ }>>;
1003
+ }>]>>, t.Type<{
337
1004
  type: "Choice" | "Slices";
338
1005
  } & {
339
1006
  fieldset?: string | null | undefined;
@@ -503,7 +1170,176 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
503
1170
  placeholder?: string;
504
1171
  default?: string;
505
1172
  };
506
- }) | Group | ({
1173
+ }) | ({
1174
+ type: "Group";
1175
+ } & {
1176
+ fieldset?: string | null | undefined;
1177
+ icon?: string;
1178
+ description?: string;
1179
+ config?: {
1180
+ label?: string | null | undefined;
1181
+ repeat?: boolean;
1182
+ fields?: {
1183
+ [x: string]: ({
1184
+ type: "Boolean";
1185
+ } & {
1186
+ config?: {
1187
+ label?: string | null | undefined;
1188
+ default_value?: boolean;
1189
+ placeholder_true?: string;
1190
+ placeholder_false?: string;
1191
+ };
1192
+ }) | ({
1193
+ type: "Color";
1194
+ } & {
1195
+ fieldset?: string | null | undefined;
1196
+ config?: {
1197
+ label?: string | null | undefined;
1198
+ placeholder?: string;
1199
+ };
1200
+ }) | ({
1201
+ type: "Date";
1202
+ } & {
1203
+ fieldset?: string | null | undefined;
1204
+ config?: {
1205
+ label?: string | null | undefined;
1206
+ placeholder?: string;
1207
+ default?: string;
1208
+ };
1209
+ }) | ({
1210
+ type: "Embed";
1211
+ } & {
1212
+ fieldset?: string | null | undefined;
1213
+ config?: {
1214
+ label?: string | null | undefined;
1215
+ placeholder?: string;
1216
+ useAsTitle?: boolean;
1217
+ };
1218
+ }) | ({
1219
+ type: "GeoPoint";
1220
+ } & {
1221
+ fieldset?: string | null | undefined;
1222
+ config?: {
1223
+ label?: string | null | undefined;
1224
+ };
1225
+ }) | ({
1226
+ type: "Image";
1227
+ } & {
1228
+ fieldset?: string | null | undefined;
1229
+ config?: {
1230
+ label?: string | null | undefined;
1231
+ placeholder?: string;
1232
+ constraint?: {
1233
+ width?: number | null;
1234
+ height?: number | null;
1235
+ };
1236
+ thumbnails?: readonly ({
1237
+ name: string;
1238
+ } & {
1239
+ width?: number | null;
1240
+ height?: number | null;
1241
+ })[];
1242
+ };
1243
+ }) | ({
1244
+ type: "IntegrationFields";
1245
+ } & {
1246
+ fieldset?: string | null | undefined;
1247
+ config?: {
1248
+ label?: string | null | undefined;
1249
+ placeholder?: string;
1250
+ catalog?: string;
1251
+ };
1252
+ }) | ({
1253
+ type: "Link";
1254
+ } & {
1255
+ fieldset?: string | null | undefined;
1256
+ config?: {
1257
+ label?: string | null | undefined;
1258
+ useAsTitle?: boolean;
1259
+ placeholder?: string;
1260
+ select?: "media" | "document" | "web" | null;
1261
+ customtypes?: readonly string[];
1262
+ masks?: readonly string[];
1263
+ tags?: readonly string[];
1264
+ allowTargetBlank?: boolean;
1265
+ };
1266
+ }) | ({
1267
+ type: "Number";
1268
+ } & {
1269
+ fieldset?: string | null | undefined;
1270
+ config?: {
1271
+ label?: string | null | undefined;
1272
+ placeholder?: string;
1273
+ min?: number;
1274
+ max?: number;
1275
+ step?: number;
1276
+ };
1277
+ }) | ({
1278
+ type: "Range";
1279
+ } & {
1280
+ fieldset?: string | null | undefined;
1281
+ config?: {
1282
+ label?: string | null | undefined;
1283
+ placeholder?: string;
1284
+ min?: number;
1285
+ max?: number;
1286
+ step?: number;
1287
+ };
1288
+ }) | ({
1289
+ type: "StructuredText";
1290
+ } & {
1291
+ fieldset?: string | null | undefined;
1292
+ config?: {
1293
+ label?: string | null | undefined;
1294
+ placeholder?: string;
1295
+ useAsTitle?: boolean;
1296
+ single?: string;
1297
+ multi?: string;
1298
+ imageConstraint?: {
1299
+ width?: number | null;
1300
+ height?: number | null;
1301
+ };
1302
+ labels?: readonly string[];
1303
+ allowTargetBlank?: boolean;
1304
+ };
1305
+ }) | ({
1306
+ type: "Select";
1307
+ } & {
1308
+ fieldset?: string | null | undefined;
1309
+ config?: {
1310
+ label?: string | null | undefined;
1311
+ placeholder?: string;
1312
+ default_value?: string;
1313
+ options?: readonly string[];
1314
+ };
1315
+ }) | ({
1316
+ type: "Separator";
1317
+ } & {
1318
+ config?: {
1319
+ label?: string | null | undefined;
1320
+ };
1321
+ }) | ({
1322
+ type: "Text";
1323
+ } & {
1324
+ fieldset?: string | null | undefined;
1325
+ config?: {
1326
+ label?: string | null | undefined;
1327
+ useAsTitle?: boolean;
1328
+ placeholder?: string;
1329
+ };
1330
+ }) | ({
1331
+ type: "Timestamp";
1332
+ } & {
1333
+ fieldset?: string | null | undefined;
1334
+ config?: {
1335
+ label?: string | null | undefined;
1336
+ placeholder?: string;
1337
+ default?: string;
1338
+ };
1339
+ });
1340
+ };
1341
+ };
1342
+ }) | ({
507
1343
  type: "Slice";
508
1344
  } & {
509
1345
  fieldset?: string | null | undefined;
@@ -1001,7 +1837,345 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1001
1837
  placeholder?: string;
1002
1838
  default?: string;
1003
1839
  };
1004
- }) | Group;
1840
+ }) | ({
1841
+ type: "Group";
1842
+ } & {
1843
+ fieldset?: string | null | undefined;
1844
+ icon?: string;
1845
+ description?: string;
1846
+ config?: {
1847
+ label?: string | null | undefined;
1848
+ repeat?: boolean;
1849
+ fields?: {
1850
+ [x: string]: ({
1851
+ type: "Boolean";
1852
+ } & {
1853
+ config?: {
1854
+ label?: string | null | undefined;
1855
+ default_value?: boolean;
1856
+ placeholder_true?: string;
1857
+ placeholder_false?: string;
1858
+ };
1859
+ }) | ({
1860
+ type: "Color";
1861
+ } & {
1862
+ fieldset?: string | null | undefined;
1863
+ config?: {
1864
+ label?: string | null | undefined;
1865
+ placeholder?: string;
1866
+ };
1867
+ }) | ({
1868
+ type: "Date";
1869
+ } & {
1870
+ fieldset?: string | null | undefined;
1871
+ config?: {
1872
+ label?: string | null | undefined;
1873
+ placeholder?: string;
1874
+ default?: string;
1875
+ };
1876
+ }) | ({
1877
+ type: "Embed";
1878
+ } & {
1879
+ fieldset?: string | null | undefined;
1880
+ config?: {
1881
+ label?: string | null | undefined;
1882
+ placeholder?: string;
1883
+ useAsTitle?: boolean;
1884
+ };
1885
+ }) | ({
1886
+ type: "GeoPoint";
1887
+ } & {
1888
+ fieldset?: string | null | undefined;
1889
+ config?: {
1890
+ label?: string | null | undefined;
1891
+ };
1892
+ }) | ({
1893
+ type: "Image";
1894
+ } & {
1895
+ fieldset?: string | null | undefined;
1896
+ config?: {
1897
+ label?: string | null | undefined;
1898
+ placeholder?: string;
1899
+ constraint?: {
1900
+ width?: number | null;
1901
+ height?: number | null;
1902
+ };
1903
+ thumbnails?: readonly ({
1904
+ name: string;
1905
+ } & {
1906
+ width?: number | null;
1907
+ height?: number | null;
1908
+ })[];
1909
+ };
1910
+ }) | ({
1911
+ type: "IntegrationFields";
1912
+ } & {
1913
+ fieldset?: string | null | undefined;
1914
+ config?: {
1915
+ label?: string | null | undefined;
1916
+ placeholder?: string;
1917
+ catalog?: string;
1918
+ };
1919
+ }) | ({
1920
+ type: "Link";
1921
+ } & {
1922
+ fieldset?: string | null | undefined;
1923
+ config?: {
1924
+ label?: string | null | undefined;
1925
+ useAsTitle?: boolean;
1926
+ placeholder?: string;
1927
+ select?: "media" | "document" | "web" | null;
1928
+ customtypes?: readonly string[];
1929
+ masks?: readonly string[];
1930
+ tags?: readonly string[];
1931
+ allowTargetBlank?: boolean;
1932
+ };
1933
+ }) | ({
1934
+ type: "Number";
1935
+ } & {
1936
+ fieldset?: string | null | undefined;
1937
+ config?: {
1938
+ label?: string | null | undefined;
1939
+ placeholder?: string;
1940
+ min?: number;
1941
+ max?: number;
1942
+ step?: number;
1943
+ };
1944
+ }) | ({
1945
+ type: "Range";
1946
+ } & {
1947
+ fieldset?: string | null | undefined;
1948
+ config?: {
1949
+ label?: string | null | undefined;
1950
+ placeholder?: string;
1951
+ min?: number;
1952
+ max?: number;
1953
+ step?: number;
1954
+ };
1955
+ }) | ({
1956
+ type: "StructuredText";
1957
+ } & {
1958
+ fieldset?: string | null | undefined;
1959
+ config?: {
1960
+ label?: string | null | undefined;
1961
+ placeholder?: string;
1962
+ useAsTitle?: boolean;
1963
+ single?: string;
1964
+ multi?: string;
1965
+ imageConstraint?: {
1966
+ width?: number | null;
1967
+ height?: number | null;
1968
+ };
1969
+ labels?: readonly string[];
1970
+ allowTargetBlank?: boolean;
1971
+ };
1972
+ }) | ({
1973
+ type: "Select";
1974
+ } & {
1975
+ fieldset?: string | null | undefined;
1976
+ config?: {
1977
+ label?: string | null | undefined;
1978
+ placeholder?: string;
1979
+ default_value?: string;
1980
+ options?: readonly string[];
1981
+ };
1982
+ }) | ({
1983
+ type: "Separator";
1984
+ } & {
1985
+ config?: {
1986
+ label?: string | null | undefined;
1987
+ };
1988
+ }) | ({
1989
+ type: "Text";
1990
+ } & {
1991
+ fieldset?: string | null | undefined;
1992
+ config?: {
1993
+ label?: string | null | undefined;
1994
+ useAsTitle?: boolean;
1995
+ placeholder?: string;
1996
+ };
1997
+ }) | ({
1998
+ type: "Timestamp";
1999
+ } & {
2000
+ fieldset?: string | null | undefined;
2001
+ config?: {
2002
+ label?: string | null | undefined;
2003
+ placeholder?: string;
2004
+ default?: string;
2005
+ };
2006
+ }) | ({
2007
+ type: "Group";
2008
+ } & {
2009
+ fieldset?: string | null | undefined;
2010
+ icon?: string;
2011
+ description?: string;
2012
+ config?: {
2013
+ label?: string | null | undefined;
2014
+ repeat?: boolean;
2015
+ fields?: {
2016
+ [x: string]: ({
2017
+ type: "Boolean";
2018
+ } & {
2019
+ config?: {
2020
+ label?: string | null | undefined;
2021
+ default_value?: boolean;
2022
+ placeholder_true?: string;
2023
+ placeholder_false?: string;
2024
+ };
2025
+ }) | ({
2026
+ type: "Color";
2027
+ } & {
2028
+ fieldset?: string | null | undefined;
2029
+ config?: {
2030
+ label?: string | null | undefined;
2031
+ placeholder?: string;
2032
+ };
2033
+ }) | ({
2034
+ type: "Date";
2035
+ } & {
2036
+ fieldset?: string | null | undefined;
2037
+ config?: {
2038
+ label?: string | null | undefined;
2039
+ placeholder?: string;
2040
+ default?: string;
2041
+ };
2042
+ }) | ({
2043
+ type: "Embed";
2044
+ } & {
2045
+ fieldset?: string | null | undefined;
2046
+ config?: {
2047
+ label?: string | null | undefined;
2048
+ placeholder?: string;
2049
+ useAsTitle?: boolean;
2050
+ };
2051
+ }) | ({
2052
+ type: "GeoPoint";
2053
+ } & {
2054
+ fieldset?: string | null | undefined;
2055
+ config?: {
2056
+ label?: string | null | undefined;
2057
+ };
2058
+ }) | ({
2059
+ type: "Image";
2060
+ } & {
2061
+ fieldset?: string | null | undefined;
2062
+ config?: {
2063
+ label?: string | null | undefined;
2064
+ placeholder?: string;
2065
+ constraint?: {
2066
+ width?: number | null;
2067
+ height?: number | null;
2068
+ };
2069
+ thumbnails?: readonly ({
2070
+ name: string;
2071
+ } & {
2072
+ width?: number | null;
2073
+ height?: number | null;
2074
+ })[];
2075
+ };
2076
+ }) | ({
2077
+ type: "IntegrationFields";
2078
+ } & {
2079
+ fieldset?: string | null | undefined;
2080
+ config?: {
2081
+ label?: string | null | undefined;
2082
+ placeholder?: string;
2083
+ catalog?: string;
2084
+ };
2085
+ }) | ({
2086
+ type: "Link";
2087
+ } & {
2088
+ fieldset?: string | null | undefined;
2089
+ config?: {
2090
+ label?: string | null | undefined;
2091
+ useAsTitle?: boolean;
2092
+ placeholder?: string;
2093
+ select?: "media" | "document" | "web" | null;
2094
+ customtypes?: readonly string[];
2095
+ masks?: readonly string[];
2096
+ tags?: readonly string[];
2097
+ allowTargetBlank?: boolean;
2098
+ };
2099
+ }) | ({
2100
+ type: "Number";
2101
+ } & {
2102
+ fieldset?: string | null | undefined;
2103
+ config?: {
2104
+ label?: string | null | undefined;
2105
+ placeholder?: string;
2106
+ min?: number;
2107
+ max?: number;
2108
+ step?: number;
2109
+ };
2110
+ }) | ({
2111
+ type: "Range";
2112
+ } & {
2113
+ fieldset?: string | null | undefined;
2114
+ config?: {
2115
+ label?: string | null | undefined;
2116
+ placeholder?: string;
2117
+ min?: number;
2118
+ max?: number;
2119
+ step?: number;
2120
+ };
2121
+ }) | ({
2122
+ type: "StructuredText";
2123
+ } & {
2124
+ fieldset?: string | null | undefined;
2125
+ config?: {
2126
+ label?: string | null | undefined;
2127
+ placeholder?: string;
2128
+ useAsTitle?: boolean;
2129
+ single?: string;
2130
+ multi?: string;
2131
+ imageConstraint?: {
2132
+ width?: number | null;
2133
+ height?: number | null;
2134
+ };
2135
+ labels?: readonly string[];
2136
+ allowTargetBlank?: boolean;
2137
+ };
2138
+ }) | ({
2139
+ type: "Select";
2140
+ } & {
2141
+ fieldset?: string | null | undefined;
2142
+ config?: {
2143
+ label?: string | null | undefined;
2144
+ placeholder?: string;
2145
+ default_value?: string;
2146
+ options?: readonly string[];
2147
+ };
2148
+ }) | ({
2149
+ type: "Separator";
2150
+ } & {
2151
+ config?: {
2152
+ label?: string | null | undefined;
2153
+ };
2154
+ }) | ({
2155
+ type: "Text";
2156
+ } & {
2157
+ fieldset?: string | null | undefined;
2158
+ config?: {
2159
+ label?: string | null | undefined;
2160
+ useAsTitle?: boolean;
2161
+ placeholder?: string;
2162
+ };
2163
+ }) | ({
2164
+ type: "Timestamp";
2165
+ } & {
2166
+ fieldset?: string | null | undefined;
2167
+ config?: {
2168
+ label?: string | null | undefined;
2169
+ placeholder?: string;
2170
+ default?: string;
2171
+ };
2172
+ });
2173
+ };
2174
+ };
2175
+ });
2176
+ };
2177
+ };
2178
+ });
1005
2179
  };
1006
2180
  items?: {
1007
2181
  [x: string]: ({
@@ -1338,7 +2512,341 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1338
2512
  placeholder: t.StringC;
1339
2513
  catalog: t.StringC;
1340
2514
  }>>;
1341
- }>]>>]>, t.Type<Group, Group, unknown>, t.Type<{
2515
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
2516
+ type: t.LiteralC<"Group">;
2517
+ }>, t.PartialC<{
2518
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2519
+ icon: t.StringC;
2520
+ description: t.StringC;
2521
+ config: t.ExactC<t.PartialC<{
2522
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2523
+ repeat: t.BooleanC;
2524
+ fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2525
+ type: t.LiteralC<"Color">;
2526
+ }>, t.PartialC<{
2527
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2528
+ config: t.ExactC<t.PartialC<{
2529
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2530
+ placeholder: t.StringC;
2531
+ }>>;
2532
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2533
+ type: t.LiteralC<"Boolean">;
2534
+ }>, t.PartialC<{
2535
+ config: t.ExactC<t.PartialC<{
2536
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2537
+ default_value: t.BooleanC;
2538
+ placeholder_true: t.StringC;
2539
+ placeholder_false: t.StringC;
2540
+ }>>;
2541
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2542
+ type: t.LiteralC<"Embed">;
2543
+ }>, t.PartialC<{
2544
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2545
+ config: t.ExactC<t.PartialC<{
2546
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2547
+ placeholder: t.StringC;
2548
+ useAsTitle: t.BooleanC;
2549
+ }>>;
2550
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2551
+ type: t.LiteralC<"GeoPoint">;
2552
+ }>, t.PartialC<{
2553
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2554
+ config: t.ExactC<t.PartialC<{
2555
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2556
+ }>>;
2557
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2558
+ type: t.LiteralC<"Date">;
2559
+ }>, t.PartialC<{
2560
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2561
+ config: t.ExactC<t.PartialC<{
2562
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2563
+ placeholder: t.StringC;
2564
+ default: t.StringC;
2565
+ }>>;
2566
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2567
+ type: t.LiteralC<"Number">;
2568
+ }>, t.PartialC<{
2569
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2570
+ config: t.ExactC<t.PartialC<{
2571
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2572
+ placeholder: t.StringC;
2573
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2574
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2575
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2576
+ }>>;
2577
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2578
+ type: t.LiteralC<"Range">;
2579
+ }>, t.PartialC<{
2580
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2581
+ config: t.ExactC<t.PartialC<{
2582
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2583
+ placeholder: t.StringC;
2584
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2585
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2586
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2587
+ }>>;
2588
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2589
+ type: t.LiteralC<"StructuredText">;
2590
+ }>, t.PartialC<{
2591
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2592
+ config: t.ExactC<t.PartialC<{
2593
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2594
+ placeholder: t.StringC;
2595
+ useAsTitle: t.BooleanC;
2596
+ single: t.Type<string, string, unknown>;
2597
+ multi: t.Type<string, string, unknown>;
2598
+ imageConstraint: t.PartialC<{
2599
+ width: t.Type<number | null, unknown, unknown>;
2600
+ height: t.Type<number | null, unknown, unknown>;
2601
+ }>;
2602
+ labels: t.Type<readonly string[], object, unknown>;
2603
+ allowTargetBlank: t.BooleanC;
2604
+ }>>;
2605
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2606
+ type: t.LiteralC<"Select">;
2607
+ }>, t.PartialC<{
2608
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2609
+ config: t.ExactC<t.PartialC<{
2610
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2611
+ placeholder: t.StringC;
2612
+ default_value: t.StringC;
2613
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
2614
+ }>>;
2615
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2616
+ type: t.LiteralC<"Separator">;
2617
+ }>, t.PartialC<{
2618
+ config: t.ExactC<t.PartialC<{
2619
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2620
+ }>>;
2621
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2622
+ type: t.LiteralC<"Text">;
2623
+ }>, t.PartialC<{
2624
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2625
+ config: t.ExactC<t.PartialC<{
2626
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2627
+ useAsTitle: t.BooleanC;
2628
+ placeholder: t.StringC;
2629
+ }>>;
2630
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2631
+ type: t.LiteralC<"Timestamp">;
2632
+ }>, t.PartialC<{
2633
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2634
+ config: t.ExactC<t.PartialC<{
2635
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2636
+ placeholder: t.StringC;
2637
+ default: t.StringC;
2638
+ }>>;
2639
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2640
+ type: t.LiteralC<"Link">;
2641
+ }>, t.PartialC<{
2642
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2643
+ config: t.ExactC<t.PartialC<{
2644
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2645
+ useAsTitle: t.BooleanC;
2646
+ placeholder: t.StringC;
2647
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
2648
+ customtypes: t.ReadonlyArrayC<t.StringC>;
2649
+ masks: t.Type<readonly string[], object, unknown>;
2650
+ tags: t.Type<readonly string[], object, unknown>;
2651
+ allowTargetBlank: t.BooleanC;
2652
+ }>>;
2653
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2654
+ type: t.LiteralC<"Image">;
2655
+ }>, t.PartialC<{
2656
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2657
+ config: t.ExactC<t.PartialC<{
2658
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2659
+ placeholder: t.StringC;
2660
+ constraint: t.PartialC<{
2661
+ width: t.Type<number | null, unknown, unknown>;
2662
+ height: t.Type<number | null, unknown, unknown>;
2663
+ }>;
2664
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2665
+ name: t.StringC;
2666
+ }>, t.PartialC<{
2667
+ width: t.Type<number | null, unknown, unknown>;
2668
+ height: t.Type<number | null, unknown, unknown>;
2669
+ }>]>>>;
2670
+ }>>;
2671
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2672
+ type: t.LiteralC<"IntegrationFields">;
2673
+ }>, t.PartialC<{
2674
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2675
+ config: t.ExactC<t.PartialC<{
2676
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2677
+ placeholder: t.StringC;
2678
+ catalog: t.StringC;
2679
+ }>>;
2680
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
2681
+ type: t.LiteralC<"Group">;
2682
+ }>, t.PartialC<{
2683
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2684
+ icon: t.StringC;
2685
+ description: t.StringC;
2686
+ config: t.ExactC<t.PartialC<{
2687
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2688
+ repeat: t.BooleanC;
2689
+ fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2690
+ type: t.LiteralC<"Color">;
2691
+ }>, t.PartialC<{
2692
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2693
+ config: t.ExactC<t.PartialC<{
2694
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2695
+ placeholder: t.StringC;
2696
+ }>>;
2697
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2698
+ type: t.LiteralC<"Boolean">;
2699
+ }>, t.PartialC<{
2700
+ config: t.ExactC<t.PartialC<{
2701
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2702
+ default_value: t.BooleanC;
2703
+ placeholder_true: t.StringC;
2704
+ placeholder_false: t.StringC;
2705
+ }>>;
2706
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2707
+ type: t.LiteralC<"Embed">;
2708
+ }>, t.PartialC<{
2709
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2710
+ config: t.ExactC<t.PartialC<{
2711
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2712
+ placeholder: t.StringC;
2713
+ useAsTitle: t.BooleanC;
2714
+ }>>;
2715
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2716
+ type: t.LiteralC<"GeoPoint">;
2717
+ }>, t.PartialC<{
2718
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2719
+ config: t.ExactC<t.PartialC<{
2720
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2721
+ }>>;
2722
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2723
+ type: t.LiteralC<"Date">;
2724
+ }>, t.PartialC<{
2725
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2726
+ config: t.ExactC<t.PartialC<{
2727
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2728
+ placeholder: t.StringC;
2729
+ default: t.StringC;
2730
+ }>>;
2731
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2732
+ type: t.LiteralC<"Number">;
2733
+ }>, t.PartialC<{
2734
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2735
+ config: t.ExactC<t.PartialC<{
2736
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2737
+ placeholder: t.StringC;
2738
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2739
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2740
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2741
+ }>>;
2742
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2743
+ type: t.LiteralC<"Range">;
2744
+ }>, t.PartialC<{
2745
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2746
+ config: t.ExactC<t.PartialC<{
2747
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2748
+ placeholder: t.StringC;
2749
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2750
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2751
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2752
+ }>>;
2753
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2754
+ type: t.LiteralC<"StructuredText">;
2755
+ }>, t.PartialC<{
2756
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2757
+ config: t.ExactC<t.PartialC<{
2758
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2759
+ placeholder: t.StringC;
2760
+ useAsTitle: t.BooleanC;
2761
+ single: t.Type<string, string, unknown>;
2762
+ multi: t.Type<string, string, unknown>;
2763
+ imageConstraint: t.PartialC<{
2764
+ width: t.Type<number | null, unknown, unknown>;
2765
+ height: t.Type<number | null, unknown, unknown>;
2766
+ }>;
2767
+ labels: t.Type<readonly string[], object, unknown>;
2768
+ allowTargetBlank: t.BooleanC;
2769
+ }>>;
2770
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2771
+ type: t.LiteralC<"Select">;
2772
+ }>, t.PartialC<{
2773
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2774
+ config: t.ExactC<t.PartialC<{
2775
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2776
+ placeholder: t.StringC;
2777
+ default_value: t.StringC;
2778
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
2779
+ }>>;
2780
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2781
+ type: t.LiteralC<"Separator">;
2782
+ }>, t.PartialC<{
2783
+ config: t.ExactC<t.PartialC<{
2784
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2785
+ }>>;
2786
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2787
+ type: t.LiteralC<"Text">;
2788
+ }>, t.PartialC<{
2789
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2790
+ config: t.ExactC<t.PartialC<{
2791
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2792
+ useAsTitle: t.BooleanC;
2793
+ placeholder: t.StringC;
2794
+ }>>;
2795
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2796
+ type: t.LiteralC<"Timestamp">;
2797
+ }>, t.PartialC<{
2798
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2799
+ config: t.ExactC<t.PartialC<{
2800
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2801
+ placeholder: t.StringC;
2802
+ default: t.StringC;
2803
+ }>>;
2804
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2805
+ type: t.LiteralC<"Link">;
2806
+ }>, t.PartialC<{
2807
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2808
+ config: t.ExactC<t.PartialC<{
2809
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2810
+ useAsTitle: t.BooleanC;
2811
+ placeholder: t.StringC;
2812
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
2813
+ customtypes: t.ReadonlyArrayC<t.StringC>;
2814
+ masks: t.Type<readonly string[], object, unknown>;
2815
+ tags: t.Type<readonly string[], object, unknown>;
2816
+ allowTargetBlank: t.BooleanC;
2817
+ }>>;
2818
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2819
+ type: t.LiteralC<"Image">;
2820
+ }>, t.PartialC<{
2821
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2822
+ config: t.ExactC<t.PartialC<{
2823
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2824
+ placeholder: t.StringC;
2825
+ constraint: t.PartialC<{
2826
+ width: t.Type<number | null, unknown, unknown>;
2827
+ height: t.Type<number | null, unknown, unknown>;
2828
+ }>;
2829
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2830
+ name: t.StringC;
2831
+ }>, t.PartialC<{
2832
+ width: t.Type<number | null, unknown, unknown>;
2833
+ height: t.Type<number | null, unknown, unknown>;
2834
+ }>]>>>;
2835
+ }>>;
2836
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2837
+ type: t.LiteralC<"IntegrationFields">;
2838
+ }>, t.PartialC<{
2839
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2840
+ config: t.ExactC<t.PartialC<{
2841
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2842
+ placeholder: t.StringC;
2843
+ catalog: t.StringC;
2844
+ }>>;
2845
+ }>]>>]>>;
2846
+ }>>;
2847
+ }>]>>]>>;
2848
+ }>>;
2849
+ }>]>>, t.Type<{
1342
2850
  type: "Choice" | "Slices";
1343
2851
  } & {
1344
2852
  fieldset?: string | null | undefined;
@@ -1508,7 +3016,176 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1508
3016
  placeholder?: string;
1509
3017
  default?: string;
1510
3018
  };
1511
- }) | Group | ({
3019
+ }) | ({
3020
+ type: "Group";
3021
+ } & {
3022
+ fieldset?: string | null | undefined;
3023
+ icon?: string;
3024
+ description?: string;
3025
+ config?: {
3026
+ label?: string | null | undefined;
3027
+ repeat?: boolean;
3028
+ fields?: {
3029
+ [x: string]: ({
3030
+ type: "Boolean";
3031
+ } & {
3032
+ config?: {
3033
+ label?: string | null | undefined;
3034
+ default_value?: boolean;
3035
+ placeholder_true?: string;
3036
+ placeholder_false?: string;
3037
+ };
3038
+ }) | ({
3039
+ type: "Color";
3040
+ } & {
3041
+ fieldset?: string | null | undefined;
3042
+ config?: {
3043
+ label?: string | null | undefined;
3044
+ placeholder?: string;
3045
+ };
3046
+ }) | ({
3047
+ type: "Date";
3048
+ } & {
3049
+ fieldset?: string | null | undefined;
3050
+ config?: {
3051
+ label?: string | null | undefined;
3052
+ placeholder?: string;
3053
+ default?: string;
3054
+ };
3055
+ }) | ({
3056
+ type: "Embed";
3057
+ } & {
3058
+ fieldset?: string | null | undefined;
3059
+ config?: {
3060
+ label?: string | null | undefined;
3061
+ placeholder?: string;
3062
+ useAsTitle?: boolean;
3063
+ };
3064
+ }) | ({
3065
+ type: "GeoPoint";
3066
+ } & {
3067
+ fieldset?: string | null | undefined;
3068
+ config?: {
3069
+ label?: string | null | undefined;
3070
+ };
3071
+ }) | ({
3072
+ type: "Image";
3073
+ } & {
3074
+ fieldset?: string | null | undefined;
3075
+ config?: {
3076
+ label?: string | null | undefined;
3077
+ placeholder?: string;
3078
+ constraint?: {
3079
+ width?: number | null;
3080
+ height?: number | null;
3081
+ };
3082
+ thumbnails?: readonly ({
3083
+ name: string;
3084
+ } & {
3085
+ width?: number | null;
3086
+ height?: number | null;
3087
+ })[];
3088
+ };
3089
+ }) | ({
3090
+ type: "IntegrationFields";
3091
+ } & {
3092
+ fieldset?: string | null | undefined;
3093
+ config?: {
3094
+ label?: string | null | undefined;
3095
+ placeholder?: string;
3096
+ catalog?: string;
3097
+ };
3098
+ }) | ({
3099
+ type: "Link";
3100
+ } & {
3101
+ fieldset?: string | null | undefined;
3102
+ config?: {
3103
+ label?: string | null | undefined;
3104
+ useAsTitle?: boolean;
3105
+ placeholder?: string;
3106
+ select?: "media" | "document" | "web" | null;
3107
+ customtypes?: readonly string[];
3108
+ masks?: readonly string[];
3109
+ tags?: readonly string[];
3110
+ allowTargetBlank?: boolean;
3111
+ };
3112
+ }) | ({
3113
+ type: "Number";
3114
+ } & {
3115
+ fieldset?: string | null | undefined;
3116
+ config?: {
3117
+ label?: string | null | undefined;
3118
+ placeholder?: string;
3119
+ min?: number;
3120
+ max?: number;
3121
+ step?: number;
3122
+ };
3123
+ }) | ({
3124
+ type: "Range";
3125
+ } & {
3126
+ fieldset?: string | null | undefined;
3127
+ config?: {
3128
+ label?: string | null | undefined;
3129
+ placeholder?: string;
3130
+ min?: number;
3131
+ max?: number;
3132
+ step?: number;
3133
+ };
3134
+ }) | ({
3135
+ type: "StructuredText";
3136
+ } & {
3137
+ fieldset?: string | null | undefined;
3138
+ config?: {
3139
+ label?: string | null | undefined;
3140
+ placeholder?: string;
3141
+ useAsTitle?: boolean;
3142
+ single?: string;
3143
+ multi?: string;
3144
+ imageConstraint?: {
3145
+ width?: number | null;
3146
+ height?: number | null;
3147
+ };
3148
+ labels?: readonly string[];
3149
+ allowTargetBlank?: boolean;
3150
+ };
3151
+ }) | ({
3152
+ type: "Select";
3153
+ } & {
3154
+ fieldset?: string | null | undefined;
3155
+ config?: {
3156
+ label?: string | null | undefined;
3157
+ placeholder?: string;
3158
+ default_value?: string;
3159
+ options?: readonly string[];
3160
+ };
3161
+ }) | ({
3162
+ type: "Separator";
3163
+ } & {
3164
+ config?: {
3165
+ label?: string | null | undefined;
3166
+ };
3167
+ }) | ({
3168
+ type: "Text";
3169
+ } & {
3170
+ fieldset?: string | null | undefined;
3171
+ config?: {
3172
+ label?: string | null | undefined;
3173
+ useAsTitle?: boolean;
3174
+ placeholder?: string;
3175
+ };
3176
+ }) | ({
3177
+ type: "Timestamp";
3178
+ } & {
3179
+ fieldset?: string | null | undefined;
3180
+ config?: {
3181
+ label?: string | null | undefined;
3182
+ placeholder?: string;
3183
+ default?: string;
3184
+ };
3185
+ });
3186
+ };
3187
+ };
3188
+ }) | ({
1512
3189
  type: "Slice";
1513
3190
  } & {
1514
3191
  fieldset?: string | null | undefined;