@prismicio/types-internal 3.11.0-alpha.0 → 3.11.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.
@@ -1,1036 +0,0 @@
1
- import * as t from "io-ts";
2
- export declare const BlockLegacy: t.Type<({
3
- type: "image";
4
- data: {
5
- origin: {
6
- id: string;
7
- url: string;
8
- width: number;
9
- height: number;
10
- };
11
- width: number;
12
- height: number;
13
- edit: {
14
- zoom: number;
15
- crop: {
16
- x: number;
17
- y: number;
18
- };
19
- background: string;
20
- };
21
- } & {
22
- url?: string;
23
- credits?: string | null;
24
- alt?: string | null;
25
- provider?: string | null | undefined;
26
- } & {
27
- linkTo?: ({
28
- __TYPE__: "ImageLink";
29
- } & {
30
- kind: "image";
31
- id: string;
32
- url: string;
33
- height: string;
34
- width: string;
35
- size: string;
36
- name: string;
37
- } & {
38
- date?: string | null | undefined;
39
- }) | ({
40
- __TYPE__: "FileLink";
41
- } & {
42
- kind: "file";
43
- id: string;
44
- url: string;
45
- name: string;
46
- size: string;
47
- } & {
48
- date?: string | null | undefined;
49
- }) | ({
50
- __TYPE__: "DocumentLink";
51
- } & {
52
- id: string;
53
- }) | ({
54
- __TYPE__: "ExternalLink";
55
- } & {
56
- url: string;
57
- } & {
58
- kind?: "web";
59
- target?: string | null | undefined;
60
- preview?: {
61
- title?: string;
62
- } | null | undefined;
63
- }) | null | undefined;
64
- };
65
- } & {
66
- label?: string | null | undefined;
67
- direction?: string | null | undefined;
68
- }) | ({
69
- type: "embed";
70
- data: {
71
- embed_url: string;
72
- type: string;
73
- } & {
74
- version?: string | number | null;
75
- title?: string | null | undefined;
76
- author_name?: string | null | undefined;
77
- author_url?: string | null | undefined;
78
- provider_name?: string | null | undefined;
79
- provider_url?: string | null | undefined;
80
- cache_age?: string | number | null;
81
- thumbnail_url?: string | null | undefined;
82
- thumbnail_width?: number | null | undefined;
83
- thumbnail_height?: number | null | undefined;
84
- html?: string | null | undefined;
85
- } & {
86
- __TYPE__: "EmbedContent";
87
- all: unknown;
88
- };
89
- } & {
90
- label?: string | null | undefined;
91
- direction?: string | null | undefined;
92
- }) | ({
93
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
94
- content: {
95
- text: string;
96
- } & {
97
- spans?: ({
98
- data: ({
99
- __TYPE__: "ImageLink";
100
- } & {
101
- kind: "image";
102
- id: string;
103
- url: string;
104
- height: string;
105
- width: string;
106
- size: string;
107
- name: string;
108
- } & {
109
- date?: string | null | undefined;
110
- }) | ({
111
- __TYPE__: "FileLink";
112
- } & {
113
- kind: "file";
114
- id: string;
115
- url: string;
116
- name: string;
117
- size: string;
118
- } & {
119
- date?: string | null | undefined;
120
- }) | ({
121
- __TYPE__: "DocumentLink";
122
- } & {
123
- id: string;
124
- }) | ({
125
- __TYPE__: "ExternalLink";
126
- } & {
127
- url: string;
128
- } & {
129
- kind?: "web";
130
- target?: string | null | undefined;
131
- preview?: {
132
- title?: string;
133
- } | null | undefined;
134
- });
135
- start: number;
136
- end: number;
137
- type: "hyperlink";
138
- } | {
139
- data: string;
140
- start: number;
141
- end: number;
142
- type: "label";
143
- } | {
144
- start: number;
145
- end: number;
146
- type: "strong" | "em" | "list-item";
147
- })[];
148
- };
149
- } & {
150
- label?: string;
151
- direction?: string;
152
- }) | {
153
- type: "table";
154
- content: {
155
- type: "tableRow";
156
- content: ({
157
- type: "tableHeader";
158
- content: ({
159
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
160
- content: {
161
- text: string;
162
- } & {
163
- spans?: ({
164
- data: ({
165
- __TYPE__: "ImageLink";
166
- } & {
167
- kind: "image";
168
- id: string;
169
- url: string;
170
- height: string;
171
- width: string;
172
- size: string;
173
- name: string;
174
- } & {
175
- date?: string | null | undefined;
176
- }) | ({
177
- __TYPE__: "FileLink";
178
- } & {
179
- kind: "file";
180
- id: string;
181
- url: string;
182
- name: string;
183
- size: string;
184
- } & {
185
- date?: string | null | undefined;
186
- }) | ({
187
- __TYPE__: "DocumentLink";
188
- } & {
189
- id: string;
190
- }) | ({
191
- __TYPE__: "ExternalLink";
192
- } & {
193
- url: string;
194
- } & {
195
- kind?: "web";
196
- target?: string | null | undefined;
197
- preview?: {
198
- title?: string;
199
- } | null | undefined;
200
- });
201
- start: number;
202
- end: number;
203
- type: "hyperlink";
204
- } | {
205
- data: string;
206
- start: number;
207
- end: number;
208
- type: "label";
209
- } | {
210
- start: number;
211
- end: number;
212
- type: "strong" | "em" | "list-item";
213
- })[];
214
- };
215
- } & {
216
- label?: string;
217
- direction?: string;
218
- })[];
219
- } | {
220
- type: "tableCell";
221
- content: ({
222
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
223
- content: {
224
- text: string;
225
- } & {
226
- spans?: ({
227
- data: ({
228
- __TYPE__: "ImageLink";
229
- } & {
230
- kind: "image";
231
- id: string;
232
- url: string;
233
- height: string;
234
- width: string;
235
- size: string;
236
- name: string;
237
- } & {
238
- date?: string | null | undefined;
239
- }) | ({
240
- __TYPE__: "FileLink";
241
- } & {
242
- kind: "file";
243
- id: string;
244
- url: string;
245
- name: string;
246
- size: string;
247
- } & {
248
- date?: string | null | undefined;
249
- }) | ({
250
- __TYPE__: "DocumentLink";
251
- } & {
252
- id: string;
253
- }) | ({
254
- __TYPE__: "ExternalLink";
255
- } & {
256
- url: string;
257
- } & {
258
- kind?: "web";
259
- target?: string | null | undefined;
260
- preview?: {
261
- title?: string;
262
- } | null | undefined;
263
- });
264
- start: number;
265
- end: number;
266
- type: "hyperlink";
267
- } | {
268
- data: string;
269
- start: number;
270
- end: number;
271
- type: "label";
272
- } | {
273
- start: number;
274
- end: number;
275
- type: "strong" | "em" | "list-item";
276
- })[];
277
- };
278
- } & {
279
- label?: string;
280
- direction?: string;
281
- })[];
282
- })[];
283
- }[];
284
- }, ({
285
- type: "embed";
286
- data: {
287
- embed_url: string;
288
- type: string;
289
- } & {
290
- version?: string | number | null;
291
- title?: string | null | undefined;
292
- author_name?: string | null | undefined;
293
- author_url?: string | null | undefined;
294
- provider_name?: string | null | undefined;
295
- provider_url?: string | null | undefined;
296
- cache_age?: string | number | null;
297
- thumbnail_url?: string | null | undefined;
298
- thumbnail_width?: number | null | undefined;
299
- thumbnail_height?: number | null | undefined;
300
- html?: string | null | undefined;
301
- } & {
302
- __TYPE__: "EmbedContent";
303
- all: unknown;
304
- };
305
- } & {
306
- label?: string | null | undefined;
307
- direction?: string | null | undefined;
308
- }) | ({
309
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
310
- content: {
311
- text: string;
312
- } & {
313
- spans?: ({
314
- data: ({
315
- __TYPE__: "ImageLink";
316
- } & {
317
- kind: "image";
318
- id: string;
319
- url: string;
320
- height: string;
321
- width: string;
322
- size: string;
323
- name: string;
324
- } & {
325
- date?: string | null | undefined;
326
- }) | ({
327
- __TYPE__: "FileLink";
328
- } & {
329
- kind: "file";
330
- id: string;
331
- url: string;
332
- name: string;
333
- size: string;
334
- } & {
335
- date?: string | null | undefined;
336
- }) | ({
337
- __TYPE__: "DocumentLink";
338
- } & {
339
- id: string;
340
- }) | ({
341
- __TYPE__: "ExternalLink";
342
- } & {
343
- url: string;
344
- } & {
345
- kind?: "web";
346
- target?: string | null | undefined;
347
- preview?: {
348
- title?: string;
349
- } | null | undefined;
350
- });
351
- start: number;
352
- end: number;
353
- type: "hyperlink";
354
- } | {
355
- data: string;
356
- start: number;
357
- end: number;
358
- type: "label";
359
- } | {
360
- start: number;
361
- end: number;
362
- type: "strong" | "em" | "list-item";
363
- })[];
364
- };
365
- } & {
366
- label?: string;
367
- direction?: string;
368
- }) | {
369
- type: "table";
370
- content: {
371
- type: "tableRow";
372
- content: ({
373
- type: "tableHeader";
374
- content: ({
375
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
376
- content: {
377
- text: string;
378
- } & {
379
- spans?: ({
380
- data: ({
381
- __TYPE__: "ImageLink";
382
- } & {
383
- kind: "image";
384
- id: string;
385
- url: string;
386
- height: string;
387
- width: string;
388
- size: string;
389
- name: string;
390
- } & {
391
- date?: string | null | undefined;
392
- }) | ({
393
- __TYPE__: "FileLink";
394
- } & {
395
- kind: "file";
396
- id: string;
397
- url: string;
398
- name: string;
399
- size: string;
400
- } & {
401
- date?: string | null | undefined;
402
- }) | ({
403
- __TYPE__: "DocumentLink";
404
- } & {
405
- id: string;
406
- }) | ({
407
- __TYPE__: "ExternalLink";
408
- } & {
409
- url: string;
410
- } & {
411
- kind?: "web";
412
- target?: string | null | undefined;
413
- preview?: {
414
- title?: string;
415
- } | null | undefined;
416
- });
417
- start: number;
418
- end: number;
419
- type: "hyperlink";
420
- } | {
421
- data: string;
422
- start: number;
423
- end: number;
424
- type: "label";
425
- } | {
426
- start: number;
427
- end: number;
428
- type: "strong" | "em" | "list-item";
429
- })[];
430
- };
431
- } & {
432
- label?: string;
433
- direction?: string;
434
- })[];
435
- } | {
436
- type: "tableCell";
437
- content: ({
438
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
439
- content: {
440
- text: string;
441
- } & {
442
- spans?: ({
443
- data: ({
444
- __TYPE__: "ImageLink";
445
- } & {
446
- kind: "image";
447
- id: string;
448
- url: string;
449
- height: string;
450
- width: string;
451
- size: string;
452
- name: string;
453
- } & {
454
- date?: string | null | undefined;
455
- }) | ({
456
- __TYPE__: "FileLink";
457
- } & {
458
- kind: "file";
459
- id: string;
460
- url: string;
461
- name: string;
462
- size: string;
463
- } & {
464
- date?: string | null | undefined;
465
- }) | ({
466
- __TYPE__: "DocumentLink";
467
- } & {
468
- id: string;
469
- }) | ({
470
- __TYPE__: "ExternalLink";
471
- } & {
472
- url: string;
473
- } & {
474
- kind?: "web";
475
- target?: string | null | undefined;
476
- preview?: {
477
- title?: string;
478
- } | null | undefined;
479
- });
480
- start: number;
481
- end: number;
482
- type: "hyperlink";
483
- } | {
484
- data: string;
485
- start: number;
486
- end: number;
487
- type: "label";
488
- } | {
489
- start: number;
490
- end: number;
491
- type: "strong" | "em" | "list-item";
492
- })[];
493
- };
494
- } & {
495
- label?: string;
496
- direction?: string;
497
- })[];
498
- })[];
499
- }[];
500
- } | ({
501
- type: "image";
502
- data: {
503
- origin: {
504
- id: string;
505
- url: string;
506
- width: number;
507
- height: number;
508
- };
509
- width: number;
510
- height: number;
511
- edit: {
512
- zoom: number;
513
- crop: {
514
- x: number;
515
- y: number;
516
- };
517
- background: string;
518
- };
519
- } & {
520
- url?: string;
521
- credits?: string | null;
522
- alt?: string | null;
523
- provider?: string | null | undefined;
524
- } & {
525
- linkTo?: ({
526
- __TYPE__: "ImageLink";
527
- } & {
528
- kind: "image";
529
- id: string;
530
- url: string;
531
- height: string;
532
- width: string;
533
- size: string;
534
- name: string;
535
- } & {
536
- date?: string | null | undefined;
537
- }) | ({
538
- __TYPE__: "FileLink";
539
- } & {
540
- kind: "file";
541
- id: string;
542
- url: string;
543
- name: string;
544
- size: string;
545
- } & {
546
- date?: string | null | undefined;
547
- }) | ({
548
- __TYPE__: "DocumentLink";
549
- } & {
550
- id: string;
551
- }) | ({
552
- __TYPE__: "ExternalLink";
553
- } & {
554
- url: string;
555
- } & {
556
- kind?: "web";
557
- target?: string | null | undefined;
558
- preview?: {
559
- title?: string;
560
- } | null | undefined;
561
- }) | null | undefined;
562
- };
563
- } & {
564
- label?: string | null | undefined;
565
- direction?: string | null | undefined;
566
- }), unknown>;
567
- export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
568
- type: t.LiteralC<"image">;
569
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
570
- origin: t.ExactC<t.TypeC<{
571
- id: t.StringC;
572
- url: t.StringC;
573
- width: t.NumberC;
574
- height: t.NumberC;
575
- }>>;
576
- width: t.NumberC;
577
- height: t.NumberC;
578
- edit: t.TypeC<{
579
- zoom: t.NumberC;
580
- crop: t.TypeC<{
581
- x: t.NumberC;
582
- y: t.NumberC;
583
- }>;
584
- background: t.StringC;
585
- }>;
586
- }>, t.PartialC<{
587
- url: t.StringC;
588
- credits: t.Type<string | null, string | null, unknown>;
589
- alt: t.Type<string | null, string | null, unknown>;
590
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
591
- }>]>>, t.PartialC<{
592
- linkTo: t.UnionC<[t.Type<({
593
- __TYPE__: "ImageLink";
594
- } & {
595
- kind: "image";
596
- id: string;
597
- url: string;
598
- height: string;
599
- width: string;
600
- size: string;
601
- name: string;
602
- } & {
603
- date?: string | null | undefined;
604
- }) | ({
605
- __TYPE__: "FileLink";
606
- } & {
607
- kind: "file";
608
- id: string;
609
- url: string;
610
- name: string;
611
- size: string;
612
- } & {
613
- date?: string | null | undefined;
614
- }) | ({
615
- __TYPE__: "DocumentLink";
616
- } & {
617
- id: string;
618
- }) | ({
619
- __TYPE__: "ExternalLink";
620
- } & {
621
- url: string;
622
- } & {
623
- kind?: "web";
624
- target?: string | null | undefined;
625
- preview?: {
626
- title?: string;
627
- } | null | undefined;
628
- }), ({
629
- __TYPE__: "ImageLink";
630
- } & {
631
- kind: "image";
632
- id: string;
633
- url: string;
634
- height: string;
635
- width: string;
636
- size: string;
637
- name: string;
638
- } & {
639
- date?: string | null | undefined;
640
- }) | ({
641
- __TYPE__: "FileLink";
642
- } & {
643
- kind: "file";
644
- id: string;
645
- url: string;
646
- name: string;
647
- size: string;
648
- } & {
649
- date?: string | null | undefined;
650
- }) | ({
651
- __TYPE__: "DocumentLink";
652
- } & {
653
- id: string;
654
- }) | ({
655
- __TYPE__: "ExternalLink";
656
- } & {
657
- url: string;
658
- } & {
659
- kind?: "web";
660
- target?: string | null | undefined;
661
- preview?: {
662
- title?: string;
663
- } | null | undefined;
664
- }), unknown>, t.NullC, t.UndefinedC]>;
665
- }>]>;
666
- }>, t.PartialC<{
667
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
668
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
669
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
670
- type: t.LiteralC<"embed">;
671
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
672
- embed_url: t.StringC;
673
- type: t.StringC;
674
- }>, t.PartialC<{
675
- version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
676
- title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
677
- author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
678
- author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
679
- provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
680
- provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
681
- cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
682
- thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
683
- thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
684
- thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
685
- html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
686
- }>]>>, t.ExactC<t.TypeC<{
687
- __TYPE__: t.LiteralC<"EmbedContent">;
688
- all: t.UnknownC;
689
- }>>]>;
690
- }>, t.PartialC<{
691
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
692
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
693
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
694
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
695
- content: t.IntersectionC<[t.TypeC<{
696
- text: t.StringC;
697
- }>, t.PartialC<{
698
- spans: t.Type<({
699
- data: ({
700
- __TYPE__: "ImageLink";
701
- } & {
702
- kind: "image";
703
- id: string;
704
- url: string;
705
- height: string;
706
- width: string;
707
- size: string;
708
- name: string;
709
- } & {
710
- date?: string | null | undefined;
711
- }) | ({
712
- __TYPE__: "FileLink";
713
- } & {
714
- kind: "file";
715
- id: string;
716
- url: string;
717
- name: string;
718
- size: string;
719
- } & {
720
- date?: string | null | undefined;
721
- }) | ({
722
- __TYPE__: "DocumentLink";
723
- } & {
724
- id: string;
725
- }) | ({
726
- __TYPE__: "ExternalLink";
727
- } & {
728
- url: string;
729
- } & {
730
- kind?: "web";
731
- target?: string | null | undefined;
732
- preview?: {
733
- title?: string;
734
- } | null | undefined;
735
- });
736
- start: number;
737
- end: number;
738
- type: "hyperlink";
739
- } | {
740
- data: string;
741
- start: number;
742
- end: number;
743
- type: "label";
744
- } | {
745
- start: number;
746
- end: number;
747
- type: "strong" | "em" | "list-item";
748
- })[], ({
749
- data: ({
750
- __TYPE__: "ImageLink";
751
- } & {
752
- kind: "image";
753
- id: string;
754
- url: string;
755
- height: string;
756
- width: string;
757
- size: string;
758
- name: string;
759
- } & {
760
- date?: string | null | undefined;
761
- }) | ({
762
- __TYPE__: "FileLink";
763
- } & {
764
- kind: "file";
765
- id: string;
766
- url: string;
767
- name: string;
768
- size: string;
769
- } & {
770
- date?: string | null | undefined;
771
- }) | ({
772
- __TYPE__: "DocumentLink";
773
- } & {
774
- id: string;
775
- }) | ({
776
- __TYPE__: "ExternalLink";
777
- } & {
778
- url: string;
779
- } & {
780
- kind?: "web";
781
- target?: string | null | undefined;
782
- preview?: {
783
- title?: string;
784
- } | null | undefined;
785
- });
786
- start: number;
787
- end: number;
788
- type: "hyperlink";
789
- } | {
790
- data: string;
791
- start: number;
792
- end: number;
793
- type: "label";
794
- } | {
795
- start: number;
796
- end: number;
797
- type: "strong" | "em" | "list-item";
798
- })[], unknown>;
799
- }>]>;
800
- }>, t.PartialC<{
801
- label: t.StringC;
802
- direction: t.StringC;
803
- }>]>>, t.ExactC<t.TypeC<{
804
- type: t.LiteralC<"table">;
805
- content: t.ArrayC<t.ExactC<t.TypeC<{
806
- type: t.LiteralC<"tableRow">;
807
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
808
- type: t.LiteralC<"tableHeader">;
809
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
810
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
811
- content: t.IntersectionC<[t.TypeC<{
812
- text: t.StringC;
813
- }>, t.PartialC<{
814
- spans: t.Type<({
815
- data: ({
816
- __TYPE__: "ImageLink";
817
- } & {
818
- kind: "image";
819
- id: string;
820
- url: string;
821
- height: string;
822
- width: string;
823
- size: string;
824
- name: string;
825
- } & {
826
- date?: string | null | undefined;
827
- }) | ({
828
- __TYPE__: "FileLink";
829
- } & {
830
- kind: "file";
831
- id: string;
832
- url: string;
833
- name: string;
834
- size: string;
835
- } & {
836
- date?: string | null | undefined;
837
- }) | ({
838
- __TYPE__: "DocumentLink";
839
- } & {
840
- id: string;
841
- }) | ({
842
- __TYPE__: "ExternalLink";
843
- } & {
844
- url: string;
845
- } & {
846
- kind?: "web";
847
- target?: string | null | undefined;
848
- preview?: {
849
- title?: string;
850
- } | null | undefined;
851
- });
852
- start: number;
853
- end: number;
854
- type: "hyperlink";
855
- } | {
856
- data: string;
857
- start: number;
858
- end: number;
859
- type: "label";
860
- } | {
861
- start: number;
862
- end: number;
863
- type: "strong" | "em" | "list-item";
864
- })[], ({
865
- data: ({
866
- __TYPE__: "ImageLink";
867
- } & {
868
- kind: "image";
869
- id: string;
870
- url: string;
871
- height: string;
872
- width: string;
873
- size: string;
874
- name: string;
875
- } & {
876
- date?: string | null | undefined;
877
- }) | ({
878
- __TYPE__: "FileLink";
879
- } & {
880
- kind: "file";
881
- id: string;
882
- url: string;
883
- name: string;
884
- size: string;
885
- } & {
886
- date?: string | null | undefined;
887
- }) | ({
888
- __TYPE__: "DocumentLink";
889
- } & {
890
- id: string;
891
- }) | ({
892
- __TYPE__: "ExternalLink";
893
- } & {
894
- url: string;
895
- } & {
896
- kind?: "web";
897
- target?: string | null | undefined;
898
- preview?: {
899
- title?: string;
900
- } | null | undefined;
901
- });
902
- start: number;
903
- end: number;
904
- type: "hyperlink";
905
- } | {
906
- data: string;
907
- start: number;
908
- end: number;
909
- type: "label";
910
- } | {
911
- start: number;
912
- end: number;
913
- type: "strong" | "em" | "list-item";
914
- })[], unknown>;
915
- }>]>;
916
- }>, t.PartialC<{
917
- label: t.StringC;
918
- direction: t.StringC;
919
- }>]>>>;
920
- }>>, t.ExactC<t.TypeC<{
921
- type: t.LiteralC<"tableCell">;
922
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
923
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
924
- content: t.IntersectionC<[t.TypeC<{
925
- text: t.StringC;
926
- }>, t.PartialC<{
927
- spans: t.Type<({
928
- data: ({
929
- __TYPE__: "ImageLink";
930
- } & {
931
- kind: "image";
932
- id: string;
933
- url: string;
934
- height: string;
935
- width: string;
936
- size: string;
937
- name: string;
938
- } & {
939
- date?: string | null | undefined;
940
- }) | ({
941
- __TYPE__: "FileLink";
942
- } & {
943
- kind: "file";
944
- id: string;
945
- url: string;
946
- name: string;
947
- size: string;
948
- } & {
949
- date?: string | null | undefined;
950
- }) | ({
951
- __TYPE__: "DocumentLink";
952
- } & {
953
- id: string;
954
- }) | ({
955
- __TYPE__: "ExternalLink";
956
- } & {
957
- url: string;
958
- } & {
959
- kind?: "web";
960
- target?: string | null | undefined;
961
- preview?: {
962
- title?: string;
963
- } | null | undefined;
964
- });
965
- start: number;
966
- end: number;
967
- type: "hyperlink";
968
- } | {
969
- data: string;
970
- start: number;
971
- end: number;
972
- type: "label";
973
- } | {
974
- start: number;
975
- end: number;
976
- type: "strong" | "em" | "list-item";
977
- })[], ({
978
- data: ({
979
- __TYPE__: "ImageLink";
980
- } & {
981
- kind: "image";
982
- id: string;
983
- url: string;
984
- height: string;
985
- width: string;
986
- size: string;
987
- name: string;
988
- } & {
989
- date?: string | null | undefined;
990
- }) | ({
991
- __TYPE__: "FileLink";
992
- } & {
993
- kind: "file";
994
- id: string;
995
- url: string;
996
- name: string;
997
- size: string;
998
- } & {
999
- date?: string | null | undefined;
1000
- }) | ({
1001
- __TYPE__: "DocumentLink";
1002
- } & {
1003
- id: string;
1004
- }) | ({
1005
- __TYPE__: "ExternalLink";
1006
- } & {
1007
- url: string;
1008
- } & {
1009
- kind?: "web";
1010
- target?: string | null | undefined;
1011
- preview?: {
1012
- title?: string;
1013
- } | null | undefined;
1014
- });
1015
- start: number;
1016
- end: number;
1017
- type: "hyperlink";
1018
- } | {
1019
- data: string;
1020
- start: number;
1021
- end: number;
1022
- type: "label";
1023
- } | {
1024
- start: number;
1025
- end: number;
1026
- type: "strong" | "em" | "list-item";
1027
- })[], unknown>;
1028
- }>]>;
1029
- }>, t.PartialC<{
1030
- label: t.StringC;
1031
- direction: t.StringC;
1032
- }>]>>>;
1033
- }>>]>>;
1034
- }>>>;
1035
- }>>]>;
1036
- export declare type Block = t.TypeOf<typeof Block>;