@prismicio/types-internal 2.7.0-alpha.3 → 2.7.0-alpha.4
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.
- package/lib/content/Document.d.ts +2118 -798
- package/lib/content/fields/WidgetContent.d.ts +2118 -798
- package/lib/content/fields/nestable/LinkContent.d.ts +248 -85
- package/lib/content/fields/nestable/LinkContent.js +96 -42
- package/lib/content/fields/nestable/NestableContent.d.ts +353 -133
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +654 -234
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +320 -120
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +706 -266
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +161 -61
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +706 -266
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +353 -133
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +353 -133
- package/lib/content/fields/slices/Slice/index.d.ts +1285 -485
- package/lib/content/fields/slices/SliceItem.d.ts +1285 -485
- package/lib/content/fields/slices/SlicesContent.d.ts +1766 -666
- package/lib/customtypes/CustomType.d.ts +18 -320
- package/lib/customtypes/Section.d.ts +18 -320
- package/lib/customtypes/diff/SharedSlice.d.ts +8 -160
- package/lib/customtypes/diff/Variation.d.ts +8 -160
- package/lib/customtypes/widgets/Group.d.ts +18 -315
- package/lib/customtypes/widgets/Group.js +5 -43
- package/lib/customtypes/widgets/Widget.d.ts +33 -412
- package/lib/customtypes/widgets/nestable/Link.d.ts +2 -0
- package/lib/customtypes/widgets/nestable/Link.js +1 -0
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +1 -0
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -0
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +4 -42
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +16 -168
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +10 -164
- package/lib/customtypes/widgets/slices/Slices.d.ts +34 -366
- package/package.json +1 -1
- package/src/content/fields/nestable/LinkContent.ts +121 -50
- package/src/customtypes/widgets/Group.ts +6 -52
- package/src/customtypes/widgets/nestable/Link.ts +1 -0
|
@@ -117,35 +117,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
117
117
|
__TYPE__: "LinkContent";
|
|
118
118
|
value: ({
|
|
119
119
|
__TYPE__: "ImageLink";
|
|
120
|
-
} & {
|
|
120
|
+
} & ({
|
|
121
|
+
kind: "image";
|
|
122
|
+
} & (({
|
|
121
123
|
id: string;
|
|
122
124
|
url: string;
|
|
123
125
|
height: string;
|
|
124
126
|
width: string;
|
|
125
127
|
size: string;
|
|
126
128
|
name: string;
|
|
127
|
-
kind: string;
|
|
128
129
|
} & {
|
|
129
130
|
date?: string | null | undefined;
|
|
130
|
-
|
|
131
|
+
text?: string;
|
|
132
|
+
}) | {
|
|
133
|
+
text: string;
|
|
134
|
+
}))) | ({
|
|
135
|
+
__TYPE__: "FileLink";
|
|
136
|
+
} & ({
|
|
137
|
+
kind: "file";
|
|
138
|
+
} & (({
|
|
131
139
|
id: string;
|
|
132
140
|
url: string;
|
|
133
141
|
name: string;
|
|
134
|
-
kind: string;
|
|
135
142
|
size: string;
|
|
136
143
|
} & {
|
|
137
144
|
date?: string | null | undefined;
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}) | ({
|
|
145
|
+
text?: string;
|
|
146
|
+
}) | {
|
|
147
|
+
text: string;
|
|
148
|
+
}))) | ({
|
|
143
149
|
__TYPE__: "DocumentLink";
|
|
144
|
-
} & {
|
|
150
|
+
} & (({
|
|
145
151
|
id: string;
|
|
146
|
-
}) | ({
|
|
147
|
-
__TYPE__: "ExternalLink";
|
|
148
152
|
} & {
|
|
153
|
+
kind?: "document";
|
|
154
|
+
text?: string;
|
|
155
|
+
}) | {
|
|
156
|
+
kind: "document";
|
|
157
|
+
text: string;
|
|
158
|
+
})) | ({
|
|
159
|
+
__TYPE__: "ExternalLink";
|
|
160
|
+
} & (({
|
|
149
161
|
url: string;
|
|
150
162
|
} & {
|
|
151
163
|
kind?: "web";
|
|
@@ -153,6 +165,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
153
165
|
preview?: {
|
|
154
166
|
title?: string;
|
|
155
167
|
} | null | undefined;
|
|
168
|
+
text?: string;
|
|
169
|
+
}) | {
|
|
170
|
+
kind: "web";
|
|
171
|
+
text: string;
|
|
172
|
+
})) | ({
|
|
173
|
+
__TYPE__: "AnyLink";
|
|
174
|
+
} & {
|
|
175
|
+
text: string;
|
|
156
176
|
});
|
|
157
177
|
}> | import("fp-ts/lib/Either").Right<{
|
|
158
178
|
__TYPE__: "StructuredTextContent";
|
|
@@ -183,35 +203,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
183
203
|
} & {
|
|
184
204
|
linkTo?: ({
|
|
185
205
|
__TYPE__: "ImageLink";
|
|
186
|
-
} & {
|
|
206
|
+
} & ({
|
|
207
|
+
kind: "image";
|
|
208
|
+
} & (({
|
|
187
209
|
id: string;
|
|
188
210
|
url: string;
|
|
189
211
|
height: string;
|
|
190
212
|
width: string;
|
|
191
213
|
size: string;
|
|
192
214
|
name: string;
|
|
193
|
-
kind: string;
|
|
194
215
|
} & {
|
|
195
216
|
date?: string | null | undefined;
|
|
196
|
-
|
|
217
|
+
text?: string;
|
|
218
|
+
}) | {
|
|
219
|
+
text: string;
|
|
220
|
+
}))) | ({
|
|
221
|
+
__TYPE__: "FileLink";
|
|
222
|
+
} & ({
|
|
223
|
+
kind: "file";
|
|
224
|
+
} & (({
|
|
197
225
|
id: string;
|
|
198
226
|
url: string;
|
|
199
227
|
name: string;
|
|
200
|
-
kind: string;
|
|
201
228
|
size: string;
|
|
202
229
|
} & {
|
|
203
230
|
date?: string | null | undefined;
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}) | ({
|
|
231
|
+
text?: string;
|
|
232
|
+
}) | {
|
|
233
|
+
text: string;
|
|
234
|
+
}))) | ({
|
|
209
235
|
__TYPE__: "DocumentLink";
|
|
210
|
-
} & {
|
|
236
|
+
} & (({
|
|
211
237
|
id: string;
|
|
212
|
-
}) | ({
|
|
213
|
-
__TYPE__: "ExternalLink";
|
|
214
238
|
} & {
|
|
239
|
+
kind?: "document";
|
|
240
|
+
text?: string;
|
|
241
|
+
}) | {
|
|
242
|
+
kind: "document";
|
|
243
|
+
text: string;
|
|
244
|
+
})) | ({
|
|
245
|
+
__TYPE__: "ExternalLink";
|
|
246
|
+
} & (({
|
|
215
247
|
url: string;
|
|
216
248
|
} & {
|
|
217
249
|
kind?: "web";
|
|
@@ -219,6 +251,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
219
251
|
preview?: {
|
|
220
252
|
title?: string;
|
|
221
253
|
} | null | undefined;
|
|
254
|
+
text?: string;
|
|
255
|
+
}) | {
|
|
256
|
+
kind: "web";
|
|
257
|
+
text: string;
|
|
258
|
+
})) | ({
|
|
259
|
+
__TYPE__: "AnyLink";
|
|
260
|
+
} & {
|
|
261
|
+
text: string;
|
|
222
262
|
}) | null | undefined;
|
|
223
263
|
};
|
|
224
264
|
} & {
|
|
@@ -256,35 +296,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
256
296
|
spans?: ({
|
|
257
297
|
data: ({
|
|
258
298
|
__TYPE__: "ImageLink";
|
|
259
|
-
} & {
|
|
299
|
+
} & ({
|
|
300
|
+
kind: "image";
|
|
301
|
+
} & (({
|
|
260
302
|
id: string;
|
|
261
303
|
url: string;
|
|
262
304
|
height: string;
|
|
263
305
|
width: string;
|
|
264
306
|
size: string;
|
|
265
307
|
name: string;
|
|
266
|
-
kind: string;
|
|
267
308
|
} & {
|
|
268
309
|
date?: string | null | undefined;
|
|
269
|
-
|
|
310
|
+
text?: string;
|
|
311
|
+
}) | {
|
|
312
|
+
text: string;
|
|
313
|
+
}))) | ({
|
|
314
|
+
__TYPE__: "FileLink";
|
|
315
|
+
} & ({
|
|
316
|
+
kind: "file";
|
|
317
|
+
} & (({
|
|
270
318
|
id: string;
|
|
271
319
|
url: string;
|
|
272
320
|
name: string;
|
|
273
|
-
kind: string;
|
|
274
321
|
size: string;
|
|
275
322
|
} & {
|
|
276
323
|
date?: string | null | undefined;
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
}) | ({
|
|
324
|
+
text?: string;
|
|
325
|
+
}) | {
|
|
326
|
+
text: string;
|
|
327
|
+
}))) | ({
|
|
282
328
|
__TYPE__: "DocumentLink";
|
|
283
|
-
} & {
|
|
329
|
+
} & (({
|
|
284
330
|
id: string;
|
|
285
|
-
}) | ({
|
|
286
|
-
__TYPE__: "ExternalLink";
|
|
287
331
|
} & {
|
|
332
|
+
kind?: "document";
|
|
333
|
+
text?: string;
|
|
334
|
+
}) | {
|
|
335
|
+
kind: "document";
|
|
336
|
+
text: string;
|
|
337
|
+
})) | ({
|
|
338
|
+
__TYPE__: "ExternalLink";
|
|
339
|
+
} & (({
|
|
288
340
|
url: string;
|
|
289
341
|
} & {
|
|
290
342
|
kind?: "web";
|
|
@@ -292,6 +344,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
292
344
|
preview?: {
|
|
293
345
|
title?: string;
|
|
294
346
|
} | null | undefined;
|
|
347
|
+
text?: string;
|
|
348
|
+
}) | {
|
|
349
|
+
kind: "web";
|
|
350
|
+
text: string;
|
|
351
|
+
})) | ({
|
|
352
|
+
__TYPE__: "AnyLink";
|
|
353
|
+
} & {
|
|
354
|
+
text: string;
|
|
295
355
|
});
|
|
296
356
|
start: number;
|
|
297
357
|
end: number;
|
|
@@ -432,35 +492,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
432
492
|
__TYPE__: "LinkContent";
|
|
433
493
|
value: ({
|
|
434
494
|
__TYPE__: "ImageLink";
|
|
435
|
-
} & {
|
|
495
|
+
} & ({
|
|
496
|
+
kind: "image";
|
|
497
|
+
} & (({
|
|
436
498
|
id: string;
|
|
437
499
|
url: string;
|
|
438
500
|
height: string;
|
|
439
501
|
width: string;
|
|
440
502
|
size: string;
|
|
441
503
|
name: string;
|
|
442
|
-
kind: string;
|
|
443
504
|
} & {
|
|
444
505
|
date?: string | null | undefined;
|
|
445
|
-
|
|
506
|
+
text?: string;
|
|
507
|
+
}) | {
|
|
508
|
+
text: string;
|
|
509
|
+
}))) | ({
|
|
510
|
+
__TYPE__: "FileLink";
|
|
511
|
+
} & ({
|
|
512
|
+
kind: "file";
|
|
513
|
+
} & (({
|
|
446
514
|
id: string;
|
|
447
515
|
url: string;
|
|
448
516
|
name: string;
|
|
449
|
-
kind: string;
|
|
450
517
|
size: string;
|
|
451
518
|
} & {
|
|
452
519
|
date?: string | null | undefined;
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
}) | ({
|
|
520
|
+
text?: string;
|
|
521
|
+
}) | {
|
|
522
|
+
text: string;
|
|
523
|
+
}))) | ({
|
|
458
524
|
__TYPE__: "DocumentLink";
|
|
459
|
-
} & {
|
|
525
|
+
} & (({
|
|
460
526
|
id: string;
|
|
461
|
-
}) | ({
|
|
462
|
-
__TYPE__: "ExternalLink";
|
|
463
527
|
} & {
|
|
528
|
+
kind?: "document";
|
|
529
|
+
text?: string;
|
|
530
|
+
}) | {
|
|
531
|
+
kind: "document";
|
|
532
|
+
text: string;
|
|
533
|
+
})) | ({
|
|
534
|
+
__TYPE__: "ExternalLink";
|
|
535
|
+
} & (({
|
|
464
536
|
url: string;
|
|
465
537
|
} & {
|
|
466
538
|
kind?: "web";
|
|
@@ -468,6 +540,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
468
540
|
preview?: {
|
|
469
541
|
title?: string;
|
|
470
542
|
} | null | undefined;
|
|
543
|
+
text?: string;
|
|
544
|
+
}) | {
|
|
545
|
+
kind: "web";
|
|
546
|
+
text: string;
|
|
547
|
+
})) | ({
|
|
548
|
+
__TYPE__: "AnyLink";
|
|
549
|
+
} & {
|
|
550
|
+
text: string;
|
|
471
551
|
});
|
|
472
552
|
} | {
|
|
473
553
|
__TYPE__: "StructuredTextContent";
|
|
@@ -498,35 +578,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
498
578
|
} & {
|
|
499
579
|
linkTo?: ({
|
|
500
580
|
__TYPE__: "ImageLink";
|
|
501
|
-
} & {
|
|
581
|
+
} & ({
|
|
582
|
+
kind: "image";
|
|
583
|
+
} & (({
|
|
502
584
|
id: string;
|
|
503
585
|
url: string;
|
|
504
586
|
height: string;
|
|
505
587
|
width: string;
|
|
506
588
|
size: string;
|
|
507
589
|
name: string;
|
|
508
|
-
kind: string;
|
|
509
590
|
} & {
|
|
510
591
|
date?: string | null | undefined;
|
|
511
|
-
|
|
592
|
+
text?: string;
|
|
593
|
+
}) | {
|
|
594
|
+
text: string;
|
|
595
|
+
}))) | ({
|
|
596
|
+
__TYPE__: "FileLink";
|
|
597
|
+
} & ({
|
|
598
|
+
kind: "file";
|
|
599
|
+
} & (({
|
|
512
600
|
id: string;
|
|
513
601
|
url: string;
|
|
514
602
|
name: string;
|
|
515
|
-
kind: string;
|
|
516
603
|
size: string;
|
|
517
604
|
} & {
|
|
518
605
|
date?: string | null | undefined;
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
}) | ({
|
|
606
|
+
text?: string;
|
|
607
|
+
}) | {
|
|
608
|
+
text: string;
|
|
609
|
+
}))) | ({
|
|
524
610
|
__TYPE__: "DocumentLink";
|
|
525
|
-
} & {
|
|
611
|
+
} & (({
|
|
526
612
|
id: string;
|
|
527
|
-
}) | ({
|
|
528
|
-
__TYPE__: "ExternalLink";
|
|
529
613
|
} & {
|
|
614
|
+
kind?: "document";
|
|
615
|
+
text?: string;
|
|
616
|
+
}) | {
|
|
617
|
+
kind: "document";
|
|
618
|
+
text: string;
|
|
619
|
+
})) | ({
|
|
620
|
+
__TYPE__: "ExternalLink";
|
|
621
|
+
} & (({
|
|
530
622
|
url: string;
|
|
531
623
|
} & {
|
|
532
624
|
kind?: "web";
|
|
@@ -534,6 +626,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
534
626
|
preview?: {
|
|
535
627
|
title?: string;
|
|
536
628
|
} | null | undefined;
|
|
629
|
+
text?: string;
|
|
630
|
+
}) | {
|
|
631
|
+
kind: "web";
|
|
632
|
+
text: string;
|
|
633
|
+
})) | ({
|
|
634
|
+
__TYPE__: "AnyLink";
|
|
635
|
+
} & {
|
|
636
|
+
text: string;
|
|
537
637
|
}) | null | undefined;
|
|
538
638
|
};
|
|
539
639
|
} & {
|
|
@@ -571,35 +671,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
571
671
|
spans?: ({
|
|
572
672
|
data: ({
|
|
573
673
|
__TYPE__: "ImageLink";
|
|
574
|
-
} & {
|
|
674
|
+
} & ({
|
|
675
|
+
kind: "image";
|
|
676
|
+
} & (({
|
|
575
677
|
id: string;
|
|
576
678
|
url: string;
|
|
577
679
|
height: string;
|
|
578
680
|
width: string;
|
|
579
681
|
size: string;
|
|
580
682
|
name: string;
|
|
581
|
-
kind: string;
|
|
582
683
|
} & {
|
|
583
684
|
date?: string | null | undefined;
|
|
584
|
-
|
|
685
|
+
text?: string;
|
|
686
|
+
}) | {
|
|
687
|
+
text: string;
|
|
688
|
+
}))) | ({
|
|
689
|
+
__TYPE__: "FileLink";
|
|
690
|
+
} & ({
|
|
691
|
+
kind: "file";
|
|
692
|
+
} & (({
|
|
585
693
|
id: string;
|
|
586
694
|
url: string;
|
|
587
695
|
name: string;
|
|
588
|
-
kind: string;
|
|
589
696
|
size: string;
|
|
590
697
|
} & {
|
|
591
698
|
date?: string | null | undefined;
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
}) | ({
|
|
699
|
+
text?: string;
|
|
700
|
+
}) | {
|
|
701
|
+
text: string;
|
|
702
|
+
}))) | ({
|
|
597
703
|
__TYPE__: "DocumentLink";
|
|
598
|
-
} & {
|
|
704
|
+
} & (({
|
|
599
705
|
id: string;
|
|
600
|
-
}) | ({
|
|
601
|
-
__TYPE__: "ExternalLink";
|
|
602
706
|
} & {
|
|
707
|
+
kind?: "document";
|
|
708
|
+
text?: string;
|
|
709
|
+
}) | {
|
|
710
|
+
kind: "document";
|
|
711
|
+
text: string;
|
|
712
|
+
})) | ({
|
|
713
|
+
__TYPE__: "ExternalLink";
|
|
714
|
+
} & (({
|
|
603
715
|
url: string;
|
|
604
716
|
} & {
|
|
605
717
|
kind?: "web";
|
|
@@ -607,6 +719,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
607
719
|
preview?: {
|
|
608
720
|
title?: string;
|
|
609
721
|
} | null | undefined;
|
|
722
|
+
text?: string;
|
|
723
|
+
}) | {
|
|
724
|
+
kind: "web";
|
|
725
|
+
text: string;
|
|
726
|
+
})) | ({
|
|
727
|
+
__TYPE__: "AnyLink";
|
|
728
|
+
} & {
|
|
729
|
+
text: string;
|
|
610
730
|
});
|
|
611
731
|
start: number;
|
|
612
732
|
end: number;
|
|
@@ -748,35 +868,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
748
868
|
__TYPE__: "LinkContent";
|
|
749
869
|
value: ({
|
|
750
870
|
__TYPE__: "ImageLink";
|
|
751
|
-
} & {
|
|
871
|
+
} & ({
|
|
872
|
+
kind: "image";
|
|
873
|
+
} & (({
|
|
752
874
|
id: string;
|
|
753
875
|
url: string;
|
|
754
876
|
height: string;
|
|
755
877
|
width: string;
|
|
756
878
|
size: string;
|
|
757
879
|
name: string;
|
|
758
|
-
kind: string;
|
|
759
880
|
} & {
|
|
760
881
|
date?: string | null | undefined;
|
|
761
|
-
|
|
882
|
+
text?: string;
|
|
883
|
+
}) | {
|
|
884
|
+
text: string;
|
|
885
|
+
}))) | ({
|
|
886
|
+
__TYPE__: "FileLink";
|
|
887
|
+
} & ({
|
|
888
|
+
kind: "file";
|
|
889
|
+
} & (({
|
|
762
890
|
id: string;
|
|
763
891
|
url: string;
|
|
764
892
|
name: string;
|
|
765
|
-
kind: string;
|
|
766
893
|
size: string;
|
|
767
894
|
} & {
|
|
768
895
|
date?: string | null | undefined;
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
}) | ({
|
|
896
|
+
text?: string;
|
|
897
|
+
}) | {
|
|
898
|
+
text: string;
|
|
899
|
+
}))) | ({
|
|
774
900
|
__TYPE__: "DocumentLink";
|
|
775
|
-
} & {
|
|
901
|
+
} & (({
|
|
776
902
|
id: string;
|
|
777
|
-
}) | ({
|
|
778
|
-
__TYPE__: "ExternalLink";
|
|
779
903
|
} & {
|
|
904
|
+
kind?: "document";
|
|
905
|
+
text?: string;
|
|
906
|
+
}) | {
|
|
907
|
+
kind: "document";
|
|
908
|
+
text: string;
|
|
909
|
+
})) | ({
|
|
910
|
+
__TYPE__: "ExternalLink";
|
|
911
|
+
} & (({
|
|
780
912
|
url: string;
|
|
781
913
|
} & {
|
|
782
914
|
kind?: "web";
|
|
@@ -784,6 +916,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
784
916
|
preview?: {
|
|
785
917
|
title?: string;
|
|
786
918
|
} | null | undefined;
|
|
919
|
+
text?: string;
|
|
920
|
+
}) | {
|
|
921
|
+
kind: "web";
|
|
922
|
+
text: string;
|
|
923
|
+
})) | ({
|
|
924
|
+
__TYPE__: "AnyLink";
|
|
925
|
+
} & {
|
|
926
|
+
text: string;
|
|
787
927
|
});
|
|
788
928
|
} | {
|
|
789
929
|
__TYPE__: "StructuredTextContent";
|
|
@@ -814,35 +954,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
814
954
|
} & {
|
|
815
955
|
linkTo?: ({
|
|
816
956
|
__TYPE__: "ImageLink";
|
|
817
|
-
} & {
|
|
957
|
+
} & ({
|
|
958
|
+
kind: "image";
|
|
959
|
+
} & (({
|
|
818
960
|
id: string;
|
|
819
961
|
url: string;
|
|
820
962
|
height: string;
|
|
821
963
|
width: string;
|
|
822
964
|
size: string;
|
|
823
965
|
name: string;
|
|
824
|
-
kind: string;
|
|
825
966
|
} & {
|
|
826
967
|
date?: string | null | undefined;
|
|
827
|
-
|
|
968
|
+
text?: string;
|
|
969
|
+
}) | {
|
|
970
|
+
text: string;
|
|
971
|
+
}))) | ({
|
|
972
|
+
__TYPE__: "FileLink";
|
|
973
|
+
} & ({
|
|
974
|
+
kind: "file";
|
|
975
|
+
} & (({
|
|
828
976
|
id: string;
|
|
829
977
|
url: string;
|
|
830
978
|
name: string;
|
|
831
|
-
kind: string;
|
|
832
979
|
size: string;
|
|
833
980
|
} & {
|
|
834
981
|
date?: string | null | undefined;
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
}) | ({
|
|
982
|
+
text?: string;
|
|
983
|
+
}) | {
|
|
984
|
+
text: string;
|
|
985
|
+
}))) | ({
|
|
840
986
|
__TYPE__: "DocumentLink";
|
|
841
|
-
} & {
|
|
987
|
+
} & (({
|
|
842
988
|
id: string;
|
|
843
|
-
}) | ({
|
|
844
|
-
__TYPE__: "ExternalLink";
|
|
845
989
|
} & {
|
|
990
|
+
kind?: "document";
|
|
991
|
+
text?: string;
|
|
992
|
+
}) | {
|
|
993
|
+
kind: "document";
|
|
994
|
+
text: string;
|
|
995
|
+
})) | ({
|
|
996
|
+
__TYPE__: "ExternalLink";
|
|
997
|
+
} & (({
|
|
846
998
|
url: string;
|
|
847
999
|
} & {
|
|
848
1000
|
kind?: "web";
|
|
@@ -850,6 +1002,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
850
1002
|
preview?: {
|
|
851
1003
|
title?: string;
|
|
852
1004
|
} | null | undefined;
|
|
1005
|
+
text?: string;
|
|
1006
|
+
}) | {
|
|
1007
|
+
kind: "web";
|
|
1008
|
+
text: string;
|
|
1009
|
+
})) | ({
|
|
1010
|
+
__TYPE__: "AnyLink";
|
|
1011
|
+
} & {
|
|
1012
|
+
text: string;
|
|
853
1013
|
}) | null | undefined;
|
|
854
1014
|
};
|
|
855
1015
|
} & {
|
|
@@ -887,35 +1047,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
887
1047
|
spans?: ({
|
|
888
1048
|
data: ({
|
|
889
1049
|
__TYPE__: "ImageLink";
|
|
890
|
-
} & {
|
|
1050
|
+
} & ({
|
|
1051
|
+
kind: "image";
|
|
1052
|
+
} & (({
|
|
891
1053
|
id: string;
|
|
892
1054
|
url: string;
|
|
893
1055
|
height: string;
|
|
894
1056
|
width: string;
|
|
895
1057
|
size: string;
|
|
896
1058
|
name: string;
|
|
897
|
-
kind: string;
|
|
898
1059
|
} & {
|
|
899
1060
|
date?: string | null | undefined;
|
|
900
|
-
|
|
1061
|
+
text?: string;
|
|
1062
|
+
}) | {
|
|
1063
|
+
text: string;
|
|
1064
|
+
}))) | ({
|
|
1065
|
+
__TYPE__: "FileLink";
|
|
1066
|
+
} & ({
|
|
1067
|
+
kind: "file";
|
|
1068
|
+
} & (({
|
|
901
1069
|
id: string;
|
|
902
1070
|
url: string;
|
|
903
1071
|
name: string;
|
|
904
|
-
kind: string;
|
|
905
1072
|
size: string;
|
|
906
1073
|
} & {
|
|
907
1074
|
date?: string | null | undefined;
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
}) | ({
|
|
1075
|
+
text?: string;
|
|
1076
|
+
}) | {
|
|
1077
|
+
text: string;
|
|
1078
|
+
}))) | ({
|
|
913
1079
|
__TYPE__: "DocumentLink";
|
|
914
|
-
} & {
|
|
1080
|
+
} & (({
|
|
915
1081
|
id: string;
|
|
916
|
-
}) | ({
|
|
917
|
-
__TYPE__: "ExternalLink";
|
|
918
1082
|
} & {
|
|
1083
|
+
kind?: "document";
|
|
1084
|
+
text?: string;
|
|
1085
|
+
}) | {
|
|
1086
|
+
kind: "document";
|
|
1087
|
+
text: string;
|
|
1088
|
+
})) | ({
|
|
1089
|
+
__TYPE__: "ExternalLink";
|
|
1090
|
+
} & (({
|
|
919
1091
|
url: string;
|
|
920
1092
|
} & {
|
|
921
1093
|
kind?: "web";
|
|
@@ -923,6 +1095,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
923
1095
|
preview?: {
|
|
924
1096
|
title?: string;
|
|
925
1097
|
} | null | undefined;
|
|
1098
|
+
text?: string;
|
|
1099
|
+
}) | {
|
|
1100
|
+
kind: "web";
|
|
1101
|
+
text: string;
|
|
1102
|
+
})) | ({
|
|
1103
|
+
__TYPE__: "AnyLink";
|
|
1104
|
+
} & {
|
|
1105
|
+
text: string;
|
|
926
1106
|
});
|
|
927
1107
|
start: number;
|
|
928
1108
|
end: number;
|
|
@@ -1066,35 +1246,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1066
1246
|
__TYPE__: "LinkContent";
|
|
1067
1247
|
value: ({
|
|
1068
1248
|
__TYPE__: "ImageLink";
|
|
1069
|
-
} & {
|
|
1249
|
+
} & ({
|
|
1250
|
+
kind: "image";
|
|
1251
|
+
} & (({
|
|
1070
1252
|
id: string;
|
|
1071
1253
|
url: string;
|
|
1072
1254
|
height: string;
|
|
1073
1255
|
width: string;
|
|
1074
1256
|
size: string;
|
|
1075
1257
|
name: string;
|
|
1076
|
-
kind: string;
|
|
1077
1258
|
} & {
|
|
1078
1259
|
date?: string | null | undefined;
|
|
1079
|
-
|
|
1260
|
+
text?: string;
|
|
1261
|
+
}) | {
|
|
1262
|
+
text: string;
|
|
1263
|
+
}))) | ({
|
|
1264
|
+
__TYPE__: "FileLink";
|
|
1265
|
+
} & ({
|
|
1266
|
+
kind: "file";
|
|
1267
|
+
} & (({
|
|
1080
1268
|
id: string;
|
|
1081
1269
|
url: string;
|
|
1082
1270
|
name: string;
|
|
1083
|
-
kind: string;
|
|
1084
1271
|
size: string;
|
|
1085
1272
|
} & {
|
|
1086
1273
|
date?: string | null | undefined;
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
}) | ({
|
|
1274
|
+
text?: string;
|
|
1275
|
+
}) | {
|
|
1276
|
+
text: string;
|
|
1277
|
+
}))) | ({
|
|
1092
1278
|
__TYPE__: "DocumentLink";
|
|
1093
|
-
} & {
|
|
1279
|
+
} & (({
|
|
1094
1280
|
id: string;
|
|
1095
|
-
}) | ({
|
|
1096
|
-
__TYPE__: "ExternalLink";
|
|
1097
1281
|
} & {
|
|
1282
|
+
kind?: "document";
|
|
1283
|
+
text?: string;
|
|
1284
|
+
}) | {
|
|
1285
|
+
kind: "document";
|
|
1286
|
+
text: string;
|
|
1287
|
+
})) | ({
|
|
1288
|
+
__TYPE__: "ExternalLink";
|
|
1289
|
+
} & (({
|
|
1098
1290
|
url: string;
|
|
1099
1291
|
} & {
|
|
1100
1292
|
kind?: "web";
|
|
@@ -1102,6 +1294,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1102
1294
|
preview?: {
|
|
1103
1295
|
title?: string;
|
|
1104
1296
|
} | null | undefined;
|
|
1297
|
+
text?: string;
|
|
1298
|
+
}) | {
|
|
1299
|
+
kind: "web";
|
|
1300
|
+
text: string;
|
|
1301
|
+
})) | ({
|
|
1302
|
+
__TYPE__: "AnyLink";
|
|
1303
|
+
} & {
|
|
1304
|
+
text: string;
|
|
1105
1305
|
});
|
|
1106
1306
|
} | {
|
|
1107
1307
|
__TYPE__: "StructuredTextContent";
|
|
@@ -1132,35 +1332,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1132
1332
|
} & {
|
|
1133
1333
|
linkTo?: ({
|
|
1134
1334
|
__TYPE__: "ImageLink";
|
|
1135
|
-
} & {
|
|
1335
|
+
} & ({
|
|
1336
|
+
kind: "image";
|
|
1337
|
+
} & (({
|
|
1136
1338
|
id: string;
|
|
1137
1339
|
url: string;
|
|
1138
1340
|
height: string;
|
|
1139
1341
|
width: string;
|
|
1140
1342
|
size: string;
|
|
1141
1343
|
name: string;
|
|
1142
|
-
kind: string;
|
|
1143
1344
|
} & {
|
|
1144
1345
|
date?: string | null | undefined;
|
|
1145
|
-
|
|
1346
|
+
text?: string;
|
|
1347
|
+
}) | {
|
|
1348
|
+
text: string;
|
|
1349
|
+
}))) | ({
|
|
1350
|
+
__TYPE__: "FileLink";
|
|
1351
|
+
} & ({
|
|
1352
|
+
kind: "file";
|
|
1353
|
+
} & (({
|
|
1146
1354
|
id: string;
|
|
1147
1355
|
url: string;
|
|
1148
1356
|
name: string;
|
|
1149
|
-
kind: string;
|
|
1150
1357
|
size: string;
|
|
1151
1358
|
} & {
|
|
1152
1359
|
date?: string | null | undefined;
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
}) | ({
|
|
1360
|
+
text?: string;
|
|
1361
|
+
}) | {
|
|
1362
|
+
text: string;
|
|
1363
|
+
}))) | ({
|
|
1158
1364
|
__TYPE__: "DocumentLink";
|
|
1159
|
-
} & {
|
|
1365
|
+
} & (({
|
|
1160
1366
|
id: string;
|
|
1161
|
-
}) | ({
|
|
1162
|
-
__TYPE__: "ExternalLink";
|
|
1163
1367
|
} & {
|
|
1368
|
+
kind?: "document";
|
|
1369
|
+
text?: string;
|
|
1370
|
+
}) | {
|
|
1371
|
+
kind: "document";
|
|
1372
|
+
text: string;
|
|
1373
|
+
})) | ({
|
|
1374
|
+
__TYPE__: "ExternalLink";
|
|
1375
|
+
} & (({
|
|
1164
1376
|
url: string;
|
|
1165
1377
|
} & {
|
|
1166
1378
|
kind?: "web";
|
|
@@ -1168,6 +1380,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1168
1380
|
preview?: {
|
|
1169
1381
|
title?: string;
|
|
1170
1382
|
} | null | undefined;
|
|
1383
|
+
text?: string;
|
|
1384
|
+
}) | {
|
|
1385
|
+
kind: "web";
|
|
1386
|
+
text: string;
|
|
1387
|
+
})) | ({
|
|
1388
|
+
__TYPE__: "AnyLink";
|
|
1389
|
+
} & {
|
|
1390
|
+
text: string;
|
|
1171
1391
|
}) | null | undefined;
|
|
1172
1392
|
};
|
|
1173
1393
|
} & {
|
|
@@ -1205,35 +1425,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1205
1425
|
spans?: ({
|
|
1206
1426
|
data: ({
|
|
1207
1427
|
__TYPE__: "ImageLink";
|
|
1208
|
-
} & {
|
|
1428
|
+
} & ({
|
|
1429
|
+
kind: "image";
|
|
1430
|
+
} & (({
|
|
1209
1431
|
id: string;
|
|
1210
1432
|
url: string;
|
|
1211
1433
|
height: string;
|
|
1212
1434
|
width: string;
|
|
1213
1435
|
size: string;
|
|
1214
1436
|
name: string;
|
|
1215
|
-
kind: string;
|
|
1216
1437
|
} & {
|
|
1217
1438
|
date?: string | null | undefined;
|
|
1218
|
-
|
|
1439
|
+
text?: string;
|
|
1440
|
+
}) | {
|
|
1441
|
+
text: string;
|
|
1442
|
+
}))) | ({
|
|
1443
|
+
__TYPE__: "FileLink";
|
|
1444
|
+
} & ({
|
|
1445
|
+
kind: "file";
|
|
1446
|
+
} & (({
|
|
1219
1447
|
id: string;
|
|
1220
1448
|
url: string;
|
|
1221
1449
|
name: string;
|
|
1222
|
-
kind: string;
|
|
1223
1450
|
size: string;
|
|
1224
1451
|
} & {
|
|
1225
1452
|
date?: string | null | undefined;
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
}) | ({
|
|
1453
|
+
text?: string;
|
|
1454
|
+
}) | {
|
|
1455
|
+
text: string;
|
|
1456
|
+
}))) | ({
|
|
1231
1457
|
__TYPE__: "DocumentLink";
|
|
1232
|
-
} & {
|
|
1458
|
+
} & (({
|
|
1233
1459
|
id: string;
|
|
1234
|
-
}) | ({
|
|
1235
|
-
__TYPE__: "ExternalLink";
|
|
1236
1460
|
} & {
|
|
1461
|
+
kind?: "document";
|
|
1462
|
+
text?: string;
|
|
1463
|
+
}) | {
|
|
1464
|
+
kind: "document";
|
|
1465
|
+
text: string;
|
|
1466
|
+
})) | ({
|
|
1467
|
+
__TYPE__: "ExternalLink";
|
|
1468
|
+
} & (({
|
|
1237
1469
|
url: string;
|
|
1238
1470
|
} & {
|
|
1239
1471
|
kind?: "web";
|
|
@@ -1241,6 +1473,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1241
1473
|
preview?: {
|
|
1242
1474
|
title?: string;
|
|
1243
1475
|
} | null | undefined;
|
|
1476
|
+
text?: string;
|
|
1477
|
+
}) | {
|
|
1478
|
+
kind: "web";
|
|
1479
|
+
text: string;
|
|
1480
|
+
})) | ({
|
|
1481
|
+
__TYPE__: "AnyLink";
|
|
1482
|
+
} & {
|
|
1483
|
+
text: string;
|
|
1244
1484
|
});
|
|
1245
1485
|
start: number;
|
|
1246
1486
|
end: number;
|
|
@@ -1382,35 +1622,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1382
1622
|
__TYPE__: "LinkContent";
|
|
1383
1623
|
value: ({
|
|
1384
1624
|
__TYPE__: "ImageLink";
|
|
1385
|
-
} & {
|
|
1625
|
+
} & ({
|
|
1626
|
+
kind: "image";
|
|
1627
|
+
} & (({
|
|
1386
1628
|
id: string;
|
|
1387
1629
|
url: string;
|
|
1388
1630
|
height: string;
|
|
1389
1631
|
width: string;
|
|
1390
1632
|
size: string;
|
|
1391
1633
|
name: string;
|
|
1392
|
-
kind: string;
|
|
1393
1634
|
} & {
|
|
1394
1635
|
date?: string | null | undefined;
|
|
1395
|
-
|
|
1636
|
+
text?: string;
|
|
1637
|
+
}) | {
|
|
1638
|
+
text: string;
|
|
1639
|
+
}))) | ({
|
|
1640
|
+
__TYPE__: "FileLink";
|
|
1641
|
+
} & ({
|
|
1642
|
+
kind: "file";
|
|
1643
|
+
} & (({
|
|
1396
1644
|
id: string;
|
|
1397
1645
|
url: string;
|
|
1398
1646
|
name: string;
|
|
1399
|
-
kind: string;
|
|
1400
1647
|
size: string;
|
|
1401
1648
|
} & {
|
|
1402
1649
|
date?: string | null | undefined;
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
}) | ({
|
|
1650
|
+
text?: string;
|
|
1651
|
+
}) | {
|
|
1652
|
+
text: string;
|
|
1653
|
+
}))) | ({
|
|
1408
1654
|
__TYPE__: "DocumentLink";
|
|
1409
|
-
} & {
|
|
1655
|
+
} & (({
|
|
1410
1656
|
id: string;
|
|
1411
|
-
}) | ({
|
|
1412
|
-
__TYPE__: "ExternalLink";
|
|
1413
1657
|
} & {
|
|
1658
|
+
kind?: "document";
|
|
1659
|
+
text?: string;
|
|
1660
|
+
}) | {
|
|
1661
|
+
kind: "document";
|
|
1662
|
+
text: string;
|
|
1663
|
+
})) | ({
|
|
1664
|
+
__TYPE__: "ExternalLink";
|
|
1665
|
+
} & (({
|
|
1414
1666
|
url: string;
|
|
1415
1667
|
} & {
|
|
1416
1668
|
kind?: "web";
|
|
@@ -1418,6 +1670,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1418
1670
|
preview?: {
|
|
1419
1671
|
title?: string;
|
|
1420
1672
|
} | null | undefined;
|
|
1673
|
+
text?: string;
|
|
1674
|
+
}) | {
|
|
1675
|
+
kind: "web";
|
|
1676
|
+
text: string;
|
|
1677
|
+
})) | ({
|
|
1678
|
+
__TYPE__: "AnyLink";
|
|
1679
|
+
} & {
|
|
1680
|
+
text: string;
|
|
1421
1681
|
});
|
|
1422
1682
|
} | {
|
|
1423
1683
|
__TYPE__: "StructuredTextContent";
|
|
@@ -1448,35 +1708,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1448
1708
|
} & {
|
|
1449
1709
|
linkTo?: ({
|
|
1450
1710
|
__TYPE__: "ImageLink";
|
|
1451
|
-
} & {
|
|
1711
|
+
} & ({
|
|
1712
|
+
kind: "image";
|
|
1713
|
+
} & (({
|
|
1452
1714
|
id: string;
|
|
1453
1715
|
url: string;
|
|
1454
1716
|
height: string;
|
|
1455
1717
|
width: string;
|
|
1456
1718
|
size: string;
|
|
1457
1719
|
name: string;
|
|
1458
|
-
kind: string;
|
|
1459
1720
|
} & {
|
|
1460
1721
|
date?: string | null | undefined;
|
|
1461
|
-
|
|
1722
|
+
text?: string;
|
|
1723
|
+
}) | {
|
|
1724
|
+
text: string;
|
|
1725
|
+
}))) | ({
|
|
1726
|
+
__TYPE__: "FileLink";
|
|
1727
|
+
} & ({
|
|
1728
|
+
kind: "file";
|
|
1729
|
+
} & (({
|
|
1462
1730
|
id: string;
|
|
1463
1731
|
url: string;
|
|
1464
1732
|
name: string;
|
|
1465
|
-
kind: string;
|
|
1466
1733
|
size: string;
|
|
1467
1734
|
} & {
|
|
1468
1735
|
date?: string | null | undefined;
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
}) | ({
|
|
1736
|
+
text?: string;
|
|
1737
|
+
}) | {
|
|
1738
|
+
text: string;
|
|
1739
|
+
}))) | ({
|
|
1474
1740
|
__TYPE__: "DocumentLink";
|
|
1475
|
-
} & {
|
|
1741
|
+
} & (({
|
|
1476
1742
|
id: string;
|
|
1477
|
-
}) | ({
|
|
1478
|
-
__TYPE__: "ExternalLink";
|
|
1479
1743
|
} & {
|
|
1744
|
+
kind?: "document";
|
|
1745
|
+
text?: string;
|
|
1746
|
+
}) | {
|
|
1747
|
+
kind: "document";
|
|
1748
|
+
text: string;
|
|
1749
|
+
})) | ({
|
|
1750
|
+
__TYPE__: "ExternalLink";
|
|
1751
|
+
} & (({
|
|
1480
1752
|
url: string;
|
|
1481
1753
|
} & {
|
|
1482
1754
|
kind?: "web";
|
|
@@ -1484,6 +1756,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1484
1756
|
preview?: {
|
|
1485
1757
|
title?: string;
|
|
1486
1758
|
} | null | undefined;
|
|
1759
|
+
text?: string;
|
|
1760
|
+
}) | {
|
|
1761
|
+
kind: "web";
|
|
1762
|
+
text: string;
|
|
1763
|
+
})) | ({
|
|
1764
|
+
__TYPE__: "AnyLink";
|
|
1765
|
+
} & {
|
|
1766
|
+
text: string;
|
|
1487
1767
|
}) | null | undefined;
|
|
1488
1768
|
};
|
|
1489
1769
|
} & {
|
|
@@ -1521,35 +1801,47 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1521
1801
|
spans?: ({
|
|
1522
1802
|
data: ({
|
|
1523
1803
|
__TYPE__: "ImageLink";
|
|
1524
|
-
} & {
|
|
1804
|
+
} & ({
|
|
1805
|
+
kind: "image";
|
|
1806
|
+
} & (({
|
|
1525
1807
|
id: string;
|
|
1526
1808
|
url: string;
|
|
1527
1809
|
height: string;
|
|
1528
1810
|
width: string;
|
|
1529
1811
|
size: string;
|
|
1530
1812
|
name: string;
|
|
1531
|
-
kind: string;
|
|
1532
1813
|
} & {
|
|
1533
1814
|
date?: string | null | undefined;
|
|
1534
|
-
|
|
1815
|
+
text?: string;
|
|
1816
|
+
}) | {
|
|
1817
|
+
text: string;
|
|
1818
|
+
}))) | ({
|
|
1819
|
+
__TYPE__: "FileLink";
|
|
1820
|
+
} & ({
|
|
1821
|
+
kind: "file";
|
|
1822
|
+
} & (({
|
|
1535
1823
|
id: string;
|
|
1536
1824
|
url: string;
|
|
1537
1825
|
name: string;
|
|
1538
|
-
kind: string;
|
|
1539
1826
|
size: string;
|
|
1540
1827
|
} & {
|
|
1541
1828
|
date?: string | null | undefined;
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
}) | ({
|
|
1829
|
+
text?: string;
|
|
1830
|
+
}) | {
|
|
1831
|
+
text: string;
|
|
1832
|
+
}))) | ({
|
|
1547
1833
|
__TYPE__: "DocumentLink";
|
|
1548
|
-
} & {
|
|
1834
|
+
} & (({
|
|
1549
1835
|
id: string;
|
|
1550
|
-
}) | ({
|
|
1551
|
-
__TYPE__: "ExternalLink";
|
|
1552
1836
|
} & {
|
|
1837
|
+
kind?: "document";
|
|
1838
|
+
text?: string;
|
|
1839
|
+
}) | {
|
|
1840
|
+
kind: "document";
|
|
1841
|
+
text: string;
|
|
1842
|
+
})) | ({
|
|
1843
|
+
__TYPE__: "ExternalLink";
|
|
1844
|
+
} & (({
|
|
1553
1845
|
url: string;
|
|
1554
1846
|
} & {
|
|
1555
1847
|
kind?: "web";
|
|
@@ -1557,6 +1849,14 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1557
1849
|
preview?: {
|
|
1558
1850
|
title?: string;
|
|
1559
1851
|
} | null | undefined;
|
|
1852
|
+
text?: string;
|
|
1853
|
+
}) | {
|
|
1854
|
+
kind: "web";
|
|
1855
|
+
text: string;
|
|
1856
|
+
})) | ({
|
|
1857
|
+
__TYPE__: "AnyLink";
|
|
1858
|
+
} & {
|
|
1859
|
+
text: string;
|
|
1560
1860
|
});
|
|
1561
1861
|
start: number;
|
|
1562
1862
|
end: number;
|
|
@@ -1699,35 +1999,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1699
1999
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1700
2000
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1701
2001
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1702
|
-
}>>, t.
|
|
2002
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2003
|
+
kind: t.LiteralC<"image">;
|
|
2004
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1703
2005
|
id: t.StringC;
|
|
1704
2006
|
url: t.StringC;
|
|
1705
2007
|
height: t.StringC;
|
|
1706
2008
|
width: t.StringC;
|
|
1707
2009
|
size: t.StringC;
|
|
1708
2010
|
name: t.StringC;
|
|
1709
|
-
kind: t.StringC;
|
|
1710
2011
|
}>, t.PartialC<{
|
|
1711
2012
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1712
|
-
|
|
2013
|
+
text: t.StringC;
|
|
2014
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2015
|
+
text: t.StringC;
|
|
2016
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2017
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
2018
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2019
|
+
kind: t.LiteralC<"file">;
|
|
2020
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1713
2021
|
id: t.StringC;
|
|
1714
2022
|
url: t.StringC;
|
|
1715
2023
|
name: t.StringC;
|
|
1716
|
-
kind: t.StringC;
|
|
1717
2024
|
size: t.StringC;
|
|
1718
2025
|
}>, t.PartialC<{
|
|
1719
2026
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2027
|
+
text: t.StringC;
|
|
2028
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2029
|
+
text: t.StringC;
|
|
2030
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1725
2031
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1726
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2032
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1727
2033
|
id: t.Type<string, string, unknown>;
|
|
1728
|
-
}
|
|
2034
|
+
}>, t.PartialC<{
|
|
2035
|
+
kind: t.LiteralC<"document">;
|
|
2036
|
+
text: t.StringC;
|
|
2037
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2038
|
+
kind: t.LiteralC<"document">;
|
|
2039
|
+
text: t.StringC;
|
|
2040
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1729
2041
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1730
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2042
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1731
2043
|
url: t.StringC;
|
|
1732
2044
|
}>, t.PartialC<{
|
|
1733
2045
|
kind: t.LiteralC<"web">;
|
|
@@ -1737,7 +2049,15 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1737
2049
|
}, {
|
|
1738
2050
|
title?: string;
|
|
1739
2051
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1740
|
-
|
|
2052
|
+
text: t.StringC;
|
|
2053
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2054
|
+
kind: t.LiteralC<"web">;
|
|
2055
|
+
text: t.StringC;
|
|
2056
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2057
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2058
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2059
|
+
text: t.StringC;
|
|
2060
|
+
}>>]>]>;
|
|
1741
2061
|
}>>, t.ExactC<t.TypeC<{
|
|
1742
2062
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
1743
2063
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -1767,35 +2087,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1767
2087
|
}>]>>, t.PartialC<{
|
|
1768
2088
|
linkTo: t.UnionC<[t.Type<({
|
|
1769
2089
|
__TYPE__: "ImageLink";
|
|
1770
|
-
} & {
|
|
2090
|
+
} & ({
|
|
2091
|
+
kind: "image";
|
|
2092
|
+
} & (({
|
|
1771
2093
|
id: string;
|
|
1772
2094
|
url: string;
|
|
1773
2095
|
height: string;
|
|
1774
2096
|
width: string;
|
|
1775
2097
|
size: string;
|
|
1776
2098
|
name: string;
|
|
1777
|
-
kind: string;
|
|
1778
2099
|
} & {
|
|
1779
2100
|
date?: string | null | undefined;
|
|
1780
|
-
|
|
2101
|
+
text?: string;
|
|
2102
|
+
}) | {
|
|
2103
|
+
text: string;
|
|
2104
|
+
}))) | ({
|
|
2105
|
+
__TYPE__: "FileLink";
|
|
2106
|
+
} & ({
|
|
2107
|
+
kind: "file";
|
|
2108
|
+
} & (({
|
|
1781
2109
|
id: string;
|
|
1782
2110
|
url: string;
|
|
1783
2111
|
name: string;
|
|
1784
|
-
kind: string;
|
|
1785
2112
|
size: string;
|
|
1786
2113
|
} & {
|
|
1787
2114
|
date?: string | null | undefined;
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
}) | ({
|
|
2115
|
+
text?: string;
|
|
2116
|
+
}) | {
|
|
2117
|
+
text: string;
|
|
2118
|
+
}))) | ({
|
|
1793
2119
|
__TYPE__: "DocumentLink";
|
|
1794
|
-
} & {
|
|
2120
|
+
} & (({
|
|
1795
2121
|
id: string;
|
|
1796
|
-
}) | ({
|
|
1797
|
-
__TYPE__: "ExternalLink";
|
|
1798
2122
|
} & {
|
|
2123
|
+
kind?: "document";
|
|
2124
|
+
text?: string;
|
|
2125
|
+
}) | {
|
|
2126
|
+
kind: "document";
|
|
2127
|
+
text: string;
|
|
2128
|
+
})) | ({
|
|
2129
|
+
__TYPE__: "ExternalLink";
|
|
2130
|
+
} & (({
|
|
1799
2131
|
url: string;
|
|
1800
2132
|
} & {
|
|
1801
2133
|
kind?: "web";
|
|
@@ -1803,37 +2135,57 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1803
2135
|
preview?: {
|
|
1804
2136
|
title?: string;
|
|
1805
2137
|
} | null | undefined;
|
|
2138
|
+
text?: string;
|
|
2139
|
+
}) | {
|
|
2140
|
+
kind: "web";
|
|
2141
|
+
text: string;
|
|
2142
|
+
})) | ({
|
|
2143
|
+
__TYPE__: "AnyLink";
|
|
2144
|
+
} & {
|
|
2145
|
+
text: string;
|
|
1806
2146
|
}), ({
|
|
1807
2147
|
__TYPE__: "ImageLink";
|
|
1808
|
-
} & {
|
|
2148
|
+
} & ({
|
|
2149
|
+
kind: "image";
|
|
2150
|
+
} & (({
|
|
1809
2151
|
id: string;
|
|
1810
2152
|
url: string;
|
|
1811
2153
|
height: string;
|
|
1812
2154
|
width: string;
|
|
1813
2155
|
size: string;
|
|
1814
2156
|
name: string;
|
|
1815
|
-
kind: string;
|
|
1816
2157
|
} & {
|
|
1817
2158
|
date?: string | null | undefined;
|
|
1818
|
-
|
|
2159
|
+
text?: string;
|
|
2160
|
+
}) | {
|
|
2161
|
+
text: string;
|
|
2162
|
+
}))) | ({
|
|
2163
|
+
__TYPE__: "FileLink";
|
|
2164
|
+
} & ({
|
|
2165
|
+
kind: "file";
|
|
2166
|
+
} & (({
|
|
1819
2167
|
id: string;
|
|
1820
2168
|
url: string;
|
|
1821
2169
|
name: string;
|
|
1822
|
-
kind: string;
|
|
1823
2170
|
size: string;
|
|
1824
2171
|
} & {
|
|
1825
2172
|
date?: string | null | undefined;
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
}) | ({
|
|
2173
|
+
text?: string;
|
|
2174
|
+
}) | {
|
|
2175
|
+
text: string;
|
|
2176
|
+
}))) | ({
|
|
1831
2177
|
__TYPE__: "DocumentLink";
|
|
1832
|
-
} & {
|
|
2178
|
+
} & (({
|
|
1833
2179
|
id: string;
|
|
1834
|
-
}) | ({
|
|
1835
|
-
__TYPE__: "ExternalLink";
|
|
1836
2180
|
} & {
|
|
2181
|
+
kind?: "document";
|
|
2182
|
+
text?: string;
|
|
2183
|
+
}) | {
|
|
2184
|
+
kind: "document";
|
|
2185
|
+
text: string;
|
|
2186
|
+
})) | ({
|
|
2187
|
+
__TYPE__: "ExternalLink";
|
|
2188
|
+
} & (({
|
|
1837
2189
|
url: string;
|
|
1838
2190
|
} & {
|
|
1839
2191
|
kind?: "web";
|
|
@@ -1841,6 +2193,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1841
2193
|
preview?: {
|
|
1842
2194
|
title?: string;
|
|
1843
2195
|
} | null | undefined;
|
|
2196
|
+
text?: string;
|
|
2197
|
+
}) | {
|
|
2198
|
+
kind: "web";
|
|
2199
|
+
text: string;
|
|
2200
|
+
})) | ({
|
|
2201
|
+
__TYPE__: "AnyLink";
|
|
2202
|
+
} & {
|
|
2203
|
+
text: string;
|
|
1844
2204
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
1845
2205
|
}>]>;
|
|
1846
2206
|
}>, t.PartialC<{
|
|
@@ -1878,35 +2238,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1878
2238
|
spans: t.Type<({
|
|
1879
2239
|
data: ({
|
|
1880
2240
|
__TYPE__: "ImageLink";
|
|
1881
|
-
} & {
|
|
2241
|
+
} & ({
|
|
2242
|
+
kind: "image";
|
|
2243
|
+
} & (({
|
|
1882
2244
|
id: string;
|
|
1883
2245
|
url: string;
|
|
1884
2246
|
height: string;
|
|
1885
2247
|
width: string;
|
|
1886
2248
|
size: string;
|
|
1887
2249
|
name: string;
|
|
1888
|
-
kind: string;
|
|
1889
2250
|
} & {
|
|
1890
2251
|
date?: string | null | undefined;
|
|
1891
|
-
|
|
2252
|
+
text?: string;
|
|
2253
|
+
}) | {
|
|
2254
|
+
text: string;
|
|
2255
|
+
}))) | ({
|
|
2256
|
+
__TYPE__: "FileLink";
|
|
2257
|
+
} & ({
|
|
2258
|
+
kind: "file";
|
|
2259
|
+
} & (({
|
|
1892
2260
|
id: string;
|
|
1893
2261
|
url: string;
|
|
1894
2262
|
name: string;
|
|
1895
|
-
kind: string;
|
|
1896
2263
|
size: string;
|
|
1897
2264
|
} & {
|
|
1898
2265
|
date?: string | null | undefined;
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
}) | ({
|
|
2266
|
+
text?: string;
|
|
2267
|
+
}) | {
|
|
2268
|
+
text: string;
|
|
2269
|
+
}))) | ({
|
|
1904
2270
|
__TYPE__: "DocumentLink";
|
|
1905
|
-
} & {
|
|
2271
|
+
} & (({
|
|
1906
2272
|
id: string;
|
|
1907
|
-
}) | ({
|
|
1908
|
-
__TYPE__: "ExternalLink";
|
|
1909
2273
|
} & {
|
|
2274
|
+
kind?: "document";
|
|
2275
|
+
text?: string;
|
|
2276
|
+
}) | {
|
|
2277
|
+
kind: "document";
|
|
2278
|
+
text: string;
|
|
2279
|
+
})) | ({
|
|
2280
|
+
__TYPE__: "ExternalLink";
|
|
2281
|
+
} & (({
|
|
1910
2282
|
url: string;
|
|
1911
2283
|
} & {
|
|
1912
2284
|
kind?: "web";
|
|
@@ -1914,6 +2286,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1914
2286
|
preview?: {
|
|
1915
2287
|
title?: string;
|
|
1916
2288
|
} | null | undefined;
|
|
2289
|
+
text?: string;
|
|
2290
|
+
}) | {
|
|
2291
|
+
kind: "web";
|
|
2292
|
+
text: string;
|
|
2293
|
+
})) | ({
|
|
2294
|
+
__TYPE__: "AnyLink";
|
|
2295
|
+
} & {
|
|
2296
|
+
text: string;
|
|
1917
2297
|
});
|
|
1918
2298
|
start: number;
|
|
1919
2299
|
end: number;
|
|
@@ -1930,35 +2310,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1930
2310
|
})[], ({
|
|
1931
2311
|
data: ({
|
|
1932
2312
|
__TYPE__: "ImageLink";
|
|
1933
|
-
} & {
|
|
2313
|
+
} & ({
|
|
2314
|
+
kind: "image";
|
|
2315
|
+
} & (({
|
|
1934
2316
|
id: string;
|
|
1935
2317
|
url: string;
|
|
1936
2318
|
height: string;
|
|
1937
2319
|
width: string;
|
|
1938
2320
|
size: string;
|
|
1939
2321
|
name: string;
|
|
1940
|
-
kind: string;
|
|
1941
2322
|
} & {
|
|
1942
2323
|
date?: string | null | undefined;
|
|
1943
|
-
|
|
2324
|
+
text?: string;
|
|
2325
|
+
}) | {
|
|
2326
|
+
text: string;
|
|
2327
|
+
}))) | ({
|
|
2328
|
+
__TYPE__: "FileLink";
|
|
2329
|
+
} & ({
|
|
2330
|
+
kind: "file";
|
|
2331
|
+
} & (({
|
|
1944
2332
|
id: string;
|
|
1945
2333
|
url: string;
|
|
1946
2334
|
name: string;
|
|
1947
|
-
kind: string;
|
|
1948
2335
|
size: string;
|
|
1949
2336
|
} & {
|
|
1950
2337
|
date?: string | null | undefined;
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
}) | ({
|
|
2338
|
+
text?: string;
|
|
2339
|
+
}) | {
|
|
2340
|
+
text: string;
|
|
2341
|
+
}))) | ({
|
|
1956
2342
|
__TYPE__: "DocumentLink";
|
|
1957
|
-
} & {
|
|
2343
|
+
} & (({
|
|
1958
2344
|
id: string;
|
|
1959
|
-
}) | ({
|
|
1960
|
-
__TYPE__: "ExternalLink";
|
|
1961
2345
|
} & {
|
|
2346
|
+
kind?: "document";
|
|
2347
|
+
text?: string;
|
|
2348
|
+
}) | {
|
|
2349
|
+
kind: "document";
|
|
2350
|
+
text: string;
|
|
2351
|
+
})) | ({
|
|
2352
|
+
__TYPE__: "ExternalLink";
|
|
2353
|
+
} & (({
|
|
1962
2354
|
url: string;
|
|
1963
2355
|
} & {
|
|
1964
2356
|
kind?: "web";
|
|
@@ -1966,6 +2358,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1966
2358
|
preview?: {
|
|
1967
2359
|
title?: string;
|
|
1968
2360
|
} | null | undefined;
|
|
2361
|
+
text?: string;
|
|
2362
|
+
}) | {
|
|
2363
|
+
kind: "web";
|
|
2364
|
+
text: string;
|
|
2365
|
+
})) | ({
|
|
2366
|
+
__TYPE__: "AnyLink";
|
|
2367
|
+
} & {
|
|
2368
|
+
text: string;
|
|
1969
2369
|
});
|
|
1970
2370
|
start: number;
|
|
1971
2371
|
end: number;
|
|
@@ -2104,35 +2504,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2104
2504
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2105
2505
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2106
2506
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2107
|
-
}>>, t.
|
|
2507
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2508
|
+
kind: t.LiteralC<"image">;
|
|
2509
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2108
2510
|
id: t.StringC;
|
|
2109
2511
|
url: t.StringC;
|
|
2110
2512
|
height: t.StringC;
|
|
2111
2513
|
width: t.StringC;
|
|
2112
2514
|
size: t.StringC;
|
|
2113
2515
|
name: t.StringC;
|
|
2114
|
-
kind: t.StringC;
|
|
2115
2516
|
}>, t.PartialC<{
|
|
2116
2517
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2117
|
-
|
|
2518
|
+
text: t.StringC;
|
|
2519
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2520
|
+
text: t.StringC;
|
|
2521
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2522
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
2523
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2524
|
+
kind: t.LiteralC<"file">;
|
|
2525
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2118
2526
|
id: t.StringC;
|
|
2119
2527
|
url: t.StringC;
|
|
2120
2528
|
name: t.StringC;
|
|
2121
|
-
kind: t.StringC;
|
|
2122
2529
|
size: t.StringC;
|
|
2123
2530
|
}>, t.PartialC<{
|
|
2124
2531
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2532
|
+
text: t.StringC;
|
|
2533
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2534
|
+
text: t.StringC;
|
|
2535
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2130
2536
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2131
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2537
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2132
2538
|
id: t.Type<string, string, unknown>;
|
|
2133
|
-
}
|
|
2539
|
+
}>, t.PartialC<{
|
|
2540
|
+
kind: t.LiteralC<"document">;
|
|
2541
|
+
text: t.StringC;
|
|
2542
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2543
|
+
kind: t.LiteralC<"document">;
|
|
2544
|
+
text: t.StringC;
|
|
2545
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2134
2546
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2135
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2547
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2136
2548
|
url: t.StringC;
|
|
2137
2549
|
}>, t.PartialC<{
|
|
2138
2550
|
kind: t.LiteralC<"web">;
|
|
@@ -2142,7 +2554,15 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2142
2554
|
}, {
|
|
2143
2555
|
title?: string;
|
|
2144
2556
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2145
|
-
|
|
2557
|
+
text: t.StringC;
|
|
2558
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2559
|
+
kind: t.LiteralC<"web">;
|
|
2560
|
+
text: t.StringC;
|
|
2561
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2562
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2563
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2564
|
+
text: t.StringC;
|
|
2565
|
+
}>>]>]>;
|
|
2146
2566
|
}>>, t.ExactC<t.TypeC<{
|
|
2147
2567
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
2148
2568
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -2172,35 +2592,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2172
2592
|
}>]>>, t.PartialC<{
|
|
2173
2593
|
linkTo: t.UnionC<[t.Type<({
|
|
2174
2594
|
__TYPE__: "ImageLink";
|
|
2175
|
-
} & {
|
|
2595
|
+
} & ({
|
|
2596
|
+
kind: "image";
|
|
2597
|
+
} & (({
|
|
2176
2598
|
id: string;
|
|
2177
2599
|
url: string;
|
|
2178
2600
|
height: string;
|
|
2179
2601
|
width: string;
|
|
2180
2602
|
size: string;
|
|
2181
2603
|
name: string;
|
|
2182
|
-
kind: string;
|
|
2183
2604
|
} & {
|
|
2184
2605
|
date?: string | null | undefined;
|
|
2185
|
-
|
|
2606
|
+
text?: string;
|
|
2607
|
+
}) | {
|
|
2608
|
+
text: string;
|
|
2609
|
+
}))) | ({
|
|
2610
|
+
__TYPE__: "FileLink";
|
|
2611
|
+
} & ({
|
|
2612
|
+
kind: "file";
|
|
2613
|
+
} & (({
|
|
2186
2614
|
id: string;
|
|
2187
2615
|
url: string;
|
|
2188
2616
|
name: string;
|
|
2189
|
-
kind: string;
|
|
2190
2617
|
size: string;
|
|
2191
2618
|
} & {
|
|
2192
2619
|
date?: string | null | undefined;
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
}) | ({
|
|
2620
|
+
text?: string;
|
|
2621
|
+
}) | {
|
|
2622
|
+
text: string;
|
|
2623
|
+
}))) | ({
|
|
2198
2624
|
__TYPE__: "DocumentLink";
|
|
2199
|
-
} & {
|
|
2625
|
+
} & (({
|
|
2200
2626
|
id: string;
|
|
2201
|
-
}) | ({
|
|
2202
|
-
__TYPE__: "ExternalLink";
|
|
2203
2627
|
} & {
|
|
2628
|
+
kind?: "document";
|
|
2629
|
+
text?: string;
|
|
2630
|
+
}) | {
|
|
2631
|
+
kind: "document";
|
|
2632
|
+
text: string;
|
|
2633
|
+
})) | ({
|
|
2634
|
+
__TYPE__: "ExternalLink";
|
|
2635
|
+
} & (({
|
|
2204
2636
|
url: string;
|
|
2205
2637
|
} & {
|
|
2206
2638
|
kind?: "web";
|
|
@@ -2208,37 +2640,57 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2208
2640
|
preview?: {
|
|
2209
2641
|
title?: string;
|
|
2210
2642
|
} | null | undefined;
|
|
2643
|
+
text?: string;
|
|
2644
|
+
}) | {
|
|
2645
|
+
kind: "web";
|
|
2646
|
+
text: string;
|
|
2647
|
+
})) | ({
|
|
2648
|
+
__TYPE__: "AnyLink";
|
|
2649
|
+
} & {
|
|
2650
|
+
text: string;
|
|
2211
2651
|
}), ({
|
|
2212
2652
|
__TYPE__: "ImageLink";
|
|
2213
|
-
} & {
|
|
2653
|
+
} & ({
|
|
2654
|
+
kind: "image";
|
|
2655
|
+
} & (({
|
|
2214
2656
|
id: string;
|
|
2215
2657
|
url: string;
|
|
2216
2658
|
height: string;
|
|
2217
2659
|
width: string;
|
|
2218
2660
|
size: string;
|
|
2219
2661
|
name: string;
|
|
2220
|
-
kind: string;
|
|
2221
2662
|
} & {
|
|
2222
2663
|
date?: string | null | undefined;
|
|
2223
|
-
|
|
2664
|
+
text?: string;
|
|
2665
|
+
}) | {
|
|
2666
|
+
text: string;
|
|
2667
|
+
}))) | ({
|
|
2668
|
+
__TYPE__: "FileLink";
|
|
2669
|
+
} & ({
|
|
2670
|
+
kind: "file";
|
|
2671
|
+
} & (({
|
|
2224
2672
|
id: string;
|
|
2225
2673
|
url: string;
|
|
2226
2674
|
name: string;
|
|
2227
|
-
kind: string;
|
|
2228
2675
|
size: string;
|
|
2229
2676
|
} & {
|
|
2230
2677
|
date?: string | null | undefined;
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
}) | ({
|
|
2678
|
+
text?: string;
|
|
2679
|
+
}) | {
|
|
2680
|
+
text: string;
|
|
2681
|
+
}))) | ({
|
|
2236
2682
|
__TYPE__: "DocumentLink";
|
|
2237
|
-
} & {
|
|
2683
|
+
} & (({
|
|
2238
2684
|
id: string;
|
|
2239
|
-
}) | ({
|
|
2240
|
-
__TYPE__: "ExternalLink";
|
|
2241
2685
|
} & {
|
|
2686
|
+
kind?: "document";
|
|
2687
|
+
text?: string;
|
|
2688
|
+
}) | {
|
|
2689
|
+
kind: "document";
|
|
2690
|
+
text: string;
|
|
2691
|
+
})) | ({
|
|
2692
|
+
__TYPE__: "ExternalLink";
|
|
2693
|
+
} & (({
|
|
2242
2694
|
url: string;
|
|
2243
2695
|
} & {
|
|
2244
2696
|
kind?: "web";
|
|
@@ -2246,6 +2698,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2246
2698
|
preview?: {
|
|
2247
2699
|
title?: string;
|
|
2248
2700
|
} | null | undefined;
|
|
2701
|
+
text?: string;
|
|
2702
|
+
}) | {
|
|
2703
|
+
kind: "web";
|
|
2704
|
+
text: string;
|
|
2705
|
+
})) | ({
|
|
2706
|
+
__TYPE__: "AnyLink";
|
|
2707
|
+
} & {
|
|
2708
|
+
text: string;
|
|
2249
2709
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
2250
2710
|
}>]>;
|
|
2251
2711
|
}>, t.PartialC<{
|
|
@@ -2283,35 +2743,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2283
2743
|
spans: t.Type<({
|
|
2284
2744
|
data: ({
|
|
2285
2745
|
__TYPE__: "ImageLink";
|
|
2286
|
-
} & {
|
|
2746
|
+
} & ({
|
|
2747
|
+
kind: "image";
|
|
2748
|
+
} & (({
|
|
2287
2749
|
id: string;
|
|
2288
2750
|
url: string;
|
|
2289
2751
|
height: string;
|
|
2290
2752
|
width: string;
|
|
2291
2753
|
size: string;
|
|
2292
2754
|
name: string;
|
|
2293
|
-
kind: string;
|
|
2294
2755
|
} & {
|
|
2295
2756
|
date?: string | null | undefined;
|
|
2296
|
-
|
|
2757
|
+
text?: string;
|
|
2758
|
+
}) | {
|
|
2759
|
+
text: string;
|
|
2760
|
+
}))) | ({
|
|
2761
|
+
__TYPE__: "FileLink";
|
|
2762
|
+
} & ({
|
|
2763
|
+
kind: "file";
|
|
2764
|
+
} & (({
|
|
2297
2765
|
id: string;
|
|
2298
2766
|
url: string;
|
|
2299
2767
|
name: string;
|
|
2300
|
-
kind: string;
|
|
2301
2768
|
size: string;
|
|
2302
2769
|
} & {
|
|
2303
2770
|
date?: string | null | undefined;
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
}) | ({
|
|
2771
|
+
text?: string;
|
|
2772
|
+
}) | {
|
|
2773
|
+
text: string;
|
|
2774
|
+
}))) | ({
|
|
2309
2775
|
__TYPE__: "DocumentLink";
|
|
2310
|
-
} & {
|
|
2776
|
+
} & (({
|
|
2311
2777
|
id: string;
|
|
2312
|
-
}) | ({
|
|
2313
|
-
__TYPE__: "ExternalLink";
|
|
2314
2778
|
} & {
|
|
2779
|
+
kind?: "document";
|
|
2780
|
+
text?: string;
|
|
2781
|
+
}) | {
|
|
2782
|
+
kind: "document";
|
|
2783
|
+
text: string;
|
|
2784
|
+
})) | ({
|
|
2785
|
+
__TYPE__: "ExternalLink";
|
|
2786
|
+
} & (({
|
|
2315
2787
|
url: string;
|
|
2316
2788
|
} & {
|
|
2317
2789
|
kind?: "web";
|
|
@@ -2319,6 +2791,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2319
2791
|
preview?: {
|
|
2320
2792
|
title?: string;
|
|
2321
2793
|
} | null | undefined;
|
|
2794
|
+
text?: string;
|
|
2795
|
+
}) | {
|
|
2796
|
+
kind: "web";
|
|
2797
|
+
text: string;
|
|
2798
|
+
})) | ({
|
|
2799
|
+
__TYPE__: "AnyLink";
|
|
2800
|
+
} & {
|
|
2801
|
+
text: string;
|
|
2322
2802
|
});
|
|
2323
2803
|
start: number;
|
|
2324
2804
|
end: number;
|
|
@@ -2335,35 +2815,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2335
2815
|
})[], ({
|
|
2336
2816
|
data: ({
|
|
2337
2817
|
__TYPE__: "ImageLink";
|
|
2338
|
-
} & {
|
|
2818
|
+
} & ({
|
|
2819
|
+
kind: "image";
|
|
2820
|
+
} & (({
|
|
2339
2821
|
id: string;
|
|
2340
2822
|
url: string;
|
|
2341
2823
|
height: string;
|
|
2342
2824
|
width: string;
|
|
2343
2825
|
size: string;
|
|
2344
2826
|
name: string;
|
|
2345
|
-
kind: string;
|
|
2346
2827
|
} & {
|
|
2347
2828
|
date?: string | null | undefined;
|
|
2348
|
-
|
|
2829
|
+
text?: string;
|
|
2830
|
+
}) | {
|
|
2831
|
+
text: string;
|
|
2832
|
+
}))) | ({
|
|
2833
|
+
__TYPE__: "FileLink";
|
|
2834
|
+
} & ({
|
|
2835
|
+
kind: "file";
|
|
2836
|
+
} & (({
|
|
2349
2837
|
id: string;
|
|
2350
2838
|
url: string;
|
|
2351
2839
|
name: string;
|
|
2352
|
-
kind: string;
|
|
2353
2840
|
size: string;
|
|
2354
2841
|
} & {
|
|
2355
2842
|
date?: string | null | undefined;
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
}) | ({
|
|
2843
|
+
text?: string;
|
|
2844
|
+
}) | {
|
|
2845
|
+
text: string;
|
|
2846
|
+
}))) | ({
|
|
2361
2847
|
__TYPE__: "DocumentLink";
|
|
2362
|
-
} & {
|
|
2848
|
+
} & (({
|
|
2363
2849
|
id: string;
|
|
2364
|
-
}) | ({
|
|
2365
|
-
__TYPE__: "ExternalLink";
|
|
2366
2850
|
} & {
|
|
2851
|
+
kind?: "document";
|
|
2852
|
+
text?: string;
|
|
2853
|
+
}) | {
|
|
2854
|
+
kind: "document";
|
|
2855
|
+
text: string;
|
|
2856
|
+
})) | ({
|
|
2857
|
+
__TYPE__: "ExternalLink";
|
|
2858
|
+
} & (({
|
|
2367
2859
|
url: string;
|
|
2368
2860
|
} & {
|
|
2369
2861
|
kind?: "web";
|
|
@@ -2371,6 +2863,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2371
2863
|
preview?: {
|
|
2372
2864
|
title?: string;
|
|
2373
2865
|
} | null | undefined;
|
|
2866
|
+
text?: string;
|
|
2867
|
+
}) | {
|
|
2868
|
+
kind: "web";
|
|
2869
|
+
text: string;
|
|
2870
|
+
})) | ({
|
|
2871
|
+
__TYPE__: "AnyLink";
|
|
2872
|
+
} & {
|
|
2873
|
+
text: string;
|
|
2374
2874
|
});
|
|
2375
2875
|
start: number;
|
|
2376
2876
|
end: number;
|
|
@@ -2511,35 +3011,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2511
3011
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2512
3012
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2513
3013
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2514
|
-
}>>, t.
|
|
3014
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3015
|
+
kind: t.LiteralC<"image">;
|
|
3016
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2515
3017
|
id: t.StringC;
|
|
2516
3018
|
url: t.StringC;
|
|
2517
3019
|
height: t.StringC;
|
|
2518
3020
|
width: t.StringC;
|
|
2519
3021
|
size: t.StringC;
|
|
2520
3022
|
name: t.StringC;
|
|
2521
|
-
kind: t.StringC;
|
|
2522
3023
|
}>, t.PartialC<{
|
|
2523
3024
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2524
|
-
|
|
3025
|
+
text: t.StringC;
|
|
3026
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3027
|
+
text: t.StringC;
|
|
3028
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3029
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
3030
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3031
|
+
kind: t.LiteralC<"file">;
|
|
3032
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2525
3033
|
id: t.StringC;
|
|
2526
3034
|
url: t.StringC;
|
|
2527
3035
|
name: t.StringC;
|
|
2528
|
-
kind: t.StringC;
|
|
2529
3036
|
size: t.StringC;
|
|
2530
3037
|
}>, t.PartialC<{
|
|
2531
3038
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3039
|
+
text: t.StringC;
|
|
3040
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3041
|
+
text: t.StringC;
|
|
3042
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2537
3043
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2538
|
-
}>>, t.ExactC<t.TypeC<{
|
|
3044
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2539
3045
|
id: t.Type<string, string, unknown>;
|
|
2540
|
-
}
|
|
3046
|
+
}>, t.PartialC<{
|
|
3047
|
+
kind: t.LiteralC<"document">;
|
|
3048
|
+
text: t.StringC;
|
|
3049
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3050
|
+
kind: t.LiteralC<"document">;
|
|
3051
|
+
text: t.StringC;
|
|
3052
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2541
3053
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2542
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3054
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2543
3055
|
url: t.StringC;
|
|
2544
3056
|
}>, t.PartialC<{
|
|
2545
3057
|
kind: t.LiteralC<"web">;
|
|
@@ -2549,7 +3061,15 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2549
3061
|
}, {
|
|
2550
3062
|
title?: string;
|
|
2551
3063
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2552
|
-
|
|
3064
|
+
text: t.StringC;
|
|
3065
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3066
|
+
kind: t.LiteralC<"web">;
|
|
3067
|
+
text: t.StringC;
|
|
3068
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3069
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
3070
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3071
|
+
text: t.StringC;
|
|
3072
|
+
}>>]>]>;
|
|
2553
3073
|
}>>, t.ExactC<t.TypeC<{
|
|
2554
3074
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
2555
3075
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -2579,35 +3099,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2579
3099
|
}>]>>, t.PartialC<{
|
|
2580
3100
|
linkTo: t.UnionC<[t.Type<({
|
|
2581
3101
|
__TYPE__: "ImageLink";
|
|
2582
|
-
} & {
|
|
3102
|
+
} & ({
|
|
3103
|
+
kind: "image";
|
|
3104
|
+
} & (({
|
|
2583
3105
|
id: string;
|
|
2584
3106
|
url: string;
|
|
2585
3107
|
height: string;
|
|
2586
3108
|
width: string;
|
|
2587
3109
|
size: string;
|
|
2588
3110
|
name: string;
|
|
2589
|
-
kind: string;
|
|
2590
3111
|
} & {
|
|
2591
3112
|
date?: string | null | undefined;
|
|
2592
|
-
|
|
3113
|
+
text?: string;
|
|
3114
|
+
}) | {
|
|
3115
|
+
text: string;
|
|
3116
|
+
}))) | ({
|
|
3117
|
+
__TYPE__: "FileLink";
|
|
3118
|
+
} & ({
|
|
3119
|
+
kind: "file";
|
|
3120
|
+
} & (({
|
|
2593
3121
|
id: string;
|
|
2594
3122
|
url: string;
|
|
2595
3123
|
name: string;
|
|
2596
|
-
kind: string;
|
|
2597
3124
|
size: string;
|
|
2598
3125
|
} & {
|
|
2599
3126
|
date?: string | null | undefined;
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
}) | ({
|
|
3127
|
+
text?: string;
|
|
3128
|
+
}) | {
|
|
3129
|
+
text: string;
|
|
3130
|
+
}))) | ({
|
|
2605
3131
|
__TYPE__: "DocumentLink";
|
|
2606
|
-
} & {
|
|
3132
|
+
} & (({
|
|
2607
3133
|
id: string;
|
|
2608
|
-
}) | ({
|
|
2609
|
-
__TYPE__: "ExternalLink";
|
|
2610
3134
|
} & {
|
|
3135
|
+
kind?: "document";
|
|
3136
|
+
text?: string;
|
|
3137
|
+
}) | {
|
|
3138
|
+
kind: "document";
|
|
3139
|
+
text: string;
|
|
3140
|
+
})) | ({
|
|
3141
|
+
__TYPE__: "ExternalLink";
|
|
3142
|
+
} & (({
|
|
2611
3143
|
url: string;
|
|
2612
3144
|
} & {
|
|
2613
3145
|
kind?: "web";
|
|
@@ -2615,37 +3147,57 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2615
3147
|
preview?: {
|
|
2616
3148
|
title?: string;
|
|
2617
3149
|
} | null | undefined;
|
|
3150
|
+
text?: string;
|
|
3151
|
+
}) | {
|
|
3152
|
+
kind: "web";
|
|
3153
|
+
text: string;
|
|
3154
|
+
})) | ({
|
|
3155
|
+
__TYPE__: "AnyLink";
|
|
3156
|
+
} & {
|
|
3157
|
+
text: string;
|
|
2618
3158
|
}), ({
|
|
2619
3159
|
__TYPE__: "ImageLink";
|
|
2620
|
-
} & {
|
|
3160
|
+
} & ({
|
|
3161
|
+
kind: "image";
|
|
3162
|
+
} & (({
|
|
2621
3163
|
id: string;
|
|
2622
3164
|
url: string;
|
|
2623
3165
|
height: string;
|
|
2624
3166
|
width: string;
|
|
2625
3167
|
size: string;
|
|
2626
3168
|
name: string;
|
|
2627
|
-
kind: string;
|
|
2628
3169
|
} & {
|
|
2629
3170
|
date?: string | null | undefined;
|
|
2630
|
-
|
|
3171
|
+
text?: string;
|
|
3172
|
+
}) | {
|
|
3173
|
+
text: string;
|
|
3174
|
+
}))) | ({
|
|
3175
|
+
__TYPE__: "FileLink";
|
|
3176
|
+
} & ({
|
|
3177
|
+
kind: "file";
|
|
3178
|
+
} & (({
|
|
2631
3179
|
id: string;
|
|
2632
3180
|
url: string;
|
|
2633
3181
|
name: string;
|
|
2634
|
-
kind: string;
|
|
2635
3182
|
size: string;
|
|
2636
3183
|
} & {
|
|
2637
3184
|
date?: string | null | undefined;
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
}) | ({
|
|
3185
|
+
text?: string;
|
|
3186
|
+
}) | {
|
|
3187
|
+
text: string;
|
|
3188
|
+
}))) | ({
|
|
2643
3189
|
__TYPE__: "DocumentLink";
|
|
2644
|
-
} & {
|
|
3190
|
+
} & (({
|
|
2645
3191
|
id: string;
|
|
2646
|
-
}) | ({
|
|
2647
|
-
__TYPE__: "ExternalLink";
|
|
2648
3192
|
} & {
|
|
3193
|
+
kind?: "document";
|
|
3194
|
+
text?: string;
|
|
3195
|
+
}) | {
|
|
3196
|
+
kind: "document";
|
|
3197
|
+
text: string;
|
|
3198
|
+
})) | ({
|
|
3199
|
+
__TYPE__: "ExternalLink";
|
|
3200
|
+
} & (({
|
|
2649
3201
|
url: string;
|
|
2650
3202
|
} & {
|
|
2651
3203
|
kind?: "web";
|
|
@@ -2653,6 +3205,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2653
3205
|
preview?: {
|
|
2654
3206
|
title?: string;
|
|
2655
3207
|
} | null | undefined;
|
|
3208
|
+
text?: string;
|
|
3209
|
+
}) | {
|
|
3210
|
+
kind: "web";
|
|
3211
|
+
text: string;
|
|
3212
|
+
})) | ({
|
|
3213
|
+
__TYPE__: "AnyLink";
|
|
3214
|
+
} & {
|
|
3215
|
+
text: string;
|
|
2656
3216
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
2657
3217
|
}>]>;
|
|
2658
3218
|
}>, t.PartialC<{
|
|
@@ -2690,35 +3250,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2690
3250
|
spans: t.Type<({
|
|
2691
3251
|
data: ({
|
|
2692
3252
|
__TYPE__: "ImageLink";
|
|
2693
|
-
} & {
|
|
3253
|
+
} & ({
|
|
3254
|
+
kind: "image";
|
|
3255
|
+
} & (({
|
|
2694
3256
|
id: string;
|
|
2695
3257
|
url: string;
|
|
2696
3258
|
height: string;
|
|
2697
3259
|
width: string;
|
|
2698
3260
|
size: string;
|
|
2699
3261
|
name: string;
|
|
2700
|
-
kind: string;
|
|
2701
3262
|
} & {
|
|
2702
3263
|
date?: string | null | undefined;
|
|
2703
|
-
|
|
3264
|
+
text?: string;
|
|
3265
|
+
}) | {
|
|
3266
|
+
text: string;
|
|
3267
|
+
}))) | ({
|
|
3268
|
+
__TYPE__: "FileLink";
|
|
3269
|
+
} & ({
|
|
3270
|
+
kind: "file";
|
|
3271
|
+
} & (({
|
|
2704
3272
|
id: string;
|
|
2705
3273
|
url: string;
|
|
2706
3274
|
name: string;
|
|
2707
|
-
kind: string;
|
|
2708
3275
|
size: string;
|
|
2709
3276
|
} & {
|
|
2710
3277
|
date?: string | null | undefined;
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
}) | ({
|
|
3278
|
+
text?: string;
|
|
3279
|
+
}) | {
|
|
3280
|
+
text: string;
|
|
3281
|
+
}))) | ({
|
|
2716
3282
|
__TYPE__: "DocumentLink";
|
|
2717
|
-
} & {
|
|
3283
|
+
} & (({
|
|
2718
3284
|
id: string;
|
|
2719
|
-
}) | ({
|
|
2720
|
-
__TYPE__: "ExternalLink";
|
|
2721
3285
|
} & {
|
|
3286
|
+
kind?: "document";
|
|
3287
|
+
text?: string;
|
|
3288
|
+
}) | {
|
|
3289
|
+
kind: "document";
|
|
3290
|
+
text: string;
|
|
3291
|
+
})) | ({
|
|
3292
|
+
__TYPE__: "ExternalLink";
|
|
3293
|
+
} & (({
|
|
2722
3294
|
url: string;
|
|
2723
3295
|
} & {
|
|
2724
3296
|
kind?: "web";
|
|
@@ -2726,6 +3298,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2726
3298
|
preview?: {
|
|
2727
3299
|
title?: string;
|
|
2728
3300
|
} | null | undefined;
|
|
3301
|
+
text?: string;
|
|
3302
|
+
}) | {
|
|
3303
|
+
kind: "web";
|
|
3304
|
+
text: string;
|
|
3305
|
+
})) | ({
|
|
3306
|
+
__TYPE__: "AnyLink";
|
|
3307
|
+
} & {
|
|
3308
|
+
text: string;
|
|
2729
3309
|
});
|
|
2730
3310
|
start: number;
|
|
2731
3311
|
end: number;
|
|
@@ -2742,35 +3322,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2742
3322
|
})[], ({
|
|
2743
3323
|
data: ({
|
|
2744
3324
|
__TYPE__: "ImageLink";
|
|
2745
|
-
} & {
|
|
3325
|
+
} & ({
|
|
3326
|
+
kind: "image";
|
|
3327
|
+
} & (({
|
|
2746
3328
|
id: string;
|
|
2747
3329
|
url: string;
|
|
2748
3330
|
height: string;
|
|
2749
3331
|
width: string;
|
|
2750
3332
|
size: string;
|
|
2751
3333
|
name: string;
|
|
2752
|
-
kind: string;
|
|
2753
3334
|
} & {
|
|
2754
3335
|
date?: string | null | undefined;
|
|
2755
|
-
|
|
3336
|
+
text?: string;
|
|
3337
|
+
}) | {
|
|
3338
|
+
text: string;
|
|
3339
|
+
}))) | ({
|
|
3340
|
+
__TYPE__: "FileLink";
|
|
3341
|
+
} & ({
|
|
3342
|
+
kind: "file";
|
|
3343
|
+
} & (({
|
|
2756
3344
|
id: string;
|
|
2757
3345
|
url: string;
|
|
2758
3346
|
name: string;
|
|
2759
|
-
kind: string;
|
|
2760
3347
|
size: string;
|
|
2761
3348
|
} & {
|
|
2762
3349
|
date?: string | null | undefined;
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
}) | ({
|
|
3350
|
+
text?: string;
|
|
3351
|
+
}) | {
|
|
3352
|
+
text: string;
|
|
3353
|
+
}))) | ({
|
|
2768
3354
|
__TYPE__: "DocumentLink";
|
|
2769
|
-
} & {
|
|
3355
|
+
} & (({
|
|
2770
3356
|
id: string;
|
|
2771
|
-
}) | ({
|
|
2772
|
-
__TYPE__: "ExternalLink";
|
|
2773
3357
|
} & {
|
|
3358
|
+
kind?: "document";
|
|
3359
|
+
text?: string;
|
|
3360
|
+
}) | {
|
|
3361
|
+
kind: "document";
|
|
3362
|
+
text: string;
|
|
3363
|
+
})) | ({
|
|
3364
|
+
__TYPE__: "ExternalLink";
|
|
3365
|
+
} & (({
|
|
2774
3366
|
url: string;
|
|
2775
3367
|
} & {
|
|
2776
3368
|
kind?: "web";
|
|
@@ -2778,6 +3370,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2778
3370
|
preview?: {
|
|
2779
3371
|
title?: string;
|
|
2780
3372
|
} | null | undefined;
|
|
3373
|
+
text?: string;
|
|
3374
|
+
}) | {
|
|
3375
|
+
kind: "web";
|
|
3376
|
+
text: string;
|
|
3377
|
+
})) | ({
|
|
3378
|
+
__TYPE__: "AnyLink";
|
|
3379
|
+
} & {
|
|
3380
|
+
text: string;
|
|
2781
3381
|
});
|
|
2782
3382
|
start: number;
|
|
2783
3383
|
end: number;
|
|
@@ -2916,35 +3516,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2916
3516
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2917
3517
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2918
3518
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2919
|
-
}>>, t.
|
|
3519
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3520
|
+
kind: t.LiteralC<"image">;
|
|
3521
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2920
3522
|
id: t.StringC;
|
|
2921
3523
|
url: t.StringC;
|
|
2922
3524
|
height: t.StringC;
|
|
2923
3525
|
width: t.StringC;
|
|
2924
3526
|
size: t.StringC;
|
|
2925
3527
|
name: t.StringC;
|
|
2926
|
-
kind: t.StringC;
|
|
2927
3528
|
}>, t.PartialC<{
|
|
2928
3529
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2929
|
-
|
|
3530
|
+
text: t.StringC;
|
|
3531
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3532
|
+
text: t.StringC;
|
|
3533
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3534
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
3535
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3536
|
+
kind: t.LiteralC<"file">;
|
|
3537
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2930
3538
|
id: t.StringC;
|
|
2931
3539
|
url: t.StringC;
|
|
2932
3540
|
name: t.StringC;
|
|
2933
|
-
kind: t.StringC;
|
|
2934
3541
|
size: t.StringC;
|
|
2935
3542
|
}>, t.PartialC<{
|
|
2936
3543
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3544
|
+
text: t.StringC;
|
|
3545
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3546
|
+
text: t.StringC;
|
|
3547
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2942
3548
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2943
|
-
}>>, t.ExactC<t.TypeC<{
|
|
3549
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2944
3550
|
id: t.Type<string, string, unknown>;
|
|
2945
|
-
}
|
|
3551
|
+
}>, t.PartialC<{
|
|
3552
|
+
kind: t.LiteralC<"document">;
|
|
3553
|
+
text: t.StringC;
|
|
3554
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3555
|
+
kind: t.LiteralC<"document">;
|
|
3556
|
+
text: t.StringC;
|
|
3557
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2946
3558
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2947
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3559
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2948
3560
|
url: t.StringC;
|
|
2949
3561
|
}>, t.PartialC<{
|
|
2950
3562
|
kind: t.LiteralC<"web">;
|
|
@@ -2954,7 +3566,15 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2954
3566
|
}, {
|
|
2955
3567
|
title?: string;
|
|
2956
3568
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2957
|
-
|
|
3569
|
+
text: t.StringC;
|
|
3570
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3571
|
+
kind: t.LiteralC<"web">;
|
|
3572
|
+
text: t.StringC;
|
|
3573
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3574
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
3575
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3576
|
+
text: t.StringC;
|
|
3577
|
+
}>>]>]>;
|
|
2958
3578
|
}>>, t.ExactC<t.TypeC<{
|
|
2959
3579
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
2960
3580
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -2984,35 +3604,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2984
3604
|
}>]>>, t.PartialC<{
|
|
2985
3605
|
linkTo: t.UnionC<[t.Type<({
|
|
2986
3606
|
__TYPE__: "ImageLink";
|
|
2987
|
-
} & {
|
|
3607
|
+
} & ({
|
|
3608
|
+
kind: "image";
|
|
3609
|
+
} & (({
|
|
2988
3610
|
id: string;
|
|
2989
3611
|
url: string;
|
|
2990
3612
|
height: string;
|
|
2991
3613
|
width: string;
|
|
2992
3614
|
size: string;
|
|
2993
3615
|
name: string;
|
|
2994
|
-
kind: string;
|
|
2995
3616
|
} & {
|
|
2996
3617
|
date?: string | null | undefined;
|
|
2997
|
-
|
|
3618
|
+
text?: string;
|
|
3619
|
+
}) | {
|
|
3620
|
+
text: string;
|
|
3621
|
+
}))) | ({
|
|
3622
|
+
__TYPE__: "FileLink";
|
|
3623
|
+
} & ({
|
|
3624
|
+
kind: "file";
|
|
3625
|
+
} & (({
|
|
2998
3626
|
id: string;
|
|
2999
3627
|
url: string;
|
|
3000
3628
|
name: string;
|
|
3001
|
-
kind: string;
|
|
3002
3629
|
size: string;
|
|
3003
3630
|
} & {
|
|
3004
3631
|
date?: string | null | undefined;
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
}) | ({
|
|
3632
|
+
text?: string;
|
|
3633
|
+
}) | {
|
|
3634
|
+
text: string;
|
|
3635
|
+
}))) | ({
|
|
3010
3636
|
__TYPE__: "DocumentLink";
|
|
3011
|
-
} & {
|
|
3637
|
+
} & (({
|
|
3012
3638
|
id: string;
|
|
3013
|
-
}) | ({
|
|
3014
|
-
__TYPE__: "ExternalLink";
|
|
3015
3639
|
} & {
|
|
3640
|
+
kind?: "document";
|
|
3641
|
+
text?: string;
|
|
3642
|
+
}) | {
|
|
3643
|
+
kind: "document";
|
|
3644
|
+
text: string;
|
|
3645
|
+
})) | ({
|
|
3646
|
+
__TYPE__: "ExternalLink";
|
|
3647
|
+
} & (({
|
|
3016
3648
|
url: string;
|
|
3017
3649
|
} & {
|
|
3018
3650
|
kind?: "web";
|
|
@@ -3020,37 +3652,57 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3020
3652
|
preview?: {
|
|
3021
3653
|
title?: string;
|
|
3022
3654
|
} | null | undefined;
|
|
3655
|
+
text?: string;
|
|
3656
|
+
}) | {
|
|
3657
|
+
kind: "web";
|
|
3658
|
+
text: string;
|
|
3659
|
+
})) | ({
|
|
3660
|
+
__TYPE__: "AnyLink";
|
|
3661
|
+
} & {
|
|
3662
|
+
text: string;
|
|
3023
3663
|
}), ({
|
|
3024
3664
|
__TYPE__: "ImageLink";
|
|
3025
|
-
} & {
|
|
3665
|
+
} & ({
|
|
3666
|
+
kind: "image";
|
|
3667
|
+
} & (({
|
|
3026
3668
|
id: string;
|
|
3027
3669
|
url: string;
|
|
3028
3670
|
height: string;
|
|
3029
3671
|
width: string;
|
|
3030
3672
|
size: string;
|
|
3031
3673
|
name: string;
|
|
3032
|
-
kind: string;
|
|
3033
3674
|
} & {
|
|
3034
3675
|
date?: string | null | undefined;
|
|
3035
|
-
|
|
3676
|
+
text?: string;
|
|
3677
|
+
}) | {
|
|
3678
|
+
text: string;
|
|
3679
|
+
}))) | ({
|
|
3680
|
+
__TYPE__: "FileLink";
|
|
3681
|
+
} & ({
|
|
3682
|
+
kind: "file";
|
|
3683
|
+
} & (({
|
|
3036
3684
|
id: string;
|
|
3037
3685
|
url: string;
|
|
3038
3686
|
name: string;
|
|
3039
|
-
kind: string;
|
|
3040
3687
|
size: string;
|
|
3041
3688
|
} & {
|
|
3042
3689
|
date?: string | null | undefined;
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
}) | ({
|
|
3690
|
+
text?: string;
|
|
3691
|
+
}) | {
|
|
3692
|
+
text: string;
|
|
3693
|
+
}))) | ({
|
|
3048
3694
|
__TYPE__: "DocumentLink";
|
|
3049
|
-
} & {
|
|
3695
|
+
} & (({
|
|
3050
3696
|
id: string;
|
|
3051
|
-
}) | ({
|
|
3052
|
-
__TYPE__: "ExternalLink";
|
|
3053
3697
|
} & {
|
|
3698
|
+
kind?: "document";
|
|
3699
|
+
text?: string;
|
|
3700
|
+
}) | {
|
|
3701
|
+
kind: "document";
|
|
3702
|
+
text: string;
|
|
3703
|
+
})) | ({
|
|
3704
|
+
__TYPE__: "ExternalLink";
|
|
3705
|
+
} & (({
|
|
3054
3706
|
url: string;
|
|
3055
3707
|
} & {
|
|
3056
3708
|
kind?: "web";
|
|
@@ -3058,6 +3710,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3058
3710
|
preview?: {
|
|
3059
3711
|
title?: string;
|
|
3060
3712
|
} | null | undefined;
|
|
3713
|
+
text?: string;
|
|
3714
|
+
}) | {
|
|
3715
|
+
kind: "web";
|
|
3716
|
+
text: string;
|
|
3717
|
+
})) | ({
|
|
3718
|
+
__TYPE__: "AnyLink";
|
|
3719
|
+
} & {
|
|
3720
|
+
text: string;
|
|
3061
3721
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
3062
3722
|
}>]>;
|
|
3063
3723
|
}>, t.PartialC<{
|
|
@@ -3095,35 +3755,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3095
3755
|
spans: t.Type<({
|
|
3096
3756
|
data: ({
|
|
3097
3757
|
__TYPE__: "ImageLink";
|
|
3098
|
-
} & {
|
|
3758
|
+
} & ({
|
|
3759
|
+
kind: "image";
|
|
3760
|
+
} & (({
|
|
3099
3761
|
id: string;
|
|
3100
3762
|
url: string;
|
|
3101
3763
|
height: string;
|
|
3102
3764
|
width: string;
|
|
3103
3765
|
size: string;
|
|
3104
3766
|
name: string;
|
|
3105
|
-
kind: string;
|
|
3106
3767
|
} & {
|
|
3107
3768
|
date?: string | null | undefined;
|
|
3108
|
-
|
|
3769
|
+
text?: string;
|
|
3770
|
+
}) | {
|
|
3771
|
+
text: string;
|
|
3772
|
+
}))) | ({
|
|
3773
|
+
__TYPE__: "FileLink";
|
|
3774
|
+
} & ({
|
|
3775
|
+
kind: "file";
|
|
3776
|
+
} & (({
|
|
3109
3777
|
id: string;
|
|
3110
3778
|
url: string;
|
|
3111
3779
|
name: string;
|
|
3112
|
-
kind: string;
|
|
3113
3780
|
size: string;
|
|
3114
3781
|
} & {
|
|
3115
3782
|
date?: string | null | undefined;
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
}) | ({
|
|
3783
|
+
text?: string;
|
|
3784
|
+
}) | {
|
|
3785
|
+
text: string;
|
|
3786
|
+
}))) | ({
|
|
3121
3787
|
__TYPE__: "DocumentLink";
|
|
3122
|
-
} & {
|
|
3788
|
+
} & (({
|
|
3123
3789
|
id: string;
|
|
3124
|
-
}) | ({
|
|
3125
|
-
__TYPE__: "ExternalLink";
|
|
3126
3790
|
} & {
|
|
3791
|
+
kind?: "document";
|
|
3792
|
+
text?: string;
|
|
3793
|
+
}) | {
|
|
3794
|
+
kind: "document";
|
|
3795
|
+
text: string;
|
|
3796
|
+
})) | ({
|
|
3797
|
+
__TYPE__: "ExternalLink";
|
|
3798
|
+
} & (({
|
|
3127
3799
|
url: string;
|
|
3128
3800
|
} & {
|
|
3129
3801
|
kind?: "web";
|
|
@@ -3131,6 +3803,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3131
3803
|
preview?: {
|
|
3132
3804
|
title?: string;
|
|
3133
3805
|
} | null | undefined;
|
|
3806
|
+
text?: string;
|
|
3807
|
+
}) | {
|
|
3808
|
+
kind: "web";
|
|
3809
|
+
text: string;
|
|
3810
|
+
})) | ({
|
|
3811
|
+
__TYPE__: "AnyLink";
|
|
3812
|
+
} & {
|
|
3813
|
+
text: string;
|
|
3134
3814
|
});
|
|
3135
3815
|
start: number;
|
|
3136
3816
|
end: number;
|
|
@@ -3147,35 +3827,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3147
3827
|
})[], ({
|
|
3148
3828
|
data: ({
|
|
3149
3829
|
__TYPE__: "ImageLink";
|
|
3150
|
-
} & {
|
|
3830
|
+
} & ({
|
|
3831
|
+
kind: "image";
|
|
3832
|
+
} & (({
|
|
3151
3833
|
id: string;
|
|
3152
3834
|
url: string;
|
|
3153
3835
|
height: string;
|
|
3154
3836
|
width: string;
|
|
3155
3837
|
size: string;
|
|
3156
3838
|
name: string;
|
|
3157
|
-
kind: string;
|
|
3158
3839
|
} & {
|
|
3159
3840
|
date?: string | null | undefined;
|
|
3160
|
-
|
|
3841
|
+
text?: string;
|
|
3842
|
+
}) | {
|
|
3843
|
+
text: string;
|
|
3844
|
+
}))) | ({
|
|
3845
|
+
__TYPE__: "FileLink";
|
|
3846
|
+
} & ({
|
|
3847
|
+
kind: "file";
|
|
3848
|
+
} & (({
|
|
3161
3849
|
id: string;
|
|
3162
3850
|
url: string;
|
|
3163
3851
|
name: string;
|
|
3164
|
-
kind: string;
|
|
3165
3852
|
size: string;
|
|
3166
3853
|
} & {
|
|
3167
3854
|
date?: string | null | undefined;
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
}) | ({
|
|
3855
|
+
text?: string;
|
|
3856
|
+
}) | {
|
|
3857
|
+
text: string;
|
|
3858
|
+
}))) | ({
|
|
3173
3859
|
__TYPE__: "DocumentLink";
|
|
3174
|
-
} & {
|
|
3860
|
+
} & (({
|
|
3175
3861
|
id: string;
|
|
3176
|
-
}) | ({
|
|
3177
|
-
__TYPE__: "ExternalLink";
|
|
3178
3862
|
} & {
|
|
3863
|
+
kind?: "document";
|
|
3864
|
+
text?: string;
|
|
3865
|
+
}) | {
|
|
3866
|
+
kind: "document";
|
|
3867
|
+
text: string;
|
|
3868
|
+
})) | ({
|
|
3869
|
+
__TYPE__: "ExternalLink";
|
|
3870
|
+
} & (({
|
|
3179
3871
|
url: string;
|
|
3180
3872
|
} & {
|
|
3181
3873
|
kind?: "web";
|
|
@@ -3183,6 +3875,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3183
3875
|
preview?: {
|
|
3184
3876
|
title?: string;
|
|
3185
3877
|
} | null | undefined;
|
|
3878
|
+
text?: string;
|
|
3879
|
+
}) | {
|
|
3880
|
+
kind: "web";
|
|
3881
|
+
text: string;
|
|
3882
|
+
})) | ({
|
|
3883
|
+
__TYPE__: "AnyLink";
|
|
3884
|
+
} & {
|
|
3885
|
+
text: string;
|
|
3186
3886
|
});
|
|
3187
3887
|
start: number;
|
|
3188
3888
|
end: number;
|
|
@@ -3320,35 +4020,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3320
4020
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
3321
4021
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3322
4022
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
3323
|
-
}>>, t.
|
|
4023
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4024
|
+
kind: t.LiteralC<"image">;
|
|
4025
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3324
4026
|
id: t.StringC;
|
|
3325
4027
|
url: t.StringC;
|
|
3326
4028
|
height: t.StringC;
|
|
3327
4029
|
width: t.StringC;
|
|
3328
4030
|
size: t.StringC;
|
|
3329
4031
|
name: t.StringC;
|
|
3330
|
-
kind: t.StringC;
|
|
3331
4032
|
}>, t.PartialC<{
|
|
3332
4033
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3333
|
-
|
|
4034
|
+
text: t.StringC;
|
|
4035
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
4036
|
+
text: t.StringC;
|
|
4037
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4038
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
4039
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4040
|
+
kind: t.LiteralC<"file">;
|
|
4041
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3334
4042
|
id: t.StringC;
|
|
3335
4043
|
url: t.StringC;
|
|
3336
4044
|
name: t.StringC;
|
|
3337
|
-
kind: t.StringC;
|
|
3338
4045
|
size: t.StringC;
|
|
3339
4046
|
}>, t.PartialC<{
|
|
3340
4047
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4048
|
+
text: t.StringC;
|
|
4049
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
4050
|
+
text: t.StringC;
|
|
4051
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3346
4052
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
3347
|
-
}>>, t.ExactC<t.TypeC<{
|
|
4053
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3348
4054
|
id: t.Type<string, string, unknown>;
|
|
3349
|
-
}
|
|
4055
|
+
}>, t.PartialC<{
|
|
4056
|
+
kind: t.LiteralC<"document">;
|
|
4057
|
+
text: t.StringC;
|
|
4058
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
4059
|
+
kind: t.LiteralC<"document">;
|
|
4060
|
+
text: t.StringC;
|
|
4061
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3350
4062
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
3351
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4063
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3352
4064
|
url: t.StringC;
|
|
3353
4065
|
}>, t.PartialC<{
|
|
3354
4066
|
kind: t.LiteralC<"web">;
|
|
@@ -3358,7 +4070,15 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3358
4070
|
}, {
|
|
3359
4071
|
title?: string;
|
|
3360
4072
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
3361
|
-
|
|
4073
|
+
text: t.StringC;
|
|
4074
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
4075
|
+
kind: t.LiteralC<"web">;
|
|
4076
|
+
text: t.StringC;
|
|
4077
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4078
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
4079
|
+
}>>, t.ExactC<t.TypeC<{
|
|
4080
|
+
text: t.StringC;
|
|
4081
|
+
}>>]>]>;
|
|
3362
4082
|
}>>, t.ExactC<t.TypeC<{
|
|
3363
4083
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
3364
4084
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -3388,35 +4108,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3388
4108
|
}>]>>, t.PartialC<{
|
|
3389
4109
|
linkTo: t.UnionC<[t.Type<({
|
|
3390
4110
|
__TYPE__: "ImageLink";
|
|
3391
|
-
} & {
|
|
4111
|
+
} & ({
|
|
4112
|
+
kind: "image";
|
|
4113
|
+
} & (({
|
|
3392
4114
|
id: string;
|
|
3393
4115
|
url: string;
|
|
3394
4116
|
height: string;
|
|
3395
4117
|
width: string;
|
|
3396
4118
|
size: string;
|
|
3397
4119
|
name: string;
|
|
3398
|
-
kind: string;
|
|
3399
4120
|
} & {
|
|
3400
4121
|
date?: string | null | undefined;
|
|
3401
|
-
|
|
4122
|
+
text?: string;
|
|
4123
|
+
}) | {
|
|
4124
|
+
text: string;
|
|
4125
|
+
}))) | ({
|
|
4126
|
+
__TYPE__: "FileLink";
|
|
4127
|
+
} & ({
|
|
4128
|
+
kind: "file";
|
|
4129
|
+
} & (({
|
|
3402
4130
|
id: string;
|
|
3403
4131
|
url: string;
|
|
3404
4132
|
name: string;
|
|
3405
|
-
kind: string;
|
|
3406
4133
|
size: string;
|
|
3407
4134
|
} & {
|
|
3408
4135
|
date?: string | null | undefined;
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
}) | ({
|
|
4136
|
+
text?: string;
|
|
4137
|
+
}) | {
|
|
4138
|
+
text: string;
|
|
4139
|
+
}))) | ({
|
|
3414
4140
|
__TYPE__: "DocumentLink";
|
|
3415
|
-
} & {
|
|
4141
|
+
} & (({
|
|
3416
4142
|
id: string;
|
|
3417
|
-
}) | ({
|
|
3418
|
-
__TYPE__: "ExternalLink";
|
|
3419
4143
|
} & {
|
|
4144
|
+
kind?: "document";
|
|
4145
|
+
text?: string;
|
|
4146
|
+
}) | {
|
|
4147
|
+
kind: "document";
|
|
4148
|
+
text: string;
|
|
4149
|
+
})) | ({
|
|
4150
|
+
__TYPE__: "ExternalLink";
|
|
4151
|
+
} & (({
|
|
3420
4152
|
url: string;
|
|
3421
4153
|
} & {
|
|
3422
4154
|
kind?: "web";
|
|
@@ -3424,37 +4156,57 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3424
4156
|
preview?: {
|
|
3425
4157
|
title?: string;
|
|
3426
4158
|
} | null | undefined;
|
|
4159
|
+
text?: string;
|
|
4160
|
+
}) | {
|
|
4161
|
+
kind: "web";
|
|
4162
|
+
text: string;
|
|
4163
|
+
})) | ({
|
|
4164
|
+
__TYPE__: "AnyLink";
|
|
4165
|
+
} & {
|
|
4166
|
+
text: string;
|
|
3427
4167
|
}), ({
|
|
3428
4168
|
__TYPE__: "ImageLink";
|
|
3429
|
-
} & {
|
|
4169
|
+
} & ({
|
|
4170
|
+
kind: "image";
|
|
4171
|
+
} & (({
|
|
3430
4172
|
id: string;
|
|
3431
4173
|
url: string;
|
|
3432
4174
|
height: string;
|
|
3433
4175
|
width: string;
|
|
3434
4176
|
size: string;
|
|
3435
4177
|
name: string;
|
|
3436
|
-
kind: string;
|
|
3437
4178
|
} & {
|
|
3438
4179
|
date?: string | null | undefined;
|
|
3439
|
-
|
|
4180
|
+
text?: string;
|
|
4181
|
+
}) | {
|
|
4182
|
+
text: string;
|
|
4183
|
+
}))) | ({
|
|
4184
|
+
__TYPE__: "FileLink";
|
|
4185
|
+
} & ({
|
|
4186
|
+
kind: "file";
|
|
4187
|
+
} & (({
|
|
3440
4188
|
id: string;
|
|
3441
4189
|
url: string;
|
|
3442
4190
|
name: string;
|
|
3443
|
-
kind: string;
|
|
3444
4191
|
size: string;
|
|
3445
4192
|
} & {
|
|
3446
4193
|
date?: string | null | undefined;
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
}) | ({
|
|
4194
|
+
text?: string;
|
|
4195
|
+
}) | {
|
|
4196
|
+
text: string;
|
|
4197
|
+
}))) | ({
|
|
3452
4198
|
__TYPE__: "DocumentLink";
|
|
3453
|
-
} & {
|
|
4199
|
+
} & (({
|
|
3454
4200
|
id: string;
|
|
3455
|
-
}) | ({
|
|
3456
|
-
__TYPE__: "ExternalLink";
|
|
3457
4201
|
} & {
|
|
4202
|
+
kind?: "document";
|
|
4203
|
+
text?: string;
|
|
4204
|
+
}) | {
|
|
4205
|
+
kind: "document";
|
|
4206
|
+
text: string;
|
|
4207
|
+
})) | ({
|
|
4208
|
+
__TYPE__: "ExternalLink";
|
|
4209
|
+
} & (({
|
|
3458
4210
|
url: string;
|
|
3459
4211
|
} & {
|
|
3460
4212
|
kind?: "web";
|
|
@@ -3462,6 +4214,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3462
4214
|
preview?: {
|
|
3463
4215
|
title?: string;
|
|
3464
4216
|
} | null | undefined;
|
|
4217
|
+
text?: string;
|
|
4218
|
+
}) | {
|
|
4219
|
+
kind: "web";
|
|
4220
|
+
text: string;
|
|
4221
|
+
})) | ({
|
|
4222
|
+
__TYPE__: "AnyLink";
|
|
4223
|
+
} & {
|
|
4224
|
+
text: string;
|
|
3465
4225
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
3466
4226
|
}>]>;
|
|
3467
4227
|
}>, t.PartialC<{
|
|
@@ -3499,35 +4259,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3499
4259
|
spans: t.Type<({
|
|
3500
4260
|
data: ({
|
|
3501
4261
|
__TYPE__: "ImageLink";
|
|
3502
|
-
} & {
|
|
4262
|
+
} & ({
|
|
4263
|
+
kind: "image";
|
|
4264
|
+
} & (({
|
|
3503
4265
|
id: string;
|
|
3504
4266
|
url: string;
|
|
3505
4267
|
height: string;
|
|
3506
4268
|
width: string;
|
|
3507
4269
|
size: string;
|
|
3508
4270
|
name: string;
|
|
3509
|
-
kind: string;
|
|
3510
4271
|
} & {
|
|
3511
4272
|
date?: string | null | undefined;
|
|
3512
|
-
|
|
4273
|
+
text?: string;
|
|
4274
|
+
}) | {
|
|
4275
|
+
text: string;
|
|
4276
|
+
}))) | ({
|
|
4277
|
+
__TYPE__: "FileLink";
|
|
4278
|
+
} & ({
|
|
4279
|
+
kind: "file";
|
|
4280
|
+
} & (({
|
|
3513
4281
|
id: string;
|
|
3514
4282
|
url: string;
|
|
3515
4283
|
name: string;
|
|
3516
|
-
kind: string;
|
|
3517
4284
|
size: string;
|
|
3518
4285
|
} & {
|
|
3519
4286
|
date?: string | null | undefined;
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
}) | ({
|
|
4287
|
+
text?: string;
|
|
4288
|
+
}) | {
|
|
4289
|
+
text: string;
|
|
4290
|
+
}))) | ({
|
|
3525
4291
|
__TYPE__: "DocumentLink";
|
|
3526
|
-
} & {
|
|
4292
|
+
} & (({
|
|
3527
4293
|
id: string;
|
|
3528
|
-
}) | ({
|
|
3529
|
-
__TYPE__: "ExternalLink";
|
|
3530
4294
|
} & {
|
|
4295
|
+
kind?: "document";
|
|
4296
|
+
text?: string;
|
|
4297
|
+
}) | {
|
|
4298
|
+
kind: "document";
|
|
4299
|
+
text: string;
|
|
4300
|
+
})) | ({
|
|
4301
|
+
__TYPE__: "ExternalLink";
|
|
4302
|
+
} & (({
|
|
3531
4303
|
url: string;
|
|
3532
4304
|
} & {
|
|
3533
4305
|
kind?: "web";
|
|
@@ -3535,6 +4307,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3535
4307
|
preview?: {
|
|
3536
4308
|
title?: string;
|
|
3537
4309
|
} | null | undefined;
|
|
4310
|
+
text?: string;
|
|
4311
|
+
}) | {
|
|
4312
|
+
kind: "web";
|
|
4313
|
+
text: string;
|
|
4314
|
+
})) | ({
|
|
4315
|
+
__TYPE__: "AnyLink";
|
|
4316
|
+
} & {
|
|
4317
|
+
text: string;
|
|
3538
4318
|
});
|
|
3539
4319
|
start: number;
|
|
3540
4320
|
end: number;
|
|
@@ -3551,35 +4331,47 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3551
4331
|
})[], ({
|
|
3552
4332
|
data: ({
|
|
3553
4333
|
__TYPE__: "ImageLink";
|
|
3554
|
-
} & {
|
|
4334
|
+
} & ({
|
|
4335
|
+
kind: "image";
|
|
4336
|
+
} & (({
|
|
3555
4337
|
id: string;
|
|
3556
4338
|
url: string;
|
|
3557
4339
|
height: string;
|
|
3558
4340
|
width: string;
|
|
3559
4341
|
size: string;
|
|
3560
4342
|
name: string;
|
|
3561
|
-
kind: string;
|
|
3562
4343
|
} & {
|
|
3563
4344
|
date?: string | null | undefined;
|
|
3564
|
-
|
|
4345
|
+
text?: string;
|
|
4346
|
+
}) | {
|
|
4347
|
+
text: string;
|
|
4348
|
+
}))) | ({
|
|
4349
|
+
__TYPE__: "FileLink";
|
|
4350
|
+
} & ({
|
|
4351
|
+
kind: "file";
|
|
4352
|
+
} & (({
|
|
3565
4353
|
id: string;
|
|
3566
4354
|
url: string;
|
|
3567
4355
|
name: string;
|
|
3568
|
-
kind: string;
|
|
3569
4356
|
size: string;
|
|
3570
4357
|
} & {
|
|
3571
4358
|
date?: string | null | undefined;
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
}) | ({
|
|
4359
|
+
text?: string;
|
|
4360
|
+
}) | {
|
|
4361
|
+
text: string;
|
|
4362
|
+
}))) | ({
|
|
3577
4363
|
__TYPE__: "DocumentLink";
|
|
3578
|
-
} & {
|
|
4364
|
+
} & (({
|
|
3579
4365
|
id: string;
|
|
3580
|
-
}) | ({
|
|
3581
|
-
__TYPE__: "ExternalLink";
|
|
3582
4366
|
} & {
|
|
4367
|
+
kind?: "document";
|
|
4368
|
+
text?: string;
|
|
4369
|
+
}) | {
|
|
4370
|
+
kind: "document";
|
|
4371
|
+
text: string;
|
|
4372
|
+
})) | ({
|
|
4373
|
+
__TYPE__: "ExternalLink";
|
|
4374
|
+
} & (({
|
|
3583
4375
|
url: string;
|
|
3584
4376
|
} & {
|
|
3585
4377
|
kind?: "web";
|
|
@@ -3587,6 +4379,14 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3587
4379
|
preview?: {
|
|
3588
4380
|
title?: string;
|
|
3589
4381
|
} | null | undefined;
|
|
4382
|
+
text?: string;
|
|
4383
|
+
}) | {
|
|
4384
|
+
kind: "web";
|
|
4385
|
+
text: string;
|
|
4386
|
+
})) | ({
|
|
4387
|
+
__TYPE__: "AnyLink";
|
|
4388
|
+
} & {
|
|
4389
|
+
text: string;
|
|
3590
4390
|
});
|
|
3591
4391
|
start: number;
|
|
3592
4392
|
end: number;
|