@prismicio/types-internal 2.6.0 → 2.7.0-alpha.1

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 (36) hide show
  1. package/lib/content/Document.d.ts +409 -13
  2. package/lib/content/fields/WidgetContent.d.ts +408 -12
  3. package/lib/content/fields/nestable/LinkContent.d.ts +54 -8
  4. package/lib/content/fields/nestable/LinkContent.js +10 -1
  5. package/lib/content/fields/nestable/NestableContent.d.ts +68 -2
  6. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +129 -6
  7. package/lib/content/fields/nestable/RichTextContent/index.d.ts +60 -0
  8. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +136 -4
  9. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +32 -2
  10. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +136 -4
  11. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +68 -2
  12. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +68 -2
  13. package/lib/content/fields/slices/Slice/index.d.ts +250 -10
  14. package/lib/content/fields/slices/SliceItem.d.ts +250 -10
  15. package/lib/content/fields/slices/SlicesContent.d.ts +340 -10
  16. package/lib/customtypes/CustomType.d.ts +342 -162
  17. package/lib/customtypes/Section.d.ts +342 -162
  18. package/lib/customtypes/diff/SharedSlice.d.ts +152 -72
  19. package/lib/customtypes/diff/Variation.d.ts +152 -72
  20. package/lib/customtypes/widgets/Group.d.ts +60 -0
  21. package/lib/customtypes/widgets/Widget.d.ts +318 -108
  22. package/lib/customtypes/widgets/nestable/Link.d.ts +20 -0
  23. package/lib/customtypes/widgets/nestable/Link.js +2 -0
  24. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +10 -0
  25. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +20 -0
  26. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +20 -0
  27. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +80 -0
  28. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +87 -27
  29. package/lib/customtypes/widgets/slices/Slices.d.ts +424 -144
  30. package/package.json +1 -1
  31. package/src/content/fields/nestable/LinkContent.ts +12 -1
  32. package/src/customtypes/widgets/nestable/Link.ts +2 -0
  33. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +0 -727
  34. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +0 -80
  35. package/lib/customtypes/widgets/slices/SliceWidget.d.ts +0 -327
  36. package/lib/customtypes/widgets/slices/SliceWidget.js +0 -8
@@ -12,6 +12,7 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
12
12
  kind: t.StringC;
13
13
  }>, t.PartialC<{
14
14
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
15
+ text: t.StringC;
15
16
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
16
17
  id: t.StringC;
17
18
  url: t.StringC;
@@ -20,15 +21,19 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
20
21
  size: t.StringC;
21
22
  }>, t.PartialC<{
22
23
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
24
+ text: t.StringC;
23
25
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
24
26
  __TYPE__: t.LiteralC<"FileLink">;
25
27
  }>, t.PartialC<{
26
28
  size: t.StringC;
29
+ text: t.StringC;
27
30
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
28
31
  __TYPE__: t.LiteralC<"DocumentLink">;
29
- }>>, t.ExactC<t.TypeC<{
32
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
30
33
  id: t.Type<string, string, unknown>;
31
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
34
+ }>, t.PartialC<{
35
+ text: t.StringC;
36
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
32
37
  __TYPE__: t.LiteralC<"ExternalLink">;
33
38
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
34
39
  url: t.StringC;
@@ -40,6 +45,7 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
40
45
  }, {
41
46
  title?: string;
42
47
  }, unknown>, t.NullC, t.UndefinedC]>;
48
+ text: t.StringC;
43
49
  }>]>>]>]> | t.UnionC<[t.Type<{
44
50
  __TYPE__: "ImageLink";
45
51
  } & {
@@ -52,6 +58,7 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
52
58
  kind: string;
53
59
  } & {
54
60
  date?: string | null | undefined;
61
+ text?: string;
55
62
  }, {
56
63
  id: string;
57
64
  url: string;
@@ -62,6 +69,7 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
62
69
  kind: string;
63
70
  } & {
64
71
  date?: string | null | undefined;
72
+ text?: string;
65
73
  }, unknown>, t.Type<{
66
74
  id: string;
67
75
  url: string;
@@ -70,10 +78,12 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
70
78
  size: string;
71
79
  } & {
72
80
  date?: string | null | undefined;
81
+ text?: string;
73
82
  } & {
74
83
  __TYPE__: "FileLink";
75
84
  } & {
76
85
  size?: string;
86
+ text?: string;
77
87
  }, {
78
88
  id: string;
79
89
  url: string;
@@ -82,12 +92,17 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
82
92
  size: string;
83
93
  } & {
84
94
  date?: string | null | undefined;
95
+ text?: string;
85
96
  }, unknown>, t.Type<{
86
97
  __TYPE__: "DocumentLink";
87
98
  } & {
88
99
  id: string;
100
+ } & {
101
+ text?: string;
89
102
  }, {
90
103
  id: string;
104
+ } & {
105
+ text?: string;
91
106
  }, unknown>, t.Type<{
92
107
  __TYPE__: "ExternalLink";
93
108
  } & {
@@ -98,6 +113,7 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
98
113
  preview?: {
99
114
  title?: string;
100
115
  } | null | undefined;
116
+ text?: string;
101
117
  }, {
102
118
  url: string;
103
119
  } & {
@@ -106,6 +122,7 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
106
122
  preview?: {
107
123
  title?: string;
108
124
  } | null | undefined;
125
+ text?: string;
109
126
  }, unknown>]>;
110
127
  start: t.NumberC;
111
128
  end: t.NumberC;
@@ -138,6 +155,7 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
138
155
  kind: t.StringC;
139
156
  }>, t.PartialC<{
140
157
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
158
+ text: t.StringC;
141
159
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
142
160
  id: t.StringC;
143
161
  url: t.StringC;
@@ -146,15 +164,19 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
146
164
  size: t.StringC;
147
165
  }>, t.PartialC<{
148
166
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
167
+ text: t.StringC;
149
168
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
150
169
  __TYPE__: t.LiteralC<"FileLink">;
151
170
  }>, t.PartialC<{
152
171
  size: t.StringC;
172
+ text: t.StringC;
153
173
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
154
174
  __TYPE__: t.LiteralC<"DocumentLink">;
155
- }>>, t.ExactC<t.TypeC<{
175
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
156
176
  id: t.Type<string, string, unknown>;
157
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
177
+ }>, t.PartialC<{
178
+ text: t.StringC;
179
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
158
180
  __TYPE__: t.LiteralC<"ExternalLink">;
159
181
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
160
182
  url: t.StringC;
@@ -166,6 +188,7 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
166
188
  }, {
167
189
  title?: string;
168
190
  }, unknown>, t.NullC, t.UndefinedC]>;
191
+ text: t.StringC;
169
192
  }>]>>]>]> | t.UnionC<[t.Type<{
170
193
  __TYPE__: "ImageLink";
171
194
  } & {
@@ -178,6 +201,7 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
178
201
  kind: string;
179
202
  } & {
180
203
  date?: string | null | undefined;
204
+ text?: string;
181
205
  }, {
182
206
  id: string;
183
207
  url: string;
@@ -188,6 +212,7 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
188
212
  kind: string;
189
213
  } & {
190
214
  date?: string | null | undefined;
215
+ text?: string;
191
216
  }, unknown>, t.Type<{
192
217
  id: string;
193
218
  url: string;
@@ -196,10 +221,12 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
196
221
  size: string;
197
222
  } & {
198
223
  date?: string | null | undefined;
224
+ text?: string;
199
225
  } & {
200
226
  __TYPE__: "FileLink";
201
227
  } & {
202
228
  size?: string;
229
+ text?: string;
203
230
  }, {
204
231
  id: string;
205
232
  url: string;
@@ -208,12 +235,17 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
208
235
  size: string;
209
236
  } & {
210
237
  date?: string | null | undefined;
238
+ text?: string;
211
239
  }, unknown>, t.Type<{
212
240
  __TYPE__: "DocumentLink";
213
241
  } & {
214
242
  id: string;
243
+ } & {
244
+ text?: string;
215
245
  }, {
216
246
  id: string;
247
+ } & {
248
+ text?: string;
217
249
  }, unknown>, t.Type<{
218
250
  __TYPE__: "ExternalLink";
219
251
  } & {
@@ -224,6 +256,7 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
224
256
  preview?: {
225
257
  title?: string;
226
258
  } | null | undefined;
259
+ text?: string;
227
260
  }, {
228
261
  url: string;
229
262
  } & {
@@ -232,6 +265,7 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
232
265
  preview?: {
233
266
  title?: string;
234
267
  } | null | undefined;
268
+ text?: string;
235
269
  }, unknown>]>;
236
270
  start: t.NumberC;
237
271
  end: t.NumberC;
@@ -264,6 +298,7 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
264
298
  kind: t.StringC;
265
299
  }>, t.PartialC<{
266
300
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
301
+ text: t.StringC;
267
302
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
268
303
  id: t.StringC;
269
304
  url: t.StringC;
@@ -272,15 +307,19 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
272
307
  size: t.StringC;
273
308
  }>, t.PartialC<{
274
309
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
310
+ text: t.StringC;
275
311
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
276
312
  __TYPE__: t.LiteralC<"FileLink">;
277
313
  }>, t.PartialC<{
278
314
  size: t.StringC;
315
+ text: t.StringC;
279
316
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
280
317
  __TYPE__: t.LiteralC<"DocumentLink">;
281
- }>>, t.ExactC<t.TypeC<{
318
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
282
319
  id: t.Type<string, string, unknown>;
283
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
320
+ }>, t.PartialC<{
321
+ text: t.StringC;
322
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
284
323
  __TYPE__: t.LiteralC<"ExternalLink">;
285
324
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
286
325
  url: t.StringC;
@@ -292,6 +331,7 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
292
331
  }, {
293
332
  title?: string;
294
333
  }, unknown>, t.NullC, t.UndefinedC]>;
334
+ text: t.StringC;
295
335
  }>]>>]>]> | t.UnionC<[t.Type<{
296
336
  __TYPE__: "ImageLink";
297
337
  } & {
@@ -304,6 +344,7 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
304
344
  kind: string;
305
345
  } & {
306
346
  date?: string | null | undefined;
347
+ text?: string;
307
348
  }, {
308
349
  id: string;
309
350
  url: string;
@@ -314,6 +355,7 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
314
355
  kind: string;
315
356
  } & {
316
357
  date?: string | null | undefined;
358
+ text?: string;
317
359
  }, unknown>, t.Type<{
318
360
  id: string;
319
361
  url: string;
@@ -322,10 +364,12 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
322
364
  size: string;
323
365
  } & {
324
366
  date?: string | null | undefined;
367
+ text?: string;
325
368
  } & {
326
369
  __TYPE__: "FileLink";
327
370
  } & {
328
371
  size?: string;
372
+ text?: string;
329
373
  }, {
330
374
  id: string;
331
375
  url: string;
@@ -334,12 +378,17 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
334
378
  size: string;
335
379
  } & {
336
380
  date?: string | null | undefined;
381
+ text?: string;
337
382
  }, unknown>, t.Type<{
338
383
  __TYPE__: "DocumentLink";
339
384
  } & {
340
385
  id: string;
386
+ } & {
387
+ text?: string;
341
388
  }, {
342
389
  id: string;
390
+ } & {
391
+ text?: string;
343
392
  }, unknown>, t.Type<{
344
393
  __TYPE__: "ExternalLink";
345
394
  } & {
@@ -350,6 +399,7 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
350
399
  preview?: {
351
400
  title?: string;
352
401
  } | null | undefined;
402
+ text?: string;
353
403
  }, {
354
404
  url: string;
355
405
  } & {
@@ -358,6 +408,7 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
358
408
  preview?: {
359
409
  title?: string;
360
410
  } | null | undefined;
411
+ text?: string;
361
412
  }, unknown>]>;
362
413
  start: t.NumberC;
363
414
  end: t.NumberC;
@@ -413,6 +464,7 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
413
464
  kind: string;
414
465
  } & {
415
466
  date?: string | null | undefined;
467
+ text?: string;
416
468
  }) | ({
417
469
  id: string;
418
470
  url: string;
@@ -421,14 +473,18 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
421
473
  size: string;
422
474
  } & {
423
475
  date?: string | null | undefined;
476
+ text?: string;
424
477
  } & {
425
478
  __TYPE__: "FileLink";
426
479
  } & {
427
480
  size?: string;
481
+ text?: string;
428
482
  }) | ({
429
483
  __TYPE__: "DocumentLink";
430
484
  } & {
431
485
  id: string;
486
+ } & {
487
+ text?: string;
432
488
  }) | ({
433
489
  __TYPE__: "ExternalLink";
434
490
  } & {
@@ -439,6 +495,7 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
439
495
  preview?: {
440
496
  title?: string;
441
497
  } | null | undefined;
498
+ text?: string;
442
499
  }), ({
443
500
  __TYPE__: "ImageLink";
444
501
  } & {
@@ -451,6 +508,7 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
451
508
  kind: string;
452
509
  } & {
453
510
  date?: string | null | undefined;
511
+ text?: string;
454
512
  }) | ({
455
513
  id: string;
456
514
  url: string;
@@ -459,14 +517,18 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
459
517
  size: string;
460
518
  } & {
461
519
  date?: string | null | undefined;
520
+ text?: string;
462
521
  } & {
463
522
  __TYPE__: "FileLink";
464
523
  } & {
465
524
  size?: string;
525
+ text?: string;
466
526
  }) | ({
467
527
  __TYPE__: "DocumentLink";
468
528
  } & {
469
529
  id: string;
530
+ } & {
531
+ text?: string;
470
532
  }) | ({
471
533
  __TYPE__: "ExternalLink";
472
534
  } & {
@@ -477,6 +539,7 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
477
539
  preview?: {
478
540
  title?: string;
479
541
  } | null | undefined;
542
+ text?: string;
480
543
  }), unknown>, t.NullC, t.UndefinedC]>;
481
544
  }>]>;
482
545
  }>, t.PartialC<{
@@ -530,6 +593,7 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
530
593
  kind: string;
531
594
  } & {
532
595
  date?: string | null | undefined;
596
+ text?: string;
533
597
  }) | ({
534
598
  id: string;
535
599
  url: string;
@@ -538,14 +602,18 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
538
602
  size: string;
539
603
  } & {
540
604
  date?: string | null | undefined;
605
+ text?: string;
541
606
  } & {
542
607
  __TYPE__: "FileLink";
543
608
  } & {
544
609
  size?: string;
610
+ text?: string;
545
611
  }) | ({
546
612
  __TYPE__: "DocumentLink";
547
613
  } & {
548
614
  id: string;
615
+ } & {
616
+ text?: string;
549
617
  }) | ({
550
618
  __TYPE__: "ExternalLink";
551
619
  } & {
@@ -556,6 +624,7 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
556
624
  preview?: {
557
625
  title?: string;
558
626
  } | null | undefined;
627
+ text?: string;
559
628
  });
560
629
  start: number;
561
630
  end: number;
@@ -582,6 +651,7 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
582
651
  kind: string;
583
652
  } & {
584
653
  date?: string | null | undefined;
654
+ text?: string;
585
655
  }) | ({
586
656
  id: string;
587
657
  url: string;
@@ -590,14 +660,18 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
590
660
  size: string;
591
661
  } & {
592
662
  date?: string | null | undefined;
663
+ text?: string;
593
664
  } & {
594
665
  __TYPE__: "FileLink";
595
666
  } & {
596
667
  size?: string;
668
+ text?: string;
597
669
  }) | ({
598
670
  __TYPE__: "DocumentLink";
599
671
  } & {
600
672
  id: string;
673
+ } & {
674
+ text?: string;
601
675
  }) | ({
602
676
  __TYPE__: "ExternalLink";
603
677
  } & {
@@ -608,6 +682,7 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
608
682
  preview?: {
609
683
  title?: string;
610
684
  } | null | undefined;
685
+ text?: string;
611
686
  });
612
687
  start: number;
613
688
  end: number;
@@ -665,6 +740,7 @@ export declare const BlockLegacy: t.Type<({
665
740
  kind: string;
666
741
  } & {
667
742
  date?: string | null | undefined;
743
+ text?: string;
668
744
  }) | ({
669
745
  id: string;
670
746
  url: string;
@@ -673,14 +749,18 @@ export declare const BlockLegacy: t.Type<({
673
749
  size: string;
674
750
  } & {
675
751
  date?: string | null | undefined;
752
+ text?: string;
676
753
  } & {
677
754
  __TYPE__: "FileLink";
678
755
  } & {
679
756
  size?: string;
757
+ text?: string;
680
758
  }) | ({
681
759
  __TYPE__: "DocumentLink";
682
760
  } & {
683
761
  id: string;
762
+ } & {
763
+ text?: string;
684
764
  }) | ({
685
765
  __TYPE__: "ExternalLink";
686
766
  } & {
@@ -691,6 +771,7 @@ export declare const BlockLegacy: t.Type<({
691
771
  preview?: {
692
772
  title?: string;
693
773
  } | null | undefined;
774
+ text?: string;
694
775
  }) | null | undefined;
695
776
  };
696
777
  } & {
@@ -738,6 +819,7 @@ export declare const BlockLegacy: t.Type<({
738
819
  kind: string;
739
820
  } & {
740
821
  date?: string | null | undefined;
822
+ text?: string;
741
823
  }) | ({
742
824
  id: string;
743
825
  url: string;
@@ -746,14 +828,18 @@ export declare const BlockLegacy: t.Type<({
746
828
  size: string;
747
829
  } & {
748
830
  date?: string | null | undefined;
831
+ text?: string;
749
832
  } & {
750
833
  __TYPE__: "FileLink";
751
834
  } & {
752
835
  size?: string;
836
+ text?: string;
753
837
  }) | ({
754
838
  __TYPE__: "DocumentLink";
755
839
  } & {
756
840
  id: string;
841
+ } & {
842
+ text?: string;
757
843
  }) | ({
758
844
  __TYPE__: "ExternalLink";
759
845
  } & {
@@ -764,6 +850,7 @@ export declare const BlockLegacy: t.Type<({
764
850
  preview?: {
765
851
  title?: string;
766
852
  } | null | undefined;
853
+ text?: string;
767
854
  });
768
855
  start: number;
769
856
  end: number;
@@ -819,6 +906,7 @@ export declare const BlockLegacy: t.Type<({
819
906
  kind: string;
820
907
  } & {
821
908
  date?: string | null | undefined;
909
+ text?: string;
822
910
  }) | ({
823
911
  id: string;
824
912
  url: string;
@@ -827,14 +915,18 @@ export declare const BlockLegacy: t.Type<({
827
915
  size: string;
828
916
  } & {
829
917
  date?: string | null | undefined;
918
+ text?: string;
830
919
  } & {
831
920
  __TYPE__: "FileLink";
832
921
  } & {
833
922
  size?: string;
923
+ text?: string;
834
924
  }) | ({
835
925
  __TYPE__: "DocumentLink";
836
926
  } & {
837
927
  id: string;
928
+ } & {
929
+ text?: string;
838
930
  }) | ({
839
931
  __TYPE__: "ExternalLink";
840
932
  } & {
@@ -845,6 +937,7 @@ export declare const BlockLegacy: t.Type<({
845
937
  preview?: {
846
938
  title?: string;
847
939
  } | null | undefined;
940
+ text?: string;
848
941
  }) | null | undefined;
849
942
  };
850
943
  } & {
@@ -892,6 +985,7 @@ export declare const BlockLegacy: t.Type<({
892
985
  kind: string;
893
986
  } & {
894
987
  date?: string | null | undefined;
988
+ text?: string;
895
989
  }) | ({
896
990
  id: string;
897
991
  url: string;
@@ -900,14 +994,18 @@ export declare const BlockLegacy: t.Type<({
900
994
  size: string;
901
995
  } & {
902
996
  date?: string | null | undefined;
997
+ text?: string;
903
998
  } & {
904
999
  __TYPE__: "FileLink";
905
1000
  } & {
906
1001
  size?: string;
1002
+ text?: string;
907
1003
  }) | ({
908
1004
  __TYPE__: "DocumentLink";
909
1005
  } & {
910
1006
  id: string;
1007
+ } & {
1008
+ text?: string;
911
1009
  }) | ({
912
1010
  __TYPE__: "ExternalLink";
913
1011
  } & {
@@ -918,6 +1016,7 @@ export declare const BlockLegacy: t.Type<({
918
1016
  preview?: {
919
1017
  title?: string;
920
1018
  } | null | undefined;
1019
+ text?: string;
921
1020
  });
922
1021
  start: number;
923
1022
  end: number;
@@ -974,6 +1073,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
974
1073
  kind: string;
975
1074
  } & {
976
1075
  date?: string | null | undefined;
1076
+ text?: string;
977
1077
  }) | ({
978
1078
  id: string;
979
1079
  url: string;
@@ -982,14 +1082,18 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
982
1082
  size: string;
983
1083
  } & {
984
1084
  date?: string | null | undefined;
1085
+ text?: string;
985
1086
  } & {
986
1087
  __TYPE__: "FileLink";
987
1088
  } & {
988
1089
  size?: string;
1090
+ text?: string;
989
1091
  }) | ({
990
1092
  __TYPE__: "DocumentLink";
991
1093
  } & {
992
1094
  id: string;
1095
+ } & {
1096
+ text?: string;
993
1097
  }) | ({
994
1098
  __TYPE__: "ExternalLink";
995
1099
  } & {
@@ -1000,6 +1104,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1000
1104
  preview?: {
1001
1105
  title?: string;
1002
1106
  } | null | undefined;
1107
+ text?: string;
1003
1108
  }), ({
1004
1109
  __TYPE__: "ImageLink";
1005
1110
  } & {
@@ -1012,6 +1117,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1012
1117
  kind: string;
1013
1118
  } & {
1014
1119
  date?: string | null | undefined;
1120
+ text?: string;
1015
1121
  }) | ({
1016
1122
  id: string;
1017
1123
  url: string;
@@ -1020,14 +1126,18 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1020
1126
  size: string;
1021
1127
  } & {
1022
1128
  date?: string | null | undefined;
1129
+ text?: string;
1023
1130
  } & {
1024
1131
  __TYPE__: "FileLink";
1025
1132
  } & {
1026
1133
  size?: string;
1134
+ text?: string;
1027
1135
  }) | ({
1028
1136
  __TYPE__: "DocumentLink";
1029
1137
  } & {
1030
1138
  id: string;
1139
+ } & {
1140
+ text?: string;
1031
1141
  }) | ({
1032
1142
  __TYPE__: "ExternalLink";
1033
1143
  } & {
@@ -1038,6 +1148,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1038
1148
  preview?: {
1039
1149
  title?: string;
1040
1150
  } | null | undefined;
1151
+ text?: string;
1041
1152
  }), unknown>, t.NullC, t.UndefinedC]>;
1042
1153
  }>]>;
1043
1154
  }>, t.PartialC<{
@@ -1085,6 +1196,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1085
1196
  kind: string;
1086
1197
  } & {
1087
1198
  date?: string | null | undefined;
1199
+ text?: string;
1088
1200
  }) | ({
1089
1201
  id: string;
1090
1202
  url: string;
@@ -1093,14 +1205,18 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1093
1205
  size: string;
1094
1206
  } & {
1095
1207
  date?: string | null | undefined;
1208
+ text?: string;
1096
1209
  } & {
1097
1210
  __TYPE__: "FileLink";
1098
1211
  } & {
1099
1212
  size?: string;
1213
+ text?: string;
1100
1214
  }) | ({
1101
1215
  __TYPE__: "DocumentLink";
1102
1216
  } & {
1103
1217
  id: string;
1218
+ } & {
1219
+ text?: string;
1104
1220
  }) | ({
1105
1221
  __TYPE__: "ExternalLink";
1106
1222
  } & {
@@ -1111,6 +1227,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1111
1227
  preview?: {
1112
1228
  title?: string;
1113
1229
  } | null | undefined;
1230
+ text?: string;
1114
1231
  });
1115
1232
  start: number;
1116
1233
  end: number;
@@ -1137,6 +1254,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1137
1254
  kind: string;
1138
1255
  } & {
1139
1256
  date?: string | null | undefined;
1257
+ text?: string;
1140
1258
  }) | ({
1141
1259
  id: string;
1142
1260
  url: string;
@@ -1145,14 +1263,18 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1145
1263
  size: string;
1146
1264
  } & {
1147
1265
  date?: string | null | undefined;
1266
+ text?: string;
1148
1267
  } & {
1149
1268
  __TYPE__: "FileLink";
1150
1269
  } & {
1151
1270
  size?: string;
1271
+ text?: string;
1152
1272
  }) | ({
1153
1273
  __TYPE__: "DocumentLink";
1154
1274
  } & {
1155
1275
  id: string;
1276
+ } & {
1277
+ text?: string;
1156
1278
  }) | ({
1157
1279
  __TYPE__: "ExternalLink";
1158
1280
  } & {
@@ -1163,6 +1285,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1163
1285
  preview?: {
1164
1286
  title?: string;
1165
1287
  } | null | undefined;
1288
+ text?: string;
1166
1289
  });
1167
1290
  start: number;
1168
1291
  end: number;