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