@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
|
@@ -123,35 +123,47 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
123
123
|
__TYPE__: "LinkContent";
|
|
124
124
|
value: ({
|
|
125
125
|
__TYPE__: "ImageLink";
|
|
126
|
-
} & {
|
|
126
|
+
} & ({
|
|
127
|
+
kind: "image";
|
|
128
|
+
} & (({
|
|
127
129
|
id: string;
|
|
128
130
|
url: string;
|
|
129
131
|
height: string;
|
|
130
132
|
width: string;
|
|
131
133
|
size: string;
|
|
132
134
|
name: string;
|
|
133
|
-
kind: string;
|
|
134
135
|
} & {
|
|
135
136
|
date?: string | null | undefined;
|
|
136
|
-
|
|
137
|
+
text?: string;
|
|
138
|
+
}) | {
|
|
139
|
+
text: string;
|
|
140
|
+
}))) | ({
|
|
141
|
+
__TYPE__: "FileLink";
|
|
142
|
+
} & ({
|
|
143
|
+
kind: "file";
|
|
144
|
+
} & (({
|
|
137
145
|
id: string;
|
|
138
146
|
url: string;
|
|
139
147
|
name: string;
|
|
140
|
-
kind: string;
|
|
141
148
|
size: string;
|
|
142
149
|
} & {
|
|
143
150
|
date?: string | null | undefined;
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}) | ({
|
|
151
|
+
text?: string;
|
|
152
|
+
}) | {
|
|
153
|
+
text: string;
|
|
154
|
+
}))) | ({
|
|
149
155
|
__TYPE__: "DocumentLink";
|
|
150
|
-
} & {
|
|
156
|
+
} & (({
|
|
151
157
|
id: string;
|
|
152
|
-
}) | ({
|
|
153
|
-
__TYPE__: "ExternalLink";
|
|
154
158
|
} & {
|
|
159
|
+
kind?: "document";
|
|
160
|
+
text?: string;
|
|
161
|
+
}) | {
|
|
162
|
+
kind: "document";
|
|
163
|
+
text: string;
|
|
164
|
+
})) | ({
|
|
165
|
+
__TYPE__: "ExternalLink";
|
|
166
|
+
} & (({
|
|
155
167
|
url: string;
|
|
156
168
|
} & {
|
|
157
169
|
kind?: "web";
|
|
@@ -159,6 +171,14 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
159
171
|
preview?: {
|
|
160
172
|
title?: string;
|
|
161
173
|
} | null | undefined;
|
|
174
|
+
text?: string;
|
|
175
|
+
}) | {
|
|
176
|
+
kind: "web";
|
|
177
|
+
text: string;
|
|
178
|
+
})) | ({
|
|
179
|
+
__TYPE__: "AnyLink";
|
|
180
|
+
} & {
|
|
181
|
+
text: string;
|
|
162
182
|
});
|
|
163
183
|
} | {
|
|
164
184
|
__TYPE__: "StructuredTextContent";
|
|
@@ -189,35 +209,47 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
189
209
|
} & {
|
|
190
210
|
linkTo?: ({
|
|
191
211
|
__TYPE__: "ImageLink";
|
|
192
|
-
} & {
|
|
212
|
+
} & ({
|
|
213
|
+
kind: "image";
|
|
214
|
+
} & (({
|
|
193
215
|
id: string;
|
|
194
216
|
url: string;
|
|
195
217
|
height: string;
|
|
196
218
|
width: string;
|
|
197
219
|
size: string;
|
|
198
220
|
name: string;
|
|
199
|
-
kind: string;
|
|
200
221
|
} & {
|
|
201
222
|
date?: string | null | undefined;
|
|
202
|
-
|
|
223
|
+
text?: string;
|
|
224
|
+
}) | {
|
|
225
|
+
text: string;
|
|
226
|
+
}))) | ({
|
|
227
|
+
__TYPE__: "FileLink";
|
|
228
|
+
} & ({
|
|
229
|
+
kind: "file";
|
|
230
|
+
} & (({
|
|
203
231
|
id: string;
|
|
204
232
|
url: string;
|
|
205
233
|
name: string;
|
|
206
|
-
kind: string;
|
|
207
234
|
size: string;
|
|
208
235
|
} & {
|
|
209
236
|
date?: string | null | undefined;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
}) | ({
|
|
237
|
+
text?: string;
|
|
238
|
+
}) | {
|
|
239
|
+
text: string;
|
|
240
|
+
}))) | ({
|
|
215
241
|
__TYPE__: "DocumentLink";
|
|
216
|
-
} & {
|
|
242
|
+
} & (({
|
|
217
243
|
id: string;
|
|
218
|
-
}) | ({
|
|
219
|
-
__TYPE__: "ExternalLink";
|
|
220
244
|
} & {
|
|
245
|
+
kind?: "document";
|
|
246
|
+
text?: string;
|
|
247
|
+
}) | {
|
|
248
|
+
kind: "document";
|
|
249
|
+
text: string;
|
|
250
|
+
})) | ({
|
|
251
|
+
__TYPE__: "ExternalLink";
|
|
252
|
+
} & (({
|
|
221
253
|
url: string;
|
|
222
254
|
} & {
|
|
223
255
|
kind?: "web";
|
|
@@ -225,6 +257,14 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
225
257
|
preview?: {
|
|
226
258
|
title?: string;
|
|
227
259
|
} | null | undefined;
|
|
260
|
+
text?: string;
|
|
261
|
+
}) | {
|
|
262
|
+
kind: "web";
|
|
263
|
+
text: string;
|
|
264
|
+
})) | ({
|
|
265
|
+
__TYPE__: "AnyLink";
|
|
266
|
+
} & {
|
|
267
|
+
text: string;
|
|
228
268
|
}) | null | undefined;
|
|
229
269
|
};
|
|
230
270
|
} & {
|
|
@@ -262,35 +302,47 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
262
302
|
spans?: ({
|
|
263
303
|
data: ({
|
|
264
304
|
__TYPE__: "ImageLink";
|
|
265
|
-
} & {
|
|
305
|
+
} & ({
|
|
306
|
+
kind: "image";
|
|
307
|
+
} & (({
|
|
266
308
|
id: string;
|
|
267
309
|
url: string;
|
|
268
310
|
height: string;
|
|
269
311
|
width: string;
|
|
270
312
|
size: string;
|
|
271
313
|
name: string;
|
|
272
|
-
kind: string;
|
|
273
314
|
} & {
|
|
274
315
|
date?: string | null | undefined;
|
|
275
|
-
|
|
316
|
+
text?: string;
|
|
317
|
+
}) | {
|
|
318
|
+
text: string;
|
|
319
|
+
}))) | ({
|
|
320
|
+
__TYPE__: "FileLink";
|
|
321
|
+
} & ({
|
|
322
|
+
kind: "file";
|
|
323
|
+
} & (({
|
|
276
324
|
id: string;
|
|
277
325
|
url: string;
|
|
278
326
|
name: string;
|
|
279
|
-
kind: string;
|
|
280
327
|
size: string;
|
|
281
328
|
} & {
|
|
282
329
|
date?: string | null | undefined;
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
}) | ({
|
|
330
|
+
text?: string;
|
|
331
|
+
}) | {
|
|
332
|
+
text: string;
|
|
333
|
+
}))) | ({
|
|
288
334
|
__TYPE__: "DocumentLink";
|
|
289
|
-
} & {
|
|
335
|
+
} & (({
|
|
290
336
|
id: string;
|
|
291
|
-
}) | ({
|
|
292
|
-
__TYPE__: "ExternalLink";
|
|
293
337
|
} & {
|
|
338
|
+
kind?: "document";
|
|
339
|
+
text?: string;
|
|
340
|
+
}) | {
|
|
341
|
+
kind: "document";
|
|
342
|
+
text: string;
|
|
343
|
+
})) | ({
|
|
344
|
+
__TYPE__: "ExternalLink";
|
|
345
|
+
} & (({
|
|
294
346
|
url: string;
|
|
295
347
|
} & {
|
|
296
348
|
kind?: "web";
|
|
@@ -298,6 +350,14 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
298
350
|
preview?: {
|
|
299
351
|
title?: string;
|
|
300
352
|
} | null | undefined;
|
|
353
|
+
text?: string;
|
|
354
|
+
}) | {
|
|
355
|
+
kind: "web";
|
|
356
|
+
text: string;
|
|
357
|
+
})) | ({
|
|
358
|
+
__TYPE__: "AnyLink";
|
|
359
|
+
} & {
|
|
360
|
+
text: string;
|
|
301
361
|
});
|
|
302
362
|
start: number;
|
|
303
363
|
end: number;
|
|
@@ -439,35 +499,47 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
439
499
|
__TYPE__: "LinkContent";
|
|
440
500
|
value: ({
|
|
441
501
|
__TYPE__: "ImageLink";
|
|
442
|
-
} & {
|
|
502
|
+
} & ({
|
|
503
|
+
kind: "image";
|
|
504
|
+
} & (({
|
|
443
505
|
id: string;
|
|
444
506
|
url: string;
|
|
445
507
|
height: string;
|
|
446
508
|
width: string;
|
|
447
509
|
size: string;
|
|
448
510
|
name: string;
|
|
449
|
-
kind: string;
|
|
450
511
|
} & {
|
|
451
512
|
date?: string | null | undefined;
|
|
452
|
-
|
|
513
|
+
text?: string;
|
|
514
|
+
}) | {
|
|
515
|
+
text: string;
|
|
516
|
+
}))) | ({
|
|
517
|
+
__TYPE__: "FileLink";
|
|
518
|
+
} & ({
|
|
519
|
+
kind: "file";
|
|
520
|
+
} & (({
|
|
453
521
|
id: string;
|
|
454
522
|
url: string;
|
|
455
523
|
name: string;
|
|
456
|
-
kind: string;
|
|
457
524
|
size: string;
|
|
458
525
|
} & {
|
|
459
526
|
date?: string | null | undefined;
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
}) | ({
|
|
527
|
+
text?: string;
|
|
528
|
+
}) | {
|
|
529
|
+
text: string;
|
|
530
|
+
}))) | ({
|
|
465
531
|
__TYPE__: "DocumentLink";
|
|
466
|
-
} & {
|
|
532
|
+
} & (({
|
|
467
533
|
id: string;
|
|
468
|
-
}) | ({
|
|
469
|
-
__TYPE__: "ExternalLink";
|
|
470
534
|
} & {
|
|
535
|
+
kind?: "document";
|
|
536
|
+
text?: string;
|
|
537
|
+
}) | {
|
|
538
|
+
kind: "document";
|
|
539
|
+
text: string;
|
|
540
|
+
})) | ({
|
|
541
|
+
__TYPE__: "ExternalLink";
|
|
542
|
+
} & (({
|
|
471
543
|
url: string;
|
|
472
544
|
} & {
|
|
473
545
|
kind?: "web";
|
|
@@ -475,6 +547,14 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
475
547
|
preview?: {
|
|
476
548
|
title?: string;
|
|
477
549
|
} | null | undefined;
|
|
550
|
+
text?: string;
|
|
551
|
+
}) | {
|
|
552
|
+
kind: "web";
|
|
553
|
+
text: string;
|
|
554
|
+
})) | ({
|
|
555
|
+
__TYPE__: "AnyLink";
|
|
556
|
+
} & {
|
|
557
|
+
text: string;
|
|
478
558
|
});
|
|
479
559
|
} | {
|
|
480
560
|
__TYPE__: "StructuredTextContent";
|
|
@@ -505,35 +585,47 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
505
585
|
} & {
|
|
506
586
|
linkTo?: ({
|
|
507
587
|
__TYPE__: "ImageLink";
|
|
508
|
-
} & {
|
|
588
|
+
} & ({
|
|
589
|
+
kind: "image";
|
|
590
|
+
} & (({
|
|
509
591
|
id: string;
|
|
510
592
|
url: string;
|
|
511
593
|
height: string;
|
|
512
594
|
width: string;
|
|
513
595
|
size: string;
|
|
514
596
|
name: string;
|
|
515
|
-
kind: string;
|
|
516
597
|
} & {
|
|
517
598
|
date?: string | null | undefined;
|
|
518
|
-
|
|
599
|
+
text?: string;
|
|
600
|
+
}) | {
|
|
601
|
+
text: string;
|
|
602
|
+
}))) | ({
|
|
603
|
+
__TYPE__: "FileLink";
|
|
604
|
+
} & ({
|
|
605
|
+
kind: "file";
|
|
606
|
+
} & (({
|
|
519
607
|
id: string;
|
|
520
608
|
url: string;
|
|
521
609
|
name: string;
|
|
522
|
-
kind: string;
|
|
523
610
|
size: string;
|
|
524
611
|
} & {
|
|
525
612
|
date?: string | null | undefined;
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
}) | ({
|
|
613
|
+
text?: string;
|
|
614
|
+
}) | {
|
|
615
|
+
text: string;
|
|
616
|
+
}))) | ({
|
|
531
617
|
__TYPE__: "DocumentLink";
|
|
532
|
-
} & {
|
|
618
|
+
} & (({
|
|
533
619
|
id: string;
|
|
534
|
-
}) | ({
|
|
535
|
-
__TYPE__: "ExternalLink";
|
|
536
620
|
} & {
|
|
621
|
+
kind?: "document";
|
|
622
|
+
text?: string;
|
|
623
|
+
}) | {
|
|
624
|
+
kind: "document";
|
|
625
|
+
text: string;
|
|
626
|
+
})) | ({
|
|
627
|
+
__TYPE__: "ExternalLink";
|
|
628
|
+
} & (({
|
|
537
629
|
url: string;
|
|
538
630
|
} & {
|
|
539
631
|
kind?: "web";
|
|
@@ -541,6 +633,14 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
541
633
|
preview?: {
|
|
542
634
|
title?: string;
|
|
543
635
|
} | null | undefined;
|
|
636
|
+
text?: string;
|
|
637
|
+
}) | {
|
|
638
|
+
kind: "web";
|
|
639
|
+
text: string;
|
|
640
|
+
})) | ({
|
|
641
|
+
__TYPE__: "AnyLink";
|
|
642
|
+
} & {
|
|
643
|
+
text: string;
|
|
544
644
|
}) | null | undefined;
|
|
545
645
|
};
|
|
546
646
|
} & {
|
|
@@ -578,35 +678,47 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
578
678
|
spans?: ({
|
|
579
679
|
data: ({
|
|
580
680
|
__TYPE__: "ImageLink";
|
|
581
|
-
} & {
|
|
681
|
+
} & ({
|
|
682
|
+
kind: "image";
|
|
683
|
+
} & (({
|
|
582
684
|
id: string;
|
|
583
685
|
url: string;
|
|
584
686
|
height: string;
|
|
585
687
|
width: string;
|
|
586
688
|
size: string;
|
|
587
689
|
name: string;
|
|
588
|
-
kind: string;
|
|
589
690
|
} & {
|
|
590
691
|
date?: string | null | undefined;
|
|
591
|
-
|
|
692
|
+
text?: string;
|
|
693
|
+
}) | {
|
|
694
|
+
text: string;
|
|
695
|
+
}))) | ({
|
|
696
|
+
__TYPE__: "FileLink";
|
|
697
|
+
} & ({
|
|
698
|
+
kind: "file";
|
|
699
|
+
} & (({
|
|
592
700
|
id: string;
|
|
593
701
|
url: string;
|
|
594
702
|
name: string;
|
|
595
|
-
kind: string;
|
|
596
703
|
size: string;
|
|
597
704
|
} & {
|
|
598
705
|
date?: string | null | undefined;
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
}) | ({
|
|
706
|
+
text?: string;
|
|
707
|
+
}) | {
|
|
708
|
+
text: string;
|
|
709
|
+
}))) | ({
|
|
604
710
|
__TYPE__: "DocumentLink";
|
|
605
|
-
} & {
|
|
711
|
+
} & (({
|
|
606
712
|
id: string;
|
|
607
|
-
}) | ({
|
|
608
|
-
__TYPE__: "ExternalLink";
|
|
609
713
|
} & {
|
|
714
|
+
kind?: "document";
|
|
715
|
+
text?: string;
|
|
716
|
+
}) | {
|
|
717
|
+
kind: "document";
|
|
718
|
+
text: string;
|
|
719
|
+
})) | ({
|
|
720
|
+
__TYPE__: "ExternalLink";
|
|
721
|
+
} & (({
|
|
610
722
|
url: string;
|
|
611
723
|
} & {
|
|
612
724
|
kind?: "web";
|
|
@@ -614,6 +726,14 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
614
726
|
preview?: {
|
|
615
727
|
title?: string;
|
|
616
728
|
} | null | undefined;
|
|
729
|
+
text?: string;
|
|
730
|
+
}) | {
|
|
731
|
+
kind: "web";
|
|
732
|
+
text: string;
|
|
733
|
+
})) | ({
|
|
734
|
+
__TYPE__: "AnyLink";
|
|
735
|
+
} & {
|
|
736
|
+
text: string;
|
|
617
737
|
});
|
|
618
738
|
start: number;
|
|
619
739
|
end: number;
|
|
@@ -757,35 +877,47 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
757
877
|
__TYPE__: "LinkContent";
|
|
758
878
|
value: ({
|
|
759
879
|
__TYPE__: "ImageLink";
|
|
760
|
-
} & {
|
|
880
|
+
} & ({
|
|
881
|
+
kind: "image";
|
|
882
|
+
} & (({
|
|
761
883
|
id: string;
|
|
762
884
|
url: string;
|
|
763
885
|
height: string;
|
|
764
886
|
width: string;
|
|
765
887
|
size: string;
|
|
766
888
|
name: string;
|
|
767
|
-
kind: string;
|
|
768
889
|
} & {
|
|
769
890
|
date?: string | null | undefined;
|
|
770
|
-
|
|
891
|
+
text?: string;
|
|
892
|
+
}) | {
|
|
893
|
+
text: string;
|
|
894
|
+
}))) | ({
|
|
895
|
+
__TYPE__: "FileLink";
|
|
896
|
+
} & ({
|
|
897
|
+
kind: "file";
|
|
898
|
+
} & (({
|
|
771
899
|
id: string;
|
|
772
900
|
url: string;
|
|
773
901
|
name: string;
|
|
774
|
-
kind: string;
|
|
775
902
|
size: string;
|
|
776
903
|
} & {
|
|
777
904
|
date?: string | null | undefined;
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
}) | ({
|
|
905
|
+
text?: string;
|
|
906
|
+
}) | {
|
|
907
|
+
text: string;
|
|
908
|
+
}))) | ({
|
|
783
909
|
__TYPE__: "DocumentLink";
|
|
784
|
-
} & {
|
|
910
|
+
} & (({
|
|
785
911
|
id: string;
|
|
786
|
-
}) | ({
|
|
787
|
-
__TYPE__: "ExternalLink";
|
|
788
912
|
} & {
|
|
913
|
+
kind?: "document";
|
|
914
|
+
text?: string;
|
|
915
|
+
}) | {
|
|
916
|
+
kind: "document";
|
|
917
|
+
text: string;
|
|
918
|
+
})) | ({
|
|
919
|
+
__TYPE__: "ExternalLink";
|
|
920
|
+
} & (({
|
|
789
921
|
url: string;
|
|
790
922
|
} & {
|
|
791
923
|
kind?: "web";
|
|
@@ -793,6 +925,14 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
793
925
|
preview?: {
|
|
794
926
|
title?: string;
|
|
795
927
|
} | null | undefined;
|
|
928
|
+
text?: string;
|
|
929
|
+
}) | {
|
|
930
|
+
kind: "web";
|
|
931
|
+
text: string;
|
|
932
|
+
})) | ({
|
|
933
|
+
__TYPE__: "AnyLink";
|
|
934
|
+
} & {
|
|
935
|
+
text: string;
|
|
796
936
|
});
|
|
797
937
|
} | {
|
|
798
938
|
__TYPE__: "StructuredTextContent";
|
|
@@ -823,35 +963,47 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
823
963
|
} & {
|
|
824
964
|
linkTo?: ({
|
|
825
965
|
__TYPE__: "ImageLink";
|
|
826
|
-
} & {
|
|
966
|
+
} & ({
|
|
967
|
+
kind: "image";
|
|
968
|
+
} & (({
|
|
827
969
|
id: string;
|
|
828
970
|
url: string;
|
|
829
971
|
height: string;
|
|
830
972
|
width: string;
|
|
831
973
|
size: string;
|
|
832
974
|
name: string;
|
|
833
|
-
kind: string;
|
|
834
975
|
} & {
|
|
835
976
|
date?: string | null | undefined;
|
|
836
|
-
|
|
977
|
+
text?: string;
|
|
978
|
+
}) | {
|
|
979
|
+
text: string;
|
|
980
|
+
}))) | ({
|
|
981
|
+
__TYPE__: "FileLink";
|
|
982
|
+
} & ({
|
|
983
|
+
kind: "file";
|
|
984
|
+
} & (({
|
|
837
985
|
id: string;
|
|
838
986
|
url: string;
|
|
839
987
|
name: string;
|
|
840
|
-
kind: string;
|
|
841
988
|
size: string;
|
|
842
989
|
} & {
|
|
843
990
|
date?: string | null | undefined;
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
}) | ({
|
|
991
|
+
text?: string;
|
|
992
|
+
}) | {
|
|
993
|
+
text: string;
|
|
994
|
+
}))) | ({
|
|
849
995
|
__TYPE__: "DocumentLink";
|
|
850
|
-
} & {
|
|
996
|
+
} & (({
|
|
851
997
|
id: string;
|
|
852
|
-
}) | ({
|
|
853
|
-
__TYPE__: "ExternalLink";
|
|
854
998
|
} & {
|
|
999
|
+
kind?: "document";
|
|
1000
|
+
text?: string;
|
|
1001
|
+
}) | {
|
|
1002
|
+
kind: "document";
|
|
1003
|
+
text: string;
|
|
1004
|
+
})) | ({
|
|
1005
|
+
__TYPE__: "ExternalLink";
|
|
1006
|
+
} & (({
|
|
855
1007
|
url: string;
|
|
856
1008
|
} & {
|
|
857
1009
|
kind?: "web";
|
|
@@ -859,6 +1011,14 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
859
1011
|
preview?: {
|
|
860
1012
|
title?: string;
|
|
861
1013
|
} | null | undefined;
|
|
1014
|
+
text?: string;
|
|
1015
|
+
}) | {
|
|
1016
|
+
kind: "web";
|
|
1017
|
+
text: string;
|
|
1018
|
+
})) | ({
|
|
1019
|
+
__TYPE__: "AnyLink";
|
|
1020
|
+
} & {
|
|
1021
|
+
text: string;
|
|
862
1022
|
}) | null | undefined;
|
|
863
1023
|
};
|
|
864
1024
|
} & {
|
|
@@ -896,35 +1056,47 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
896
1056
|
spans?: ({
|
|
897
1057
|
data: ({
|
|
898
1058
|
__TYPE__: "ImageLink";
|
|
899
|
-
} & {
|
|
1059
|
+
} & ({
|
|
1060
|
+
kind: "image";
|
|
1061
|
+
} & (({
|
|
900
1062
|
id: string;
|
|
901
1063
|
url: string;
|
|
902
1064
|
height: string;
|
|
903
1065
|
width: string;
|
|
904
1066
|
size: string;
|
|
905
1067
|
name: string;
|
|
906
|
-
kind: string;
|
|
907
1068
|
} & {
|
|
908
1069
|
date?: string | null | undefined;
|
|
909
|
-
|
|
1070
|
+
text?: string;
|
|
1071
|
+
}) | {
|
|
1072
|
+
text: string;
|
|
1073
|
+
}))) | ({
|
|
1074
|
+
__TYPE__: "FileLink";
|
|
1075
|
+
} & ({
|
|
1076
|
+
kind: "file";
|
|
1077
|
+
} & (({
|
|
910
1078
|
id: string;
|
|
911
1079
|
url: string;
|
|
912
1080
|
name: string;
|
|
913
|
-
kind: string;
|
|
914
1081
|
size: string;
|
|
915
1082
|
} & {
|
|
916
1083
|
date?: string | null | undefined;
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
}) | ({
|
|
1084
|
+
text?: string;
|
|
1085
|
+
}) | {
|
|
1086
|
+
text: string;
|
|
1087
|
+
}))) | ({
|
|
922
1088
|
__TYPE__: "DocumentLink";
|
|
923
|
-
} & {
|
|
1089
|
+
} & (({
|
|
924
1090
|
id: string;
|
|
925
|
-
}) | ({
|
|
926
|
-
__TYPE__: "ExternalLink";
|
|
927
1091
|
} & {
|
|
1092
|
+
kind?: "document";
|
|
1093
|
+
text?: string;
|
|
1094
|
+
}) | {
|
|
1095
|
+
kind: "document";
|
|
1096
|
+
text: string;
|
|
1097
|
+
})) | ({
|
|
1098
|
+
__TYPE__: "ExternalLink";
|
|
1099
|
+
} & (({
|
|
928
1100
|
url: string;
|
|
929
1101
|
} & {
|
|
930
1102
|
kind?: "web";
|
|
@@ -932,6 +1104,14 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
932
1104
|
preview?: {
|
|
933
1105
|
title?: string;
|
|
934
1106
|
} | null | undefined;
|
|
1107
|
+
text?: string;
|
|
1108
|
+
}) | {
|
|
1109
|
+
kind: "web";
|
|
1110
|
+
text: string;
|
|
1111
|
+
})) | ({
|
|
1112
|
+
__TYPE__: "AnyLink";
|
|
1113
|
+
} & {
|
|
1114
|
+
text: string;
|
|
935
1115
|
});
|
|
936
1116
|
start: number;
|
|
937
1117
|
end: number;
|
|
@@ -1073,35 +1253,47 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1073
1253
|
__TYPE__: "LinkContent";
|
|
1074
1254
|
value: ({
|
|
1075
1255
|
__TYPE__: "ImageLink";
|
|
1076
|
-
} & {
|
|
1256
|
+
} & ({
|
|
1257
|
+
kind: "image";
|
|
1258
|
+
} & (({
|
|
1077
1259
|
id: string;
|
|
1078
1260
|
url: string;
|
|
1079
1261
|
height: string;
|
|
1080
1262
|
width: string;
|
|
1081
1263
|
size: string;
|
|
1082
1264
|
name: string;
|
|
1083
|
-
kind: string;
|
|
1084
1265
|
} & {
|
|
1085
1266
|
date?: string | null | undefined;
|
|
1086
|
-
|
|
1267
|
+
text?: string;
|
|
1268
|
+
}) | {
|
|
1269
|
+
text: string;
|
|
1270
|
+
}))) | ({
|
|
1271
|
+
__TYPE__: "FileLink";
|
|
1272
|
+
} & ({
|
|
1273
|
+
kind: "file";
|
|
1274
|
+
} & (({
|
|
1087
1275
|
id: string;
|
|
1088
1276
|
url: string;
|
|
1089
1277
|
name: string;
|
|
1090
|
-
kind: string;
|
|
1091
1278
|
size: string;
|
|
1092
1279
|
} & {
|
|
1093
1280
|
date?: string | null | undefined;
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
}) | ({
|
|
1281
|
+
text?: string;
|
|
1282
|
+
}) | {
|
|
1283
|
+
text: string;
|
|
1284
|
+
}))) | ({
|
|
1099
1285
|
__TYPE__: "DocumentLink";
|
|
1100
|
-
} & {
|
|
1286
|
+
} & (({
|
|
1101
1287
|
id: string;
|
|
1102
|
-
}) | ({
|
|
1103
|
-
__TYPE__: "ExternalLink";
|
|
1104
1288
|
} & {
|
|
1289
|
+
kind?: "document";
|
|
1290
|
+
text?: string;
|
|
1291
|
+
}) | {
|
|
1292
|
+
kind: "document";
|
|
1293
|
+
text: string;
|
|
1294
|
+
})) | ({
|
|
1295
|
+
__TYPE__: "ExternalLink";
|
|
1296
|
+
} & (({
|
|
1105
1297
|
url: string;
|
|
1106
1298
|
} & {
|
|
1107
1299
|
kind?: "web";
|
|
@@ -1109,6 +1301,14 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1109
1301
|
preview?: {
|
|
1110
1302
|
title?: string;
|
|
1111
1303
|
} | null | undefined;
|
|
1304
|
+
text?: string;
|
|
1305
|
+
}) | {
|
|
1306
|
+
kind: "web";
|
|
1307
|
+
text: string;
|
|
1308
|
+
})) | ({
|
|
1309
|
+
__TYPE__: "AnyLink";
|
|
1310
|
+
} & {
|
|
1311
|
+
text: string;
|
|
1112
1312
|
});
|
|
1113
1313
|
} | {
|
|
1114
1314
|
__TYPE__: "StructuredTextContent";
|
|
@@ -1139,35 +1339,47 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1139
1339
|
} & {
|
|
1140
1340
|
linkTo?: ({
|
|
1141
1341
|
__TYPE__: "ImageLink";
|
|
1142
|
-
} & {
|
|
1342
|
+
} & ({
|
|
1343
|
+
kind: "image";
|
|
1344
|
+
} & (({
|
|
1143
1345
|
id: string;
|
|
1144
1346
|
url: string;
|
|
1145
1347
|
height: string;
|
|
1146
1348
|
width: string;
|
|
1147
1349
|
size: string;
|
|
1148
1350
|
name: string;
|
|
1149
|
-
kind: string;
|
|
1150
1351
|
} & {
|
|
1151
1352
|
date?: string | null | undefined;
|
|
1152
|
-
|
|
1353
|
+
text?: string;
|
|
1354
|
+
}) | {
|
|
1355
|
+
text: string;
|
|
1356
|
+
}))) | ({
|
|
1357
|
+
__TYPE__: "FileLink";
|
|
1358
|
+
} & ({
|
|
1359
|
+
kind: "file";
|
|
1360
|
+
} & (({
|
|
1153
1361
|
id: string;
|
|
1154
1362
|
url: string;
|
|
1155
1363
|
name: string;
|
|
1156
|
-
kind: string;
|
|
1157
1364
|
size: string;
|
|
1158
1365
|
} & {
|
|
1159
1366
|
date?: string | null | undefined;
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
}) | ({
|
|
1367
|
+
text?: string;
|
|
1368
|
+
}) | {
|
|
1369
|
+
text: string;
|
|
1370
|
+
}))) | ({
|
|
1165
1371
|
__TYPE__: "DocumentLink";
|
|
1166
|
-
} & {
|
|
1372
|
+
} & (({
|
|
1167
1373
|
id: string;
|
|
1168
|
-
}) | ({
|
|
1169
|
-
__TYPE__: "ExternalLink";
|
|
1170
1374
|
} & {
|
|
1375
|
+
kind?: "document";
|
|
1376
|
+
text?: string;
|
|
1377
|
+
}) | {
|
|
1378
|
+
kind: "document";
|
|
1379
|
+
text: string;
|
|
1380
|
+
})) | ({
|
|
1381
|
+
__TYPE__: "ExternalLink";
|
|
1382
|
+
} & (({
|
|
1171
1383
|
url: string;
|
|
1172
1384
|
} & {
|
|
1173
1385
|
kind?: "web";
|
|
@@ -1175,6 +1387,14 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1175
1387
|
preview?: {
|
|
1176
1388
|
title?: string;
|
|
1177
1389
|
} | null | undefined;
|
|
1390
|
+
text?: string;
|
|
1391
|
+
}) | {
|
|
1392
|
+
kind: "web";
|
|
1393
|
+
text: string;
|
|
1394
|
+
})) | ({
|
|
1395
|
+
__TYPE__: "AnyLink";
|
|
1396
|
+
} & {
|
|
1397
|
+
text: string;
|
|
1178
1398
|
}) | null | undefined;
|
|
1179
1399
|
};
|
|
1180
1400
|
} & {
|
|
@@ -1212,35 +1432,47 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1212
1432
|
spans?: ({
|
|
1213
1433
|
data: ({
|
|
1214
1434
|
__TYPE__: "ImageLink";
|
|
1215
|
-
} & {
|
|
1435
|
+
} & ({
|
|
1436
|
+
kind: "image";
|
|
1437
|
+
} & (({
|
|
1216
1438
|
id: string;
|
|
1217
1439
|
url: string;
|
|
1218
1440
|
height: string;
|
|
1219
1441
|
width: string;
|
|
1220
1442
|
size: string;
|
|
1221
1443
|
name: string;
|
|
1222
|
-
kind: string;
|
|
1223
1444
|
} & {
|
|
1224
1445
|
date?: string | null | undefined;
|
|
1225
|
-
|
|
1446
|
+
text?: string;
|
|
1447
|
+
}) | {
|
|
1448
|
+
text: string;
|
|
1449
|
+
}))) | ({
|
|
1450
|
+
__TYPE__: "FileLink";
|
|
1451
|
+
} & ({
|
|
1452
|
+
kind: "file";
|
|
1453
|
+
} & (({
|
|
1226
1454
|
id: string;
|
|
1227
1455
|
url: string;
|
|
1228
1456
|
name: string;
|
|
1229
|
-
kind: string;
|
|
1230
1457
|
size: string;
|
|
1231
1458
|
} & {
|
|
1232
1459
|
date?: string | null | undefined;
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
}) | ({
|
|
1460
|
+
text?: string;
|
|
1461
|
+
}) | {
|
|
1462
|
+
text: string;
|
|
1463
|
+
}))) | ({
|
|
1238
1464
|
__TYPE__: "DocumentLink";
|
|
1239
|
-
} & {
|
|
1465
|
+
} & (({
|
|
1240
1466
|
id: string;
|
|
1241
|
-
}) | ({
|
|
1242
|
-
__TYPE__: "ExternalLink";
|
|
1243
1467
|
} & {
|
|
1468
|
+
kind?: "document";
|
|
1469
|
+
text?: string;
|
|
1470
|
+
}) | {
|
|
1471
|
+
kind: "document";
|
|
1472
|
+
text: string;
|
|
1473
|
+
})) | ({
|
|
1474
|
+
__TYPE__: "ExternalLink";
|
|
1475
|
+
} & (({
|
|
1244
1476
|
url: string;
|
|
1245
1477
|
} & {
|
|
1246
1478
|
kind?: "web";
|
|
@@ -1248,6 +1480,14 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1248
1480
|
preview?: {
|
|
1249
1481
|
title?: string;
|
|
1250
1482
|
} | null | undefined;
|
|
1483
|
+
text?: string;
|
|
1484
|
+
}) | {
|
|
1485
|
+
kind: "web";
|
|
1486
|
+
text: string;
|
|
1487
|
+
})) | ({
|
|
1488
|
+
__TYPE__: "AnyLink";
|
|
1489
|
+
} & {
|
|
1490
|
+
text: string;
|
|
1251
1491
|
});
|
|
1252
1492
|
start: number;
|
|
1253
1493
|
end: number;
|
|
@@ -1393,35 +1633,47 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1393
1633
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1394
1634
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1395
1635
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1396
|
-
}>>, t.
|
|
1636
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1637
|
+
kind: t.LiteralC<"image">;
|
|
1638
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1397
1639
|
id: t.StringC;
|
|
1398
1640
|
url: t.StringC;
|
|
1399
1641
|
height: t.StringC;
|
|
1400
1642
|
width: t.StringC;
|
|
1401
1643
|
size: t.StringC;
|
|
1402
1644
|
name: t.StringC;
|
|
1403
|
-
kind: t.StringC;
|
|
1404
1645
|
}>, t.PartialC<{
|
|
1405
1646
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1406
|
-
|
|
1647
|
+
text: t.StringC;
|
|
1648
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1649
|
+
text: t.StringC;
|
|
1650
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1651
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
1652
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1653
|
+
kind: t.LiteralC<"file">;
|
|
1654
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1407
1655
|
id: t.StringC;
|
|
1408
1656
|
url: t.StringC;
|
|
1409
1657
|
name: t.StringC;
|
|
1410
|
-
kind: t.StringC;
|
|
1411
1658
|
size: t.StringC;
|
|
1412
1659
|
}>, t.PartialC<{
|
|
1413
1660
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1661
|
+
text: t.StringC;
|
|
1662
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1663
|
+
text: t.StringC;
|
|
1664
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1419
1665
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1420
|
-
}>>, t.ExactC<t.TypeC<{
|
|
1666
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1421
1667
|
id: t.Type<string, string, unknown>;
|
|
1422
|
-
}
|
|
1668
|
+
}>, t.PartialC<{
|
|
1669
|
+
kind: t.LiteralC<"document">;
|
|
1670
|
+
text: t.StringC;
|
|
1671
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1672
|
+
kind: t.LiteralC<"document">;
|
|
1673
|
+
text: t.StringC;
|
|
1674
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1423
1675
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1424
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1676
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1425
1677
|
url: t.StringC;
|
|
1426
1678
|
}>, t.PartialC<{
|
|
1427
1679
|
kind: t.LiteralC<"web">;
|
|
@@ -1431,7 +1683,15 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1431
1683
|
}, {
|
|
1432
1684
|
title?: string;
|
|
1433
1685
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1434
|
-
|
|
1686
|
+
text: t.StringC;
|
|
1687
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1688
|
+
kind: t.LiteralC<"web">;
|
|
1689
|
+
text: t.StringC;
|
|
1690
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1691
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1692
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1693
|
+
text: t.StringC;
|
|
1694
|
+
}>>]>]>;
|
|
1435
1695
|
}>>, t.ExactC<t.TypeC<{
|
|
1436
1696
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
1437
1697
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -1461,35 +1721,47 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1461
1721
|
}>]>>, t.PartialC<{
|
|
1462
1722
|
linkTo: t.UnionC<[t.Type<({
|
|
1463
1723
|
__TYPE__: "ImageLink";
|
|
1464
|
-
} & {
|
|
1724
|
+
} & ({
|
|
1725
|
+
kind: "image";
|
|
1726
|
+
} & (({
|
|
1465
1727
|
id: string;
|
|
1466
1728
|
url: string;
|
|
1467
1729
|
height: string;
|
|
1468
1730
|
width: string;
|
|
1469
1731
|
size: string;
|
|
1470
1732
|
name: string;
|
|
1471
|
-
kind: string;
|
|
1472
1733
|
} & {
|
|
1473
1734
|
date?: string | null | undefined;
|
|
1474
|
-
|
|
1735
|
+
text?: string;
|
|
1736
|
+
}) | {
|
|
1737
|
+
text: string;
|
|
1738
|
+
}))) | ({
|
|
1739
|
+
__TYPE__: "FileLink";
|
|
1740
|
+
} & ({
|
|
1741
|
+
kind: "file";
|
|
1742
|
+
} & (({
|
|
1475
1743
|
id: string;
|
|
1476
1744
|
url: string;
|
|
1477
1745
|
name: string;
|
|
1478
|
-
kind: string;
|
|
1479
1746
|
size: string;
|
|
1480
1747
|
} & {
|
|
1481
1748
|
date?: string | null | undefined;
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
}) | ({
|
|
1749
|
+
text?: string;
|
|
1750
|
+
}) | {
|
|
1751
|
+
text: string;
|
|
1752
|
+
}))) | ({
|
|
1487
1753
|
__TYPE__: "DocumentLink";
|
|
1488
|
-
} & {
|
|
1754
|
+
} & (({
|
|
1489
1755
|
id: string;
|
|
1490
|
-
}) | ({
|
|
1491
|
-
__TYPE__: "ExternalLink";
|
|
1492
1756
|
} & {
|
|
1757
|
+
kind?: "document";
|
|
1758
|
+
text?: string;
|
|
1759
|
+
}) | {
|
|
1760
|
+
kind: "document";
|
|
1761
|
+
text: string;
|
|
1762
|
+
})) | ({
|
|
1763
|
+
__TYPE__: "ExternalLink";
|
|
1764
|
+
} & (({
|
|
1493
1765
|
url: string;
|
|
1494
1766
|
} & {
|
|
1495
1767
|
kind?: "web";
|
|
@@ -1497,37 +1769,57 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1497
1769
|
preview?: {
|
|
1498
1770
|
title?: string;
|
|
1499
1771
|
} | null | undefined;
|
|
1772
|
+
text?: string;
|
|
1773
|
+
}) | {
|
|
1774
|
+
kind: "web";
|
|
1775
|
+
text: string;
|
|
1776
|
+
})) | ({
|
|
1777
|
+
__TYPE__: "AnyLink";
|
|
1778
|
+
} & {
|
|
1779
|
+
text: string;
|
|
1500
1780
|
}), ({
|
|
1501
1781
|
__TYPE__: "ImageLink";
|
|
1502
|
-
} & {
|
|
1782
|
+
} & ({
|
|
1783
|
+
kind: "image";
|
|
1784
|
+
} & (({
|
|
1503
1785
|
id: string;
|
|
1504
1786
|
url: string;
|
|
1505
1787
|
height: string;
|
|
1506
1788
|
width: string;
|
|
1507
1789
|
size: string;
|
|
1508
1790
|
name: string;
|
|
1509
|
-
kind: string;
|
|
1510
1791
|
} & {
|
|
1511
1792
|
date?: string | null | undefined;
|
|
1512
|
-
|
|
1793
|
+
text?: string;
|
|
1794
|
+
}) | {
|
|
1795
|
+
text: string;
|
|
1796
|
+
}))) | ({
|
|
1797
|
+
__TYPE__: "FileLink";
|
|
1798
|
+
} & ({
|
|
1799
|
+
kind: "file";
|
|
1800
|
+
} & (({
|
|
1513
1801
|
id: string;
|
|
1514
1802
|
url: string;
|
|
1515
1803
|
name: string;
|
|
1516
|
-
kind: string;
|
|
1517
1804
|
size: string;
|
|
1518
1805
|
} & {
|
|
1519
1806
|
date?: string | null | undefined;
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
}) | ({
|
|
1807
|
+
text?: string;
|
|
1808
|
+
}) | {
|
|
1809
|
+
text: string;
|
|
1810
|
+
}))) | ({
|
|
1525
1811
|
__TYPE__: "DocumentLink";
|
|
1526
|
-
} & {
|
|
1812
|
+
} & (({
|
|
1527
1813
|
id: string;
|
|
1528
|
-
}) | ({
|
|
1529
|
-
__TYPE__: "ExternalLink";
|
|
1530
1814
|
} & {
|
|
1815
|
+
kind?: "document";
|
|
1816
|
+
text?: string;
|
|
1817
|
+
}) | {
|
|
1818
|
+
kind: "document";
|
|
1819
|
+
text: string;
|
|
1820
|
+
})) | ({
|
|
1821
|
+
__TYPE__: "ExternalLink";
|
|
1822
|
+
} & (({
|
|
1531
1823
|
url: string;
|
|
1532
1824
|
} & {
|
|
1533
1825
|
kind?: "web";
|
|
@@ -1535,6 +1827,14 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1535
1827
|
preview?: {
|
|
1536
1828
|
title?: string;
|
|
1537
1829
|
} | null | undefined;
|
|
1830
|
+
text?: string;
|
|
1831
|
+
}) | {
|
|
1832
|
+
kind: "web";
|
|
1833
|
+
text: string;
|
|
1834
|
+
})) | ({
|
|
1835
|
+
__TYPE__: "AnyLink";
|
|
1836
|
+
} & {
|
|
1837
|
+
text: string;
|
|
1538
1838
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
1539
1839
|
}>]>;
|
|
1540
1840
|
}>, t.PartialC<{
|
|
@@ -1572,35 +1872,47 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1572
1872
|
spans: t.Type<({
|
|
1573
1873
|
data: ({
|
|
1574
1874
|
__TYPE__: "ImageLink";
|
|
1575
|
-
} & {
|
|
1875
|
+
} & ({
|
|
1876
|
+
kind: "image";
|
|
1877
|
+
} & (({
|
|
1576
1878
|
id: string;
|
|
1577
1879
|
url: string;
|
|
1578
1880
|
height: string;
|
|
1579
1881
|
width: string;
|
|
1580
1882
|
size: string;
|
|
1581
1883
|
name: string;
|
|
1582
|
-
kind: string;
|
|
1583
1884
|
} & {
|
|
1584
1885
|
date?: string | null | undefined;
|
|
1585
|
-
|
|
1886
|
+
text?: string;
|
|
1887
|
+
}) | {
|
|
1888
|
+
text: string;
|
|
1889
|
+
}))) | ({
|
|
1890
|
+
__TYPE__: "FileLink";
|
|
1891
|
+
} & ({
|
|
1892
|
+
kind: "file";
|
|
1893
|
+
} & (({
|
|
1586
1894
|
id: string;
|
|
1587
1895
|
url: string;
|
|
1588
1896
|
name: string;
|
|
1589
|
-
kind: string;
|
|
1590
1897
|
size: string;
|
|
1591
1898
|
} & {
|
|
1592
1899
|
date?: string | null | undefined;
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
}) | ({
|
|
1900
|
+
text?: string;
|
|
1901
|
+
}) | {
|
|
1902
|
+
text: string;
|
|
1903
|
+
}))) | ({
|
|
1598
1904
|
__TYPE__: "DocumentLink";
|
|
1599
|
-
} & {
|
|
1905
|
+
} & (({
|
|
1600
1906
|
id: string;
|
|
1601
|
-
}) | ({
|
|
1602
|
-
__TYPE__: "ExternalLink";
|
|
1603
1907
|
} & {
|
|
1908
|
+
kind?: "document";
|
|
1909
|
+
text?: string;
|
|
1910
|
+
}) | {
|
|
1911
|
+
kind: "document";
|
|
1912
|
+
text: string;
|
|
1913
|
+
})) | ({
|
|
1914
|
+
__TYPE__: "ExternalLink";
|
|
1915
|
+
} & (({
|
|
1604
1916
|
url: string;
|
|
1605
1917
|
} & {
|
|
1606
1918
|
kind?: "web";
|
|
@@ -1608,6 +1920,14 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1608
1920
|
preview?: {
|
|
1609
1921
|
title?: string;
|
|
1610
1922
|
} | null | undefined;
|
|
1923
|
+
text?: string;
|
|
1924
|
+
}) | {
|
|
1925
|
+
kind: "web";
|
|
1926
|
+
text: string;
|
|
1927
|
+
})) | ({
|
|
1928
|
+
__TYPE__: "AnyLink";
|
|
1929
|
+
} & {
|
|
1930
|
+
text: string;
|
|
1611
1931
|
});
|
|
1612
1932
|
start: number;
|
|
1613
1933
|
end: number;
|
|
@@ -1624,35 +1944,47 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1624
1944
|
})[], ({
|
|
1625
1945
|
data: ({
|
|
1626
1946
|
__TYPE__: "ImageLink";
|
|
1627
|
-
} & {
|
|
1947
|
+
} & ({
|
|
1948
|
+
kind: "image";
|
|
1949
|
+
} & (({
|
|
1628
1950
|
id: string;
|
|
1629
1951
|
url: string;
|
|
1630
1952
|
height: string;
|
|
1631
1953
|
width: string;
|
|
1632
1954
|
size: string;
|
|
1633
1955
|
name: string;
|
|
1634
|
-
kind: string;
|
|
1635
1956
|
} & {
|
|
1636
1957
|
date?: string | null | undefined;
|
|
1637
|
-
|
|
1958
|
+
text?: string;
|
|
1959
|
+
}) | {
|
|
1960
|
+
text: string;
|
|
1961
|
+
}))) | ({
|
|
1962
|
+
__TYPE__: "FileLink";
|
|
1963
|
+
} & ({
|
|
1964
|
+
kind: "file";
|
|
1965
|
+
} & (({
|
|
1638
1966
|
id: string;
|
|
1639
1967
|
url: string;
|
|
1640
1968
|
name: string;
|
|
1641
|
-
kind: string;
|
|
1642
1969
|
size: string;
|
|
1643
1970
|
} & {
|
|
1644
1971
|
date?: string | null | undefined;
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
}) | ({
|
|
1972
|
+
text?: string;
|
|
1973
|
+
}) | {
|
|
1974
|
+
text: string;
|
|
1975
|
+
}))) | ({
|
|
1650
1976
|
__TYPE__: "DocumentLink";
|
|
1651
|
-
} & {
|
|
1977
|
+
} & (({
|
|
1652
1978
|
id: string;
|
|
1653
|
-
}) | ({
|
|
1654
|
-
__TYPE__: "ExternalLink";
|
|
1655
1979
|
} & {
|
|
1980
|
+
kind?: "document";
|
|
1981
|
+
text?: string;
|
|
1982
|
+
}) | {
|
|
1983
|
+
kind: "document";
|
|
1984
|
+
text: string;
|
|
1985
|
+
})) | ({
|
|
1986
|
+
__TYPE__: "ExternalLink";
|
|
1987
|
+
} & (({
|
|
1656
1988
|
url: string;
|
|
1657
1989
|
} & {
|
|
1658
1990
|
kind?: "web";
|
|
@@ -1660,6 +1992,14 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1660
1992
|
preview?: {
|
|
1661
1993
|
title?: string;
|
|
1662
1994
|
} | null | undefined;
|
|
1995
|
+
text?: string;
|
|
1996
|
+
}) | {
|
|
1997
|
+
kind: "web";
|
|
1998
|
+
text: string;
|
|
1999
|
+
})) | ({
|
|
2000
|
+
__TYPE__: "AnyLink";
|
|
2001
|
+
} & {
|
|
2002
|
+
text: string;
|
|
1663
2003
|
});
|
|
1664
2004
|
start: number;
|
|
1665
2005
|
end: number;
|
|
@@ -1798,35 +2138,47 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1798
2138
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1799
2139
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1800
2140
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1801
|
-
}>>, t.
|
|
2141
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2142
|
+
kind: t.LiteralC<"image">;
|
|
2143
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1802
2144
|
id: t.StringC;
|
|
1803
2145
|
url: t.StringC;
|
|
1804
2146
|
height: t.StringC;
|
|
1805
2147
|
width: t.StringC;
|
|
1806
2148
|
size: t.StringC;
|
|
1807
2149
|
name: t.StringC;
|
|
1808
|
-
kind: t.StringC;
|
|
1809
2150
|
}>, t.PartialC<{
|
|
1810
2151
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1811
|
-
|
|
2152
|
+
text: t.StringC;
|
|
2153
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2154
|
+
text: t.StringC;
|
|
2155
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2156
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
2157
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2158
|
+
kind: t.LiteralC<"file">;
|
|
2159
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1812
2160
|
id: t.StringC;
|
|
1813
2161
|
url: t.StringC;
|
|
1814
2162
|
name: t.StringC;
|
|
1815
|
-
kind: t.StringC;
|
|
1816
2163
|
size: t.StringC;
|
|
1817
2164
|
}>, t.PartialC<{
|
|
1818
2165
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2166
|
+
text: t.StringC;
|
|
2167
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2168
|
+
text: t.StringC;
|
|
2169
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1824
2170
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1825
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2171
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1826
2172
|
id: t.Type<string, string, unknown>;
|
|
1827
|
-
}
|
|
2173
|
+
}>, t.PartialC<{
|
|
2174
|
+
kind: t.LiteralC<"document">;
|
|
2175
|
+
text: t.StringC;
|
|
2176
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2177
|
+
kind: t.LiteralC<"document">;
|
|
2178
|
+
text: t.StringC;
|
|
2179
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1828
2180
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1829
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2181
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1830
2182
|
url: t.StringC;
|
|
1831
2183
|
}>, t.PartialC<{
|
|
1832
2184
|
kind: t.LiteralC<"web">;
|
|
@@ -1836,7 +2188,15 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1836
2188
|
}, {
|
|
1837
2189
|
title?: string;
|
|
1838
2190
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1839
|
-
|
|
2191
|
+
text: t.StringC;
|
|
2192
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2193
|
+
kind: t.LiteralC<"web">;
|
|
2194
|
+
text: t.StringC;
|
|
2195
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2196
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2197
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2198
|
+
text: t.StringC;
|
|
2199
|
+
}>>]>]>;
|
|
1840
2200
|
}>>, t.ExactC<t.TypeC<{
|
|
1841
2201
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
1842
2202
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -1866,35 +2226,47 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1866
2226
|
}>]>>, t.PartialC<{
|
|
1867
2227
|
linkTo: t.UnionC<[t.Type<({
|
|
1868
2228
|
__TYPE__: "ImageLink";
|
|
1869
|
-
} & {
|
|
2229
|
+
} & ({
|
|
2230
|
+
kind: "image";
|
|
2231
|
+
} & (({
|
|
1870
2232
|
id: string;
|
|
1871
2233
|
url: string;
|
|
1872
2234
|
height: string;
|
|
1873
2235
|
width: string;
|
|
1874
2236
|
size: string;
|
|
1875
2237
|
name: string;
|
|
1876
|
-
kind: string;
|
|
1877
2238
|
} & {
|
|
1878
2239
|
date?: string | null | undefined;
|
|
1879
|
-
|
|
2240
|
+
text?: string;
|
|
2241
|
+
}) | {
|
|
2242
|
+
text: string;
|
|
2243
|
+
}))) | ({
|
|
2244
|
+
__TYPE__: "FileLink";
|
|
2245
|
+
} & ({
|
|
2246
|
+
kind: "file";
|
|
2247
|
+
} & (({
|
|
1880
2248
|
id: string;
|
|
1881
2249
|
url: string;
|
|
1882
2250
|
name: string;
|
|
1883
|
-
kind: string;
|
|
1884
2251
|
size: string;
|
|
1885
2252
|
} & {
|
|
1886
2253
|
date?: string | null | undefined;
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
}) | ({
|
|
2254
|
+
text?: string;
|
|
2255
|
+
}) | {
|
|
2256
|
+
text: string;
|
|
2257
|
+
}))) | ({
|
|
1892
2258
|
__TYPE__: "DocumentLink";
|
|
1893
|
-
} & {
|
|
2259
|
+
} & (({
|
|
1894
2260
|
id: string;
|
|
1895
|
-
}) | ({
|
|
1896
|
-
__TYPE__: "ExternalLink";
|
|
1897
2261
|
} & {
|
|
2262
|
+
kind?: "document";
|
|
2263
|
+
text?: string;
|
|
2264
|
+
}) | {
|
|
2265
|
+
kind: "document";
|
|
2266
|
+
text: string;
|
|
2267
|
+
})) | ({
|
|
2268
|
+
__TYPE__: "ExternalLink";
|
|
2269
|
+
} & (({
|
|
1898
2270
|
url: string;
|
|
1899
2271
|
} & {
|
|
1900
2272
|
kind?: "web";
|
|
@@ -1902,37 +2274,57 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1902
2274
|
preview?: {
|
|
1903
2275
|
title?: string;
|
|
1904
2276
|
} | null | undefined;
|
|
2277
|
+
text?: string;
|
|
2278
|
+
}) | {
|
|
2279
|
+
kind: "web";
|
|
2280
|
+
text: string;
|
|
2281
|
+
})) | ({
|
|
2282
|
+
__TYPE__: "AnyLink";
|
|
2283
|
+
} & {
|
|
2284
|
+
text: string;
|
|
1905
2285
|
}), ({
|
|
1906
2286
|
__TYPE__: "ImageLink";
|
|
1907
|
-
} & {
|
|
2287
|
+
} & ({
|
|
2288
|
+
kind: "image";
|
|
2289
|
+
} & (({
|
|
1908
2290
|
id: string;
|
|
1909
2291
|
url: string;
|
|
1910
2292
|
height: string;
|
|
1911
2293
|
width: string;
|
|
1912
2294
|
size: string;
|
|
1913
2295
|
name: string;
|
|
1914
|
-
kind: string;
|
|
1915
2296
|
} & {
|
|
1916
2297
|
date?: string | null | undefined;
|
|
1917
|
-
|
|
2298
|
+
text?: string;
|
|
2299
|
+
}) | {
|
|
2300
|
+
text: string;
|
|
2301
|
+
}))) | ({
|
|
2302
|
+
__TYPE__: "FileLink";
|
|
2303
|
+
} & ({
|
|
2304
|
+
kind: "file";
|
|
2305
|
+
} & (({
|
|
1918
2306
|
id: string;
|
|
1919
2307
|
url: string;
|
|
1920
2308
|
name: string;
|
|
1921
|
-
kind: string;
|
|
1922
2309
|
size: string;
|
|
1923
2310
|
} & {
|
|
1924
2311
|
date?: string | null | undefined;
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
}) | ({
|
|
2312
|
+
text?: string;
|
|
2313
|
+
}) | {
|
|
2314
|
+
text: string;
|
|
2315
|
+
}))) | ({
|
|
1930
2316
|
__TYPE__: "DocumentLink";
|
|
1931
|
-
} & {
|
|
2317
|
+
} & (({
|
|
1932
2318
|
id: string;
|
|
1933
|
-
}) | ({
|
|
1934
|
-
__TYPE__: "ExternalLink";
|
|
1935
2319
|
} & {
|
|
2320
|
+
kind?: "document";
|
|
2321
|
+
text?: string;
|
|
2322
|
+
}) | {
|
|
2323
|
+
kind: "document";
|
|
2324
|
+
text: string;
|
|
2325
|
+
})) | ({
|
|
2326
|
+
__TYPE__: "ExternalLink";
|
|
2327
|
+
} & (({
|
|
1936
2328
|
url: string;
|
|
1937
2329
|
} & {
|
|
1938
2330
|
kind?: "web";
|
|
@@ -1940,6 +2332,14 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1940
2332
|
preview?: {
|
|
1941
2333
|
title?: string;
|
|
1942
2334
|
} | null | undefined;
|
|
2335
|
+
text?: string;
|
|
2336
|
+
}) | {
|
|
2337
|
+
kind: "web";
|
|
2338
|
+
text: string;
|
|
2339
|
+
})) | ({
|
|
2340
|
+
__TYPE__: "AnyLink";
|
|
2341
|
+
} & {
|
|
2342
|
+
text: string;
|
|
1943
2343
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
1944
2344
|
}>]>;
|
|
1945
2345
|
}>, t.PartialC<{
|
|
@@ -1977,35 +2377,47 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1977
2377
|
spans: t.Type<({
|
|
1978
2378
|
data: ({
|
|
1979
2379
|
__TYPE__: "ImageLink";
|
|
1980
|
-
} & {
|
|
2380
|
+
} & ({
|
|
2381
|
+
kind: "image";
|
|
2382
|
+
} & (({
|
|
1981
2383
|
id: string;
|
|
1982
2384
|
url: string;
|
|
1983
2385
|
height: string;
|
|
1984
2386
|
width: string;
|
|
1985
2387
|
size: string;
|
|
1986
2388
|
name: string;
|
|
1987
|
-
kind: string;
|
|
1988
2389
|
} & {
|
|
1989
2390
|
date?: string | null | undefined;
|
|
1990
|
-
|
|
2391
|
+
text?: string;
|
|
2392
|
+
}) | {
|
|
2393
|
+
text: string;
|
|
2394
|
+
}))) | ({
|
|
2395
|
+
__TYPE__: "FileLink";
|
|
2396
|
+
} & ({
|
|
2397
|
+
kind: "file";
|
|
2398
|
+
} & (({
|
|
1991
2399
|
id: string;
|
|
1992
2400
|
url: string;
|
|
1993
2401
|
name: string;
|
|
1994
|
-
kind: string;
|
|
1995
2402
|
size: string;
|
|
1996
2403
|
} & {
|
|
1997
2404
|
date?: string | null | undefined;
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
}) | ({
|
|
2405
|
+
text?: string;
|
|
2406
|
+
}) | {
|
|
2407
|
+
text: string;
|
|
2408
|
+
}))) | ({
|
|
2003
2409
|
__TYPE__: "DocumentLink";
|
|
2004
|
-
} & {
|
|
2410
|
+
} & (({
|
|
2005
2411
|
id: string;
|
|
2006
|
-
}) | ({
|
|
2007
|
-
__TYPE__: "ExternalLink";
|
|
2008
2412
|
} & {
|
|
2413
|
+
kind?: "document";
|
|
2414
|
+
text?: string;
|
|
2415
|
+
}) | {
|
|
2416
|
+
kind: "document";
|
|
2417
|
+
text: string;
|
|
2418
|
+
})) | ({
|
|
2419
|
+
__TYPE__: "ExternalLink";
|
|
2420
|
+
} & (({
|
|
2009
2421
|
url: string;
|
|
2010
2422
|
} & {
|
|
2011
2423
|
kind?: "web";
|
|
@@ -2013,6 +2425,14 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
2013
2425
|
preview?: {
|
|
2014
2426
|
title?: string;
|
|
2015
2427
|
} | null | undefined;
|
|
2428
|
+
text?: string;
|
|
2429
|
+
}) | {
|
|
2430
|
+
kind: "web";
|
|
2431
|
+
text: string;
|
|
2432
|
+
})) | ({
|
|
2433
|
+
__TYPE__: "AnyLink";
|
|
2434
|
+
} & {
|
|
2435
|
+
text: string;
|
|
2016
2436
|
});
|
|
2017
2437
|
start: number;
|
|
2018
2438
|
end: number;
|
|
@@ -2029,35 +2449,47 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
2029
2449
|
})[], ({
|
|
2030
2450
|
data: ({
|
|
2031
2451
|
__TYPE__: "ImageLink";
|
|
2032
|
-
} & {
|
|
2452
|
+
} & ({
|
|
2453
|
+
kind: "image";
|
|
2454
|
+
} & (({
|
|
2033
2455
|
id: string;
|
|
2034
2456
|
url: string;
|
|
2035
2457
|
height: string;
|
|
2036
2458
|
width: string;
|
|
2037
2459
|
size: string;
|
|
2038
2460
|
name: string;
|
|
2039
|
-
kind: string;
|
|
2040
2461
|
} & {
|
|
2041
2462
|
date?: string | null | undefined;
|
|
2042
|
-
|
|
2463
|
+
text?: string;
|
|
2464
|
+
}) | {
|
|
2465
|
+
text: string;
|
|
2466
|
+
}))) | ({
|
|
2467
|
+
__TYPE__: "FileLink";
|
|
2468
|
+
} & ({
|
|
2469
|
+
kind: "file";
|
|
2470
|
+
} & (({
|
|
2043
2471
|
id: string;
|
|
2044
2472
|
url: string;
|
|
2045
2473
|
name: string;
|
|
2046
|
-
kind: string;
|
|
2047
2474
|
size: string;
|
|
2048
2475
|
} & {
|
|
2049
2476
|
date?: string | null | undefined;
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
}) | ({
|
|
2477
|
+
text?: string;
|
|
2478
|
+
}) | {
|
|
2479
|
+
text: string;
|
|
2480
|
+
}))) | ({
|
|
2055
2481
|
__TYPE__: "DocumentLink";
|
|
2056
|
-
} & {
|
|
2482
|
+
} & (({
|
|
2057
2483
|
id: string;
|
|
2058
|
-
}) | ({
|
|
2059
|
-
__TYPE__: "ExternalLink";
|
|
2060
2484
|
} & {
|
|
2485
|
+
kind?: "document";
|
|
2486
|
+
text?: string;
|
|
2487
|
+
}) | {
|
|
2488
|
+
kind: "document";
|
|
2489
|
+
text: string;
|
|
2490
|
+
})) | ({
|
|
2491
|
+
__TYPE__: "ExternalLink";
|
|
2492
|
+
} & (({
|
|
2061
2493
|
url: string;
|
|
2062
2494
|
} & {
|
|
2063
2495
|
kind?: "web";
|
|
@@ -2065,6 +2497,14 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
2065
2497
|
preview?: {
|
|
2066
2498
|
title?: string;
|
|
2067
2499
|
} | null | undefined;
|
|
2500
|
+
text?: string;
|
|
2501
|
+
}) | {
|
|
2502
|
+
kind: "web";
|
|
2503
|
+
text: string;
|
|
2504
|
+
})) | ({
|
|
2505
|
+
__TYPE__: "AnyLink";
|
|
2506
|
+
} & {
|
|
2507
|
+
text: string;
|
|
2068
2508
|
});
|
|
2069
2509
|
start: number;
|
|
2070
2510
|
end: number;
|