@prismicio/types-internal 1.2.0-alpha.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/lib/content/fields/GroupContent.d.ts +810 -0
  2. package/lib/content/fields/GroupContent.js +17 -0
  3. package/lib/content/fields/index.d.ts +3 -0
  4. package/lib/content/fields/index.js +6 -0
  5. package/lib/content/fields/nestable/BooleanContent.d.ts +7 -0
  6. package/lib/content/fields/nestable/BooleanContent.js +11 -0
  7. package/lib/content/fields/nestable/EmbedContent.d.ts +70 -0
  8. package/lib/content/fields/nestable/EmbedContent.js +13 -0
  9. package/lib/content/fields/nestable/FieldContent.d.ts +26 -0
  10. package/lib/content/fields/nestable/FieldContent.js +22 -0
  11. package/lib/content/fields/nestable/GeoPointContent.d.ts +18 -0
  12. package/lib/content/fields/nestable/GeoPointContent.js +13 -0
  13. package/lib/content/fields/nestable/Image.d.ts +103 -0
  14. package/lib/content/fields/nestable/Image.js +13 -0
  15. package/lib/content/fields/nestable/ImageContent.d.ts +104 -0
  16. package/lib/content/fields/nestable/ImageContent.js +13 -0
  17. package/lib/content/fields/nestable/IntegrationFieldContent.d.ts +7 -0
  18. package/lib/content/fields/nestable/IntegrationFieldContent.js +11 -0
  19. package/lib/content/fields/nestable/LinkContent.d.ts +159 -0
  20. package/lib/content/fields/nestable/LinkContent.js +48 -0
  21. package/lib/content/fields/nestable/NestableContent.d.ts +400 -0
  22. package/lib/content/fields/nestable/NestableContent.js +25 -0
  23. package/lib/content/fields/nestable/RichTextContent.d.ts +127 -0
  24. package/lib/content/fields/nestable/RichTextContent.js +11 -0
  25. package/lib/content/fields/nestable/SeparatorContent.d.ts +6 -0
  26. package/lib/content/fields/nestable/SeparatorContent.js +10 -0
  27. package/lib/content/fields/nestable/index.d.ts +10 -0
  28. package/lib/content/fields/nestable/index.js +13 -0
  29. package/lib/content/fields/slices/SharedSliceContent.d.ts +806 -0
  30. package/lib/content/fields/slices/SharedSliceContent.js +15 -0
  31. package/lib/content/fields/slices/index.d.ts +1 -0
  32. package/lib/content/fields/slices/index.js +4 -0
  33. package/lib/content/index.d.ts +1 -0
  34. package/lib/content/index.js +4 -0
  35. package/lib/customtypes/Comparators/SharedSlice.d.ts +260 -260
  36. package/lib/customtypes/Comparators/Variation.d.ts +258 -258
  37. package/lib/customtypes/CustomType.d.ts +932 -932
  38. package/lib/customtypes/Section.d.ts +932 -932
  39. package/lib/customtypes/widgets/Widget.d.ts +664 -664
  40. package/lib/customtypes/widgets/slices/Slices.d.ts +792 -792
  41. package/lib/documents/widgets/nestable/EmbedContent.d.ts +5 -6
  42. package/lib/documents/widgets/nestable/EmbedContent.js +5 -5
  43. package/lib/documents/widgets/nestable/ImageContent.d.ts +14 -14
  44. package/lib/documents/widgets/nestable/Link/ExternalLink.d.ts +4 -4
  45. package/lib/documents/widgets/nestable/Link/FileLink.d.ts +1 -1
  46. package/lib/documents/widgets/nestable/Link/FileLink.js +2 -1
  47. package/lib/documents/widgets/nestable/Link/LinkContent.d.ts +3 -3
  48. package/lib/documents/widgets/nestable/Link/index.d.ts +5 -5
  49. package/lib/documents/widgets/nestable/SeparatorContent.d.ts +4 -0
  50. package/lib/documents/widgets/nestable/SeparatorContent.js +5 -0
  51. package/lib/documents/widgets/nestable/StructuredTextContent/Block.d.ts +10 -10
  52. package/lib/utils/Objects.d.ts +3 -3
  53. package/lib/validators/TrimmedString.d.ts +5 -0
  54. package/lib/validators/TrimmedString.js +23 -0
  55. package/package.json +1 -1
  56. package/src/content/fields/GroupContent.ts +21 -0
  57. package/src/content/fields/index.ts +3 -0
  58. package/src/content/fields/nestable/BooleanContent.ts +11 -0
  59. package/src/content/fields/nestable/EmbedContent.ts +16 -0
  60. package/src/content/fields/nestable/FieldContent.ts +25 -0
  61. package/src/content/fields/nestable/GeoPointContent.ts +16 -0
  62. package/src/content/fields/nestable/ImageContent.ts +16 -0
  63. package/src/content/fields/nestable/IntegrationFieldContent.ts +11 -0
  64. package/src/content/fields/nestable/LinkContent.ts +68 -0
  65. package/src/content/fields/nestable/NestableContent.ts +25 -0
  66. package/src/content/fields/nestable/RichTextContent.ts +14 -0
  67. package/src/content/fields/nestable/SeparatorContent.ts +10 -0
  68. package/src/content/fields/nestable/index.ts +10 -0
  69. package/src/content/fields/slices/SharedSliceContent.ts +14 -0
  70. package/src/content/fields/slices/index.ts +1 -0
  71. package/src/content/index.ts +1 -0
  72. package/src/documents/widgets/nestable/EmbedContent.ts +1 -1
  73. package/src/documents/widgets/nestable/Link/FileLink.ts +2 -1
  74. package/src/documents/widgets/nestable/SeparatorContent.ts +5 -0
  75. package/src/utils/Objects.ts +13 -14
  76. package/src/validators/TrimmedString.ts +33 -0
@@ -11,325 +11,325 @@ export declare const VariationComparator: {
11
11
  docURL: string;
12
12
  version: string;
13
13
  } & {
14
- display?: string | undefined;
14
+ display?: string;
15
15
  primary?: {
16
16
  [x: string]: ({
17
17
  type: "Boolean";
18
18
  } & {
19
19
  config?: {
20
20
  label?: string | null | undefined;
21
- default_value?: boolean | undefined;
22
- placeholder_true?: string | undefined;
23
- placeholder_false?: string | undefined;
24
- } | undefined;
21
+ default_value?: boolean;
22
+ placeholder_true?: string;
23
+ placeholder_false?: string;
24
+ };
25
25
  }) | ({
26
26
  type: "Color";
27
27
  } & {
28
28
  fieldset?: string | null | undefined;
29
29
  config?: {
30
30
  label?: string | null | undefined;
31
- placeholder?: string | undefined;
32
- } | undefined;
31
+ placeholder?: string;
32
+ };
33
33
  }) | ({
34
34
  type: "Date";
35
35
  } & {
36
36
  fieldset?: string | null | undefined;
37
37
  config?: {
38
38
  label?: string | null | undefined;
39
- placeholder?: string | undefined;
40
- default?: string | undefined;
41
- } | undefined;
39
+ placeholder?: string;
40
+ default?: string;
41
+ };
42
42
  }) | ({
43
43
  type: "Embed";
44
44
  } & {
45
45
  fieldset?: string | null | undefined;
46
46
  config?: {
47
47
  label?: string | null | undefined;
48
- placeholder?: string | undefined;
49
- useAsTitle?: boolean | undefined;
50
- } | undefined;
48
+ placeholder?: string;
49
+ useAsTitle?: boolean;
50
+ };
51
51
  }) | ({
52
52
  type: "GeoPoint";
53
53
  } & {
54
54
  fieldset?: string | null | undefined;
55
55
  config?: {
56
56
  label?: string | null | undefined;
57
- } | undefined;
57
+ };
58
58
  }) | ({
59
59
  type: "Image";
60
60
  } & {
61
61
  fieldset?: string | null | undefined;
62
62
  config?: {
63
63
  label?: string | null | undefined;
64
- placeholder?: string | undefined;
64
+ placeholder?: string;
65
65
  constraint?: {
66
- width?: number | null | undefined;
67
- height?: number | null | undefined;
68
- } | undefined;
66
+ width?: number | null;
67
+ height?: number | null;
68
+ };
69
69
  thumbnails?: readonly ({
70
70
  name: string;
71
71
  } & {
72
- width?: number | null | undefined;
73
- height?: number | null | undefined;
74
- })[] | undefined;
75
- } | undefined;
72
+ width?: number | null;
73
+ height?: number | null;
74
+ })[];
75
+ };
76
76
  }) | ({
77
77
  type: "IntegrationFields";
78
78
  } & {
79
79
  fieldset?: string | null | undefined;
80
80
  config?: {
81
81
  label?: string | null | undefined;
82
- placeholder?: string | undefined;
83
- catalog?: string | undefined;
84
- } | undefined;
82
+ placeholder?: string;
83
+ catalog?: string;
84
+ };
85
85
  }) | ({
86
86
  type: "Link";
87
87
  } & {
88
88
  fieldset?: string | null | undefined;
89
89
  config?: {
90
90
  label?: string | null | undefined;
91
- useAsTitle?: boolean | undefined;
92
- placeholder?: string | undefined;
93
- select?: "web" | "media" | "document" | null | undefined;
94
- customtypes?: readonly string[] | undefined;
95
- masks?: readonly string[] | undefined;
96
- tags?: readonly string[] | undefined;
97
- allowTargetBlank?: boolean | undefined;
98
- } | undefined;
91
+ useAsTitle?: boolean;
92
+ placeholder?: string;
93
+ select?: "web" | "media" | "document" | null;
94
+ customtypes?: readonly string[];
95
+ masks?: readonly string[];
96
+ tags?: readonly string[];
97
+ allowTargetBlank?: boolean;
98
+ };
99
99
  }) | ({
100
100
  type: "Number";
101
101
  } & {
102
102
  fieldset?: string | null | undefined;
103
103
  config?: {
104
104
  label?: string | null | undefined;
105
- placeholder?: string | undefined;
106
- min?: number | undefined;
107
- max?: number | undefined;
108
- step?: number | undefined;
109
- } | undefined;
105
+ placeholder?: string;
106
+ min?: number;
107
+ max?: number;
108
+ step?: number;
109
+ };
110
110
  }) | ({
111
111
  type: "Range";
112
112
  } & {
113
113
  fieldset?: string | null | undefined;
114
114
  config?: {
115
115
  label?: string | null | undefined;
116
- placeholder?: string | undefined;
117
- min?: number | undefined;
118
- max?: number | undefined;
119
- step?: number | undefined;
120
- } | undefined;
116
+ placeholder?: string;
117
+ min?: number;
118
+ max?: number;
119
+ step?: number;
120
+ };
121
121
  }) | ({
122
122
  type: "StructuredText";
123
123
  } & {
124
124
  fieldset?: string | null | undefined;
125
125
  config?: {
126
126
  label?: string | null | undefined;
127
- placeholder?: string | undefined;
128
- useAsTitle?: boolean | undefined;
129
- single?: string | undefined;
130
- multi?: string | undefined;
127
+ placeholder?: string;
128
+ useAsTitle?: boolean;
129
+ single?: string;
130
+ multi?: string;
131
131
  imageConstraint?: {
132
- width?: number | null | undefined;
133
- height?: number | null | undefined;
134
- } | undefined;
135
- labels?: readonly string[] | undefined;
136
- allowTargetBlank?: boolean | undefined;
137
- } | undefined;
132
+ width?: number | null;
133
+ height?: number | null;
134
+ };
135
+ labels?: readonly string[];
136
+ allowTargetBlank?: boolean;
137
+ };
138
138
  }) | ({
139
139
  type: "Select";
140
140
  } & {
141
141
  fieldset?: string | null | undefined;
142
142
  config?: {
143
143
  label?: string | null | undefined;
144
- placeholder?: string | undefined;
145
- default_value?: string | undefined;
146
- options?: readonly string[] | undefined;
147
- } | undefined;
144
+ placeholder?: string;
145
+ default_value?: string;
146
+ options?: readonly string[];
147
+ };
148
148
  }) | ({
149
149
  type: "Separator";
150
150
  } & {
151
151
  config?: {
152
152
  label?: string | null | undefined;
153
- } | undefined;
153
+ };
154
154
  }) | ({
155
155
  type: "Text";
156
156
  } & {
157
157
  fieldset?: string | null | undefined;
158
158
  config?: {
159
159
  label?: string | null | undefined;
160
- useAsTitle?: boolean | undefined;
161
- placeholder?: string | undefined;
162
- } | undefined;
160
+ useAsTitle?: boolean;
161
+ placeholder?: string;
162
+ };
163
163
  }) | ({
164
164
  type: "Timestamp";
165
165
  } & {
166
166
  fieldset?: string | null | undefined;
167
167
  config?: {
168
168
  label?: string | null | undefined;
169
- placeholder?: string | undefined;
170
- default?: string | undefined;
171
- } | undefined;
169
+ placeholder?: string;
170
+ default?: string;
171
+ };
172
172
  });
173
- } | undefined;
173
+ };
174
174
  items?: {
175
175
  [x: string]: ({
176
176
  type: "Boolean";
177
177
  } & {
178
178
  config?: {
179
179
  label?: string | null | undefined;
180
- default_value?: boolean | undefined;
181
- placeholder_true?: string | undefined;
182
- placeholder_false?: string | undefined;
183
- } | undefined;
180
+ default_value?: boolean;
181
+ placeholder_true?: string;
182
+ placeholder_false?: string;
183
+ };
184
184
  }) | ({
185
185
  type: "Color";
186
186
  } & {
187
187
  fieldset?: string | null | undefined;
188
188
  config?: {
189
189
  label?: string | null | undefined;
190
- placeholder?: string | undefined;
191
- } | undefined;
190
+ placeholder?: string;
191
+ };
192
192
  }) | ({
193
193
  type: "Date";
194
194
  } & {
195
195
  fieldset?: string | null | undefined;
196
196
  config?: {
197
197
  label?: string | null | undefined;
198
- placeholder?: string | undefined;
199
- default?: string | undefined;
200
- } | undefined;
198
+ placeholder?: string;
199
+ default?: string;
200
+ };
201
201
  }) | ({
202
202
  type: "Embed";
203
203
  } & {
204
204
  fieldset?: string | null | undefined;
205
205
  config?: {
206
206
  label?: string | null | undefined;
207
- placeholder?: string | undefined;
208
- useAsTitle?: boolean | undefined;
209
- } | undefined;
207
+ placeholder?: string;
208
+ useAsTitle?: boolean;
209
+ };
210
210
  }) | ({
211
211
  type: "GeoPoint";
212
212
  } & {
213
213
  fieldset?: string | null | undefined;
214
214
  config?: {
215
215
  label?: string | null | undefined;
216
- } | undefined;
216
+ };
217
217
  }) | ({
218
218
  type: "Image";
219
219
  } & {
220
220
  fieldset?: string | null | undefined;
221
221
  config?: {
222
222
  label?: string | null | undefined;
223
- placeholder?: string | undefined;
223
+ placeholder?: string;
224
224
  constraint?: {
225
- width?: number | null | undefined;
226
- height?: number | null | undefined;
227
- } | undefined;
225
+ width?: number | null;
226
+ height?: number | null;
227
+ };
228
228
  thumbnails?: readonly ({
229
229
  name: string;
230
230
  } & {
231
- width?: number | null | undefined;
232
- height?: number | null | undefined;
233
- })[] | undefined;
234
- } | undefined;
231
+ width?: number | null;
232
+ height?: number | null;
233
+ })[];
234
+ };
235
235
  }) | ({
236
236
  type: "IntegrationFields";
237
237
  } & {
238
238
  fieldset?: string | null | undefined;
239
239
  config?: {
240
240
  label?: string | null | undefined;
241
- placeholder?: string | undefined;
242
- catalog?: string | undefined;
243
- } | undefined;
241
+ placeholder?: string;
242
+ catalog?: string;
243
+ };
244
244
  }) | ({
245
245
  type: "Link";
246
246
  } & {
247
247
  fieldset?: string | null | undefined;
248
248
  config?: {
249
249
  label?: string | null | undefined;
250
- useAsTitle?: boolean | undefined;
251
- placeholder?: string | undefined;
252
- select?: "web" | "media" | "document" | null | undefined;
253
- customtypes?: readonly string[] | undefined;
254
- masks?: readonly string[] | undefined;
255
- tags?: readonly string[] | undefined;
256
- allowTargetBlank?: boolean | undefined;
257
- } | undefined;
250
+ useAsTitle?: boolean;
251
+ placeholder?: string;
252
+ select?: "web" | "media" | "document" | null;
253
+ customtypes?: readonly string[];
254
+ masks?: readonly string[];
255
+ tags?: readonly string[];
256
+ allowTargetBlank?: boolean;
257
+ };
258
258
  }) | ({
259
259
  type: "Number";
260
260
  } & {
261
261
  fieldset?: string | null | undefined;
262
262
  config?: {
263
263
  label?: string | null | undefined;
264
- placeholder?: string | undefined;
265
- min?: number | undefined;
266
- max?: number | undefined;
267
- step?: number | undefined;
268
- } | undefined;
264
+ placeholder?: string;
265
+ min?: number;
266
+ max?: number;
267
+ step?: number;
268
+ };
269
269
  }) | ({
270
270
  type: "Range";
271
271
  } & {
272
272
  fieldset?: string | null | undefined;
273
273
  config?: {
274
274
  label?: string | null | undefined;
275
- placeholder?: string | undefined;
276
- min?: number | undefined;
277
- max?: number | undefined;
278
- step?: number | undefined;
279
- } | undefined;
275
+ placeholder?: string;
276
+ min?: number;
277
+ max?: number;
278
+ step?: number;
279
+ };
280
280
  }) | ({
281
281
  type: "StructuredText";
282
282
  } & {
283
283
  fieldset?: string | null | undefined;
284
284
  config?: {
285
285
  label?: string | null | undefined;
286
- placeholder?: string | undefined;
287
- useAsTitle?: boolean | undefined;
288
- single?: string | undefined;
289
- multi?: string | undefined;
286
+ placeholder?: string;
287
+ useAsTitle?: boolean;
288
+ single?: string;
289
+ multi?: string;
290
290
  imageConstraint?: {
291
- width?: number | null | undefined;
292
- height?: number | null | undefined;
293
- } | undefined;
294
- labels?: readonly string[] | undefined;
295
- allowTargetBlank?: boolean | undefined;
296
- } | undefined;
291
+ width?: number | null;
292
+ height?: number | null;
293
+ };
294
+ labels?: readonly string[];
295
+ allowTargetBlank?: boolean;
296
+ };
297
297
  }) | ({
298
298
  type: "Select";
299
299
  } & {
300
300
  fieldset?: string | null | undefined;
301
301
  config?: {
302
302
  label?: string | null | undefined;
303
- placeholder?: string | undefined;
304
- default_value?: string | undefined;
305
- options?: readonly string[] | undefined;
306
- } | undefined;
303
+ placeholder?: string;
304
+ default_value?: string;
305
+ options?: readonly string[];
306
+ };
307
307
  }) | ({
308
308
  type: "Separator";
309
309
  } & {
310
310
  config?: {
311
311
  label?: string | null | undefined;
312
- } | undefined;
312
+ };
313
313
  }) | ({
314
314
  type: "Text";
315
315
  } & {
316
316
  fieldset?: string | null | undefined;
317
317
  config?: {
318
318
  label?: string | null | undefined;
319
- useAsTitle?: boolean | undefined;
320
- placeholder?: string | undefined;
321
- } | undefined;
319
+ useAsTitle?: boolean;
320
+ placeholder?: string;
321
+ };
322
322
  }) | ({
323
323
  type: "Timestamp";
324
324
  } & {
325
325
  fieldset?: string | null | undefined;
326
326
  config?: {
327
327
  label?: string | null | undefined;
328
- placeholder?: string | undefined;
329
- default?: string | undefined;
330
- } | undefined;
328
+ placeholder?: string;
329
+ default?: string;
330
+ };
331
331
  });
332
- } | undefined;
332
+ };
333
333
  }) | undefined, variationB?: ({
334
334
  id: string;
335
335
  name: string;
@@ -338,325 +338,325 @@ export declare const VariationComparator: {
338
338
  docURL: string;
339
339
  version: string;
340
340
  } & {
341
- display?: string | undefined;
341
+ display?: string;
342
342
  primary?: {
343
343
  [x: string]: ({
344
344
  type: "Boolean";
345
345
  } & {
346
346
  config?: {
347
347
  label?: string | null | undefined;
348
- default_value?: boolean | undefined;
349
- placeholder_true?: string | undefined;
350
- placeholder_false?: string | undefined;
351
- } | undefined;
348
+ default_value?: boolean;
349
+ placeholder_true?: string;
350
+ placeholder_false?: string;
351
+ };
352
352
  }) | ({
353
353
  type: "Color";
354
354
  } & {
355
355
  fieldset?: string | null | undefined;
356
356
  config?: {
357
357
  label?: string | null | undefined;
358
- placeholder?: string | undefined;
359
- } | undefined;
358
+ placeholder?: string;
359
+ };
360
360
  }) | ({
361
361
  type: "Date";
362
362
  } & {
363
363
  fieldset?: string | null | undefined;
364
364
  config?: {
365
365
  label?: string | null | undefined;
366
- placeholder?: string | undefined;
367
- default?: string | undefined;
368
- } | undefined;
366
+ placeholder?: string;
367
+ default?: string;
368
+ };
369
369
  }) | ({
370
370
  type: "Embed";
371
371
  } & {
372
372
  fieldset?: string | null | undefined;
373
373
  config?: {
374
374
  label?: string | null | undefined;
375
- placeholder?: string | undefined;
376
- useAsTitle?: boolean | undefined;
377
- } | undefined;
375
+ placeholder?: string;
376
+ useAsTitle?: boolean;
377
+ };
378
378
  }) | ({
379
379
  type: "GeoPoint";
380
380
  } & {
381
381
  fieldset?: string | null | undefined;
382
382
  config?: {
383
383
  label?: string | null | undefined;
384
- } | undefined;
384
+ };
385
385
  }) | ({
386
386
  type: "Image";
387
387
  } & {
388
388
  fieldset?: string | null | undefined;
389
389
  config?: {
390
390
  label?: string | null | undefined;
391
- placeholder?: string | undefined;
391
+ placeholder?: string;
392
392
  constraint?: {
393
- width?: number | null | undefined;
394
- height?: number | null | undefined;
395
- } | undefined;
393
+ width?: number | null;
394
+ height?: number | null;
395
+ };
396
396
  thumbnails?: readonly ({
397
397
  name: string;
398
398
  } & {
399
- width?: number | null | undefined;
400
- height?: number | null | undefined;
401
- })[] | undefined;
402
- } | undefined;
399
+ width?: number | null;
400
+ height?: number | null;
401
+ })[];
402
+ };
403
403
  }) | ({
404
404
  type: "IntegrationFields";
405
405
  } & {
406
406
  fieldset?: string | null | undefined;
407
407
  config?: {
408
408
  label?: string | null | undefined;
409
- placeholder?: string | undefined;
410
- catalog?: string | undefined;
411
- } | undefined;
409
+ placeholder?: string;
410
+ catalog?: string;
411
+ };
412
412
  }) | ({
413
413
  type: "Link";
414
414
  } & {
415
415
  fieldset?: string | null | undefined;
416
416
  config?: {
417
417
  label?: string | null | undefined;
418
- useAsTitle?: boolean | undefined;
419
- placeholder?: string | undefined;
420
- select?: "web" | "media" | "document" | null | undefined;
421
- customtypes?: readonly string[] | undefined;
422
- masks?: readonly string[] | undefined;
423
- tags?: readonly string[] | undefined;
424
- allowTargetBlank?: boolean | undefined;
425
- } | undefined;
418
+ useAsTitle?: boolean;
419
+ placeholder?: string;
420
+ select?: "web" | "media" | "document" | null;
421
+ customtypes?: readonly string[];
422
+ masks?: readonly string[];
423
+ tags?: readonly string[];
424
+ allowTargetBlank?: boolean;
425
+ };
426
426
  }) | ({
427
427
  type: "Number";
428
428
  } & {
429
429
  fieldset?: string | null | undefined;
430
430
  config?: {
431
431
  label?: string | null | undefined;
432
- placeholder?: string | undefined;
433
- min?: number | undefined;
434
- max?: number | undefined;
435
- step?: number | undefined;
436
- } | undefined;
432
+ placeholder?: string;
433
+ min?: number;
434
+ max?: number;
435
+ step?: number;
436
+ };
437
437
  }) | ({
438
438
  type: "Range";
439
439
  } & {
440
440
  fieldset?: string | null | undefined;
441
441
  config?: {
442
442
  label?: string | null | undefined;
443
- placeholder?: string | undefined;
444
- min?: number | undefined;
445
- max?: number | undefined;
446
- step?: number | undefined;
447
- } | undefined;
443
+ placeholder?: string;
444
+ min?: number;
445
+ max?: number;
446
+ step?: number;
447
+ };
448
448
  }) | ({
449
449
  type: "StructuredText";
450
450
  } & {
451
451
  fieldset?: string | null | undefined;
452
452
  config?: {
453
453
  label?: string | null | undefined;
454
- placeholder?: string | undefined;
455
- useAsTitle?: boolean | undefined;
456
- single?: string | undefined;
457
- multi?: string | undefined;
454
+ placeholder?: string;
455
+ useAsTitle?: boolean;
456
+ single?: string;
457
+ multi?: string;
458
458
  imageConstraint?: {
459
- width?: number | null | undefined;
460
- height?: number | null | undefined;
461
- } | undefined;
462
- labels?: readonly string[] | undefined;
463
- allowTargetBlank?: boolean | undefined;
464
- } | undefined;
459
+ width?: number | null;
460
+ height?: number | null;
461
+ };
462
+ labels?: readonly string[];
463
+ allowTargetBlank?: boolean;
464
+ };
465
465
  }) | ({
466
466
  type: "Select";
467
467
  } & {
468
468
  fieldset?: string | null | undefined;
469
469
  config?: {
470
470
  label?: string | null | undefined;
471
- placeholder?: string | undefined;
472
- default_value?: string | undefined;
473
- options?: readonly string[] | undefined;
474
- } | undefined;
471
+ placeholder?: string;
472
+ default_value?: string;
473
+ options?: readonly string[];
474
+ };
475
475
  }) | ({
476
476
  type: "Separator";
477
477
  } & {
478
478
  config?: {
479
479
  label?: string | null | undefined;
480
- } | undefined;
480
+ };
481
481
  }) | ({
482
482
  type: "Text";
483
483
  } & {
484
484
  fieldset?: string | null | undefined;
485
485
  config?: {
486
486
  label?: string | null | undefined;
487
- useAsTitle?: boolean | undefined;
488
- placeholder?: string | undefined;
489
- } | undefined;
487
+ useAsTitle?: boolean;
488
+ placeholder?: string;
489
+ };
490
490
  }) | ({
491
491
  type: "Timestamp";
492
492
  } & {
493
493
  fieldset?: string | null | undefined;
494
494
  config?: {
495
495
  label?: string | null | undefined;
496
- placeholder?: string | undefined;
497
- default?: string | undefined;
498
- } | undefined;
496
+ placeholder?: string;
497
+ default?: string;
498
+ };
499
499
  });
500
- } | undefined;
500
+ };
501
501
  items?: {
502
502
  [x: string]: ({
503
503
  type: "Boolean";
504
504
  } & {
505
505
  config?: {
506
506
  label?: string | null | undefined;
507
- default_value?: boolean | undefined;
508
- placeholder_true?: string | undefined;
509
- placeholder_false?: string | undefined;
510
- } | undefined;
507
+ default_value?: boolean;
508
+ placeholder_true?: string;
509
+ placeholder_false?: string;
510
+ };
511
511
  }) | ({
512
512
  type: "Color";
513
513
  } & {
514
514
  fieldset?: string | null | undefined;
515
515
  config?: {
516
516
  label?: string | null | undefined;
517
- placeholder?: string | undefined;
518
- } | undefined;
517
+ placeholder?: string;
518
+ };
519
519
  }) | ({
520
520
  type: "Date";
521
521
  } & {
522
522
  fieldset?: string | null | undefined;
523
523
  config?: {
524
524
  label?: string | null | undefined;
525
- placeholder?: string | undefined;
526
- default?: string | undefined;
527
- } | undefined;
525
+ placeholder?: string;
526
+ default?: string;
527
+ };
528
528
  }) | ({
529
529
  type: "Embed";
530
530
  } & {
531
531
  fieldset?: string | null | undefined;
532
532
  config?: {
533
533
  label?: string | null | undefined;
534
- placeholder?: string | undefined;
535
- useAsTitle?: boolean | undefined;
536
- } | undefined;
534
+ placeholder?: string;
535
+ useAsTitle?: boolean;
536
+ };
537
537
  }) | ({
538
538
  type: "GeoPoint";
539
539
  } & {
540
540
  fieldset?: string | null | undefined;
541
541
  config?: {
542
542
  label?: string | null | undefined;
543
- } | undefined;
543
+ };
544
544
  }) | ({
545
545
  type: "Image";
546
546
  } & {
547
547
  fieldset?: string | null | undefined;
548
548
  config?: {
549
549
  label?: string | null | undefined;
550
- placeholder?: string | undefined;
550
+ placeholder?: string;
551
551
  constraint?: {
552
- width?: number | null | undefined;
553
- height?: number | null | undefined;
554
- } | undefined;
552
+ width?: number | null;
553
+ height?: number | null;
554
+ };
555
555
  thumbnails?: readonly ({
556
556
  name: string;
557
557
  } & {
558
- width?: number | null | undefined;
559
- height?: number | null | undefined;
560
- })[] | undefined;
561
- } | undefined;
558
+ width?: number | null;
559
+ height?: number | null;
560
+ })[];
561
+ };
562
562
  }) | ({
563
563
  type: "IntegrationFields";
564
564
  } & {
565
565
  fieldset?: string | null | undefined;
566
566
  config?: {
567
567
  label?: string | null | undefined;
568
- placeholder?: string | undefined;
569
- catalog?: string | undefined;
570
- } | undefined;
568
+ placeholder?: string;
569
+ catalog?: string;
570
+ };
571
571
  }) | ({
572
572
  type: "Link";
573
573
  } & {
574
574
  fieldset?: string | null | undefined;
575
575
  config?: {
576
576
  label?: string | null | undefined;
577
- useAsTitle?: boolean | undefined;
578
- placeholder?: string | undefined;
579
- select?: "web" | "media" | "document" | null | undefined;
580
- customtypes?: readonly string[] | undefined;
581
- masks?: readonly string[] | undefined;
582
- tags?: readonly string[] | undefined;
583
- allowTargetBlank?: boolean | undefined;
584
- } | undefined;
577
+ useAsTitle?: boolean;
578
+ placeholder?: string;
579
+ select?: "web" | "media" | "document" | null;
580
+ customtypes?: readonly string[];
581
+ masks?: readonly string[];
582
+ tags?: readonly string[];
583
+ allowTargetBlank?: boolean;
584
+ };
585
585
  }) | ({
586
586
  type: "Number";
587
587
  } & {
588
588
  fieldset?: string | null | undefined;
589
589
  config?: {
590
590
  label?: string | null | undefined;
591
- placeholder?: string | undefined;
592
- min?: number | undefined;
593
- max?: number | undefined;
594
- step?: number | undefined;
595
- } | undefined;
591
+ placeholder?: string;
592
+ min?: number;
593
+ max?: number;
594
+ step?: number;
595
+ };
596
596
  }) | ({
597
597
  type: "Range";
598
598
  } & {
599
599
  fieldset?: string | null | undefined;
600
600
  config?: {
601
601
  label?: string | null | undefined;
602
- placeholder?: string | undefined;
603
- min?: number | undefined;
604
- max?: number | undefined;
605
- step?: number | undefined;
606
- } | undefined;
602
+ placeholder?: string;
603
+ min?: number;
604
+ max?: number;
605
+ step?: number;
606
+ };
607
607
  }) | ({
608
608
  type: "StructuredText";
609
609
  } & {
610
610
  fieldset?: string | null | undefined;
611
611
  config?: {
612
612
  label?: string | null | undefined;
613
- placeholder?: string | undefined;
614
- useAsTitle?: boolean | undefined;
615
- single?: string | undefined;
616
- multi?: string | undefined;
613
+ placeholder?: string;
614
+ useAsTitle?: boolean;
615
+ single?: string;
616
+ multi?: string;
617
617
  imageConstraint?: {
618
- width?: number | null | undefined;
619
- height?: number | null | undefined;
620
- } | undefined;
621
- labels?: readonly string[] | undefined;
622
- allowTargetBlank?: boolean | undefined;
623
- } | undefined;
618
+ width?: number | null;
619
+ height?: number | null;
620
+ };
621
+ labels?: readonly string[];
622
+ allowTargetBlank?: boolean;
623
+ };
624
624
  }) | ({
625
625
  type: "Select";
626
626
  } & {
627
627
  fieldset?: string | null | undefined;
628
628
  config?: {
629
629
  label?: string | null | undefined;
630
- placeholder?: string | undefined;
631
- default_value?: string | undefined;
632
- options?: readonly string[] | undefined;
633
- } | undefined;
630
+ placeholder?: string;
631
+ default_value?: string;
632
+ options?: readonly string[];
633
+ };
634
634
  }) | ({
635
635
  type: "Separator";
636
636
  } & {
637
637
  config?: {
638
638
  label?: string | null | undefined;
639
- } | undefined;
639
+ };
640
640
  }) | ({
641
641
  type: "Text";
642
642
  } & {
643
643
  fieldset?: string | null | undefined;
644
644
  config?: {
645
645
  label?: string | null | undefined;
646
- useAsTitle?: boolean | undefined;
647
- placeholder?: string | undefined;
648
- } | undefined;
646
+ useAsTitle?: boolean;
647
+ placeholder?: string;
648
+ };
649
649
  }) | ({
650
650
  type: "Timestamp";
651
651
  } & {
652
652
  fieldset?: string | null | undefined;
653
653
  config?: {
654
654
  label?: string | null | undefined;
655
- placeholder?: string | undefined;
656
- default?: string | undefined;
657
- } | undefined;
655
+ placeholder?: string;
656
+ default?: string;
657
+ };
658
658
  });
659
- } | undefined;
659
+ };
660
660
  }) | undefined): VariationDiff | undefined;
661
661
  };
662
662
  export {};