@prismicio/types-internal 2.7.0-alpha.2 → 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 +1783 -859
- package/lib/content/fields/WidgetContent.d.ts +1782 -858
- package/lib/content/fields/nestable/LinkContent.d.ts +207 -90
- package/lib/content/fields/nestable/LinkContent.js +93 -48
- package/lib/content/fields/nestable/NestableContent.d.ts +297 -143
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +546 -249
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +270 -130
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +594 -286
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +135 -65
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +594 -286
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +297 -143
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +297 -143
- package/lib/content/fields/slices/Slice/index.d.ts +1080 -520
- package/lib/content/fields/slices/SliceItem.d.ts +1080 -520
- package/lib/content/fields/slices/SlicesContent.d.ts +1485 -715
- package/lib/customtypes/CustomType.d.ts +180 -342
- package/lib/customtypes/Section.d.ts +180 -342
- package/lib/customtypes/diff/SharedSlice.d.ts +80 -152
- package/lib/customtypes/diff/Variation.d.ts +80 -152
- package/lib/customtypes/widgets/Group.d.ts +6 -60
- package/lib/customtypes/widgets/Widget.d.ts +129 -318
- package/lib/customtypes/widgets/nestable/Link.d.ts +2 -20
- package/lib/customtypes/widgets/nestable/Link.js +1 -2
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +1 -10
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -20
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -20
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +8 -80
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +33 -87
- package/lib/customtypes/widgets/slices/Slices.d.ts +172 -424
- package/package.json +1 -1
- package/src/content/fields/nestable/LinkContent.ts +118 -58
- package/src/customtypes/widgets/nestable/Link.ts +1 -2
- package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +0 -727
- package/lib/content/fields/nestable/RichTextContent/TextBlock.js +0 -80
- package/lib/customtypes/widgets/slices/SliceWidget.d.ts +0 -327
- package/lib/customtypes/widgets/slices/SliceWidget.js +0 -8
|
@@ -118,40 +118,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
118
118
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
119
119
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
120
120
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
121
|
-
}>>, t.
|
|
121
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
122
|
+
kind: t.LiteralC<"image">;
|
|
123
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
122
124
|
id: t.StringC;
|
|
123
125
|
url: t.StringC;
|
|
124
126
|
height: t.StringC;
|
|
125
127
|
width: t.StringC;
|
|
126
128
|
size: t.StringC;
|
|
127
129
|
name: t.StringC;
|
|
128
|
-
kind: t.StringC;
|
|
129
130
|
}>, t.PartialC<{
|
|
130
131
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
131
132
|
text: t.StringC;
|
|
132
|
-
}>]
|
|
133
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
134
|
+
text: t.StringC;
|
|
135
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
136
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
137
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
138
|
+
kind: t.LiteralC<"file">;
|
|
139
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
133
140
|
id: t.StringC;
|
|
134
141
|
url: t.StringC;
|
|
135
142
|
name: t.StringC;
|
|
136
|
-
kind: t.StringC;
|
|
137
143
|
size: t.StringC;
|
|
138
144
|
}>, t.PartialC<{
|
|
139
145
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
140
146
|
text: t.StringC;
|
|
141
|
-
}>]>>, t.ExactC<t.
|
|
142
|
-
__TYPE__: t.LiteralC<"FileLink">;
|
|
143
|
-
}>, t.PartialC<{
|
|
144
|
-
size: t.StringC;
|
|
147
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
145
148
|
text: t.StringC;
|
|
146
|
-
}>]
|
|
149
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
147
150
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
148
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
151
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
149
152
|
id: t.Type<string, string, unknown>;
|
|
150
153
|
}>, t.PartialC<{
|
|
154
|
+
kind: t.LiteralC<"document">;
|
|
155
|
+
text: t.StringC;
|
|
156
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
157
|
+
kind: t.LiteralC<"document">;
|
|
151
158
|
text: t.StringC;
|
|
152
|
-
}>]
|
|
159
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
153
160
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
154
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
161
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
155
162
|
url: t.StringC;
|
|
156
163
|
}>, t.PartialC<{
|
|
157
164
|
kind: t.LiteralC<"web">;
|
|
@@ -162,7 +169,14 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
162
169
|
title?: string;
|
|
163
170
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
164
171
|
text: t.StringC;
|
|
165
|
-
}>]
|
|
172
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
173
|
+
kind: t.LiteralC<"web">;
|
|
174
|
+
text: t.StringC;
|
|
175
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
176
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
177
|
+
}>>, t.ExactC<t.TypeC<{
|
|
178
|
+
text: t.StringC;
|
|
179
|
+
}>>]>]>;
|
|
166
180
|
}>>, t.ExactC<t.TypeC<{
|
|
167
181
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
168
182
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -192,40 +206,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
192
206
|
}>]>>, t.PartialC<{
|
|
193
207
|
linkTo: t.UnionC<[t.Type<({
|
|
194
208
|
__TYPE__: "ImageLink";
|
|
195
|
-
} & {
|
|
209
|
+
} & ({
|
|
210
|
+
kind: "image";
|
|
211
|
+
} & (({
|
|
196
212
|
id: string;
|
|
197
213
|
url: string;
|
|
198
214
|
height: string;
|
|
199
215
|
width: string;
|
|
200
216
|
size: string;
|
|
201
217
|
name: string;
|
|
202
|
-
kind: string;
|
|
203
218
|
} & {
|
|
204
219
|
date?: string | null | undefined;
|
|
205
220
|
text?: string;
|
|
206
|
-
}) |
|
|
221
|
+
}) | {
|
|
222
|
+
text: string;
|
|
223
|
+
}))) | ({
|
|
224
|
+
__TYPE__: "FileLink";
|
|
225
|
+
} & ({
|
|
226
|
+
kind: "file";
|
|
227
|
+
} & (({
|
|
207
228
|
id: string;
|
|
208
229
|
url: string;
|
|
209
230
|
name: string;
|
|
210
|
-
kind: string;
|
|
211
231
|
size: string;
|
|
212
232
|
} & {
|
|
213
233
|
date?: string | null | undefined;
|
|
214
234
|
text?: string;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
}
|
|
218
|
-
size?: string;
|
|
219
|
-
text?: string;
|
|
220
|
-
}) | ({
|
|
235
|
+
}) | {
|
|
236
|
+
text: string;
|
|
237
|
+
}))) | ({
|
|
221
238
|
__TYPE__: "DocumentLink";
|
|
222
|
-
} & {
|
|
239
|
+
} & (({
|
|
223
240
|
id: string;
|
|
224
241
|
} & {
|
|
242
|
+
kind?: "document";
|
|
225
243
|
text?: string;
|
|
226
|
-
}) |
|
|
244
|
+
}) | {
|
|
245
|
+
kind: "document";
|
|
246
|
+
text: string;
|
|
247
|
+
})) | ({
|
|
227
248
|
__TYPE__: "ExternalLink";
|
|
228
|
-
} & {
|
|
249
|
+
} & (({
|
|
229
250
|
url: string;
|
|
230
251
|
} & {
|
|
231
252
|
kind?: "web";
|
|
@@ -234,42 +255,56 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
234
255
|
title?: string;
|
|
235
256
|
} | null | undefined;
|
|
236
257
|
text?: string;
|
|
258
|
+
}) | {
|
|
259
|
+
kind: "web";
|
|
260
|
+
text: string;
|
|
261
|
+
})) | ({
|
|
262
|
+
__TYPE__: "AnyLink";
|
|
263
|
+
} & {
|
|
264
|
+
text: string;
|
|
237
265
|
}), ({
|
|
238
266
|
__TYPE__: "ImageLink";
|
|
239
|
-
} & {
|
|
267
|
+
} & ({
|
|
268
|
+
kind: "image";
|
|
269
|
+
} & (({
|
|
240
270
|
id: string;
|
|
241
271
|
url: string;
|
|
242
272
|
height: string;
|
|
243
273
|
width: string;
|
|
244
274
|
size: string;
|
|
245
275
|
name: string;
|
|
246
|
-
kind: string;
|
|
247
276
|
} & {
|
|
248
277
|
date?: string | null | undefined;
|
|
249
278
|
text?: string;
|
|
250
|
-
}) |
|
|
279
|
+
}) | {
|
|
280
|
+
text: string;
|
|
281
|
+
}))) | ({
|
|
282
|
+
__TYPE__: "FileLink";
|
|
283
|
+
} & ({
|
|
284
|
+
kind: "file";
|
|
285
|
+
} & (({
|
|
251
286
|
id: string;
|
|
252
287
|
url: string;
|
|
253
288
|
name: string;
|
|
254
|
-
kind: string;
|
|
255
289
|
size: string;
|
|
256
290
|
} & {
|
|
257
291
|
date?: string | null | undefined;
|
|
258
292
|
text?: string;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
}
|
|
262
|
-
size?: string;
|
|
263
|
-
text?: string;
|
|
264
|
-
}) | ({
|
|
293
|
+
}) | {
|
|
294
|
+
text: string;
|
|
295
|
+
}))) | ({
|
|
265
296
|
__TYPE__: "DocumentLink";
|
|
266
|
-
} & {
|
|
297
|
+
} & (({
|
|
267
298
|
id: string;
|
|
268
299
|
} & {
|
|
300
|
+
kind?: "document";
|
|
269
301
|
text?: string;
|
|
270
|
-
}) |
|
|
302
|
+
}) | {
|
|
303
|
+
kind: "document";
|
|
304
|
+
text: string;
|
|
305
|
+
})) | ({
|
|
271
306
|
__TYPE__: "ExternalLink";
|
|
272
|
-
} & {
|
|
307
|
+
} & (({
|
|
273
308
|
url: string;
|
|
274
309
|
} & {
|
|
275
310
|
kind?: "web";
|
|
@@ -278,6 +313,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
278
313
|
title?: string;
|
|
279
314
|
} | null | undefined;
|
|
280
315
|
text?: string;
|
|
316
|
+
}) | {
|
|
317
|
+
kind: "web";
|
|
318
|
+
text: string;
|
|
319
|
+
})) | ({
|
|
320
|
+
__TYPE__: "AnyLink";
|
|
321
|
+
} & {
|
|
322
|
+
text: string;
|
|
281
323
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
282
324
|
}>]>;
|
|
283
325
|
}>, t.PartialC<{
|
|
@@ -315,40 +357,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
315
357
|
spans: t.Type<({
|
|
316
358
|
data: ({
|
|
317
359
|
__TYPE__: "ImageLink";
|
|
318
|
-
} & {
|
|
360
|
+
} & ({
|
|
361
|
+
kind: "image";
|
|
362
|
+
} & (({
|
|
319
363
|
id: string;
|
|
320
364
|
url: string;
|
|
321
365
|
height: string;
|
|
322
366
|
width: string;
|
|
323
367
|
size: string;
|
|
324
368
|
name: string;
|
|
325
|
-
kind: string;
|
|
326
369
|
} & {
|
|
327
370
|
date?: string | null | undefined;
|
|
328
371
|
text?: string;
|
|
329
|
-
}) |
|
|
372
|
+
}) | {
|
|
373
|
+
text: string;
|
|
374
|
+
}))) | ({
|
|
375
|
+
__TYPE__: "FileLink";
|
|
376
|
+
} & ({
|
|
377
|
+
kind: "file";
|
|
378
|
+
} & (({
|
|
330
379
|
id: string;
|
|
331
380
|
url: string;
|
|
332
381
|
name: string;
|
|
333
|
-
kind: string;
|
|
334
382
|
size: string;
|
|
335
383
|
} & {
|
|
336
384
|
date?: string | null | undefined;
|
|
337
385
|
text?: string;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
}
|
|
341
|
-
size?: string;
|
|
342
|
-
text?: string;
|
|
343
|
-
}) | ({
|
|
386
|
+
}) | {
|
|
387
|
+
text: string;
|
|
388
|
+
}))) | ({
|
|
344
389
|
__TYPE__: "DocumentLink";
|
|
345
|
-
} & {
|
|
390
|
+
} & (({
|
|
346
391
|
id: string;
|
|
347
392
|
} & {
|
|
393
|
+
kind?: "document";
|
|
348
394
|
text?: string;
|
|
349
|
-
}) |
|
|
395
|
+
}) | {
|
|
396
|
+
kind: "document";
|
|
397
|
+
text: string;
|
|
398
|
+
})) | ({
|
|
350
399
|
__TYPE__: "ExternalLink";
|
|
351
|
-
} & {
|
|
400
|
+
} & (({
|
|
352
401
|
url: string;
|
|
353
402
|
} & {
|
|
354
403
|
kind?: "web";
|
|
@@ -357,6 +406,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
357
406
|
title?: string;
|
|
358
407
|
} | null | undefined;
|
|
359
408
|
text?: string;
|
|
409
|
+
}) | {
|
|
410
|
+
kind: "web";
|
|
411
|
+
text: string;
|
|
412
|
+
})) | ({
|
|
413
|
+
__TYPE__: "AnyLink";
|
|
414
|
+
} & {
|
|
415
|
+
text: string;
|
|
360
416
|
});
|
|
361
417
|
start: number;
|
|
362
418
|
end: number;
|
|
@@ -373,40 +429,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
373
429
|
})[], ({
|
|
374
430
|
data: ({
|
|
375
431
|
__TYPE__: "ImageLink";
|
|
376
|
-
} & {
|
|
432
|
+
} & ({
|
|
433
|
+
kind: "image";
|
|
434
|
+
} & (({
|
|
377
435
|
id: string;
|
|
378
436
|
url: string;
|
|
379
437
|
height: string;
|
|
380
438
|
width: string;
|
|
381
439
|
size: string;
|
|
382
440
|
name: string;
|
|
383
|
-
kind: string;
|
|
384
441
|
} & {
|
|
385
442
|
date?: string | null | undefined;
|
|
386
443
|
text?: string;
|
|
387
|
-
}) |
|
|
444
|
+
}) | {
|
|
445
|
+
text: string;
|
|
446
|
+
}))) | ({
|
|
447
|
+
__TYPE__: "FileLink";
|
|
448
|
+
} & ({
|
|
449
|
+
kind: "file";
|
|
450
|
+
} & (({
|
|
388
451
|
id: string;
|
|
389
452
|
url: string;
|
|
390
453
|
name: string;
|
|
391
|
-
kind: string;
|
|
392
454
|
size: string;
|
|
393
455
|
} & {
|
|
394
456
|
date?: string | null | undefined;
|
|
395
457
|
text?: string;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
}
|
|
399
|
-
size?: string;
|
|
400
|
-
text?: string;
|
|
401
|
-
}) | ({
|
|
458
|
+
}) | {
|
|
459
|
+
text: string;
|
|
460
|
+
}))) | ({
|
|
402
461
|
__TYPE__: "DocumentLink";
|
|
403
|
-
} & {
|
|
462
|
+
} & (({
|
|
404
463
|
id: string;
|
|
405
464
|
} & {
|
|
465
|
+
kind?: "document";
|
|
406
466
|
text?: string;
|
|
407
|
-
}) |
|
|
467
|
+
}) | {
|
|
468
|
+
kind: "document";
|
|
469
|
+
text: string;
|
|
470
|
+
})) | ({
|
|
408
471
|
__TYPE__: "ExternalLink";
|
|
409
|
-
} & {
|
|
472
|
+
} & (({
|
|
410
473
|
url: string;
|
|
411
474
|
} & {
|
|
412
475
|
kind?: "web";
|
|
@@ -415,6 +478,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
415
478
|
title?: string;
|
|
416
479
|
} | null | undefined;
|
|
417
480
|
text?: string;
|
|
481
|
+
}) | {
|
|
482
|
+
kind: "web";
|
|
483
|
+
text: string;
|
|
484
|
+
})) | ({
|
|
485
|
+
__TYPE__: "AnyLink";
|
|
486
|
+
} & {
|
|
487
|
+
text: string;
|
|
418
488
|
});
|
|
419
489
|
start: number;
|
|
420
490
|
end: number;
|
|
@@ -561,40 +631,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
561
631
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
562
632
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
563
633
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
564
|
-
}>>, t.
|
|
634
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
635
|
+
kind: t.LiteralC<"image">;
|
|
636
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
565
637
|
id: t.StringC;
|
|
566
638
|
url: t.StringC;
|
|
567
639
|
height: t.StringC;
|
|
568
640
|
width: t.StringC;
|
|
569
641
|
size: t.StringC;
|
|
570
642
|
name: t.StringC;
|
|
571
|
-
kind: t.StringC;
|
|
572
643
|
}>, t.PartialC<{
|
|
573
644
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
574
645
|
text: t.StringC;
|
|
575
|
-
}>]
|
|
646
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
647
|
+
text: t.StringC;
|
|
648
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
649
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
650
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
651
|
+
kind: t.LiteralC<"file">;
|
|
652
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
576
653
|
id: t.StringC;
|
|
577
654
|
url: t.StringC;
|
|
578
655
|
name: t.StringC;
|
|
579
|
-
kind: t.StringC;
|
|
580
656
|
size: t.StringC;
|
|
581
657
|
}>, t.PartialC<{
|
|
582
658
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
583
659
|
text: t.StringC;
|
|
584
|
-
}>]>>, t.ExactC<t.
|
|
585
|
-
__TYPE__: t.LiteralC<"FileLink">;
|
|
586
|
-
}>, t.PartialC<{
|
|
587
|
-
size: t.StringC;
|
|
660
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
588
661
|
text: t.StringC;
|
|
589
|
-
}>]
|
|
662
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
590
663
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
591
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
664
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
592
665
|
id: t.Type<string, string, unknown>;
|
|
593
666
|
}>, t.PartialC<{
|
|
667
|
+
kind: t.LiteralC<"document">;
|
|
594
668
|
text: t.StringC;
|
|
595
|
-
}>]
|
|
669
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
670
|
+
kind: t.LiteralC<"document">;
|
|
671
|
+
text: t.StringC;
|
|
672
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
596
673
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
597
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
674
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
598
675
|
url: t.StringC;
|
|
599
676
|
}>, t.PartialC<{
|
|
600
677
|
kind: t.LiteralC<"web">;
|
|
@@ -605,7 +682,14 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
605
682
|
title?: string;
|
|
606
683
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
607
684
|
text: t.StringC;
|
|
608
|
-
}>]
|
|
685
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
686
|
+
kind: t.LiteralC<"web">;
|
|
687
|
+
text: t.StringC;
|
|
688
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
689
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
690
|
+
}>>, t.ExactC<t.TypeC<{
|
|
691
|
+
text: t.StringC;
|
|
692
|
+
}>>]>]>;
|
|
609
693
|
}>>, t.ExactC<t.TypeC<{
|
|
610
694
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
611
695
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -635,40 +719,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
635
719
|
}>]>>, t.PartialC<{
|
|
636
720
|
linkTo: t.UnionC<[t.Type<({
|
|
637
721
|
__TYPE__: "ImageLink";
|
|
638
|
-
} & {
|
|
722
|
+
} & ({
|
|
723
|
+
kind: "image";
|
|
724
|
+
} & (({
|
|
639
725
|
id: string;
|
|
640
726
|
url: string;
|
|
641
727
|
height: string;
|
|
642
728
|
width: string;
|
|
643
729
|
size: string;
|
|
644
730
|
name: string;
|
|
645
|
-
kind: string;
|
|
646
731
|
} & {
|
|
647
732
|
date?: string | null | undefined;
|
|
648
733
|
text?: string;
|
|
649
|
-
}) |
|
|
734
|
+
}) | {
|
|
735
|
+
text: string;
|
|
736
|
+
}))) | ({
|
|
737
|
+
__TYPE__: "FileLink";
|
|
738
|
+
} & ({
|
|
739
|
+
kind: "file";
|
|
740
|
+
} & (({
|
|
650
741
|
id: string;
|
|
651
742
|
url: string;
|
|
652
743
|
name: string;
|
|
653
|
-
kind: string;
|
|
654
744
|
size: string;
|
|
655
745
|
} & {
|
|
656
746
|
date?: string | null | undefined;
|
|
657
747
|
text?: string;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
}
|
|
661
|
-
size?: string;
|
|
662
|
-
text?: string;
|
|
663
|
-
}) | ({
|
|
748
|
+
}) | {
|
|
749
|
+
text: string;
|
|
750
|
+
}))) | ({
|
|
664
751
|
__TYPE__: "DocumentLink";
|
|
665
|
-
} & {
|
|
752
|
+
} & (({
|
|
666
753
|
id: string;
|
|
667
754
|
} & {
|
|
755
|
+
kind?: "document";
|
|
668
756
|
text?: string;
|
|
669
|
-
}) |
|
|
757
|
+
}) | {
|
|
758
|
+
kind: "document";
|
|
759
|
+
text: string;
|
|
760
|
+
})) | ({
|
|
670
761
|
__TYPE__: "ExternalLink";
|
|
671
|
-
} & {
|
|
762
|
+
} & (({
|
|
672
763
|
url: string;
|
|
673
764
|
} & {
|
|
674
765
|
kind?: "web";
|
|
@@ -677,42 +768,56 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
677
768
|
title?: string;
|
|
678
769
|
} | null | undefined;
|
|
679
770
|
text?: string;
|
|
771
|
+
}) | {
|
|
772
|
+
kind: "web";
|
|
773
|
+
text: string;
|
|
774
|
+
})) | ({
|
|
775
|
+
__TYPE__: "AnyLink";
|
|
776
|
+
} & {
|
|
777
|
+
text: string;
|
|
680
778
|
}), ({
|
|
681
779
|
__TYPE__: "ImageLink";
|
|
682
|
-
} & {
|
|
780
|
+
} & ({
|
|
781
|
+
kind: "image";
|
|
782
|
+
} & (({
|
|
683
783
|
id: string;
|
|
684
784
|
url: string;
|
|
685
785
|
height: string;
|
|
686
786
|
width: string;
|
|
687
787
|
size: string;
|
|
688
788
|
name: string;
|
|
689
|
-
kind: string;
|
|
690
789
|
} & {
|
|
691
790
|
date?: string | null | undefined;
|
|
692
791
|
text?: string;
|
|
693
|
-
}) |
|
|
792
|
+
}) | {
|
|
793
|
+
text: string;
|
|
794
|
+
}))) | ({
|
|
795
|
+
__TYPE__: "FileLink";
|
|
796
|
+
} & ({
|
|
797
|
+
kind: "file";
|
|
798
|
+
} & (({
|
|
694
799
|
id: string;
|
|
695
800
|
url: string;
|
|
696
801
|
name: string;
|
|
697
|
-
kind: string;
|
|
698
802
|
size: string;
|
|
699
803
|
} & {
|
|
700
804
|
date?: string | null | undefined;
|
|
701
805
|
text?: string;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
}
|
|
705
|
-
size?: string;
|
|
706
|
-
text?: string;
|
|
707
|
-
}) | ({
|
|
806
|
+
}) | {
|
|
807
|
+
text: string;
|
|
808
|
+
}))) | ({
|
|
708
809
|
__TYPE__: "DocumentLink";
|
|
709
|
-
} & {
|
|
810
|
+
} & (({
|
|
710
811
|
id: string;
|
|
711
812
|
} & {
|
|
813
|
+
kind?: "document";
|
|
712
814
|
text?: string;
|
|
713
|
-
}) |
|
|
815
|
+
}) | {
|
|
816
|
+
kind: "document";
|
|
817
|
+
text: string;
|
|
818
|
+
})) | ({
|
|
714
819
|
__TYPE__: "ExternalLink";
|
|
715
|
-
} & {
|
|
820
|
+
} & (({
|
|
716
821
|
url: string;
|
|
717
822
|
} & {
|
|
718
823
|
kind?: "web";
|
|
@@ -721,6 +826,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
721
826
|
title?: string;
|
|
722
827
|
} | null | undefined;
|
|
723
828
|
text?: string;
|
|
829
|
+
}) | {
|
|
830
|
+
kind: "web";
|
|
831
|
+
text: string;
|
|
832
|
+
})) | ({
|
|
833
|
+
__TYPE__: "AnyLink";
|
|
834
|
+
} & {
|
|
835
|
+
text: string;
|
|
724
836
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
725
837
|
}>]>;
|
|
726
838
|
}>, t.PartialC<{
|
|
@@ -758,40 +870,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
758
870
|
spans: t.Type<({
|
|
759
871
|
data: ({
|
|
760
872
|
__TYPE__: "ImageLink";
|
|
761
|
-
} & {
|
|
873
|
+
} & ({
|
|
874
|
+
kind: "image";
|
|
875
|
+
} & (({
|
|
762
876
|
id: string;
|
|
763
877
|
url: string;
|
|
764
878
|
height: string;
|
|
765
879
|
width: string;
|
|
766
880
|
size: string;
|
|
767
881
|
name: string;
|
|
768
|
-
kind: string;
|
|
769
882
|
} & {
|
|
770
883
|
date?: string | null | undefined;
|
|
771
884
|
text?: string;
|
|
772
|
-
}) |
|
|
885
|
+
}) | {
|
|
886
|
+
text: string;
|
|
887
|
+
}))) | ({
|
|
888
|
+
__TYPE__: "FileLink";
|
|
889
|
+
} & ({
|
|
890
|
+
kind: "file";
|
|
891
|
+
} & (({
|
|
773
892
|
id: string;
|
|
774
893
|
url: string;
|
|
775
894
|
name: string;
|
|
776
|
-
kind: string;
|
|
777
895
|
size: string;
|
|
778
896
|
} & {
|
|
779
897
|
date?: string | null | undefined;
|
|
780
898
|
text?: string;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
}
|
|
784
|
-
size?: string;
|
|
785
|
-
text?: string;
|
|
786
|
-
}) | ({
|
|
899
|
+
}) | {
|
|
900
|
+
text: string;
|
|
901
|
+
}))) | ({
|
|
787
902
|
__TYPE__: "DocumentLink";
|
|
788
|
-
} & {
|
|
903
|
+
} & (({
|
|
789
904
|
id: string;
|
|
790
905
|
} & {
|
|
906
|
+
kind?: "document";
|
|
791
907
|
text?: string;
|
|
792
|
-
}) |
|
|
908
|
+
}) | {
|
|
909
|
+
kind: "document";
|
|
910
|
+
text: string;
|
|
911
|
+
})) | ({
|
|
793
912
|
__TYPE__: "ExternalLink";
|
|
794
|
-
} & {
|
|
913
|
+
} & (({
|
|
795
914
|
url: string;
|
|
796
915
|
} & {
|
|
797
916
|
kind?: "web";
|
|
@@ -800,6 +919,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
800
919
|
title?: string;
|
|
801
920
|
} | null | undefined;
|
|
802
921
|
text?: string;
|
|
922
|
+
}) | {
|
|
923
|
+
kind: "web";
|
|
924
|
+
text: string;
|
|
925
|
+
})) | ({
|
|
926
|
+
__TYPE__: "AnyLink";
|
|
927
|
+
} & {
|
|
928
|
+
text: string;
|
|
803
929
|
});
|
|
804
930
|
start: number;
|
|
805
931
|
end: number;
|
|
@@ -816,40 +942,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
816
942
|
})[], ({
|
|
817
943
|
data: ({
|
|
818
944
|
__TYPE__: "ImageLink";
|
|
819
|
-
} & {
|
|
945
|
+
} & ({
|
|
946
|
+
kind: "image";
|
|
947
|
+
} & (({
|
|
820
948
|
id: string;
|
|
821
949
|
url: string;
|
|
822
950
|
height: string;
|
|
823
951
|
width: string;
|
|
824
952
|
size: string;
|
|
825
953
|
name: string;
|
|
826
|
-
kind: string;
|
|
827
954
|
} & {
|
|
828
955
|
date?: string | null | undefined;
|
|
829
956
|
text?: string;
|
|
830
|
-
}) |
|
|
957
|
+
}) | {
|
|
958
|
+
text: string;
|
|
959
|
+
}))) | ({
|
|
960
|
+
__TYPE__: "FileLink";
|
|
961
|
+
} & ({
|
|
962
|
+
kind: "file";
|
|
963
|
+
} & (({
|
|
831
964
|
id: string;
|
|
832
965
|
url: string;
|
|
833
966
|
name: string;
|
|
834
|
-
kind: string;
|
|
835
967
|
size: string;
|
|
836
968
|
} & {
|
|
837
969
|
date?: string | null | undefined;
|
|
838
970
|
text?: string;
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
}
|
|
842
|
-
size?: string;
|
|
843
|
-
text?: string;
|
|
844
|
-
}) | ({
|
|
971
|
+
}) | {
|
|
972
|
+
text: string;
|
|
973
|
+
}))) | ({
|
|
845
974
|
__TYPE__: "DocumentLink";
|
|
846
|
-
} & {
|
|
975
|
+
} & (({
|
|
847
976
|
id: string;
|
|
848
977
|
} & {
|
|
978
|
+
kind?: "document";
|
|
849
979
|
text?: string;
|
|
850
|
-
}) |
|
|
980
|
+
}) | {
|
|
981
|
+
kind: "document";
|
|
982
|
+
text: string;
|
|
983
|
+
})) | ({
|
|
851
984
|
__TYPE__: "ExternalLink";
|
|
852
|
-
} & {
|
|
985
|
+
} & (({
|
|
853
986
|
url: string;
|
|
854
987
|
} & {
|
|
855
988
|
kind?: "web";
|
|
@@ -858,6 +991,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
858
991
|
title?: string;
|
|
859
992
|
} | null | undefined;
|
|
860
993
|
text?: string;
|
|
994
|
+
}) | {
|
|
995
|
+
kind: "web";
|
|
996
|
+
text: string;
|
|
997
|
+
})) | ({
|
|
998
|
+
__TYPE__: "AnyLink";
|
|
999
|
+
} & {
|
|
1000
|
+
text: string;
|
|
861
1001
|
});
|
|
862
1002
|
start: number;
|
|
863
1003
|
end: number;
|
|
@@ -996,40 +1136,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
996
1136
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
997
1137
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
998
1138
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
999
|
-
}>>, t.
|
|
1139
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1140
|
+
kind: t.LiteralC<"image">;
|
|
1141
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1000
1142
|
id: t.StringC;
|
|
1001
1143
|
url: t.StringC;
|
|
1002
1144
|
height: t.StringC;
|
|
1003
1145
|
width: t.StringC;
|
|
1004
1146
|
size: t.StringC;
|
|
1005
1147
|
name: t.StringC;
|
|
1006
|
-
kind: t.StringC;
|
|
1007
1148
|
}>, t.PartialC<{
|
|
1008
1149
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1009
1150
|
text: t.StringC;
|
|
1010
|
-
}>]
|
|
1151
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1152
|
+
text: t.StringC;
|
|
1153
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1154
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
1155
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1156
|
+
kind: t.LiteralC<"file">;
|
|
1157
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1011
1158
|
id: t.StringC;
|
|
1012
1159
|
url: t.StringC;
|
|
1013
1160
|
name: t.StringC;
|
|
1014
|
-
kind: t.StringC;
|
|
1015
1161
|
size: t.StringC;
|
|
1016
1162
|
}>, t.PartialC<{
|
|
1017
1163
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1018
1164
|
text: t.StringC;
|
|
1019
|
-
}>]>>, t.ExactC<t.
|
|
1020
|
-
__TYPE__: t.LiteralC<"FileLink">;
|
|
1021
|
-
}>, t.PartialC<{
|
|
1022
|
-
size: t.StringC;
|
|
1165
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1023
1166
|
text: t.StringC;
|
|
1024
|
-
}>]
|
|
1167
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1025
1168
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1026
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1169
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1027
1170
|
id: t.Type<string, string, unknown>;
|
|
1028
1171
|
}>, t.PartialC<{
|
|
1172
|
+
kind: t.LiteralC<"document">;
|
|
1173
|
+
text: t.StringC;
|
|
1174
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1175
|
+
kind: t.LiteralC<"document">;
|
|
1029
1176
|
text: t.StringC;
|
|
1030
|
-
}>]
|
|
1177
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1031
1178
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1032
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1179
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1033
1180
|
url: t.StringC;
|
|
1034
1181
|
}>, t.PartialC<{
|
|
1035
1182
|
kind: t.LiteralC<"web">;
|
|
@@ -1040,7 +1187,14 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1040
1187
|
title?: string;
|
|
1041
1188
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1042
1189
|
text: t.StringC;
|
|
1043
|
-
}>]
|
|
1190
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1191
|
+
kind: t.LiteralC<"web">;
|
|
1192
|
+
text: t.StringC;
|
|
1193
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1194
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1195
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1196
|
+
text: t.StringC;
|
|
1197
|
+
}>>]>]>;
|
|
1044
1198
|
}>>, t.ExactC<t.TypeC<{
|
|
1045
1199
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
1046
1200
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -1070,40 +1224,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1070
1224
|
}>]>>, t.PartialC<{
|
|
1071
1225
|
linkTo: t.UnionC<[t.Type<({
|
|
1072
1226
|
__TYPE__: "ImageLink";
|
|
1073
|
-
} & {
|
|
1227
|
+
} & ({
|
|
1228
|
+
kind: "image";
|
|
1229
|
+
} & (({
|
|
1074
1230
|
id: string;
|
|
1075
1231
|
url: string;
|
|
1076
1232
|
height: string;
|
|
1077
1233
|
width: string;
|
|
1078
1234
|
size: string;
|
|
1079
1235
|
name: string;
|
|
1080
|
-
kind: string;
|
|
1081
1236
|
} & {
|
|
1082
1237
|
date?: string | null | undefined;
|
|
1083
1238
|
text?: string;
|
|
1084
|
-
}) |
|
|
1239
|
+
}) | {
|
|
1240
|
+
text: string;
|
|
1241
|
+
}))) | ({
|
|
1242
|
+
__TYPE__: "FileLink";
|
|
1243
|
+
} & ({
|
|
1244
|
+
kind: "file";
|
|
1245
|
+
} & (({
|
|
1085
1246
|
id: string;
|
|
1086
1247
|
url: string;
|
|
1087
1248
|
name: string;
|
|
1088
|
-
kind: string;
|
|
1089
1249
|
size: string;
|
|
1090
1250
|
} & {
|
|
1091
1251
|
date?: string | null | undefined;
|
|
1092
1252
|
text?: string;
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
}
|
|
1096
|
-
size?: string;
|
|
1097
|
-
text?: string;
|
|
1098
|
-
}) | ({
|
|
1253
|
+
}) | {
|
|
1254
|
+
text: string;
|
|
1255
|
+
}))) | ({
|
|
1099
1256
|
__TYPE__: "DocumentLink";
|
|
1100
|
-
} & {
|
|
1257
|
+
} & (({
|
|
1101
1258
|
id: string;
|
|
1102
1259
|
} & {
|
|
1260
|
+
kind?: "document";
|
|
1103
1261
|
text?: string;
|
|
1104
|
-
}) |
|
|
1262
|
+
}) | {
|
|
1263
|
+
kind: "document";
|
|
1264
|
+
text: string;
|
|
1265
|
+
})) | ({
|
|
1105
1266
|
__TYPE__: "ExternalLink";
|
|
1106
|
-
} & {
|
|
1267
|
+
} & (({
|
|
1107
1268
|
url: string;
|
|
1108
1269
|
} & {
|
|
1109
1270
|
kind?: "web";
|
|
@@ -1112,42 +1273,56 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1112
1273
|
title?: string;
|
|
1113
1274
|
} | null | undefined;
|
|
1114
1275
|
text?: string;
|
|
1276
|
+
}) | {
|
|
1277
|
+
kind: "web";
|
|
1278
|
+
text: string;
|
|
1279
|
+
})) | ({
|
|
1280
|
+
__TYPE__: "AnyLink";
|
|
1281
|
+
} & {
|
|
1282
|
+
text: string;
|
|
1115
1283
|
}), ({
|
|
1116
1284
|
__TYPE__: "ImageLink";
|
|
1117
|
-
} & {
|
|
1285
|
+
} & ({
|
|
1286
|
+
kind: "image";
|
|
1287
|
+
} & (({
|
|
1118
1288
|
id: string;
|
|
1119
1289
|
url: string;
|
|
1120
1290
|
height: string;
|
|
1121
1291
|
width: string;
|
|
1122
1292
|
size: string;
|
|
1123
1293
|
name: string;
|
|
1124
|
-
kind: string;
|
|
1125
1294
|
} & {
|
|
1126
1295
|
date?: string | null | undefined;
|
|
1127
1296
|
text?: string;
|
|
1128
|
-
}) |
|
|
1297
|
+
}) | {
|
|
1298
|
+
text: string;
|
|
1299
|
+
}))) | ({
|
|
1300
|
+
__TYPE__: "FileLink";
|
|
1301
|
+
} & ({
|
|
1302
|
+
kind: "file";
|
|
1303
|
+
} & (({
|
|
1129
1304
|
id: string;
|
|
1130
1305
|
url: string;
|
|
1131
1306
|
name: string;
|
|
1132
|
-
kind: string;
|
|
1133
1307
|
size: string;
|
|
1134
1308
|
} & {
|
|
1135
1309
|
date?: string | null | undefined;
|
|
1136
1310
|
text?: string;
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
}
|
|
1140
|
-
size?: string;
|
|
1141
|
-
text?: string;
|
|
1142
|
-
}) | ({
|
|
1311
|
+
}) | {
|
|
1312
|
+
text: string;
|
|
1313
|
+
}))) | ({
|
|
1143
1314
|
__TYPE__: "DocumentLink";
|
|
1144
|
-
} & {
|
|
1315
|
+
} & (({
|
|
1145
1316
|
id: string;
|
|
1146
1317
|
} & {
|
|
1318
|
+
kind?: "document";
|
|
1147
1319
|
text?: string;
|
|
1148
|
-
}) |
|
|
1320
|
+
}) | {
|
|
1321
|
+
kind: "document";
|
|
1322
|
+
text: string;
|
|
1323
|
+
})) | ({
|
|
1149
1324
|
__TYPE__: "ExternalLink";
|
|
1150
|
-
} & {
|
|
1325
|
+
} & (({
|
|
1151
1326
|
url: string;
|
|
1152
1327
|
} & {
|
|
1153
1328
|
kind?: "web";
|
|
@@ -1156,6 +1331,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1156
1331
|
title?: string;
|
|
1157
1332
|
} | null | undefined;
|
|
1158
1333
|
text?: string;
|
|
1334
|
+
}) | {
|
|
1335
|
+
kind: "web";
|
|
1336
|
+
text: string;
|
|
1337
|
+
})) | ({
|
|
1338
|
+
__TYPE__: "AnyLink";
|
|
1339
|
+
} & {
|
|
1340
|
+
text: string;
|
|
1159
1341
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
1160
1342
|
}>]>;
|
|
1161
1343
|
}>, t.PartialC<{
|
|
@@ -1193,40 +1375,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1193
1375
|
spans: t.Type<({
|
|
1194
1376
|
data: ({
|
|
1195
1377
|
__TYPE__: "ImageLink";
|
|
1196
|
-
} & {
|
|
1378
|
+
} & ({
|
|
1379
|
+
kind: "image";
|
|
1380
|
+
} & (({
|
|
1197
1381
|
id: string;
|
|
1198
1382
|
url: string;
|
|
1199
1383
|
height: string;
|
|
1200
1384
|
width: string;
|
|
1201
1385
|
size: string;
|
|
1202
1386
|
name: string;
|
|
1203
|
-
kind: string;
|
|
1204
1387
|
} & {
|
|
1205
1388
|
date?: string | null | undefined;
|
|
1206
1389
|
text?: string;
|
|
1207
|
-
}) |
|
|
1390
|
+
}) | {
|
|
1391
|
+
text: string;
|
|
1392
|
+
}))) | ({
|
|
1393
|
+
__TYPE__: "FileLink";
|
|
1394
|
+
} & ({
|
|
1395
|
+
kind: "file";
|
|
1396
|
+
} & (({
|
|
1208
1397
|
id: string;
|
|
1209
1398
|
url: string;
|
|
1210
1399
|
name: string;
|
|
1211
|
-
kind: string;
|
|
1212
1400
|
size: string;
|
|
1213
1401
|
} & {
|
|
1214
1402
|
date?: string | null | undefined;
|
|
1215
1403
|
text?: string;
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
|
-
}
|
|
1219
|
-
size?: string;
|
|
1220
|
-
text?: string;
|
|
1221
|
-
}) | ({
|
|
1404
|
+
}) | {
|
|
1405
|
+
text: string;
|
|
1406
|
+
}))) | ({
|
|
1222
1407
|
__TYPE__: "DocumentLink";
|
|
1223
|
-
} & {
|
|
1408
|
+
} & (({
|
|
1224
1409
|
id: string;
|
|
1225
1410
|
} & {
|
|
1411
|
+
kind?: "document";
|
|
1226
1412
|
text?: string;
|
|
1227
|
-
}) |
|
|
1413
|
+
}) | {
|
|
1414
|
+
kind: "document";
|
|
1415
|
+
text: string;
|
|
1416
|
+
})) | ({
|
|
1228
1417
|
__TYPE__: "ExternalLink";
|
|
1229
|
-
} & {
|
|
1418
|
+
} & (({
|
|
1230
1419
|
url: string;
|
|
1231
1420
|
} & {
|
|
1232
1421
|
kind?: "web";
|
|
@@ -1235,6 +1424,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1235
1424
|
title?: string;
|
|
1236
1425
|
} | null | undefined;
|
|
1237
1426
|
text?: string;
|
|
1427
|
+
}) | {
|
|
1428
|
+
kind: "web";
|
|
1429
|
+
text: string;
|
|
1430
|
+
})) | ({
|
|
1431
|
+
__TYPE__: "AnyLink";
|
|
1432
|
+
} & {
|
|
1433
|
+
text: string;
|
|
1238
1434
|
});
|
|
1239
1435
|
start: number;
|
|
1240
1436
|
end: number;
|
|
@@ -1251,40 +1447,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1251
1447
|
})[], ({
|
|
1252
1448
|
data: ({
|
|
1253
1449
|
__TYPE__: "ImageLink";
|
|
1254
|
-
} & {
|
|
1450
|
+
} & ({
|
|
1451
|
+
kind: "image";
|
|
1452
|
+
} & (({
|
|
1255
1453
|
id: string;
|
|
1256
1454
|
url: string;
|
|
1257
1455
|
height: string;
|
|
1258
1456
|
width: string;
|
|
1259
1457
|
size: string;
|
|
1260
1458
|
name: string;
|
|
1261
|
-
kind: string;
|
|
1262
1459
|
} & {
|
|
1263
1460
|
date?: string | null | undefined;
|
|
1264
1461
|
text?: string;
|
|
1265
|
-
}) |
|
|
1462
|
+
}) | {
|
|
1463
|
+
text: string;
|
|
1464
|
+
}))) | ({
|
|
1465
|
+
__TYPE__: "FileLink";
|
|
1466
|
+
} & ({
|
|
1467
|
+
kind: "file";
|
|
1468
|
+
} & (({
|
|
1266
1469
|
id: string;
|
|
1267
1470
|
url: string;
|
|
1268
1471
|
name: string;
|
|
1269
|
-
kind: string;
|
|
1270
1472
|
size: string;
|
|
1271
1473
|
} & {
|
|
1272
1474
|
date?: string | null | undefined;
|
|
1273
1475
|
text?: string;
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
}
|
|
1277
|
-
size?: string;
|
|
1278
|
-
text?: string;
|
|
1279
|
-
}) | ({
|
|
1476
|
+
}) | {
|
|
1477
|
+
text: string;
|
|
1478
|
+
}))) | ({
|
|
1280
1479
|
__TYPE__: "DocumentLink";
|
|
1281
|
-
} & {
|
|
1480
|
+
} & (({
|
|
1282
1481
|
id: string;
|
|
1283
1482
|
} & {
|
|
1483
|
+
kind?: "document";
|
|
1284
1484
|
text?: string;
|
|
1285
|
-
}) |
|
|
1485
|
+
}) | {
|
|
1486
|
+
kind: "document";
|
|
1487
|
+
text: string;
|
|
1488
|
+
})) | ({
|
|
1286
1489
|
__TYPE__: "ExternalLink";
|
|
1287
|
-
} & {
|
|
1490
|
+
} & (({
|
|
1288
1491
|
url: string;
|
|
1289
1492
|
} & {
|
|
1290
1493
|
kind?: "web";
|
|
@@ -1293,6 +1496,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1293
1496
|
title?: string;
|
|
1294
1497
|
} | null | undefined;
|
|
1295
1498
|
text?: string;
|
|
1499
|
+
}) | {
|
|
1500
|
+
kind: "web";
|
|
1501
|
+
text: string;
|
|
1502
|
+
})) | ({
|
|
1503
|
+
__TYPE__: "AnyLink";
|
|
1504
|
+
} & {
|
|
1505
|
+
text: string;
|
|
1296
1506
|
});
|
|
1297
1507
|
start: number;
|
|
1298
1508
|
end: number;
|
|
@@ -1433,40 +1643,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1433
1643
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1434
1644
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1435
1645
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1436
|
-
}>>, t.
|
|
1646
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1647
|
+
kind: t.LiteralC<"image">;
|
|
1648
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1437
1649
|
id: t.StringC;
|
|
1438
1650
|
url: t.StringC;
|
|
1439
1651
|
height: t.StringC;
|
|
1440
1652
|
width: t.StringC;
|
|
1441
1653
|
size: t.StringC;
|
|
1442
1654
|
name: t.StringC;
|
|
1443
|
-
kind: t.StringC;
|
|
1444
1655
|
}>, t.PartialC<{
|
|
1445
1656
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1446
1657
|
text: t.StringC;
|
|
1447
|
-
}>]
|
|
1658
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1659
|
+
text: t.StringC;
|
|
1660
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1661
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
1662
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1663
|
+
kind: t.LiteralC<"file">;
|
|
1664
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1448
1665
|
id: t.StringC;
|
|
1449
1666
|
url: t.StringC;
|
|
1450
1667
|
name: t.StringC;
|
|
1451
|
-
kind: t.StringC;
|
|
1452
1668
|
size: t.StringC;
|
|
1453
1669
|
}>, t.PartialC<{
|
|
1454
1670
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1455
1671
|
text: t.StringC;
|
|
1456
|
-
}>]>>, t.ExactC<t.
|
|
1457
|
-
__TYPE__: t.LiteralC<"FileLink">;
|
|
1458
|
-
}>, t.PartialC<{
|
|
1459
|
-
size: t.StringC;
|
|
1672
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1460
1673
|
text: t.StringC;
|
|
1461
|
-
}>]
|
|
1674
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1462
1675
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1463
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1676
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1464
1677
|
id: t.Type<string, string, unknown>;
|
|
1465
1678
|
}>, t.PartialC<{
|
|
1679
|
+
kind: t.LiteralC<"document">;
|
|
1680
|
+
text: t.StringC;
|
|
1681
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1682
|
+
kind: t.LiteralC<"document">;
|
|
1466
1683
|
text: t.StringC;
|
|
1467
|
-
}>]
|
|
1684
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1468
1685
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1469
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1686
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1470
1687
|
url: t.StringC;
|
|
1471
1688
|
}>, t.PartialC<{
|
|
1472
1689
|
kind: t.LiteralC<"web">;
|
|
@@ -1477,7 +1694,14 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1477
1694
|
title?: string;
|
|
1478
1695
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1479
1696
|
text: t.StringC;
|
|
1480
|
-
}>]
|
|
1697
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1698
|
+
kind: t.LiteralC<"web">;
|
|
1699
|
+
text: t.StringC;
|
|
1700
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1701
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1702
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1703
|
+
text: t.StringC;
|
|
1704
|
+
}>>]>]>;
|
|
1481
1705
|
}>>, t.ExactC<t.TypeC<{
|
|
1482
1706
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
1483
1707
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -1507,40 +1731,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1507
1731
|
}>]>>, t.PartialC<{
|
|
1508
1732
|
linkTo: t.UnionC<[t.Type<({
|
|
1509
1733
|
__TYPE__: "ImageLink";
|
|
1510
|
-
} & {
|
|
1734
|
+
} & ({
|
|
1735
|
+
kind: "image";
|
|
1736
|
+
} & (({
|
|
1511
1737
|
id: string;
|
|
1512
1738
|
url: string;
|
|
1513
1739
|
height: string;
|
|
1514
1740
|
width: string;
|
|
1515
1741
|
size: string;
|
|
1516
1742
|
name: string;
|
|
1517
|
-
kind: string;
|
|
1518
1743
|
} & {
|
|
1519
1744
|
date?: string | null | undefined;
|
|
1520
1745
|
text?: string;
|
|
1521
|
-
}) |
|
|
1746
|
+
}) | {
|
|
1747
|
+
text: string;
|
|
1748
|
+
}))) | ({
|
|
1749
|
+
__TYPE__: "FileLink";
|
|
1750
|
+
} & ({
|
|
1751
|
+
kind: "file";
|
|
1752
|
+
} & (({
|
|
1522
1753
|
id: string;
|
|
1523
1754
|
url: string;
|
|
1524
1755
|
name: string;
|
|
1525
|
-
kind: string;
|
|
1526
1756
|
size: string;
|
|
1527
1757
|
} & {
|
|
1528
1758
|
date?: string | null | undefined;
|
|
1529
1759
|
text?: string;
|
|
1530
|
-
}
|
|
1531
|
-
|
|
1532
|
-
}
|
|
1533
|
-
size?: string;
|
|
1534
|
-
text?: string;
|
|
1535
|
-
}) | ({
|
|
1760
|
+
}) | {
|
|
1761
|
+
text: string;
|
|
1762
|
+
}))) | ({
|
|
1536
1763
|
__TYPE__: "DocumentLink";
|
|
1537
|
-
} & {
|
|
1764
|
+
} & (({
|
|
1538
1765
|
id: string;
|
|
1539
1766
|
} & {
|
|
1767
|
+
kind?: "document";
|
|
1540
1768
|
text?: string;
|
|
1541
|
-
}) |
|
|
1769
|
+
}) | {
|
|
1770
|
+
kind: "document";
|
|
1771
|
+
text: string;
|
|
1772
|
+
})) | ({
|
|
1542
1773
|
__TYPE__: "ExternalLink";
|
|
1543
|
-
} & {
|
|
1774
|
+
} & (({
|
|
1544
1775
|
url: string;
|
|
1545
1776
|
} & {
|
|
1546
1777
|
kind?: "web";
|
|
@@ -1549,42 +1780,56 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1549
1780
|
title?: string;
|
|
1550
1781
|
} | null | undefined;
|
|
1551
1782
|
text?: string;
|
|
1783
|
+
}) | {
|
|
1784
|
+
kind: "web";
|
|
1785
|
+
text: string;
|
|
1786
|
+
})) | ({
|
|
1787
|
+
__TYPE__: "AnyLink";
|
|
1788
|
+
} & {
|
|
1789
|
+
text: string;
|
|
1552
1790
|
}), ({
|
|
1553
1791
|
__TYPE__: "ImageLink";
|
|
1554
|
-
} & {
|
|
1792
|
+
} & ({
|
|
1793
|
+
kind: "image";
|
|
1794
|
+
} & (({
|
|
1555
1795
|
id: string;
|
|
1556
1796
|
url: string;
|
|
1557
1797
|
height: string;
|
|
1558
1798
|
width: string;
|
|
1559
1799
|
size: string;
|
|
1560
1800
|
name: string;
|
|
1561
|
-
kind: string;
|
|
1562
1801
|
} & {
|
|
1563
1802
|
date?: string | null | undefined;
|
|
1564
1803
|
text?: string;
|
|
1565
|
-
}) |
|
|
1804
|
+
}) | {
|
|
1805
|
+
text: string;
|
|
1806
|
+
}))) | ({
|
|
1807
|
+
__TYPE__: "FileLink";
|
|
1808
|
+
} & ({
|
|
1809
|
+
kind: "file";
|
|
1810
|
+
} & (({
|
|
1566
1811
|
id: string;
|
|
1567
1812
|
url: string;
|
|
1568
1813
|
name: string;
|
|
1569
|
-
kind: string;
|
|
1570
1814
|
size: string;
|
|
1571
1815
|
} & {
|
|
1572
1816
|
date?: string | null | undefined;
|
|
1573
1817
|
text?: string;
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
|
-
}
|
|
1577
|
-
size?: string;
|
|
1578
|
-
text?: string;
|
|
1579
|
-
}) | ({
|
|
1818
|
+
}) | {
|
|
1819
|
+
text: string;
|
|
1820
|
+
}))) | ({
|
|
1580
1821
|
__TYPE__: "DocumentLink";
|
|
1581
|
-
} & {
|
|
1822
|
+
} & (({
|
|
1582
1823
|
id: string;
|
|
1583
1824
|
} & {
|
|
1825
|
+
kind?: "document";
|
|
1584
1826
|
text?: string;
|
|
1585
|
-
}) |
|
|
1827
|
+
}) | {
|
|
1828
|
+
kind: "document";
|
|
1829
|
+
text: string;
|
|
1830
|
+
})) | ({
|
|
1586
1831
|
__TYPE__: "ExternalLink";
|
|
1587
|
-
} & {
|
|
1832
|
+
} & (({
|
|
1588
1833
|
url: string;
|
|
1589
1834
|
} & {
|
|
1590
1835
|
kind?: "web";
|
|
@@ -1593,6 +1838,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1593
1838
|
title?: string;
|
|
1594
1839
|
} | null | undefined;
|
|
1595
1840
|
text?: string;
|
|
1841
|
+
}) | {
|
|
1842
|
+
kind: "web";
|
|
1843
|
+
text: string;
|
|
1844
|
+
})) | ({
|
|
1845
|
+
__TYPE__: "AnyLink";
|
|
1846
|
+
} & {
|
|
1847
|
+
text: string;
|
|
1596
1848
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
1597
1849
|
}>]>;
|
|
1598
1850
|
}>, t.PartialC<{
|
|
@@ -1630,40 +1882,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1630
1882
|
spans: t.Type<({
|
|
1631
1883
|
data: ({
|
|
1632
1884
|
__TYPE__: "ImageLink";
|
|
1633
|
-
} & {
|
|
1885
|
+
} & ({
|
|
1886
|
+
kind: "image";
|
|
1887
|
+
} & (({
|
|
1634
1888
|
id: string;
|
|
1635
1889
|
url: string;
|
|
1636
1890
|
height: string;
|
|
1637
1891
|
width: string;
|
|
1638
1892
|
size: string;
|
|
1639
1893
|
name: string;
|
|
1640
|
-
kind: string;
|
|
1641
1894
|
} & {
|
|
1642
1895
|
date?: string | null | undefined;
|
|
1643
1896
|
text?: string;
|
|
1644
|
-
}) |
|
|
1897
|
+
}) | {
|
|
1898
|
+
text: string;
|
|
1899
|
+
}))) | ({
|
|
1900
|
+
__TYPE__: "FileLink";
|
|
1901
|
+
} & ({
|
|
1902
|
+
kind: "file";
|
|
1903
|
+
} & (({
|
|
1645
1904
|
id: string;
|
|
1646
1905
|
url: string;
|
|
1647
1906
|
name: string;
|
|
1648
|
-
kind: string;
|
|
1649
1907
|
size: string;
|
|
1650
1908
|
} & {
|
|
1651
1909
|
date?: string | null | undefined;
|
|
1652
1910
|
text?: string;
|
|
1653
|
-
}
|
|
1654
|
-
|
|
1655
|
-
}
|
|
1656
|
-
size?: string;
|
|
1657
|
-
text?: string;
|
|
1658
|
-
}) | ({
|
|
1911
|
+
}) | {
|
|
1912
|
+
text: string;
|
|
1913
|
+
}))) | ({
|
|
1659
1914
|
__TYPE__: "DocumentLink";
|
|
1660
|
-
} & {
|
|
1915
|
+
} & (({
|
|
1661
1916
|
id: string;
|
|
1662
1917
|
} & {
|
|
1918
|
+
kind?: "document";
|
|
1663
1919
|
text?: string;
|
|
1664
|
-
}) |
|
|
1920
|
+
}) | {
|
|
1921
|
+
kind: "document";
|
|
1922
|
+
text: string;
|
|
1923
|
+
})) | ({
|
|
1665
1924
|
__TYPE__: "ExternalLink";
|
|
1666
|
-
} & {
|
|
1925
|
+
} & (({
|
|
1667
1926
|
url: string;
|
|
1668
1927
|
} & {
|
|
1669
1928
|
kind?: "web";
|
|
@@ -1672,6 +1931,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1672
1931
|
title?: string;
|
|
1673
1932
|
} | null | undefined;
|
|
1674
1933
|
text?: string;
|
|
1934
|
+
}) | {
|
|
1935
|
+
kind: "web";
|
|
1936
|
+
text: string;
|
|
1937
|
+
})) | ({
|
|
1938
|
+
__TYPE__: "AnyLink";
|
|
1939
|
+
} & {
|
|
1940
|
+
text: string;
|
|
1675
1941
|
});
|
|
1676
1942
|
start: number;
|
|
1677
1943
|
end: number;
|
|
@@ -1688,40 +1954,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1688
1954
|
})[], ({
|
|
1689
1955
|
data: ({
|
|
1690
1956
|
__TYPE__: "ImageLink";
|
|
1691
|
-
} & {
|
|
1957
|
+
} & ({
|
|
1958
|
+
kind: "image";
|
|
1959
|
+
} & (({
|
|
1692
1960
|
id: string;
|
|
1693
1961
|
url: string;
|
|
1694
1962
|
height: string;
|
|
1695
1963
|
width: string;
|
|
1696
1964
|
size: string;
|
|
1697
1965
|
name: string;
|
|
1698
|
-
kind: string;
|
|
1699
1966
|
} & {
|
|
1700
1967
|
date?: string | null | undefined;
|
|
1701
1968
|
text?: string;
|
|
1702
|
-
}) |
|
|
1969
|
+
}) | {
|
|
1970
|
+
text: string;
|
|
1971
|
+
}))) | ({
|
|
1972
|
+
__TYPE__: "FileLink";
|
|
1973
|
+
} & ({
|
|
1974
|
+
kind: "file";
|
|
1975
|
+
} & (({
|
|
1703
1976
|
id: string;
|
|
1704
1977
|
url: string;
|
|
1705
1978
|
name: string;
|
|
1706
|
-
kind: string;
|
|
1707
1979
|
size: string;
|
|
1708
1980
|
} & {
|
|
1709
1981
|
date?: string | null | undefined;
|
|
1710
1982
|
text?: string;
|
|
1711
|
-
}
|
|
1712
|
-
|
|
1713
|
-
}
|
|
1714
|
-
size?: string;
|
|
1715
|
-
text?: string;
|
|
1716
|
-
}) | ({
|
|
1983
|
+
}) | {
|
|
1984
|
+
text: string;
|
|
1985
|
+
}))) | ({
|
|
1717
1986
|
__TYPE__: "DocumentLink";
|
|
1718
|
-
} & {
|
|
1987
|
+
} & (({
|
|
1719
1988
|
id: string;
|
|
1720
1989
|
} & {
|
|
1990
|
+
kind?: "document";
|
|
1721
1991
|
text?: string;
|
|
1722
|
-
}) |
|
|
1992
|
+
}) | {
|
|
1993
|
+
kind: "document";
|
|
1994
|
+
text: string;
|
|
1995
|
+
})) | ({
|
|
1723
1996
|
__TYPE__: "ExternalLink";
|
|
1724
|
-
} & {
|
|
1997
|
+
} & (({
|
|
1725
1998
|
url: string;
|
|
1726
1999
|
} & {
|
|
1727
2000
|
kind?: "web";
|
|
@@ -1730,6 +2003,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1730
2003
|
title?: string;
|
|
1731
2004
|
} | null | undefined;
|
|
1732
2005
|
text?: string;
|
|
2006
|
+
}) | {
|
|
2007
|
+
kind: "web";
|
|
2008
|
+
text: string;
|
|
2009
|
+
})) | ({
|
|
2010
|
+
__TYPE__: "AnyLink";
|
|
2011
|
+
} & {
|
|
2012
|
+
text: string;
|
|
1733
2013
|
});
|
|
1734
2014
|
start: number;
|
|
1735
2015
|
end: number;
|
|
@@ -1868,40 +2148,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1868
2148
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1869
2149
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1870
2150
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1871
|
-
}>>, t.
|
|
2151
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2152
|
+
kind: t.LiteralC<"image">;
|
|
2153
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1872
2154
|
id: t.StringC;
|
|
1873
2155
|
url: t.StringC;
|
|
1874
2156
|
height: t.StringC;
|
|
1875
2157
|
width: t.StringC;
|
|
1876
2158
|
size: t.StringC;
|
|
1877
2159
|
name: t.StringC;
|
|
1878
|
-
kind: t.StringC;
|
|
1879
2160
|
}>, t.PartialC<{
|
|
1880
2161
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1881
2162
|
text: t.StringC;
|
|
1882
|
-
}>]
|
|
2163
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2164
|
+
text: t.StringC;
|
|
2165
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2166
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
2167
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2168
|
+
kind: t.LiteralC<"file">;
|
|
2169
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1883
2170
|
id: t.StringC;
|
|
1884
2171
|
url: t.StringC;
|
|
1885
2172
|
name: t.StringC;
|
|
1886
|
-
kind: t.StringC;
|
|
1887
2173
|
size: t.StringC;
|
|
1888
2174
|
}>, t.PartialC<{
|
|
1889
2175
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1890
2176
|
text: t.StringC;
|
|
1891
|
-
}>]>>, t.ExactC<t.
|
|
1892
|
-
__TYPE__: t.LiteralC<"FileLink">;
|
|
1893
|
-
}>, t.PartialC<{
|
|
1894
|
-
size: t.StringC;
|
|
2177
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1895
2178
|
text: t.StringC;
|
|
1896
|
-
}>]
|
|
2179
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1897
2180
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1898
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2181
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1899
2182
|
id: t.Type<string, string, unknown>;
|
|
1900
2183
|
}>, t.PartialC<{
|
|
2184
|
+
kind: t.LiteralC<"document">;
|
|
2185
|
+
text: t.StringC;
|
|
2186
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2187
|
+
kind: t.LiteralC<"document">;
|
|
1901
2188
|
text: t.StringC;
|
|
1902
|
-
}>]
|
|
2189
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1903
2190
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1904
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2191
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1905
2192
|
url: t.StringC;
|
|
1906
2193
|
}>, t.PartialC<{
|
|
1907
2194
|
kind: t.LiteralC<"web">;
|
|
@@ -1912,7 +2199,14 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1912
2199
|
title?: string;
|
|
1913
2200
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1914
2201
|
text: t.StringC;
|
|
1915
|
-
}>]
|
|
2202
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2203
|
+
kind: t.LiteralC<"web">;
|
|
2204
|
+
text: t.StringC;
|
|
2205
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2206
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2207
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2208
|
+
text: t.StringC;
|
|
2209
|
+
}>>]>]>;
|
|
1916
2210
|
}>>, t.ExactC<t.TypeC<{
|
|
1917
2211
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
1918
2212
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -1942,40 +2236,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1942
2236
|
}>]>>, t.PartialC<{
|
|
1943
2237
|
linkTo: t.UnionC<[t.Type<({
|
|
1944
2238
|
__TYPE__: "ImageLink";
|
|
1945
|
-
} & {
|
|
2239
|
+
} & ({
|
|
2240
|
+
kind: "image";
|
|
2241
|
+
} & (({
|
|
1946
2242
|
id: string;
|
|
1947
2243
|
url: string;
|
|
1948
2244
|
height: string;
|
|
1949
2245
|
width: string;
|
|
1950
2246
|
size: string;
|
|
1951
2247
|
name: string;
|
|
1952
|
-
kind: string;
|
|
1953
2248
|
} & {
|
|
1954
2249
|
date?: string | null | undefined;
|
|
1955
2250
|
text?: string;
|
|
1956
|
-
}) |
|
|
2251
|
+
}) | {
|
|
2252
|
+
text: string;
|
|
2253
|
+
}))) | ({
|
|
2254
|
+
__TYPE__: "FileLink";
|
|
2255
|
+
} & ({
|
|
2256
|
+
kind: "file";
|
|
2257
|
+
} & (({
|
|
1957
2258
|
id: string;
|
|
1958
2259
|
url: string;
|
|
1959
2260
|
name: string;
|
|
1960
|
-
kind: string;
|
|
1961
2261
|
size: string;
|
|
1962
2262
|
} & {
|
|
1963
2263
|
date?: string | null | undefined;
|
|
1964
2264
|
text?: string;
|
|
1965
|
-
}
|
|
1966
|
-
|
|
1967
|
-
}
|
|
1968
|
-
size?: string;
|
|
1969
|
-
text?: string;
|
|
1970
|
-
}) | ({
|
|
2265
|
+
}) | {
|
|
2266
|
+
text: string;
|
|
2267
|
+
}))) | ({
|
|
1971
2268
|
__TYPE__: "DocumentLink";
|
|
1972
|
-
} & {
|
|
2269
|
+
} & (({
|
|
1973
2270
|
id: string;
|
|
1974
2271
|
} & {
|
|
2272
|
+
kind?: "document";
|
|
1975
2273
|
text?: string;
|
|
1976
|
-
}) |
|
|
2274
|
+
}) | {
|
|
2275
|
+
kind: "document";
|
|
2276
|
+
text: string;
|
|
2277
|
+
})) | ({
|
|
1977
2278
|
__TYPE__: "ExternalLink";
|
|
1978
|
-
} & {
|
|
2279
|
+
} & (({
|
|
1979
2280
|
url: string;
|
|
1980
2281
|
} & {
|
|
1981
2282
|
kind?: "web";
|
|
@@ -1984,42 +2285,56 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1984
2285
|
title?: string;
|
|
1985
2286
|
} | null | undefined;
|
|
1986
2287
|
text?: string;
|
|
2288
|
+
}) | {
|
|
2289
|
+
kind: "web";
|
|
2290
|
+
text: string;
|
|
2291
|
+
})) | ({
|
|
2292
|
+
__TYPE__: "AnyLink";
|
|
2293
|
+
} & {
|
|
2294
|
+
text: string;
|
|
1987
2295
|
}), ({
|
|
1988
2296
|
__TYPE__: "ImageLink";
|
|
1989
|
-
} & {
|
|
2297
|
+
} & ({
|
|
2298
|
+
kind: "image";
|
|
2299
|
+
} & (({
|
|
1990
2300
|
id: string;
|
|
1991
2301
|
url: string;
|
|
1992
2302
|
height: string;
|
|
1993
2303
|
width: string;
|
|
1994
2304
|
size: string;
|
|
1995
2305
|
name: string;
|
|
1996
|
-
kind: string;
|
|
1997
2306
|
} & {
|
|
1998
2307
|
date?: string | null | undefined;
|
|
1999
2308
|
text?: string;
|
|
2000
|
-
}) |
|
|
2309
|
+
}) | {
|
|
2310
|
+
text: string;
|
|
2311
|
+
}))) | ({
|
|
2312
|
+
__TYPE__: "FileLink";
|
|
2313
|
+
} & ({
|
|
2314
|
+
kind: "file";
|
|
2315
|
+
} & (({
|
|
2001
2316
|
id: string;
|
|
2002
2317
|
url: string;
|
|
2003
2318
|
name: string;
|
|
2004
|
-
kind: string;
|
|
2005
2319
|
size: string;
|
|
2006
2320
|
} & {
|
|
2007
2321
|
date?: string | null | undefined;
|
|
2008
2322
|
text?: string;
|
|
2009
|
-
}
|
|
2010
|
-
|
|
2011
|
-
}
|
|
2012
|
-
size?: string;
|
|
2013
|
-
text?: string;
|
|
2014
|
-
}) | ({
|
|
2323
|
+
}) | {
|
|
2324
|
+
text: string;
|
|
2325
|
+
}))) | ({
|
|
2015
2326
|
__TYPE__: "DocumentLink";
|
|
2016
|
-
} & {
|
|
2327
|
+
} & (({
|
|
2017
2328
|
id: string;
|
|
2018
2329
|
} & {
|
|
2330
|
+
kind?: "document";
|
|
2019
2331
|
text?: string;
|
|
2020
|
-
}) |
|
|
2332
|
+
}) | {
|
|
2333
|
+
kind: "document";
|
|
2334
|
+
text: string;
|
|
2335
|
+
})) | ({
|
|
2021
2336
|
__TYPE__: "ExternalLink";
|
|
2022
|
-
} & {
|
|
2337
|
+
} & (({
|
|
2023
2338
|
url: string;
|
|
2024
2339
|
} & {
|
|
2025
2340
|
kind?: "web";
|
|
@@ -2028,6 +2343,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2028
2343
|
title?: string;
|
|
2029
2344
|
} | null | undefined;
|
|
2030
2345
|
text?: string;
|
|
2346
|
+
}) | {
|
|
2347
|
+
kind: "web";
|
|
2348
|
+
text: string;
|
|
2349
|
+
})) | ({
|
|
2350
|
+
__TYPE__: "AnyLink";
|
|
2351
|
+
} & {
|
|
2352
|
+
text: string;
|
|
2031
2353
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
2032
2354
|
}>]>;
|
|
2033
2355
|
}>, t.PartialC<{
|
|
@@ -2065,40 +2387,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2065
2387
|
spans: t.Type<({
|
|
2066
2388
|
data: ({
|
|
2067
2389
|
__TYPE__: "ImageLink";
|
|
2068
|
-
} & {
|
|
2390
|
+
} & ({
|
|
2391
|
+
kind: "image";
|
|
2392
|
+
} & (({
|
|
2069
2393
|
id: string;
|
|
2070
2394
|
url: string;
|
|
2071
2395
|
height: string;
|
|
2072
2396
|
width: string;
|
|
2073
2397
|
size: string;
|
|
2074
2398
|
name: string;
|
|
2075
|
-
kind: string;
|
|
2076
2399
|
} & {
|
|
2077
2400
|
date?: string | null | undefined;
|
|
2078
2401
|
text?: string;
|
|
2079
|
-
}) |
|
|
2402
|
+
}) | {
|
|
2403
|
+
text: string;
|
|
2404
|
+
}))) | ({
|
|
2405
|
+
__TYPE__: "FileLink";
|
|
2406
|
+
} & ({
|
|
2407
|
+
kind: "file";
|
|
2408
|
+
} & (({
|
|
2080
2409
|
id: string;
|
|
2081
2410
|
url: string;
|
|
2082
2411
|
name: string;
|
|
2083
|
-
kind: string;
|
|
2084
2412
|
size: string;
|
|
2085
2413
|
} & {
|
|
2086
2414
|
date?: string | null | undefined;
|
|
2087
2415
|
text?: string;
|
|
2088
|
-
}
|
|
2089
|
-
|
|
2090
|
-
}
|
|
2091
|
-
size?: string;
|
|
2092
|
-
text?: string;
|
|
2093
|
-
}) | ({
|
|
2416
|
+
}) | {
|
|
2417
|
+
text: string;
|
|
2418
|
+
}))) | ({
|
|
2094
2419
|
__TYPE__: "DocumentLink";
|
|
2095
|
-
} & {
|
|
2420
|
+
} & (({
|
|
2096
2421
|
id: string;
|
|
2097
2422
|
} & {
|
|
2423
|
+
kind?: "document";
|
|
2098
2424
|
text?: string;
|
|
2099
|
-
}) |
|
|
2425
|
+
}) | {
|
|
2426
|
+
kind: "document";
|
|
2427
|
+
text: string;
|
|
2428
|
+
})) | ({
|
|
2100
2429
|
__TYPE__: "ExternalLink";
|
|
2101
|
-
} & {
|
|
2430
|
+
} & (({
|
|
2102
2431
|
url: string;
|
|
2103
2432
|
} & {
|
|
2104
2433
|
kind?: "web";
|
|
@@ -2107,6 +2436,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2107
2436
|
title?: string;
|
|
2108
2437
|
} | null | undefined;
|
|
2109
2438
|
text?: string;
|
|
2439
|
+
}) | {
|
|
2440
|
+
kind: "web";
|
|
2441
|
+
text: string;
|
|
2442
|
+
})) | ({
|
|
2443
|
+
__TYPE__: "AnyLink";
|
|
2444
|
+
} & {
|
|
2445
|
+
text: string;
|
|
2110
2446
|
});
|
|
2111
2447
|
start: number;
|
|
2112
2448
|
end: number;
|
|
@@ -2123,40 +2459,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2123
2459
|
})[], ({
|
|
2124
2460
|
data: ({
|
|
2125
2461
|
__TYPE__: "ImageLink";
|
|
2126
|
-
} & {
|
|
2462
|
+
} & ({
|
|
2463
|
+
kind: "image";
|
|
2464
|
+
} & (({
|
|
2127
2465
|
id: string;
|
|
2128
2466
|
url: string;
|
|
2129
2467
|
height: string;
|
|
2130
2468
|
width: string;
|
|
2131
2469
|
size: string;
|
|
2132
2470
|
name: string;
|
|
2133
|
-
kind: string;
|
|
2134
2471
|
} & {
|
|
2135
2472
|
date?: string | null | undefined;
|
|
2136
2473
|
text?: string;
|
|
2137
|
-
}) |
|
|
2474
|
+
}) | {
|
|
2475
|
+
text: string;
|
|
2476
|
+
}))) | ({
|
|
2477
|
+
__TYPE__: "FileLink";
|
|
2478
|
+
} & ({
|
|
2479
|
+
kind: "file";
|
|
2480
|
+
} & (({
|
|
2138
2481
|
id: string;
|
|
2139
2482
|
url: string;
|
|
2140
2483
|
name: string;
|
|
2141
|
-
kind: string;
|
|
2142
2484
|
size: string;
|
|
2143
2485
|
} & {
|
|
2144
2486
|
date?: string | null | undefined;
|
|
2145
2487
|
text?: string;
|
|
2146
|
-
}
|
|
2147
|
-
|
|
2148
|
-
}
|
|
2149
|
-
size?: string;
|
|
2150
|
-
text?: string;
|
|
2151
|
-
}) | ({
|
|
2488
|
+
}) | {
|
|
2489
|
+
text: string;
|
|
2490
|
+
}))) | ({
|
|
2152
2491
|
__TYPE__: "DocumentLink";
|
|
2153
|
-
} & {
|
|
2492
|
+
} & (({
|
|
2154
2493
|
id: string;
|
|
2155
2494
|
} & {
|
|
2495
|
+
kind?: "document";
|
|
2156
2496
|
text?: string;
|
|
2157
|
-
}) |
|
|
2497
|
+
}) | {
|
|
2498
|
+
kind: "document";
|
|
2499
|
+
text: string;
|
|
2500
|
+
})) | ({
|
|
2158
2501
|
__TYPE__: "ExternalLink";
|
|
2159
|
-
} & {
|
|
2502
|
+
} & (({
|
|
2160
2503
|
url: string;
|
|
2161
2504
|
} & {
|
|
2162
2505
|
kind?: "web";
|
|
@@ -2165,6 +2508,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2165
2508
|
title?: string;
|
|
2166
2509
|
} | null | undefined;
|
|
2167
2510
|
text?: string;
|
|
2511
|
+
}) | {
|
|
2512
|
+
kind: "web";
|
|
2513
|
+
text: string;
|
|
2514
|
+
})) | ({
|
|
2515
|
+
__TYPE__: "AnyLink";
|
|
2516
|
+
} & {
|
|
2517
|
+
text: string;
|
|
2168
2518
|
});
|
|
2169
2519
|
start: number;
|
|
2170
2520
|
end: number;
|
|
@@ -2302,40 +2652,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2302
2652
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2303
2653
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2304
2654
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2305
|
-
}>>, t.
|
|
2655
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2656
|
+
kind: t.LiteralC<"image">;
|
|
2657
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2306
2658
|
id: t.StringC;
|
|
2307
2659
|
url: t.StringC;
|
|
2308
2660
|
height: t.StringC;
|
|
2309
2661
|
width: t.StringC;
|
|
2310
2662
|
size: t.StringC;
|
|
2311
2663
|
name: t.StringC;
|
|
2312
|
-
kind: t.StringC;
|
|
2313
2664
|
}>, t.PartialC<{
|
|
2314
2665
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2315
2666
|
text: t.StringC;
|
|
2316
|
-
}>]
|
|
2667
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2668
|
+
text: t.StringC;
|
|
2669
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2670
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
2671
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2672
|
+
kind: t.LiteralC<"file">;
|
|
2673
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2317
2674
|
id: t.StringC;
|
|
2318
2675
|
url: t.StringC;
|
|
2319
2676
|
name: t.StringC;
|
|
2320
|
-
kind: t.StringC;
|
|
2321
2677
|
size: t.StringC;
|
|
2322
2678
|
}>, t.PartialC<{
|
|
2323
2679
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2324
2680
|
text: t.StringC;
|
|
2325
|
-
}>]>>, t.ExactC<t.
|
|
2326
|
-
__TYPE__: t.LiteralC<"FileLink">;
|
|
2327
|
-
}>, t.PartialC<{
|
|
2328
|
-
size: t.StringC;
|
|
2681
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2329
2682
|
text: t.StringC;
|
|
2330
|
-
}>]
|
|
2683
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2331
2684
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2332
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2685
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2333
2686
|
id: t.Type<string, string, unknown>;
|
|
2334
2687
|
}>, t.PartialC<{
|
|
2688
|
+
kind: t.LiteralC<"document">;
|
|
2689
|
+
text: t.StringC;
|
|
2690
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2691
|
+
kind: t.LiteralC<"document">;
|
|
2335
2692
|
text: t.StringC;
|
|
2336
|
-
}>]
|
|
2693
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2337
2694
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2338
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2695
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2339
2696
|
url: t.StringC;
|
|
2340
2697
|
}>, t.PartialC<{
|
|
2341
2698
|
kind: t.LiteralC<"web">;
|
|
@@ -2346,7 +2703,14 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2346
2703
|
title?: string;
|
|
2347
2704
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2348
2705
|
text: t.StringC;
|
|
2349
|
-
}>]
|
|
2706
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2707
|
+
kind: t.LiteralC<"web">;
|
|
2708
|
+
text: t.StringC;
|
|
2709
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2710
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2711
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2712
|
+
text: t.StringC;
|
|
2713
|
+
}>>]>]>;
|
|
2350
2714
|
}>>, t.ExactC<t.TypeC<{
|
|
2351
2715
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
2352
2716
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -2376,40 +2740,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2376
2740
|
}>]>>, t.PartialC<{
|
|
2377
2741
|
linkTo: t.UnionC<[t.Type<({
|
|
2378
2742
|
__TYPE__: "ImageLink";
|
|
2379
|
-
} & {
|
|
2743
|
+
} & ({
|
|
2744
|
+
kind: "image";
|
|
2745
|
+
} & (({
|
|
2380
2746
|
id: string;
|
|
2381
2747
|
url: string;
|
|
2382
2748
|
height: string;
|
|
2383
2749
|
width: string;
|
|
2384
2750
|
size: string;
|
|
2385
2751
|
name: string;
|
|
2386
|
-
kind: string;
|
|
2387
2752
|
} & {
|
|
2388
2753
|
date?: string | null | undefined;
|
|
2389
2754
|
text?: string;
|
|
2390
|
-
}) |
|
|
2755
|
+
}) | {
|
|
2756
|
+
text: string;
|
|
2757
|
+
}))) | ({
|
|
2758
|
+
__TYPE__: "FileLink";
|
|
2759
|
+
} & ({
|
|
2760
|
+
kind: "file";
|
|
2761
|
+
} & (({
|
|
2391
2762
|
id: string;
|
|
2392
2763
|
url: string;
|
|
2393
2764
|
name: string;
|
|
2394
|
-
kind: string;
|
|
2395
2765
|
size: string;
|
|
2396
2766
|
} & {
|
|
2397
2767
|
date?: string | null | undefined;
|
|
2398
2768
|
text?: string;
|
|
2399
|
-
}
|
|
2400
|
-
|
|
2401
|
-
}
|
|
2402
|
-
size?: string;
|
|
2403
|
-
text?: string;
|
|
2404
|
-
}) | ({
|
|
2769
|
+
}) | {
|
|
2770
|
+
text: string;
|
|
2771
|
+
}))) | ({
|
|
2405
2772
|
__TYPE__: "DocumentLink";
|
|
2406
|
-
} & {
|
|
2773
|
+
} & (({
|
|
2407
2774
|
id: string;
|
|
2408
2775
|
} & {
|
|
2776
|
+
kind?: "document";
|
|
2409
2777
|
text?: string;
|
|
2410
|
-
}) |
|
|
2778
|
+
}) | {
|
|
2779
|
+
kind: "document";
|
|
2780
|
+
text: string;
|
|
2781
|
+
})) | ({
|
|
2411
2782
|
__TYPE__: "ExternalLink";
|
|
2412
|
-
} & {
|
|
2783
|
+
} & (({
|
|
2413
2784
|
url: string;
|
|
2414
2785
|
} & {
|
|
2415
2786
|
kind?: "web";
|
|
@@ -2418,42 +2789,56 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2418
2789
|
title?: string;
|
|
2419
2790
|
} | null | undefined;
|
|
2420
2791
|
text?: string;
|
|
2792
|
+
}) | {
|
|
2793
|
+
kind: "web";
|
|
2794
|
+
text: string;
|
|
2795
|
+
})) | ({
|
|
2796
|
+
__TYPE__: "AnyLink";
|
|
2797
|
+
} & {
|
|
2798
|
+
text: string;
|
|
2421
2799
|
}), ({
|
|
2422
2800
|
__TYPE__: "ImageLink";
|
|
2423
|
-
} & {
|
|
2801
|
+
} & ({
|
|
2802
|
+
kind: "image";
|
|
2803
|
+
} & (({
|
|
2424
2804
|
id: string;
|
|
2425
2805
|
url: string;
|
|
2426
2806
|
height: string;
|
|
2427
2807
|
width: string;
|
|
2428
2808
|
size: string;
|
|
2429
2809
|
name: string;
|
|
2430
|
-
kind: string;
|
|
2431
2810
|
} & {
|
|
2432
2811
|
date?: string | null | undefined;
|
|
2433
2812
|
text?: string;
|
|
2434
|
-
}) |
|
|
2813
|
+
}) | {
|
|
2814
|
+
text: string;
|
|
2815
|
+
}))) | ({
|
|
2816
|
+
__TYPE__: "FileLink";
|
|
2817
|
+
} & ({
|
|
2818
|
+
kind: "file";
|
|
2819
|
+
} & (({
|
|
2435
2820
|
id: string;
|
|
2436
2821
|
url: string;
|
|
2437
2822
|
name: string;
|
|
2438
|
-
kind: string;
|
|
2439
2823
|
size: string;
|
|
2440
2824
|
} & {
|
|
2441
2825
|
date?: string | null | undefined;
|
|
2442
2826
|
text?: string;
|
|
2443
|
-
}
|
|
2444
|
-
|
|
2445
|
-
}
|
|
2446
|
-
size?: string;
|
|
2447
|
-
text?: string;
|
|
2448
|
-
}) | ({
|
|
2827
|
+
}) | {
|
|
2828
|
+
text: string;
|
|
2829
|
+
}))) | ({
|
|
2449
2830
|
__TYPE__: "DocumentLink";
|
|
2450
|
-
} & {
|
|
2831
|
+
} & (({
|
|
2451
2832
|
id: string;
|
|
2452
2833
|
} & {
|
|
2834
|
+
kind?: "document";
|
|
2453
2835
|
text?: string;
|
|
2454
|
-
}) |
|
|
2836
|
+
}) | {
|
|
2837
|
+
kind: "document";
|
|
2838
|
+
text: string;
|
|
2839
|
+
})) | ({
|
|
2455
2840
|
__TYPE__: "ExternalLink";
|
|
2456
|
-
} & {
|
|
2841
|
+
} & (({
|
|
2457
2842
|
url: string;
|
|
2458
2843
|
} & {
|
|
2459
2844
|
kind?: "web";
|
|
@@ -2462,6 +2847,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2462
2847
|
title?: string;
|
|
2463
2848
|
} | null | undefined;
|
|
2464
2849
|
text?: string;
|
|
2850
|
+
}) | {
|
|
2851
|
+
kind: "web";
|
|
2852
|
+
text: string;
|
|
2853
|
+
})) | ({
|
|
2854
|
+
__TYPE__: "AnyLink";
|
|
2855
|
+
} & {
|
|
2856
|
+
text: string;
|
|
2465
2857
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
2466
2858
|
}>]>;
|
|
2467
2859
|
}>, t.PartialC<{
|
|
@@ -2499,40 +2891,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2499
2891
|
spans: t.Type<({
|
|
2500
2892
|
data: ({
|
|
2501
2893
|
__TYPE__: "ImageLink";
|
|
2502
|
-
} & {
|
|
2894
|
+
} & ({
|
|
2895
|
+
kind: "image";
|
|
2896
|
+
} & (({
|
|
2503
2897
|
id: string;
|
|
2504
2898
|
url: string;
|
|
2505
2899
|
height: string;
|
|
2506
2900
|
width: string;
|
|
2507
2901
|
size: string;
|
|
2508
2902
|
name: string;
|
|
2509
|
-
kind: string;
|
|
2510
2903
|
} & {
|
|
2511
2904
|
date?: string | null | undefined;
|
|
2512
2905
|
text?: string;
|
|
2513
|
-
}) |
|
|
2906
|
+
}) | {
|
|
2907
|
+
text: string;
|
|
2908
|
+
}))) | ({
|
|
2909
|
+
__TYPE__: "FileLink";
|
|
2910
|
+
} & ({
|
|
2911
|
+
kind: "file";
|
|
2912
|
+
} & (({
|
|
2514
2913
|
id: string;
|
|
2515
2914
|
url: string;
|
|
2516
2915
|
name: string;
|
|
2517
|
-
kind: string;
|
|
2518
2916
|
size: string;
|
|
2519
2917
|
} & {
|
|
2520
2918
|
date?: string | null | undefined;
|
|
2521
2919
|
text?: string;
|
|
2522
|
-
}
|
|
2523
|
-
|
|
2524
|
-
}
|
|
2525
|
-
size?: string;
|
|
2526
|
-
text?: string;
|
|
2527
|
-
}) | ({
|
|
2920
|
+
}) | {
|
|
2921
|
+
text: string;
|
|
2922
|
+
}))) | ({
|
|
2528
2923
|
__TYPE__: "DocumentLink";
|
|
2529
|
-
} & {
|
|
2924
|
+
} & (({
|
|
2530
2925
|
id: string;
|
|
2531
2926
|
} & {
|
|
2927
|
+
kind?: "document";
|
|
2532
2928
|
text?: string;
|
|
2533
|
-
}) |
|
|
2929
|
+
}) | {
|
|
2930
|
+
kind: "document";
|
|
2931
|
+
text: string;
|
|
2932
|
+
})) | ({
|
|
2534
2933
|
__TYPE__: "ExternalLink";
|
|
2535
|
-
} & {
|
|
2934
|
+
} & (({
|
|
2536
2935
|
url: string;
|
|
2537
2936
|
} & {
|
|
2538
2937
|
kind?: "web";
|
|
@@ -2541,6 +2940,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2541
2940
|
title?: string;
|
|
2542
2941
|
} | null | undefined;
|
|
2543
2942
|
text?: string;
|
|
2943
|
+
}) | {
|
|
2944
|
+
kind: "web";
|
|
2945
|
+
text: string;
|
|
2946
|
+
})) | ({
|
|
2947
|
+
__TYPE__: "AnyLink";
|
|
2948
|
+
} & {
|
|
2949
|
+
text: string;
|
|
2544
2950
|
});
|
|
2545
2951
|
start: number;
|
|
2546
2952
|
end: number;
|
|
@@ -2557,40 +2963,47 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2557
2963
|
})[], ({
|
|
2558
2964
|
data: ({
|
|
2559
2965
|
__TYPE__: "ImageLink";
|
|
2560
|
-
} & {
|
|
2966
|
+
} & ({
|
|
2967
|
+
kind: "image";
|
|
2968
|
+
} & (({
|
|
2561
2969
|
id: string;
|
|
2562
2970
|
url: string;
|
|
2563
2971
|
height: string;
|
|
2564
2972
|
width: string;
|
|
2565
2973
|
size: string;
|
|
2566
2974
|
name: string;
|
|
2567
|
-
kind: string;
|
|
2568
2975
|
} & {
|
|
2569
2976
|
date?: string | null | undefined;
|
|
2570
2977
|
text?: string;
|
|
2571
|
-
}) |
|
|
2978
|
+
}) | {
|
|
2979
|
+
text: string;
|
|
2980
|
+
}))) | ({
|
|
2981
|
+
__TYPE__: "FileLink";
|
|
2982
|
+
} & ({
|
|
2983
|
+
kind: "file";
|
|
2984
|
+
} & (({
|
|
2572
2985
|
id: string;
|
|
2573
2986
|
url: string;
|
|
2574
2987
|
name: string;
|
|
2575
|
-
kind: string;
|
|
2576
2988
|
size: string;
|
|
2577
2989
|
} & {
|
|
2578
2990
|
date?: string | null | undefined;
|
|
2579
2991
|
text?: string;
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2582
|
-
}
|
|
2583
|
-
size?: string;
|
|
2584
|
-
text?: string;
|
|
2585
|
-
}) | ({
|
|
2992
|
+
}) | {
|
|
2993
|
+
text: string;
|
|
2994
|
+
}))) | ({
|
|
2586
2995
|
__TYPE__: "DocumentLink";
|
|
2587
|
-
} & {
|
|
2996
|
+
} & (({
|
|
2588
2997
|
id: string;
|
|
2589
2998
|
} & {
|
|
2999
|
+
kind?: "document";
|
|
2590
3000
|
text?: string;
|
|
2591
|
-
}) |
|
|
3001
|
+
}) | {
|
|
3002
|
+
kind: "document";
|
|
3003
|
+
text: string;
|
|
3004
|
+
})) | ({
|
|
2592
3005
|
__TYPE__: "ExternalLink";
|
|
2593
|
-
} & {
|
|
3006
|
+
} & (({
|
|
2594
3007
|
url: string;
|
|
2595
3008
|
} & {
|
|
2596
3009
|
kind?: "web";
|
|
@@ -2599,6 +3012,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2599
3012
|
title?: string;
|
|
2600
3013
|
} | null | undefined;
|
|
2601
3014
|
text?: string;
|
|
3015
|
+
}) | {
|
|
3016
|
+
kind: "web";
|
|
3017
|
+
text: string;
|
|
3018
|
+
})) | ({
|
|
3019
|
+
__TYPE__: "AnyLink";
|
|
3020
|
+
} & {
|
|
3021
|
+
text: string;
|
|
2602
3022
|
});
|
|
2603
3023
|
start: number;
|
|
2604
3024
|
end: number;
|
|
@@ -2640,7 +3060,7 @@ declare function parseLegacyDocument(legacyDoc: unknown, customType: StaticCusto
|
|
|
2640
3060
|
}): Document | undefined;
|
|
2641
3061
|
declare function encodeToLegacyDocument(document: Document): DocumentLegacy;
|
|
2642
3062
|
export declare const DocumentLegacy: {
|
|
2643
|
-
_codec: (allTypes?: Map<string, "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "
|
|
3063
|
+
_codec: (allTypes?: Map<string, "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp" | "Group" | "Slice" | "SharedSlice" | "Choice" | "Slices" | "UID"> | undefined) => t.Type<{
|
|
2644
3064
|
[x: string]: {
|
|
2645
3065
|
type: string;
|
|
2646
3066
|
__TYPE__: "EmptyContent";
|
|
@@ -2757,40 +3177,47 @@ export declare const DocumentLegacy: {
|
|
|
2757
3177
|
__TYPE__: "LinkContent";
|
|
2758
3178
|
value: ({
|
|
2759
3179
|
__TYPE__: "ImageLink";
|
|
2760
|
-
} & {
|
|
3180
|
+
} & ({
|
|
3181
|
+
kind: "image";
|
|
3182
|
+
} & (({
|
|
2761
3183
|
id: string;
|
|
2762
3184
|
url: string;
|
|
2763
3185
|
height: string;
|
|
2764
3186
|
width: string;
|
|
2765
3187
|
size: string;
|
|
2766
3188
|
name: string;
|
|
2767
|
-
kind: string;
|
|
2768
3189
|
} & {
|
|
2769
3190
|
date?: string | null | undefined;
|
|
2770
3191
|
text?: string;
|
|
2771
|
-
}) |
|
|
3192
|
+
}) | {
|
|
3193
|
+
text: string;
|
|
3194
|
+
}))) | ({
|
|
3195
|
+
__TYPE__: "FileLink";
|
|
3196
|
+
} & ({
|
|
3197
|
+
kind: "file";
|
|
3198
|
+
} & (({
|
|
2772
3199
|
id: string;
|
|
2773
3200
|
url: string;
|
|
2774
3201
|
name: string;
|
|
2775
|
-
kind: string;
|
|
2776
3202
|
size: string;
|
|
2777
3203
|
} & {
|
|
2778
3204
|
date?: string | null | undefined;
|
|
2779
3205
|
text?: string;
|
|
2780
|
-
}
|
|
2781
|
-
|
|
2782
|
-
}
|
|
2783
|
-
size?: string;
|
|
2784
|
-
text?: string;
|
|
2785
|
-
}) | ({
|
|
3206
|
+
}) | {
|
|
3207
|
+
text: string;
|
|
3208
|
+
}))) | ({
|
|
2786
3209
|
__TYPE__: "DocumentLink";
|
|
2787
|
-
} & {
|
|
3210
|
+
} & (({
|
|
2788
3211
|
id: string;
|
|
2789
3212
|
} & {
|
|
3213
|
+
kind?: "document";
|
|
2790
3214
|
text?: string;
|
|
2791
|
-
}) |
|
|
3215
|
+
}) | {
|
|
3216
|
+
kind: "document";
|
|
3217
|
+
text: string;
|
|
3218
|
+
})) | ({
|
|
2792
3219
|
__TYPE__: "ExternalLink";
|
|
2793
|
-
} & {
|
|
3220
|
+
} & (({
|
|
2794
3221
|
url: string;
|
|
2795
3222
|
} & {
|
|
2796
3223
|
kind?: "web";
|
|
@@ -2799,6 +3226,13 @@ export declare const DocumentLegacy: {
|
|
|
2799
3226
|
title?: string;
|
|
2800
3227
|
} | null | undefined;
|
|
2801
3228
|
text?: string;
|
|
3229
|
+
}) | {
|
|
3230
|
+
kind: "web";
|
|
3231
|
+
text: string;
|
|
3232
|
+
})) | ({
|
|
3233
|
+
__TYPE__: "AnyLink";
|
|
3234
|
+
} & {
|
|
3235
|
+
text: string;
|
|
2802
3236
|
});
|
|
2803
3237
|
} | {
|
|
2804
3238
|
__TYPE__: "StructuredTextContent";
|
|
@@ -2829,40 +3263,47 @@ export declare const DocumentLegacy: {
|
|
|
2829
3263
|
} & {
|
|
2830
3264
|
linkTo?: ({
|
|
2831
3265
|
__TYPE__: "ImageLink";
|
|
2832
|
-
} & {
|
|
3266
|
+
} & ({
|
|
3267
|
+
kind: "image";
|
|
3268
|
+
} & (({
|
|
2833
3269
|
id: string;
|
|
2834
3270
|
url: string;
|
|
2835
3271
|
height: string;
|
|
2836
3272
|
width: string;
|
|
2837
3273
|
size: string;
|
|
2838
3274
|
name: string;
|
|
2839
|
-
kind: string;
|
|
2840
3275
|
} & {
|
|
2841
3276
|
date?: string | null | undefined;
|
|
2842
3277
|
text?: string;
|
|
2843
|
-
}) |
|
|
3278
|
+
}) | {
|
|
3279
|
+
text: string;
|
|
3280
|
+
}))) | ({
|
|
3281
|
+
__TYPE__: "FileLink";
|
|
3282
|
+
} & ({
|
|
3283
|
+
kind: "file";
|
|
3284
|
+
} & (({
|
|
2844
3285
|
id: string;
|
|
2845
3286
|
url: string;
|
|
2846
3287
|
name: string;
|
|
2847
|
-
kind: string;
|
|
2848
3288
|
size: string;
|
|
2849
3289
|
} & {
|
|
2850
3290
|
date?: string | null | undefined;
|
|
2851
3291
|
text?: string;
|
|
2852
|
-
}
|
|
2853
|
-
|
|
2854
|
-
}
|
|
2855
|
-
size?: string;
|
|
2856
|
-
text?: string;
|
|
2857
|
-
}) | ({
|
|
3292
|
+
}) | {
|
|
3293
|
+
text: string;
|
|
3294
|
+
}))) | ({
|
|
2858
3295
|
__TYPE__: "DocumentLink";
|
|
2859
|
-
} & {
|
|
3296
|
+
} & (({
|
|
2860
3297
|
id: string;
|
|
2861
3298
|
} & {
|
|
3299
|
+
kind?: "document";
|
|
2862
3300
|
text?: string;
|
|
2863
|
-
}) |
|
|
3301
|
+
}) | {
|
|
3302
|
+
kind: "document";
|
|
3303
|
+
text: string;
|
|
3304
|
+
})) | ({
|
|
2864
3305
|
__TYPE__: "ExternalLink";
|
|
2865
|
-
} & {
|
|
3306
|
+
} & (({
|
|
2866
3307
|
url: string;
|
|
2867
3308
|
} & {
|
|
2868
3309
|
kind?: "web";
|
|
@@ -2871,6 +3312,13 @@ export declare const DocumentLegacy: {
|
|
|
2871
3312
|
title?: string;
|
|
2872
3313
|
} | null | undefined;
|
|
2873
3314
|
text?: string;
|
|
3315
|
+
}) | {
|
|
3316
|
+
kind: "web";
|
|
3317
|
+
text: string;
|
|
3318
|
+
})) | ({
|
|
3319
|
+
__TYPE__: "AnyLink";
|
|
3320
|
+
} & {
|
|
3321
|
+
text: string;
|
|
2874
3322
|
}) | null | undefined;
|
|
2875
3323
|
};
|
|
2876
3324
|
} & {
|
|
@@ -2908,40 +3356,47 @@ export declare const DocumentLegacy: {
|
|
|
2908
3356
|
spans?: ({
|
|
2909
3357
|
data: ({
|
|
2910
3358
|
__TYPE__: "ImageLink";
|
|
2911
|
-
} & {
|
|
3359
|
+
} & ({
|
|
3360
|
+
kind: "image";
|
|
3361
|
+
} & (({
|
|
2912
3362
|
id: string;
|
|
2913
3363
|
url: string;
|
|
2914
3364
|
height: string;
|
|
2915
3365
|
width: string;
|
|
2916
3366
|
size: string;
|
|
2917
3367
|
name: string;
|
|
2918
|
-
kind: string;
|
|
2919
3368
|
} & {
|
|
2920
3369
|
date?: string | null | undefined;
|
|
2921
3370
|
text?: string;
|
|
2922
|
-
}) |
|
|
3371
|
+
}) | {
|
|
3372
|
+
text: string;
|
|
3373
|
+
}))) | ({
|
|
3374
|
+
__TYPE__: "FileLink";
|
|
3375
|
+
} & ({
|
|
3376
|
+
kind: "file";
|
|
3377
|
+
} & (({
|
|
2923
3378
|
id: string;
|
|
2924
3379
|
url: string;
|
|
2925
3380
|
name: string;
|
|
2926
|
-
kind: string;
|
|
2927
3381
|
size: string;
|
|
2928
3382
|
} & {
|
|
2929
3383
|
date?: string | null | undefined;
|
|
2930
3384
|
text?: string;
|
|
2931
|
-
}
|
|
2932
|
-
|
|
2933
|
-
}
|
|
2934
|
-
size?: string;
|
|
2935
|
-
text?: string;
|
|
2936
|
-
}) | ({
|
|
3385
|
+
}) | {
|
|
3386
|
+
text: string;
|
|
3387
|
+
}))) | ({
|
|
2937
3388
|
__TYPE__: "DocumentLink";
|
|
2938
|
-
} & {
|
|
3389
|
+
} & (({
|
|
2939
3390
|
id: string;
|
|
2940
3391
|
} & {
|
|
3392
|
+
kind?: "document";
|
|
2941
3393
|
text?: string;
|
|
2942
|
-
}) |
|
|
3394
|
+
}) | {
|
|
3395
|
+
kind: "document";
|
|
3396
|
+
text: string;
|
|
3397
|
+
})) | ({
|
|
2943
3398
|
__TYPE__: "ExternalLink";
|
|
2944
|
-
} & {
|
|
3399
|
+
} & (({
|
|
2945
3400
|
url: string;
|
|
2946
3401
|
} & {
|
|
2947
3402
|
kind?: "web";
|
|
@@ -2950,6 +3405,13 @@ export declare const DocumentLegacy: {
|
|
|
2950
3405
|
title?: string;
|
|
2951
3406
|
} | null | undefined;
|
|
2952
3407
|
text?: string;
|
|
3408
|
+
}) | {
|
|
3409
|
+
kind: "web";
|
|
3410
|
+
text: string;
|
|
3411
|
+
})) | ({
|
|
3412
|
+
__TYPE__: "AnyLink";
|
|
3413
|
+
} & {
|
|
3414
|
+
text: string;
|
|
2953
3415
|
});
|
|
2954
3416
|
start: number;
|
|
2955
3417
|
end: number;
|
|
@@ -3096,40 +3558,47 @@ export declare const DocumentLegacy: {
|
|
|
3096
3558
|
__TYPE__: "LinkContent";
|
|
3097
3559
|
value: ({
|
|
3098
3560
|
__TYPE__: "ImageLink";
|
|
3099
|
-
} & {
|
|
3561
|
+
} & ({
|
|
3562
|
+
kind: "image";
|
|
3563
|
+
} & (({
|
|
3100
3564
|
id: string;
|
|
3101
3565
|
url: string;
|
|
3102
3566
|
height: string;
|
|
3103
3567
|
width: string;
|
|
3104
3568
|
size: string;
|
|
3105
3569
|
name: string;
|
|
3106
|
-
kind: string;
|
|
3107
3570
|
} & {
|
|
3108
3571
|
date?: string | null | undefined;
|
|
3109
3572
|
text?: string;
|
|
3110
|
-
}) |
|
|
3573
|
+
}) | {
|
|
3574
|
+
text: string;
|
|
3575
|
+
}))) | ({
|
|
3576
|
+
__TYPE__: "FileLink";
|
|
3577
|
+
} & ({
|
|
3578
|
+
kind: "file";
|
|
3579
|
+
} & (({
|
|
3111
3580
|
id: string;
|
|
3112
3581
|
url: string;
|
|
3113
3582
|
name: string;
|
|
3114
|
-
kind: string;
|
|
3115
3583
|
size: string;
|
|
3116
3584
|
} & {
|
|
3117
3585
|
date?: string | null | undefined;
|
|
3118
3586
|
text?: string;
|
|
3119
|
-
}
|
|
3120
|
-
|
|
3121
|
-
}
|
|
3122
|
-
size?: string;
|
|
3123
|
-
text?: string;
|
|
3124
|
-
}) | ({
|
|
3587
|
+
}) | {
|
|
3588
|
+
text: string;
|
|
3589
|
+
}))) | ({
|
|
3125
3590
|
__TYPE__: "DocumentLink";
|
|
3126
|
-
} & {
|
|
3591
|
+
} & (({
|
|
3127
3592
|
id: string;
|
|
3128
3593
|
} & {
|
|
3594
|
+
kind?: "document";
|
|
3129
3595
|
text?: string;
|
|
3130
|
-
}) |
|
|
3596
|
+
}) | {
|
|
3597
|
+
kind: "document";
|
|
3598
|
+
text: string;
|
|
3599
|
+
})) | ({
|
|
3131
3600
|
__TYPE__: "ExternalLink";
|
|
3132
|
-
} & {
|
|
3601
|
+
} & (({
|
|
3133
3602
|
url: string;
|
|
3134
3603
|
} & {
|
|
3135
3604
|
kind?: "web";
|
|
@@ -3138,6 +3607,13 @@ export declare const DocumentLegacy: {
|
|
|
3138
3607
|
title?: string;
|
|
3139
3608
|
} | null | undefined;
|
|
3140
3609
|
text?: string;
|
|
3610
|
+
}) | {
|
|
3611
|
+
kind: "web";
|
|
3612
|
+
text: string;
|
|
3613
|
+
})) | ({
|
|
3614
|
+
__TYPE__: "AnyLink";
|
|
3615
|
+
} & {
|
|
3616
|
+
text: string;
|
|
3141
3617
|
});
|
|
3142
3618
|
} | {
|
|
3143
3619
|
__TYPE__: "StructuredTextContent";
|
|
@@ -3168,40 +3644,47 @@ export declare const DocumentLegacy: {
|
|
|
3168
3644
|
} & {
|
|
3169
3645
|
linkTo?: ({
|
|
3170
3646
|
__TYPE__: "ImageLink";
|
|
3171
|
-
} & {
|
|
3647
|
+
} & ({
|
|
3648
|
+
kind: "image";
|
|
3649
|
+
} & (({
|
|
3172
3650
|
id: string;
|
|
3173
3651
|
url: string;
|
|
3174
3652
|
height: string;
|
|
3175
3653
|
width: string;
|
|
3176
3654
|
size: string;
|
|
3177
3655
|
name: string;
|
|
3178
|
-
kind: string;
|
|
3179
3656
|
} & {
|
|
3180
3657
|
date?: string | null | undefined;
|
|
3181
3658
|
text?: string;
|
|
3182
|
-
}) |
|
|
3659
|
+
}) | {
|
|
3660
|
+
text: string;
|
|
3661
|
+
}))) | ({
|
|
3662
|
+
__TYPE__: "FileLink";
|
|
3663
|
+
} & ({
|
|
3664
|
+
kind: "file";
|
|
3665
|
+
} & (({
|
|
3183
3666
|
id: string;
|
|
3184
3667
|
url: string;
|
|
3185
3668
|
name: string;
|
|
3186
|
-
kind: string;
|
|
3187
3669
|
size: string;
|
|
3188
3670
|
} & {
|
|
3189
3671
|
date?: string | null | undefined;
|
|
3190
3672
|
text?: string;
|
|
3191
|
-
}
|
|
3192
|
-
|
|
3193
|
-
}
|
|
3194
|
-
size?: string;
|
|
3195
|
-
text?: string;
|
|
3196
|
-
}) | ({
|
|
3673
|
+
}) | {
|
|
3674
|
+
text: string;
|
|
3675
|
+
}))) | ({
|
|
3197
3676
|
__TYPE__: "DocumentLink";
|
|
3198
|
-
} & {
|
|
3677
|
+
} & (({
|
|
3199
3678
|
id: string;
|
|
3200
3679
|
} & {
|
|
3680
|
+
kind?: "document";
|
|
3201
3681
|
text?: string;
|
|
3202
|
-
}) |
|
|
3682
|
+
}) | {
|
|
3683
|
+
kind: "document";
|
|
3684
|
+
text: string;
|
|
3685
|
+
})) | ({
|
|
3203
3686
|
__TYPE__: "ExternalLink";
|
|
3204
|
-
} & {
|
|
3687
|
+
} & (({
|
|
3205
3688
|
url: string;
|
|
3206
3689
|
} & {
|
|
3207
3690
|
kind?: "web";
|
|
@@ -3210,6 +3693,13 @@ export declare const DocumentLegacy: {
|
|
|
3210
3693
|
title?: string;
|
|
3211
3694
|
} | null | undefined;
|
|
3212
3695
|
text?: string;
|
|
3696
|
+
}) | {
|
|
3697
|
+
kind: "web";
|
|
3698
|
+
text: string;
|
|
3699
|
+
})) | ({
|
|
3700
|
+
__TYPE__: "AnyLink";
|
|
3701
|
+
} & {
|
|
3702
|
+
text: string;
|
|
3213
3703
|
}) | null | undefined;
|
|
3214
3704
|
};
|
|
3215
3705
|
} & {
|
|
@@ -3247,40 +3737,47 @@ export declare const DocumentLegacy: {
|
|
|
3247
3737
|
spans?: ({
|
|
3248
3738
|
data: ({
|
|
3249
3739
|
__TYPE__: "ImageLink";
|
|
3250
|
-
} & {
|
|
3740
|
+
} & ({
|
|
3741
|
+
kind: "image";
|
|
3742
|
+
} & (({
|
|
3251
3743
|
id: string;
|
|
3252
3744
|
url: string;
|
|
3253
3745
|
height: string;
|
|
3254
3746
|
width: string;
|
|
3255
3747
|
size: string;
|
|
3256
3748
|
name: string;
|
|
3257
|
-
kind: string;
|
|
3258
3749
|
} & {
|
|
3259
3750
|
date?: string | null | undefined;
|
|
3260
3751
|
text?: string;
|
|
3261
|
-
}) |
|
|
3752
|
+
}) | {
|
|
3753
|
+
text: string;
|
|
3754
|
+
}))) | ({
|
|
3755
|
+
__TYPE__: "FileLink";
|
|
3756
|
+
} & ({
|
|
3757
|
+
kind: "file";
|
|
3758
|
+
} & (({
|
|
3262
3759
|
id: string;
|
|
3263
3760
|
url: string;
|
|
3264
3761
|
name: string;
|
|
3265
|
-
kind: string;
|
|
3266
3762
|
size: string;
|
|
3267
3763
|
} & {
|
|
3268
3764
|
date?: string | null | undefined;
|
|
3269
3765
|
text?: string;
|
|
3270
|
-
}
|
|
3271
|
-
|
|
3272
|
-
}
|
|
3273
|
-
size?: string;
|
|
3274
|
-
text?: string;
|
|
3275
|
-
}) | ({
|
|
3766
|
+
}) | {
|
|
3767
|
+
text: string;
|
|
3768
|
+
}))) | ({
|
|
3276
3769
|
__TYPE__: "DocumentLink";
|
|
3277
|
-
} & {
|
|
3770
|
+
} & (({
|
|
3278
3771
|
id: string;
|
|
3279
3772
|
} & {
|
|
3773
|
+
kind?: "document";
|
|
3280
3774
|
text?: string;
|
|
3281
|
-
}) |
|
|
3775
|
+
}) | {
|
|
3776
|
+
kind: "document";
|
|
3777
|
+
text: string;
|
|
3778
|
+
})) | ({
|
|
3282
3779
|
__TYPE__: "ExternalLink";
|
|
3283
|
-
} & {
|
|
3780
|
+
} & (({
|
|
3284
3781
|
url: string;
|
|
3285
3782
|
} & {
|
|
3286
3783
|
kind?: "web";
|
|
@@ -3289,6 +3786,13 @@ export declare const DocumentLegacy: {
|
|
|
3289
3786
|
title?: string;
|
|
3290
3787
|
} | null | undefined;
|
|
3291
3788
|
text?: string;
|
|
3789
|
+
}) | {
|
|
3790
|
+
kind: "web";
|
|
3791
|
+
text: string;
|
|
3792
|
+
})) | ({
|
|
3793
|
+
__TYPE__: "AnyLink";
|
|
3794
|
+
} & {
|
|
3795
|
+
text: string;
|
|
3292
3796
|
});
|
|
3293
3797
|
start: number;
|
|
3294
3798
|
end: number;
|
|
@@ -3429,40 +3933,47 @@ export declare const DocumentLegacy: {
|
|
|
3429
3933
|
__TYPE__: "LinkContent";
|
|
3430
3934
|
value: ({
|
|
3431
3935
|
__TYPE__: "ImageLink";
|
|
3432
|
-
} & {
|
|
3936
|
+
} & ({
|
|
3937
|
+
kind: "image";
|
|
3938
|
+
} & (({
|
|
3433
3939
|
id: string;
|
|
3434
3940
|
url: string;
|
|
3435
3941
|
height: string;
|
|
3436
3942
|
width: string;
|
|
3437
3943
|
size: string;
|
|
3438
3944
|
name: string;
|
|
3439
|
-
kind: string;
|
|
3440
3945
|
} & {
|
|
3441
3946
|
date?: string | null | undefined;
|
|
3442
3947
|
text?: string;
|
|
3443
|
-
}) |
|
|
3948
|
+
}) | {
|
|
3949
|
+
text: string;
|
|
3950
|
+
}))) | ({
|
|
3951
|
+
__TYPE__: "FileLink";
|
|
3952
|
+
} & ({
|
|
3953
|
+
kind: "file";
|
|
3954
|
+
} & (({
|
|
3444
3955
|
id: string;
|
|
3445
3956
|
url: string;
|
|
3446
3957
|
name: string;
|
|
3447
|
-
kind: string;
|
|
3448
3958
|
size: string;
|
|
3449
3959
|
} & {
|
|
3450
3960
|
date?: string | null | undefined;
|
|
3451
3961
|
text?: string;
|
|
3452
|
-
}
|
|
3453
|
-
|
|
3454
|
-
}
|
|
3455
|
-
size?: string;
|
|
3456
|
-
text?: string;
|
|
3457
|
-
}) | ({
|
|
3962
|
+
}) | {
|
|
3963
|
+
text: string;
|
|
3964
|
+
}))) | ({
|
|
3458
3965
|
__TYPE__: "DocumentLink";
|
|
3459
|
-
} & {
|
|
3966
|
+
} & (({
|
|
3460
3967
|
id: string;
|
|
3461
3968
|
} & {
|
|
3969
|
+
kind?: "document";
|
|
3462
3970
|
text?: string;
|
|
3463
|
-
}) |
|
|
3971
|
+
}) | {
|
|
3972
|
+
kind: "document";
|
|
3973
|
+
text: string;
|
|
3974
|
+
})) | ({
|
|
3464
3975
|
__TYPE__: "ExternalLink";
|
|
3465
|
-
} & {
|
|
3976
|
+
} & (({
|
|
3466
3977
|
url: string;
|
|
3467
3978
|
} & {
|
|
3468
3979
|
kind?: "web";
|
|
@@ -3471,6 +3982,13 @@ export declare const DocumentLegacy: {
|
|
|
3471
3982
|
title?: string;
|
|
3472
3983
|
} | null | undefined;
|
|
3473
3984
|
text?: string;
|
|
3985
|
+
}) | {
|
|
3986
|
+
kind: "web";
|
|
3987
|
+
text: string;
|
|
3988
|
+
})) | ({
|
|
3989
|
+
__TYPE__: "AnyLink";
|
|
3990
|
+
} & {
|
|
3991
|
+
text: string;
|
|
3474
3992
|
});
|
|
3475
3993
|
} | {
|
|
3476
3994
|
__TYPE__: "StructuredTextContent";
|
|
@@ -3501,40 +4019,47 @@ export declare const DocumentLegacy: {
|
|
|
3501
4019
|
} & {
|
|
3502
4020
|
linkTo?: ({
|
|
3503
4021
|
__TYPE__: "ImageLink";
|
|
3504
|
-
} & {
|
|
4022
|
+
} & ({
|
|
4023
|
+
kind: "image";
|
|
4024
|
+
} & (({
|
|
3505
4025
|
id: string;
|
|
3506
4026
|
url: string;
|
|
3507
4027
|
height: string;
|
|
3508
4028
|
width: string;
|
|
3509
4029
|
size: string;
|
|
3510
4030
|
name: string;
|
|
3511
|
-
kind: string;
|
|
3512
4031
|
} & {
|
|
3513
4032
|
date?: string | null | undefined;
|
|
3514
4033
|
text?: string;
|
|
3515
|
-
}) |
|
|
4034
|
+
}) | {
|
|
4035
|
+
text: string;
|
|
4036
|
+
}))) | ({
|
|
4037
|
+
__TYPE__: "FileLink";
|
|
4038
|
+
} & ({
|
|
4039
|
+
kind: "file";
|
|
4040
|
+
} & (({
|
|
3516
4041
|
id: string;
|
|
3517
4042
|
url: string;
|
|
3518
4043
|
name: string;
|
|
3519
|
-
kind: string;
|
|
3520
4044
|
size: string;
|
|
3521
4045
|
} & {
|
|
3522
4046
|
date?: string | null | undefined;
|
|
3523
4047
|
text?: string;
|
|
3524
|
-
}
|
|
3525
|
-
|
|
3526
|
-
}
|
|
3527
|
-
size?: string;
|
|
3528
|
-
text?: string;
|
|
3529
|
-
}) | ({
|
|
4048
|
+
}) | {
|
|
4049
|
+
text: string;
|
|
4050
|
+
}))) | ({
|
|
3530
4051
|
__TYPE__: "DocumentLink";
|
|
3531
|
-
} & {
|
|
4052
|
+
} & (({
|
|
3532
4053
|
id: string;
|
|
3533
4054
|
} & {
|
|
4055
|
+
kind?: "document";
|
|
3534
4056
|
text?: string;
|
|
3535
|
-
}) |
|
|
4057
|
+
}) | {
|
|
4058
|
+
kind: "document";
|
|
4059
|
+
text: string;
|
|
4060
|
+
})) | ({
|
|
3536
4061
|
__TYPE__: "ExternalLink";
|
|
3537
|
-
} & {
|
|
4062
|
+
} & (({
|
|
3538
4063
|
url: string;
|
|
3539
4064
|
} & {
|
|
3540
4065
|
kind?: "web";
|
|
@@ -3543,6 +4068,13 @@ export declare const DocumentLegacy: {
|
|
|
3543
4068
|
title?: string;
|
|
3544
4069
|
} | null | undefined;
|
|
3545
4070
|
text?: string;
|
|
4071
|
+
}) | {
|
|
4072
|
+
kind: "web";
|
|
4073
|
+
text: string;
|
|
4074
|
+
})) | ({
|
|
4075
|
+
__TYPE__: "AnyLink";
|
|
4076
|
+
} & {
|
|
4077
|
+
text: string;
|
|
3546
4078
|
}) | null | undefined;
|
|
3547
4079
|
};
|
|
3548
4080
|
} & {
|
|
@@ -3580,40 +4112,47 @@ export declare const DocumentLegacy: {
|
|
|
3580
4112
|
spans?: ({
|
|
3581
4113
|
data: ({
|
|
3582
4114
|
__TYPE__: "ImageLink";
|
|
3583
|
-
} & {
|
|
4115
|
+
} & ({
|
|
4116
|
+
kind: "image";
|
|
4117
|
+
} & (({
|
|
3584
4118
|
id: string;
|
|
3585
4119
|
url: string;
|
|
3586
4120
|
height: string;
|
|
3587
4121
|
width: string;
|
|
3588
4122
|
size: string;
|
|
3589
4123
|
name: string;
|
|
3590
|
-
kind: string;
|
|
3591
4124
|
} & {
|
|
3592
4125
|
date?: string | null | undefined;
|
|
3593
4126
|
text?: string;
|
|
3594
|
-
}) |
|
|
4127
|
+
}) | {
|
|
4128
|
+
text: string;
|
|
4129
|
+
}))) | ({
|
|
4130
|
+
__TYPE__: "FileLink";
|
|
4131
|
+
} & ({
|
|
4132
|
+
kind: "file";
|
|
4133
|
+
} & (({
|
|
3595
4134
|
id: string;
|
|
3596
4135
|
url: string;
|
|
3597
4136
|
name: string;
|
|
3598
|
-
kind: string;
|
|
3599
4137
|
size: string;
|
|
3600
4138
|
} & {
|
|
3601
4139
|
date?: string | null | undefined;
|
|
3602
4140
|
text?: string;
|
|
3603
|
-
}
|
|
3604
|
-
|
|
3605
|
-
}
|
|
3606
|
-
size?: string;
|
|
3607
|
-
text?: string;
|
|
3608
|
-
}) | ({
|
|
4141
|
+
}) | {
|
|
4142
|
+
text: string;
|
|
4143
|
+
}))) | ({
|
|
3609
4144
|
__TYPE__: "DocumentLink";
|
|
3610
|
-
} & {
|
|
4145
|
+
} & (({
|
|
3611
4146
|
id: string;
|
|
3612
4147
|
} & {
|
|
4148
|
+
kind?: "document";
|
|
3613
4149
|
text?: string;
|
|
3614
|
-
}) |
|
|
4150
|
+
}) | {
|
|
4151
|
+
kind: "document";
|
|
4152
|
+
text: string;
|
|
4153
|
+
})) | ({
|
|
3615
4154
|
__TYPE__: "ExternalLink";
|
|
3616
|
-
} & {
|
|
4155
|
+
} & (({
|
|
3617
4156
|
url: string;
|
|
3618
4157
|
} & {
|
|
3619
4158
|
kind?: "web";
|
|
@@ -3622,6 +4161,13 @@ export declare const DocumentLegacy: {
|
|
|
3622
4161
|
title?: string;
|
|
3623
4162
|
} | null | undefined;
|
|
3624
4163
|
text?: string;
|
|
4164
|
+
}) | {
|
|
4165
|
+
kind: "web";
|
|
4166
|
+
text: string;
|
|
4167
|
+
})) | ({
|
|
4168
|
+
__TYPE__: "AnyLink";
|
|
4169
|
+
} & {
|
|
4170
|
+
text: string;
|
|
3625
4171
|
});
|
|
3626
4172
|
start: number;
|
|
3627
4173
|
end: number;
|
|
@@ -3763,40 +4309,47 @@ export declare const DocumentLegacy: {
|
|
|
3763
4309
|
__TYPE__: "LinkContent";
|
|
3764
4310
|
value: ({
|
|
3765
4311
|
__TYPE__: "ImageLink";
|
|
3766
|
-
} & {
|
|
4312
|
+
} & ({
|
|
4313
|
+
kind: "image";
|
|
4314
|
+
} & (({
|
|
3767
4315
|
id: string;
|
|
3768
4316
|
url: string;
|
|
3769
4317
|
height: string;
|
|
3770
4318
|
width: string;
|
|
3771
4319
|
size: string;
|
|
3772
4320
|
name: string;
|
|
3773
|
-
kind: string;
|
|
3774
4321
|
} & {
|
|
3775
4322
|
date?: string | null | undefined;
|
|
3776
4323
|
text?: string;
|
|
3777
|
-
}) |
|
|
4324
|
+
}) | {
|
|
4325
|
+
text: string;
|
|
4326
|
+
}))) | ({
|
|
4327
|
+
__TYPE__: "FileLink";
|
|
4328
|
+
} & ({
|
|
4329
|
+
kind: "file";
|
|
4330
|
+
} & (({
|
|
3778
4331
|
id: string;
|
|
3779
4332
|
url: string;
|
|
3780
4333
|
name: string;
|
|
3781
|
-
kind: string;
|
|
3782
4334
|
size: string;
|
|
3783
4335
|
} & {
|
|
3784
4336
|
date?: string | null | undefined;
|
|
3785
4337
|
text?: string;
|
|
3786
|
-
}
|
|
3787
|
-
|
|
3788
|
-
}
|
|
3789
|
-
size?: string;
|
|
3790
|
-
text?: string;
|
|
3791
|
-
}) | ({
|
|
4338
|
+
}) | {
|
|
4339
|
+
text: string;
|
|
4340
|
+
}))) | ({
|
|
3792
4341
|
__TYPE__: "DocumentLink";
|
|
3793
|
-
} & {
|
|
4342
|
+
} & (({
|
|
3794
4343
|
id: string;
|
|
3795
4344
|
} & {
|
|
4345
|
+
kind?: "document";
|
|
3796
4346
|
text?: string;
|
|
3797
|
-
}) |
|
|
4347
|
+
}) | {
|
|
4348
|
+
kind: "document";
|
|
4349
|
+
text: string;
|
|
4350
|
+
})) | ({
|
|
3798
4351
|
__TYPE__: "ExternalLink";
|
|
3799
|
-
} & {
|
|
4352
|
+
} & (({
|
|
3800
4353
|
url: string;
|
|
3801
4354
|
} & {
|
|
3802
4355
|
kind?: "web";
|
|
@@ -3805,6 +4358,13 @@ export declare const DocumentLegacy: {
|
|
|
3805
4358
|
title?: string;
|
|
3806
4359
|
} | null | undefined;
|
|
3807
4360
|
text?: string;
|
|
4361
|
+
}) | {
|
|
4362
|
+
kind: "web";
|
|
4363
|
+
text: string;
|
|
4364
|
+
})) | ({
|
|
4365
|
+
__TYPE__: "AnyLink";
|
|
4366
|
+
} & {
|
|
4367
|
+
text: string;
|
|
3808
4368
|
});
|
|
3809
4369
|
} | {
|
|
3810
4370
|
__TYPE__: "StructuredTextContent";
|
|
@@ -3835,40 +4395,47 @@ export declare const DocumentLegacy: {
|
|
|
3835
4395
|
} & {
|
|
3836
4396
|
linkTo?: ({
|
|
3837
4397
|
__TYPE__: "ImageLink";
|
|
3838
|
-
} & {
|
|
4398
|
+
} & ({
|
|
4399
|
+
kind: "image";
|
|
4400
|
+
} & (({
|
|
3839
4401
|
id: string;
|
|
3840
4402
|
url: string;
|
|
3841
4403
|
height: string;
|
|
3842
4404
|
width: string;
|
|
3843
4405
|
size: string;
|
|
3844
4406
|
name: string;
|
|
3845
|
-
kind: string;
|
|
3846
4407
|
} & {
|
|
3847
4408
|
date?: string | null | undefined;
|
|
3848
4409
|
text?: string;
|
|
3849
|
-
}) |
|
|
4410
|
+
}) | {
|
|
4411
|
+
text: string;
|
|
4412
|
+
}))) | ({
|
|
4413
|
+
__TYPE__: "FileLink";
|
|
4414
|
+
} & ({
|
|
4415
|
+
kind: "file";
|
|
4416
|
+
} & (({
|
|
3850
4417
|
id: string;
|
|
3851
4418
|
url: string;
|
|
3852
4419
|
name: string;
|
|
3853
|
-
kind: string;
|
|
3854
4420
|
size: string;
|
|
3855
4421
|
} & {
|
|
3856
4422
|
date?: string | null | undefined;
|
|
3857
4423
|
text?: string;
|
|
3858
|
-
}
|
|
3859
|
-
|
|
3860
|
-
}
|
|
3861
|
-
size?: string;
|
|
3862
|
-
text?: string;
|
|
3863
|
-
}) | ({
|
|
4424
|
+
}) | {
|
|
4425
|
+
text: string;
|
|
4426
|
+
}))) | ({
|
|
3864
4427
|
__TYPE__: "DocumentLink";
|
|
3865
|
-
} & {
|
|
4428
|
+
} & (({
|
|
3866
4429
|
id: string;
|
|
3867
4430
|
} & {
|
|
4431
|
+
kind?: "document";
|
|
3868
4432
|
text?: string;
|
|
3869
|
-
}) |
|
|
4433
|
+
}) | {
|
|
4434
|
+
kind: "document";
|
|
4435
|
+
text: string;
|
|
4436
|
+
})) | ({
|
|
3870
4437
|
__TYPE__: "ExternalLink";
|
|
3871
|
-
} & {
|
|
4438
|
+
} & (({
|
|
3872
4439
|
url: string;
|
|
3873
4440
|
} & {
|
|
3874
4441
|
kind?: "web";
|
|
@@ -3877,6 +4444,13 @@ export declare const DocumentLegacy: {
|
|
|
3877
4444
|
title?: string;
|
|
3878
4445
|
} | null | undefined;
|
|
3879
4446
|
text?: string;
|
|
4447
|
+
}) | {
|
|
4448
|
+
kind: "web";
|
|
4449
|
+
text: string;
|
|
4450
|
+
})) | ({
|
|
4451
|
+
__TYPE__: "AnyLink";
|
|
4452
|
+
} & {
|
|
4453
|
+
text: string;
|
|
3880
4454
|
}) | null | undefined;
|
|
3881
4455
|
};
|
|
3882
4456
|
} & {
|
|
@@ -3914,40 +4488,47 @@ export declare const DocumentLegacy: {
|
|
|
3914
4488
|
spans?: ({
|
|
3915
4489
|
data: ({
|
|
3916
4490
|
__TYPE__: "ImageLink";
|
|
3917
|
-
} & {
|
|
4491
|
+
} & ({
|
|
4492
|
+
kind: "image";
|
|
4493
|
+
} & (({
|
|
3918
4494
|
id: string;
|
|
3919
4495
|
url: string;
|
|
3920
4496
|
height: string;
|
|
3921
4497
|
width: string;
|
|
3922
4498
|
size: string;
|
|
3923
4499
|
name: string;
|
|
3924
|
-
kind: string;
|
|
3925
4500
|
} & {
|
|
3926
4501
|
date?: string | null | undefined;
|
|
3927
4502
|
text?: string;
|
|
3928
|
-
}) |
|
|
4503
|
+
}) | {
|
|
4504
|
+
text: string;
|
|
4505
|
+
}))) | ({
|
|
4506
|
+
__TYPE__: "FileLink";
|
|
4507
|
+
} & ({
|
|
4508
|
+
kind: "file";
|
|
4509
|
+
} & (({
|
|
3929
4510
|
id: string;
|
|
3930
4511
|
url: string;
|
|
3931
4512
|
name: string;
|
|
3932
|
-
kind: string;
|
|
3933
4513
|
size: string;
|
|
3934
4514
|
} & {
|
|
3935
4515
|
date?: string | null | undefined;
|
|
3936
4516
|
text?: string;
|
|
3937
|
-
}
|
|
3938
|
-
|
|
3939
|
-
}
|
|
3940
|
-
size?: string;
|
|
3941
|
-
text?: string;
|
|
3942
|
-
}) | ({
|
|
4517
|
+
}) | {
|
|
4518
|
+
text: string;
|
|
4519
|
+
}))) | ({
|
|
3943
4520
|
__TYPE__: "DocumentLink";
|
|
3944
|
-
} & {
|
|
4521
|
+
} & (({
|
|
3945
4522
|
id: string;
|
|
3946
4523
|
} & {
|
|
4524
|
+
kind?: "document";
|
|
3947
4525
|
text?: string;
|
|
3948
|
-
}) |
|
|
4526
|
+
}) | {
|
|
4527
|
+
kind: "document";
|
|
4528
|
+
text: string;
|
|
4529
|
+
})) | ({
|
|
3949
4530
|
__TYPE__: "ExternalLink";
|
|
3950
|
-
} & {
|
|
4531
|
+
} & (({
|
|
3951
4532
|
url: string;
|
|
3952
4533
|
} & {
|
|
3953
4534
|
kind?: "web";
|
|
@@ -3956,6 +4537,13 @@ export declare const DocumentLegacy: {
|
|
|
3956
4537
|
title?: string;
|
|
3957
4538
|
} | null | undefined;
|
|
3958
4539
|
text?: string;
|
|
4540
|
+
}) | {
|
|
4541
|
+
kind: "web";
|
|
4542
|
+
text: string;
|
|
4543
|
+
})) | ({
|
|
4544
|
+
__TYPE__: "AnyLink";
|
|
4545
|
+
} & {
|
|
4546
|
+
text: string;
|
|
3959
4547
|
});
|
|
3960
4548
|
start: number;
|
|
3961
4549
|
end: number;
|
|
@@ -4099,40 +4687,47 @@ export declare const DocumentLegacy: {
|
|
|
4099
4687
|
__TYPE__: "LinkContent";
|
|
4100
4688
|
value: ({
|
|
4101
4689
|
__TYPE__: "ImageLink";
|
|
4102
|
-
} & {
|
|
4690
|
+
} & ({
|
|
4691
|
+
kind: "image";
|
|
4692
|
+
} & (({
|
|
4103
4693
|
id: string;
|
|
4104
4694
|
url: string;
|
|
4105
4695
|
height: string;
|
|
4106
4696
|
width: string;
|
|
4107
4697
|
size: string;
|
|
4108
4698
|
name: string;
|
|
4109
|
-
kind: string;
|
|
4110
4699
|
} & {
|
|
4111
4700
|
date?: string | null | undefined;
|
|
4112
4701
|
text?: string;
|
|
4113
|
-
}) |
|
|
4702
|
+
}) | {
|
|
4703
|
+
text: string;
|
|
4704
|
+
}))) | ({
|
|
4705
|
+
__TYPE__: "FileLink";
|
|
4706
|
+
} & ({
|
|
4707
|
+
kind: "file";
|
|
4708
|
+
} & (({
|
|
4114
4709
|
id: string;
|
|
4115
4710
|
url: string;
|
|
4116
4711
|
name: string;
|
|
4117
|
-
kind: string;
|
|
4118
4712
|
size: string;
|
|
4119
4713
|
} & {
|
|
4120
4714
|
date?: string | null | undefined;
|
|
4121
4715
|
text?: string;
|
|
4122
|
-
}
|
|
4123
|
-
|
|
4124
|
-
}
|
|
4125
|
-
size?: string;
|
|
4126
|
-
text?: string;
|
|
4127
|
-
}) | ({
|
|
4716
|
+
}) | {
|
|
4717
|
+
text: string;
|
|
4718
|
+
}))) | ({
|
|
4128
4719
|
__TYPE__: "DocumentLink";
|
|
4129
|
-
} & {
|
|
4720
|
+
} & (({
|
|
4130
4721
|
id: string;
|
|
4131
4722
|
} & {
|
|
4723
|
+
kind?: "document";
|
|
4132
4724
|
text?: string;
|
|
4133
|
-
}) |
|
|
4725
|
+
}) | {
|
|
4726
|
+
kind: "document";
|
|
4727
|
+
text: string;
|
|
4728
|
+
})) | ({
|
|
4134
4729
|
__TYPE__: "ExternalLink";
|
|
4135
|
-
} & {
|
|
4730
|
+
} & (({
|
|
4136
4731
|
url: string;
|
|
4137
4732
|
} & {
|
|
4138
4733
|
kind?: "web";
|
|
@@ -4141,6 +4736,13 @@ export declare const DocumentLegacy: {
|
|
|
4141
4736
|
title?: string;
|
|
4142
4737
|
} | null | undefined;
|
|
4143
4738
|
text?: string;
|
|
4739
|
+
}) | {
|
|
4740
|
+
kind: "web";
|
|
4741
|
+
text: string;
|
|
4742
|
+
})) | ({
|
|
4743
|
+
__TYPE__: "AnyLink";
|
|
4744
|
+
} & {
|
|
4745
|
+
text: string;
|
|
4144
4746
|
});
|
|
4145
4747
|
} | {
|
|
4146
4748
|
__TYPE__: "StructuredTextContent";
|
|
@@ -4171,40 +4773,47 @@ export declare const DocumentLegacy: {
|
|
|
4171
4773
|
} & {
|
|
4172
4774
|
linkTo?: ({
|
|
4173
4775
|
__TYPE__: "ImageLink";
|
|
4174
|
-
} & {
|
|
4776
|
+
} & ({
|
|
4777
|
+
kind: "image";
|
|
4778
|
+
} & (({
|
|
4175
4779
|
id: string;
|
|
4176
4780
|
url: string;
|
|
4177
4781
|
height: string;
|
|
4178
4782
|
width: string;
|
|
4179
4783
|
size: string;
|
|
4180
4784
|
name: string;
|
|
4181
|
-
kind: string;
|
|
4182
4785
|
} & {
|
|
4183
4786
|
date?: string | null | undefined;
|
|
4184
4787
|
text?: string;
|
|
4185
|
-
}) |
|
|
4788
|
+
}) | {
|
|
4789
|
+
text: string;
|
|
4790
|
+
}))) | ({
|
|
4791
|
+
__TYPE__: "FileLink";
|
|
4792
|
+
} & ({
|
|
4793
|
+
kind: "file";
|
|
4794
|
+
} & (({
|
|
4186
4795
|
id: string;
|
|
4187
4796
|
url: string;
|
|
4188
4797
|
name: string;
|
|
4189
|
-
kind: string;
|
|
4190
4798
|
size: string;
|
|
4191
4799
|
} & {
|
|
4192
4800
|
date?: string | null | undefined;
|
|
4193
4801
|
text?: string;
|
|
4194
|
-
}
|
|
4195
|
-
|
|
4196
|
-
}
|
|
4197
|
-
size?: string;
|
|
4198
|
-
text?: string;
|
|
4199
|
-
}) | ({
|
|
4802
|
+
}) | {
|
|
4803
|
+
text: string;
|
|
4804
|
+
}))) | ({
|
|
4200
4805
|
__TYPE__: "DocumentLink";
|
|
4201
|
-
} & {
|
|
4806
|
+
} & (({
|
|
4202
4807
|
id: string;
|
|
4203
4808
|
} & {
|
|
4809
|
+
kind?: "document";
|
|
4204
4810
|
text?: string;
|
|
4205
|
-
}) |
|
|
4811
|
+
}) | {
|
|
4812
|
+
kind: "document";
|
|
4813
|
+
text: string;
|
|
4814
|
+
})) | ({
|
|
4206
4815
|
__TYPE__: "ExternalLink";
|
|
4207
|
-
} & {
|
|
4816
|
+
} & (({
|
|
4208
4817
|
url: string;
|
|
4209
4818
|
} & {
|
|
4210
4819
|
kind?: "web";
|
|
@@ -4213,6 +4822,13 @@ export declare const DocumentLegacy: {
|
|
|
4213
4822
|
title?: string;
|
|
4214
4823
|
} | null | undefined;
|
|
4215
4824
|
text?: string;
|
|
4825
|
+
}) | {
|
|
4826
|
+
kind: "web";
|
|
4827
|
+
text: string;
|
|
4828
|
+
})) | ({
|
|
4829
|
+
__TYPE__: "AnyLink";
|
|
4830
|
+
} & {
|
|
4831
|
+
text: string;
|
|
4216
4832
|
}) | null | undefined;
|
|
4217
4833
|
};
|
|
4218
4834
|
} & {
|
|
@@ -4250,40 +4866,47 @@ export declare const DocumentLegacy: {
|
|
|
4250
4866
|
spans?: ({
|
|
4251
4867
|
data: ({
|
|
4252
4868
|
__TYPE__: "ImageLink";
|
|
4253
|
-
} & {
|
|
4869
|
+
} & ({
|
|
4870
|
+
kind: "image";
|
|
4871
|
+
} & (({
|
|
4254
4872
|
id: string;
|
|
4255
4873
|
url: string;
|
|
4256
4874
|
height: string;
|
|
4257
4875
|
width: string;
|
|
4258
4876
|
size: string;
|
|
4259
4877
|
name: string;
|
|
4260
|
-
kind: string;
|
|
4261
4878
|
} & {
|
|
4262
4879
|
date?: string | null | undefined;
|
|
4263
4880
|
text?: string;
|
|
4264
|
-
}) |
|
|
4881
|
+
}) | {
|
|
4882
|
+
text: string;
|
|
4883
|
+
}))) | ({
|
|
4884
|
+
__TYPE__: "FileLink";
|
|
4885
|
+
} & ({
|
|
4886
|
+
kind: "file";
|
|
4887
|
+
} & (({
|
|
4265
4888
|
id: string;
|
|
4266
4889
|
url: string;
|
|
4267
4890
|
name: string;
|
|
4268
|
-
kind: string;
|
|
4269
4891
|
size: string;
|
|
4270
4892
|
} & {
|
|
4271
4893
|
date?: string | null | undefined;
|
|
4272
4894
|
text?: string;
|
|
4273
|
-
}
|
|
4274
|
-
|
|
4275
|
-
}
|
|
4276
|
-
size?: string;
|
|
4277
|
-
text?: string;
|
|
4278
|
-
}) | ({
|
|
4895
|
+
}) | {
|
|
4896
|
+
text: string;
|
|
4897
|
+
}))) | ({
|
|
4279
4898
|
__TYPE__: "DocumentLink";
|
|
4280
|
-
} & {
|
|
4899
|
+
} & (({
|
|
4281
4900
|
id: string;
|
|
4282
4901
|
} & {
|
|
4902
|
+
kind?: "document";
|
|
4283
4903
|
text?: string;
|
|
4284
|
-
}) |
|
|
4904
|
+
}) | {
|
|
4905
|
+
kind: "document";
|
|
4906
|
+
text: string;
|
|
4907
|
+
})) | ({
|
|
4285
4908
|
__TYPE__: "ExternalLink";
|
|
4286
|
-
} & {
|
|
4909
|
+
} & (({
|
|
4287
4910
|
url: string;
|
|
4288
4911
|
} & {
|
|
4289
4912
|
kind?: "web";
|
|
@@ -4292,6 +4915,13 @@ export declare const DocumentLegacy: {
|
|
|
4292
4915
|
title?: string;
|
|
4293
4916
|
} | null | undefined;
|
|
4294
4917
|
text?: string;
|
|
4918
|
+
}) | {
|
|
4919
|
+
kind: "web";
|
|
4920
|
+
text: string;
|
|
4921
|
+
})) | ({
|
|
4922
|
+
__TYPE__: "AnyLink";
|
|
4923
|
+
} & {
|
|
4924
|
+
text: string;
|
|
4295
4925
|
});
|
|
4296
4926
|
start: number;
|
|
4297
4927
|
end: number;
|
|
@@ -4433,40 +5063,47 @@ export declare const DocumentLegacy: {
|
|
|
4433
5063
|
__TYPE__: "LinkContent";
|
|
4434
5064
|
value: ({
|
|
4435
5065
|
__TYPE__: "ImageLink";
|
|
4436
|
-
} & {
|
|
5066
|
+
} & ({
|
|
5067
|
+
kind: "image";
|
|
5068
|
+
} & (({
|
|
4437
5069
|
id: string;
|
|
4438
5070
|
url: string;
|
|
4439
5071
|
height: string;
|
|
4440
5072
|
width: string;
|
|
4441
5073
|
size: string;
|
|
4442
5074
|
name: string;
|
|
4443
|
-
kind: string;
|
|
4444
5075
|
} & {
|
|
4445
5076
|
date?: string | null | undefined;
|
|
4446
5077
|
text?: string;
|
|
4447
|
-
}) |
|
|
5078
|
+
}) | {
|
|
5079
|
+
text: string;
|
|
5080
|
+
}))) | ({
|
|
5081
|
+
__TYPE__: "FileLink";
|
|
5082
|
+
} & ({
|
|
5083
|
+
kind: "file";
|
|
5084
|
+
} & (({
|
|
4448
5085
|
id: string;
|
|
4449
5086
|
url: string;
|
|
4450
5087
|
name: string;
|
|
4451
|
-
kind: string;
|
|
4452
5088
|
size: string;
|
|
4453
5089
|
} & {
|
|
4454
5090
|
date?: string | null | undefined;
|
|
4455
5091
|
text?: string;
|
|
4456
|
-
}
|
|
4457
|
-
|
|
4458
|
-
}
|
|
4459
|
-
size?: string;
|
|
4460
|
-
text?: string;
|
|
4461
|
-
}) | ({
|
|
5092
|
+
}) | {
|
|
5093
|
+
text: string;
|
|
5094
|
+
}))) | ({
|
|
4462
5095
|
__TYPE__: "DocumentLink";
|
|
4463
|
-
} & {
|
|
5096
|
+
} & (({
|
|
4464
5097
|
id: string;
|
|
4465
5098
|
} & {
|
|
5099
|
+
kind?: "document";
|
|
4466
5100
|
text?: string;
|
|
4467
|
-
}) |
|
|
5101
|
+
}) | {
|
|
5102
|
+
kind: "document";
|
|
5103
|
+
text: string;
|
|
5104
|
+
})) | ({
|
|
4468
5105
|
__TYPE__: "ExternalLink";
|
|
4469
|
-
} & {
|
|
5106
|
+
} & (({
|
|
4470
5107
|
url: string;
|
|
4471
5108
|
} & {
|
|
4472
5109
|
kind?: "web";
|
|
@@ -4475,6 +5112,13 @@ export declare const DocumentLegacy: {
|
|
|
4475
5112
|
title?: string;
|
|
4476
5113
|
} | null | undefined;
|
|
4477
5114
|
text?: string;
|
|
5115
|
+
}) | {
|
|
5116
|
+
kind: "web";
|
|
5117
|
+
text: string;
|
|
5118
|
+
})) | ({
|
|
5119
|
+
__TYPE__: "AnyLink";
|
|
5120
|
+
} & {
|
|
5121
|
+
text: string;
|
|
4478
5122
|
});
|
|
4479
5123
|
} | {
|
|
4480
5124
|
__TYPE__: "StructuredTextContent";
|
|
@@ -4505,40 +5149,47 @@ export declare const DocumentLegacy: {
|
|
|
4505
5149
|
} & {
|
|
4506
5150
|
linkTo?: ({
|
|
4507
5151
|
__TYPE__: "ImageLink";
|
|
4508
|
-
} & {
|
|
5152
|
+
} & ({
|
|
5153
|
+
kind: "image";
|
|
5154
|
+
} & (({
|
|
4509
5155
|
id: string;
|
|
4510
5156
|
url: string;
|
|
4511
5157
|
height: string;
|
|
4512
5158
|
width: string;
|
|
4513
5159
|
size: string;
|
|
4514
5160
|
name: string;
|
|
4515
|
-
kind: string;
|
|
4516
5161
|
} & {
|
|
4517
5162
|
date?: string | null | undefined;
|
|
4518
5163
|
text?: string;
|
|
4519
|
-
}) |
|
|
5164
|
+
}) | {
|
|
5165
|
+
text: string;
|
|
5166
|
+
}))) | ({
|
|
5167
|
+
__TYPE__: "FileLink";
|
|
5168
|
+
} & ({
|
|
5169
|
+
kind: "file";
|
|
5170
|
+
} & (({
|
|
4520
5171
|
id: string;
|
|
4521
5172
|
url: string;
|
|
4522
5173
|
name: string;
|
|
4523
|
-
kind: string;
|
|
4524
5174
|
size: string;
|
|
4525
5175
|
} & {
|
|
4526
5176
|
date?: string | null | undefined;
|
|
4527
5177
|
text?: string;
|
|
4528
|
-
}
|
|
4529
|
-
|
|
4530
|
-
}
|
|
4531
|
-
size?: string;
|
|
4532
|
-
text?: string;
|
|
4533
|
-
}) | ({
|
|
5178
|
+
}) | {
|
|
5179
|
+
text: string;
|
|
5180
|
+
}))) | ({
|
|
4534
5181
|
__TYPE__: "DocumentLink";
|
|
4535
|
-
} & {
|
|
5182
|
+
} & (({
|
|
4536
5183
|
id: string;
|
|
4537
5184
|
} & {
|
|
5185
|
+
kind?: "document";
|
|
4538
5186
|
text?: string;
|
|
4539
|
-
}) |
|
|
5187
|
+
}) | {
|
|
5188
|
+
kind: "document";
|
|
5189
|
+
text: string;
|
|
5190
|
+
})) | ({
|
|
4540
5191
|
__TYPE__: "ExternalLink";
|
|
4541
|
-
} & {
|
|
5192
|
+
} & (({
|
|
4542
5193
|
url: string;
|
|
4543
5194
|
} & {
|
|
4544
5195
|
kind?: "web";
|
|
@@ -4547,6 +5198,13 @@ export declare const DocumentLegacy: {
|
|
|
4547
5198
|
title?: string;
|
|
4548
5199
|
} | null | undefined;
|
|
4549
5200
|
text?: string;
|
|
5201
|
+
}) | {
|
|
5202
|
+
kind: "web";
|
|
5203
|
+
text: string;
|
|
5204
|
+
})) | ({
|
|
5205
|
+
__TYPE__: "AnyLink";
|
|
5206
|
+
} & {
|
|
5207
|
+
text: string;
|
|
4550
5208
|
}) | null | undefined;
|
|
4551
5209
|
};
|
|
4552
5210
|
} & {
|
|
@@ -4584,40 +5242,47 @@ export declare const DocumentLegacy: {
|
|
|
4584
5242
|
spans?: ({
|
|
4585
5243
|
data: ({
|
|
4586
5244
|
__TYPE__: "ImageLink";
|
|
4587
|
-
} & {
|
|
5245
|
+
} & ({
|
|
5246
|
+
kind: "image";
|
|
5247
|
+
} & (({
|
|
4588
5248
|
id: string;
|
|
4589
5249
|
url: string;
|
|
4590
5250
|
height: string;
|
|
4591
5251
|
width: string;
|
|
4592
5252
|
size: string;
|
|
4593
5253
|
name: string;
|
|
4594
|
-
kind: string;
|
|
4595
5254
|
} & {
|
|
4596
5255
|
date?: string | null | undefined;
|
|
4597
5256
|
text?: string;
|
|
4598
|
-
}) |
|
|
5257
|
+
}) | {
|
|
5258
|
+
text: string;
|
|
5259
|
+
}))) | ({
|
|
5260
|
+
__TYPE__: "FileLink";
|
|
5261
|
+
} & ({
|
|
5262
|
+
kind: "file";
|
|
5263
|
+
} & (({
|
|
4599
5264
|
id: string;
|
|
4600
5265
|
url: string;
|
|
4601
5266
|
name: string;
|
|
4602
|
-
kind: string;
|
|
4603
5267
|
size: string;
|
|
4604
5268
|
} & {
|
|
4605
5269
|
date?: string | null | undefined;
|
|
4606
5270
|
text?: string;
|
|
4607
|
-
}
|
|
4608
|
-
|
|
4609
|
-
}
|
|
4610
|
-
size?: string;
|
|
4611
|
-
text?: string;
|
|
4612
|
-
}) | ({
|
|
5271
|
+
}) | {
|
|
5272
|
+
text: string;
|
|
5273
|
+
}))) | ({
|
|
4613
5274
|
__TYPE__: "DocumentLink";
|
|
4614
|
-
} & {
|
|
5275
|
+
} & (({
|
|
4615
5276
|
id: string;
|
|
4616
5277
|
} & {
|
|
5278
|
+
kind?: "document";
|
|
4617
5279
|
text?: string;
|
|
4618
|
-
}) |
|
|
5280
|
+
}) | {
|
|
5281
|
+
kind: "document";
|
|
5282
|
+
text: string;
|
|
5283
|
+
})) | ({
|
|
4619
5284
|
__TYPE__: "ExternalLink";
|
|
4620
|
-
} & {
|
|
5285
|
+
} & (({
|
|
4621
5286
|
url: string;
|
|
4622
5287
|
} & {
|
|
4623
5288
|
kind?: "web";
|
|
@@ -4626,6 +5291,13 @@ export declare const DocumentLegacy: {
|
|
|
4626
5291
|
title?: string;
|
|
4627
5292
|
} | null | undefined;
|
|
4628
5293
|
text?: string;
|
|
5294
|
+
}) | {
|
|
5295
|
+
kind: "web";
|
|
5296
|
+
text: string;
|
|
5297
|
+
})) | ({
|
|
5298
|
+
__TYPE__: "AnyLink";
|
|
5299
|
+
} & {
|
|
5300
|
+
text: string;
|
|
4629
5301
|
});
|
|
4630
5302
|
start: number;
|
|
4631
5303
|
end: number;
|
|
@@ -4803,40 +5475,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
4803
5475
|
__TYPE__: "LinkContent";
|
|
4804
5476
|
value: ({
|
|
4805
5477
|
__TYPE__: "ImageLink";
|
|
4806
|
-
} & {
|
|
5478
|
+
} & ({
|
|
5479
|
+
kind: "image";
|
|
5480
|
+
} & (({
|
|
4807
5481
|
id: string;
|
|
4808
5482
|
url: string;
|
|
4809
5483
|
height: string;
|
|
4810
5484
|
width: string;
|
|
4811
5485
|
size: string;
|
|
4812
5486
|
name: string;
|
|
4813
|
-
kind: string;
|
|
4814
5487
|
} & {
|
|
4815
5488
|
date?: string | null | undefined;
|
|
4816
5489
|
text?: string;
|
|
4817
|
-
}) |
|
|
5490
|
+
}) | {
|
|
5491
|
+
text: string;
|
|
5492
|
+
}))) | ({
|
|
5493
|
+
__TYPE__: "FileLink";
|
|
5494
|
+
} & ({
|
|
5495
|
+
kind: "file";
|
|
5496
|
+
} & (({
|
|
4818
5497
|
id: string;
|
|
4819
5498
|
url: string;
|
|
4820
5499
|
name: string;
|
|
4821
|
-
kind: string;
|
|
4822
5500
|
size: string;
|
|
4823
5501
|
} & {
|
|
4824
5502
|
date?: string | null | undefined;
|
|
4825
5503
|
text?: string;
|
|
4826
|
-
}
|
|
4827
|
-
|
|
4828
|
-
}
|
|
4829
|
-
size?: string;
|
|
4830
|
-
text?: string;
|
|
4831
|
-
}) | ({
|
|
5504
|
+
}) | {
|
|
5505
|
+
text: string;
|
|
5506
|
+
}))) | ({
|
|
4832
5507
|
__TYPE__: "DocumentLink";
|
|
4833
|
-
} & {
|
|
5508
|
+
} & (({
|
|
4834
5509
|
id: string;
|
|
4835
5510
|
} & {
|
|
5511
|
+
kind?: "document";
|
|
4836
5512
|
text?: string;
|
|
4837
|
-
}) |
|
|
5513
|
+
}) | {
|
|
5514
|
+
kind: "document";
|
|
5515
|
+
text: string;
|
|
5516
|
+
})) | ({
|
|
4838
5517
|
__TYPE__: "ExternalLink";
|
|
4839
|
-
} & {
|
|
5518
|
+
} & (({
|
|
4840
5519
|
url: string;
|
|
4841
5520
|
} & {
|
|
4842
5521
|
kind?: "web";
|
|
@@ -4845,6 +5524,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
4845
5524
|
title?: string;
|
|
4846
5525
|
} | null | undefined;
|
|
4847
5526
|
text?: string;
|
|
5527
|
+
}) | {
|
|
5528
|
+
kind: "web";
|
|
5529
|
+
text: string;
|
|
5530
|
+
})) | ({
|
|
5531
|
+
__TYPE__: "AnyLink";
|
|
5532
|
+
} & {
|
|
5533
|
+
text: string;
|
|
4848
5534
|
});
|
|
4849
5535
|
} | {
|
|
4850
5536
|
__TYPE__: "StructuredTextContent";
|
|
@@ -4875,40 +5561,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
4875
5561
|
} & {
|
|
4876
5562
|
linkTo?: ({
|
|
4877
5563
|
__TYPE__: "ImageLink";
|
|
4878
|
-
} & {
|
|
5564
|
+
} & ({
|
|
5565
|
+
kind: "image";
|
|
5566
|
+
} & (({
|
|
4879
5567
|
id: string;
|
|
4880
5568
|
url: string;
|
|
4881
5569
|
height: string;
|
|
4882
5570
|
width: string;
|
|
4883
5571
|
size: string;
|
|
4884
5572
|
name: string;
|
|
4885
|
-
kind: string;
|
|
4886
5573
|
} & {
|
|
4887
5574
|
date?: string | null | undefined;
|
|
4888
5575
|
text?: string;
|
|
4889
|
-
}) |
|
|
5576
|
+
}) | {
|
|
5577
|
+
text: string;
|
|
5578
|
+
}))) | ({
|
|
5579
|
+
__TYPE__: "FileLink";
|
|
5580
|
+
} & ({
|
|
5581
|
+
kind: "file";
|
|
5582
|
+
} & (({
|
|
4890
5583
|
id: string;
|
|
4891
5584
|
url: string;
|
|
4892
5585
|
name: string;
|
|
4893
|
-
kind: string;
|
|
4894
5586
|
size: string;
|
|
4895
5587
|
} & {
|
|
4896
5588
|
date?: string | null | undefined;
|
|
4897
5589
|
text?: string;
|
|
4898
|
-
}
|
|
4899
|
-
|
|
4900
|
-
}
|
|
4901
|
-
size?: string;
|
|
4902
|
-
text?: string;
|
|
4903
|
-
}) | ({
|
|
5590
|
+
}) | {
|
|
5591
|
+
text: string;
|
|
5592
|
+
}))) | ({
|
|
4904
5593
|
__TYPE__: "DocumentLink";
|
|
4905
|
-
} & {
|
|
5594
|
+
} & (({
|
|
4906
5595
|
id: string;
|
|
4907
5596
|
} & {
|
|
5597
|
+
kind?: "document";
|
|
4908
5598
|
text?: string;
|
|
4909
|
-
}) |
|
|
5599
|
+
}) | {
|
|
5600
|
+
kind: "document";
|
|
5601
|
+
text: string;
|
|
5602
|
+
})) | ({
|
|
4910
5603
|
__TYPE__: "ExternalLink";
|
|
4911
|
-
} & {
|
|
5604
|
+
} & (({
|
|
4912
5605
|
url: string;
|
|
4913
5606
|
} & {
|
|
4914
5607
|
kind?: "web";
|
|
@@ -4917,6 +5610,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
4917
5610
|
title?: string;
|
|
4918
5611
|
} | null | undefined;
|
|
4919
5612
|
text?: string;
|
|
5613
|
+
}) | {
|
|
5614
|
+
kind: "web";
|
|
5615
|
+
text: string;
|
|
5616
|
+
})) | ({
|
|
5617
|
+
__TYPE__: "AnyLink";
|
|
5618
|
+
} & {
|
|
5619
|
+
text: string;
|
|
4920
5620
|
}) | null | undefined;
|
|
4921
5621
|
};
|
|
4922
5622
|
} & {
|
|
@@ -4954,40 +5654,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
4954
5654
|
spans?: ({
|
|
4955
5655
|
data: ({
|
|
4956
5656
|
__TYPE__: "ImageLink";
|
|
4957
|
-
} & {
|
|
5657
|
+
} & ({
|
|
5658
|
+
kind: "image";
|
|
5659
|
+
} & (({
|
|
4958
5660
|
id: string;
|
|
4959
5661
|
url: string;
|
|
4960
5662
|
height: string;
|
|
4961
5663
|
width: string;
|
|
4962
5664
|
size: string;
|
|
4963
5665
|
name: string;
|
|
4964
|
-
kind: string;
|
|
4965
5666
|
} & {
|
|
4966
5667
|
date?: string | null | undefined;
|
|
4967
5668
|
text?: string;
|
|
4968
|
-
}) |
|
|
5669
|
+
}) | {
|
|
5670
|
+
text: string;
|
|
5671
|
+
}))) | ({
|
|
5672
|
+
__TYPE__: "FileLink";
|
|
5673
|
+
} & ({
|
|
5674
|
+
kind: "file";
|
|
5675
|
+
} & (({
|
|
4969
5676
|
id: string;
|
|
4970
5677
|
url: string;
|
|
4971
5678
|
name: string;
|
|
4972
|
-
kind: string;
|
|
4973
5679
|
size: string;
|
|
4974
5680
|
} & {
|
|
4975
5681
|
date?: string | null | undefined;
|
|
4976
5682
|
text?: string;
|
|
4977
|
-
}
|
|
4978
|
-
|
|
4979
|
-
}
|
|
4980
|
-
size?: string;
|
|
4981
|
-
text?: string;
|
|
4982
|
-
}) | ({
|
|
5683
|
+
}) | {
|
|
5684
|
+
text: string;
|
|
5685
|
+
}))) | ({
|
|
4983
5686
|
__TYPE__: "DocumentLink";
|
|
4984
|
-
} & {
|
|
5687
|
+
} & (({
|
|
4985
5688
|
id: string;
|
|
4986
5689
|
} & {
|
|
5690
|
+
kind?: "document";
|
|
4987
5691
|
text?: string;
|
|
4988
|
-
}) |
|
|
5692
|
+
}) | {
|
|
5693
|
+
kind: "document";
|
|
5694
|
+
text: string;
|
|
5695
|
+
})) | ({
|
|
4989
5696
|
__TYPE__: "ExternalLink";
|
|
4990
|
-
} & {
|
|
5697
|
+
} & (({
|
|
4991
5698
|
url: string;
|
|
4992
5699
|
} & {
|
|
4993
5700
|
kind?: "web";
|
|
@@ -4996,6 +5703,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
4996
5703
|
title?: string;
|
|
4997
5704
|
} | null | undefined;
|
|
4998
5705
|
text?: string;
|
|
5706
|
+
}) | {
|
|
5707
|
+
kind: "web";
|
|
5708
|
+
text: string;
|
|
5709
|
+
})) | ({
|
|
5710
|
+
__TYPE__: "AnyLink";
|
|
5711
|
+
} & {
|
|
5712
|
+
text: string;
|
|
4999
5713
|
});
|
|
5000
5714
|
start: number;
|
|
5001
5715
|
end: number;
|
|
@@ -5142,40 +5856,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5142
5856
|
__TYPE__: "LinkContent";
|
|
5143
5857
|
value: ({
|
|
5144
5858
|
__TYPE__: "ImageLink";
|
|
5145
|
-
} & {
|
|
5859
|
+
} & ({
|
|
5860
|
+
kind: "image";
|
|
5861
|
+
} & (({
|
|
5146
5862
|
id: string;
|
|
5147
5863
|
url: string;
|
|
5148
5864
|
height: string;
|
|
5149
5865
|
width: string;
|
|
5150
5866
|
size: string;
|
|
5151
5867
|
name: string;
|
|
5152
|
-
kind: string;
|
|
5153
5868
|
} & {
|
|
5154
5869
|
date?: string | null | undefined;
|
|
5155
5870
|
text?: string;
|
|
5156
|
-
}) |
|
|
5871
|
+
}) | {
|
|
5872
|
+
text: string;
|
|
5873
|
+
}))) | ({
|
|
5874
|
+
__TYPE__: "FileLink";
|
|
5875
|
+
} & ({
|
|
5876
|
+
kind: "file";
|
|
5877
|
+
} & (({
|
|
5157
5878
|
id: string;
|
|
5158
5879
|
url: string;
|
|
5159
5880
|
name: string;
|
|
5160
|
-
kind: string;
|
|
5161
5881
|
size: string;
|
|
5162
5882
|
} & {
|
|
5163
5883
|
date?: string | null | undefined;
|
|
5164
5884
|
text?: string;
|
|
5165
|
-
}
|
|
5166
|
-
|
|
5167
|
-
}
|
|
5168
|
-
size?: string;
|
|
5169
|
-
text?: string;
|
|
5170
|
-
}) | ({
|
|
5885
|
+
}) | {
|
|
5886
|
+
text: string;
|
|
5887
|
+
}))) | ({
|
|
5171
5888
|
__TYPE__: "DocumentLink";
|
|
5172
|
-
} & {
|
|
5889
|
+
} & (({
|
|
5173
5890
|
id: string;
|
|
5174
5891
|
} & {
|
|
5892
|
+
kind?: "document";
|
|
5175
5893
|
text?: string;
|
|
5176
|
-
}) |
|
|
5894
|
+
}) | {
|
|
5895
|
+
kind: "document";
|
|
5896
|
+
text: string;
|
|
5897
|
+
})) | ({
|
|
5177
5898
|
__TYPE__: "ExternalLink";
|
|
5178
|
-
} & {
|
|
5899
|
+
} & (({
|
|
5179
5900
|
url: string;
|
|
5180
5901
|
} & {
|
|
5181
5902
|
kind?: "web";
|
|
@@ -5184,6 +5905,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5184
5905
|
title?: string;
|
|
5185
5906
|
} | null | undefined;
|
|
5186
5907
|
text?: string;
|
|
5908
|
+
}) | {
|
|
5909
|
+
kind: "web";
|
|
5910
|
+
text: string;
|
|
5911
|
+
})) | ({
|
|
5912
|
+
__TYPE__: "AnyLink";
|
|
5913
|
+
} & {
|
|
5914
|
+
text: string;
|
|
5187
5915
|
});
|
|
5188
5916
|
} | {
|
|
5189
5917
|
__TYPE__: "StructuredTextContent";
|
|
@@ -5214,40 +5942,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5214
5942
|
} & {
|
|
5215
5943
|
linkTo?: ({
|
|
5216
5944
|
__TYPE__: "ImageLink";
|
|
5217
|
-
} & {
|
|
5945
|
+
} & ({
|
|
5946
|
+
kind: "image";
|
|
5947
|
+
} & (({
|
|
5218
5948
|
id: string;
|
|
5219
5949
|
url: string;
|
|
5220
5950
|
height: string;
|
|
5221
5951
|
width: string;
|
|
5222
5952
|
size: string;
|
|
5223
5953
|
name: string;
|
|
5224
|
-
kind: string;
|
|
5225
5954
|
} & {
|
|
5226
5955
|
date?: string | null | undefined;
|
|
5227
5956
|
text?: string;
|
|
5228
|
-
}) |
|
|
5957
|
+
}) | {
|
|
5958
|
+
text: string;
|
|
5959
|
+
}))) | ({
|
|
5960
|
+
__TYPE__: "FileLink";
|
|
5961
|
+
} & ({
|
|
5962
|
+
kind: "file";
|
|
5963
|
+
} & (({
|
|
5229
5964
|
id: string;
|
|
5230
5965
|
url: string;
|
|
5231
5966
|
name: string;
|
|
5232
|
-
kind: string;
|
|
5233
5967
|
size: string;
|
|
5234
5968
|
} & {
|
|
5235
5969
|
date?: string | null | undefined;
|
|
5236
5970
|
text?: string;
|
|
5237
|
-
}
|
|
5238
|
-
|
|
5239
|
-
}
|
|
5240
|
-
size?: string;
|
|
5241
|
-
text?: string;
|
|
5242
|
-
}) | ({
|
|
5971
|
+
}) | {
|
|
5972
|
+
text: string;
|
|
5973
|
+
}))) | ({
|
|
5243
5974
|
__TYPE__: "DocumentLink";
|
|
5244
|
-
} & {
|
|
5975
|
+
} & (({
|
|
5245
5976
|
id: string;
|
|
5246
5977
|
} & {
|
|
5978
|
+
kind?: "document";
|
|
5247
5979
|
text?: string;
|
|
5248
|
-
}) |
|
|
5980
|
+
}) | {
|
|
5981
|
+
kind: "document";
|
|
5982
|
+
text: string;
|
|
5983
|
+
})) | ({
|
|
5249
5984
|
__TYPE__: "ExternalLink";
|
|
5250
|
-
} & {
|
|
5985
|
+
} & (({
|
|
5251
5986
|
url: string;
|
|
5252
5987
|
} & {
|
|
5253
5988
|
kind?: "web";
|
|
@@ -5256,6 +5991,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5256
5991
|
title?: string;
|
|
5257
5992
|
} | null | undefined;
|
|
5258
5993
|
text?: string;
|
|
5994
|
+
}) | {
|
|
5995
|
+
kind: "web";
|
|
5996
|
+
text: string;
|
|
5997
|
+
})) | ({
|
|
5998
|
+
__TYPE__: "AnyLink";
|
|
5999
|
+
} & {
|
|
6000
|
+
text: string;
|
|
5259
6001
|
}) | null | undefined;
|
|
5260
6002
|
};
|
|
5261
6003
|
} & {
|
|
@@ -5293,40 +6035,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5293
6035
|
spans?: ({
|
|
5294
6036
|
data: ({
|
|
5295
6037
|
__TYPE__: "ImageLink";
|
|
5296
|
-
} & {
|
|
6038
|
+
} & ({
|
|
6039
|
+
kind: "image";
|
|
6040
|
+
} & (({
|
|
5297
6041
|
id: string;
|
|
5298
6042
|
url: string;
|
|
5299
6043
|
height: string;
|
|
5300
6044
|
width: string;
|
|
5301
6045
|
size: string;
|
|
5302
6046
|
name: string;
|
|
5303
|
-
kind: string;
|
|
5304
6047
|
} & {
|
|
5305
6048
|
date?: string | null | undefined;
|
|
5306
6049
|
text?: string;
|
|
5307
|
-
}) |
|
|
6050
|
+
}) | {
|
|
6051
|
+
text: string;
|
|
6052
|
+
}))) | ({
|
|
6053
|
+
__TYPE__: "FileLink";
|
|
6054
|
+
} & ({
|
|
6055
|
+
kind: "file";
|
|
6056
|
+
} & (({
|
|
5308
6057
|
id: string;
|
|
5309
6058
|
url: string;
|
|
5310
6059
|
name: string;
|
|
5311
|
-
kind: string;
|
|
5312
6060
|
size: string;
|
|
5313
6061
|
} & {
|
|
5314
6062
|
date?: string | null | undefined;
|
|
5315
6063
|
text?: string;
|
|
5316
|
-
}
|
|
5317
|
-
|
|
5318
|
-
}
|
|
5319
|
-
size?: string;
|
|
5320
|
-
text?: string;
|
|
5321
|
-
}) | ({
|
|
6064
|
+
}) | {
|
|
6065
|
+
text: string;
|
|
6066
|
+
}))) | ({
|
|
5322
6067
|
__TYPE__: "DocumentLink";
|
|
5323
|
-
} & {
|
|
6068
|
+
} & (({
|
|
5324
6069
|
id: string;
|
|
5325
6070
|
} & {
|
|
6071
|
+
kind?: "document";
|
|
5326
6072
|
text?: string;
|
|
5327
|
-
}) |
|
|
6073
|
+
}) | {
|
|
6074
|
+
kind: "document";
|
|
6075
|
+
text: string;
|
|
6076
|
+
})) | ({
|
|
5328
6077
|
__TYPE__: "ExternalLink";
|
|
5329
|
-
} & {
|
|
6078
|
+
} & (({
|
|
5330
6079
|
url: string;
|
|
5331
6080
|
} & {
|
|
5332
6081
|
kind?: "web";
|
|
@@ -5335,6 +6084,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5335
6084
|
title?: string;
|
|
5336
6085
|
} | null | undefined;
|
|
5337
6086
|
text?: string;
|
|
6087
|
+
}) | {
|
|
6088
|
+
kind: "web";
|
|
6089
|
+
text: string;
|
|
6090
|
+
})) | ({
|
|
6091
|
+
__TYPE__: "AnyLink";
|
|
6092
|
+
} & {
|
|
6093
|
+
text: string;
|
|
5338
6094
|
});
|
|
5339
6095
|
start: number;
|
|
5340
6096
|
end: number;
|
|
@@ -5475,40 +6231,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5475
6231
|
__TYPE__: "LinkContent";
|
|
5476
6232
|
value: ({
|
|
5477
6233
|
__TYPE__: "ImageLink";
|
|
5478
|
-
} & {
|
|
6234
|
+
} & ({
|
|
6235
|
+
kind: "image";
|
|
6236
|
+
} & (({
|
|
5479
6237
|
id: string;
|
|
5480
6238
|
url: string;
|
|
5481
6239
|
height: string;
|
|
5482
6240
|
width: string;
|
|
5483
6241
|
size: string;
|
|
5484
6242
|
name: string;
|
|
5485
|
-
kind: string;
|
|
5486
6243
|
} & {
|
|
5487
6244
|
date?: string | null | undefined;
|
|
5488
6245
|
text?: string;
|
|
5489
|
-
}) |
|
|
6246
|
+
}) | {
|
|
6247
|
+
text: string;
|
|
6248
|
+
}))) | ({
|
|
6249
|
+
__TYPE__: "FileLink";
|
|
6250
|
+
} & ({
|
|
6251
|
+
kind: "file";
|
|
6252
|
+
} & (({
|
|
5490
6253
|
id: string;
|
|
5491
6254
|
url: string;
|
|
5492
6255
|
name: string;
|
|
5493
|
-
kind: string;
|
|
5494
6256
|
size: string;
|
|
5495
6257
|
} & {
|
|
5496
6258
|
date?: string | null | undefined;
|
|
5497
6259
|
text?: string;
|
|
5498
|
-
}
|
|
5499
|
-
|
|
5500
|
-
}
|
|
5501
|
-
size?: string;
|
|
5502
|
-
text?: string;
|
|
5503
|
-
}) | ({
|
|
6260
|
+
}) | {
|
|
6261
|
+
text: string;
|
|
6262
|
+
}))) | ({
|
|
5504
6263
|
__TYPE__: "DocumentLink";
|
|
5505
|
-
} & {
|
|
6264
|
+
} & (({
|
|
5506
6265
|
id: string;
|
|
5507
6266
|
} & {
|
|
6267
|
+
kind?: "document";
|
|
5508
6268
|
text?: string;
|
|
5509
|
-
}) |
|
|
6269
|
+
}) | {
|
|
6270
|
+
kind: "document";
|
|
6271
|
+
text: string;
|
|
6272
|
+
})) | ({
|
|
5510
6273
|
__TYPE__: "ExternalLink";
|
|
5511
|
-
} & {
|
|
6274
|
+
} & (({
|
|
5512
6275
|
url: string;
|
|
5513
6276
|
} & {
|
|
5514
6277
|
kind?: "web";
|
|
@@ -5517,6 +6280,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5517
6280
|
title?: string;
|
|
5518
6281
|
} | null | undefined;
|
|
5519
6282
|
text?: string;
|
|
6283
|
+
}) | {
|
|
6284
|
+
kind: "web";
|
|
6285
|
+
text: string;
|
|
6286
|
+
})) | ({
|
|
6287
|
+
__TYPE__: "AnyLink";
|
|
6288
|
+
} & {
|
|
6289
|
+
text: string;
|
|
5520
6290
|
});
|
|
5521
6291
|
} | {
|
|
5522
6292
|
__TYPE__: "StructuredTextContent";
|
|
@@ -5547,40 +6317,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5547
6317
|
} & {
|
|
5548
6318
|
linkTo?: ({
|
|
5549
6319
|
__TYPE__: "ImageLink";
|
|
5550
|
-
} & {
|
|
6320
|
+
} & ({
|
|
6321
|
+
kind: "image";
|
|
6322
|
+
} & (({
|
|
5551
6323
|
id: string;
|
|
5552
6324
|
url: string;
|
|
5553
6325
|
height: string;
|
|
5554
6326
|
width: string;
|
|
5555
6327
|
size: string;
|
|
5556
6328
|
name: string;
|
|
5557
|
-
kind: string;
|
|
5558
6329
|
} & {
|
|
5559
6330
|
date?: string | null | undefined;
|
|
5560
6331
|
text?: string;
|
|
5561
|
-
}) |
|
|
6332
|
+
}) | {
|
|
6333
|
+
text: string;
|
|
6334
|
+
}))) | ({
|
|
6335
|
+
__TYPE__: "FileLink";
|
|
6336
|
+
} & ({
|
|
6337
|
+
kind: "file";
|
|
6338
|
+
} & (({
|
|
5562
6339
|
id: string;
|
|
5563
6340
|
url: string;
|
|
5564
6341
|
name: string;
|
|
5565
|
-
kind: string;
|
|
5566
6342
|
size: string;
|
|
5567
6343
|
} & {
|
|
5568
6344
|
date?: string | null | undefined;
|
|
5569
6345
|
text?: string;
|
|
5570
|
-
}
|
|
5571
|
-
|
|
5572
|
-
}
|
|
5573
|
-
size?: string;
|
|
5574
|
-
text?: string;
|
|
5575
|
-
}) | ({
|
|
6346
|
+
}) | {
|
|
6347
|
+
text: string;
|
|
6348
|
+
}))) | ({
|
|
5576
6349
|
__TYPE__: "DocumentLink";
|
|
5577
|
-
} & {
|
|
6350
|
+
} & (({
|
|
5578
6351
|
id: string;
|
|
5579
6352
|
} & {
|
|
6353
|
+
kind?: "document";
|
|
5580
6354
|
text?: string;
|
|
5581
|
-
}) |
|
|
6355
|
+
}) | {
|
|
6356
|
+
kind: "document";
|
|
6357
|
+
text: string;
|
|
6358
|
+
})) | ({
|
|
5582
6359
|
__TYPE__: "ExternalLink";
|
|
5583
|
-
} & {
|
|
6360
|
+
} & (({
|
|
5584
6361
|
url: string;
|
|
5585
6362
|
} & {
|
|
5586
6363
|
kind?: "web";
|
|
@@ -5589,6 +6366,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5589
6366
|
title?: string;
|
|
5590
6367
|
} | null | undefined;
|
|
5591
6368
|
text?: string;
|
|
6369
|
+
}) | {
|
|
6370
|
+
kind: "web";
|
|
6371
|
+
text: string;
|
|
6372
|
+
})) | ({
|
|
6373
|
+
__TYPE__: "AnyLink";
|
|
6374
|
+
} & {
|
|
6375
|
+
text: string;
|
|
5592
6376
|
}) | null | undefined;
|
|
5593
6377
|
};
|
|
5594
6378
|
} & {
|
|
@@ -5626,40 +6410,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5626
6410
|
spans?: ({
|
|
5627
6411
|
data: ({
|
|
5628
6412
|
__TYPE__: "ImageLink";
|
|
5629
|
-
} & {
|
|
6413
|
+
} & ({
|
|
6414
|
+
kind: "image";
|
|
6415
|
+
} & (({
|
|
5630
6416
|
id: string;
|
|
5631
6417
|
url: string;
|
|
5632
6418
|
height: string;
|
|
5633
6419
|
width: string;
|
|
5634
6420
|
size: string;
|
|
5635
6421
|
name: string;
|
|
5636
|
-
kind: string;
|
|
5637
6422
|
} & {
|
|
5638
6423
|
date?: string | null | undefined;
|
|
5639
6424
|
text?: string;
|
|
5640
|
-
}) |
|
|
6425
|
+
}) | {
|
|
6426
|
+
text: string;
|
|
6427
|
+
}))) | ({
|
|
6428
|
+
__TYPE__: "FileLink";
|
|
6429
|
+
} & ({
|
|
6430
|
+
kind: "file";
|
|
6431
|
+
} & (({
|
|
5641
6432
|
id: string;
|
|
5642
6433
|
url: string;
|
|
5643
6434
|
name: string;
|
|
5644
|
-
kind: string;
|
|
5645
6435
|
size: string;
|
|
5646
6436
|
} & {
|
|
5647
6437
|
date?: string | null | undefined;
|
|
5648
6438
|
text?: string;
|
|
5649
|
-
}
|
|
5650
|
-
|
|
5651
|
-
}
|
|
5652
|
-
size?: string;
|
|
5653
|
-
text?: string;
|
|
5654
|
-
}) | ({
|
|
6439
|
+
}) | {
|
|
6440
|
+
text: string;
|
|
6441
|
+
}))) | ({
|
|
5655
6442
|
__TYPE__: "DocumentLink";
|
|
5656
|
-
} & {
|
|
6443
|
+
} & (({
|
|
5657
6444
|
id: string;
|
|
5658
6445
|
} & {
|
|
6446
|
+
kind?: "document";
|
|
5659
6447
|
text?: string;
|
|
5660
|
-
}) |
|
|
6448
|
+
}) | {
|
|
6449
|
+
kind: "document";
|
|
6450
|
+
text: string;
|
|
6451
|
+
})) | ({
|
|
5661
6452
|
__TYPE__: "ExternalLink";
|
|
5662
|
-
} & {
|
|
6453
|
+
} & (({
|
|
5663
6454
|
url: string;
|
|
5664
6455
|
} & {
|
|
5665
6456
|
kind?: "web";
|
|
@@ -5668,6 +6459,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5668
6459
|
title?: string;
|
|
5669
6460
|
} | null | undefined;
|
|
5670
6461
|
text?: string;
|
|
6462
|
+
}) | {
|
|
6463
|
+
kind: "web";
|
|
6464
|
+
text: string;
|
|
6465
|
+
})) | ({
|
|
6466
|
+
__TYPE__: "AnyLink";
|
|
6467
|
+
} & {
|
|
6468
|
+
text: string;
|
|
5671
6469
|
});
|
|
5672
6470
|
start: number;
|
|
5673
6471
|
end: number;
|
|
@@ -5809,40 +6607,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5809
6607
|
__TYPE__: "LinkContent";
|
|
5810
6608
|
value: ({
|
|
5811
6609
|
__TYPE__: "ImageLink";
|
|
5812
|
-
} & {
|
|
6610
|
+
} & ({
|
|
6611
|
+
kind: "image";
|
|
6612
|
+
} & (({
|
|
5813
6613
|
id: string;
|
|
5814
6614
|
url: string;
|
|
5815
6615
|
height: string;
|
|
5816
6616
|
width: string;
|
|
5817
6617
|
size: string;
|
|
5818
6618
|
name: string;
|
|
5819
|
-
kind: string;
|
|
5820
6619
|
} & {
|
|
5821
6620
|
date?: string | null | undefined;
|
|
5822
6621
|
text?: string;
|
|
5823
|
-
}) |
|
|
6622
|
+
}) | {
|
|
6623
|
+
text: string;
|
|
6624
|
+
}))) | ({
|
|
6625
|
+
__TYPE__: "FileLink";
|
|
6626
|
+
} & ({
|
|
6627
|
+
kind: "file";
|
|
6628
|
+
} & (({
|
|
5824
6629
|
id: string;
|
|
5825
6630
|
url: string;
|
|
5826
6631
|
name: string;
|
|
5827
|
-
kind: string;
|
|
5828
6632
|
size: string;
|
|
5829
6633
|
} & {
|
|
5830
6634
|
date?: string | null | undefined;
|
|
5831
6635
|
text?: string;
|
|
5832
|
-
}
|
|
5833
|
-
|
|
5834
|
-
}
|
|
5835
|
-
size?: string;
|
|
5836
|
-
text?: string;
|
|
5837
|
-
}) | ({
|
|
6636
|
+
}) | {
|
|
6637
|
+
text: string;
|
|
6638
|
+
}))) | ({
|
|
5838
6639
|
__TYPE__: "DocumentLink";
|
|
5839
|
-
} & {
|
|
6640
|
+
} & (({
|
|
5840
6641
|
id: string;
|
|
5841
6642
|
} & {
|
|
6643
|
+
kind?: "document";
|
|
5842
6644
|
text?: string;
|
|
5843
|
-
}) |
|
|
6645
|
+
}) | {
|
|
6646
|
+
kind: "document";
|
|
6647
|
+
text: string;
|
|
6648
|
+
})) | ({
|
|
5844
6649
|
__TYPE__: "ExternalLink";
|
|
5845
|
-
} & {
|
|
6650
|
+
} & (({
|
|
5846
6651
|
url: string;
|
|
5847
6652
|
} & {
|
|
5848
6653
|
kind?: "web";
|
|
@@ -5851,6 +6656,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5851
6656
|
title?: string;
|
|
5852
6657
|
} | null | undefined;
|
|
5853
6658
|
text?: string;
|
|
6659
|
+
}) | {
|
|
6660
|
+
kind: "web";
|
|
6661
|
+
text: string;
|
|
6662
|
+
})) | ({
|
|
6663
|
+
__TYPE__: "AnyLink";
|
|
6664
|
+
} & {
|
|
6665
|
+
text: string;
|
|
5854
6666
|
});
|
|
5855
6667
|
} | {
|
|
5856
6668
|
__TYPE__: "StructuredTextContent";
|
|
@@ -5881,40 +6693,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5881
6693
|
} & {
|
|
5882
6694
|
linkTo?: ({
|
|
5883
6695
|
__TYPE__: "ImageLink";
|
|
5884
|
-
} & {
|
|
6696
|
+
} & ({
|
|
6697
|
+
kind: "image";
|
|
6698
|
+
} & (({
|
|
5885
6699
|
id: string;
|
|
5886
6700
|
url: string;
|
|
5887
6701
|
height: string;
|
|
5888
6702
|
width: string;
|
|
5889
6703
|
size: string;
|
|
5890
6704
|
name: string;
|
|
5891
|
-
kind: string;
|
|
5892
6705
|
} & {
|
|
5893
6706
|
date?: string | null | undefined;
|
|
5894
6707
|
text?: string;
|
|
5895
|
-
}) |
|
|
6708
|
+
}) | {
|
|
6709
|
+
text: string;
|
|
6710
|
+
}))) | ({
|
|
6711
|
+
__TYPE__: "FileLink";
|
|
6712
|
+
} & ({
|
|
6713
|
+
kind: "file";
|
|
6714
|
+
} & (({
|
|
5896
6715
|
id: string;
|
|
5897
6716
|
url: string;
|
|
5898
6717
|
name: string;
|
|
5899
|
-
kind: string;
|
|
5900
6718
|
size: string;
|
|
5901
6719
|
} & {
|
|
5902
6720
|
date?: string | null | undefined;
|
|
5903
6721
|
text?: string;
|
|
5904
|
-
}
|
|
5905
|
-
|
|
5906
|
-
}
|
|
5907
|
-
size?: string;
|
|
5908
|
-
text?: string;
|
|
5909
|
-
}) | ({
|
|
6722
|
+
}) | {
|
|
6723
|
+
text: string;
|
|
6724
|
+
}))) | ({
|
|
5910
6725
|
__TYPE__: "DocumentLink";
|
|
5911
|
-
} & {
|
|
6726
|
+
} & (({
|
|
5912
6727
|
id: string;
|
|
5913
6728
|
} & {
|
|
6729
|
+
kind?: "document";
|
|
5914
6730
|
text?: string;
|
|
5915
|
-
}) |
|
|
6731
|
+
}) | {
|
|
6732
|
+
kind: "document";
|
|
6733
|
+
text: string;
|
|
6734
|
+
})) | ({
|
|
5916
6735
|
__TYPE__: "ExternalLink";
|
|
5917
|
-
} & {
|
|
6736
|
+
} & (({
|
|
5918
6737
|
url: string;
|
|
5919
6738
|
} & {
|
|
5920
6739
|
kind?: "web";
|
|
@@ -5923,6 +6742,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5923
6742
|
title?: string;
|
|
5924
6743
|
} | null | undefined;
|
|
5925
6744
|
text?: string;
|
|
6745
|
+
}) | {
|
|
6746
|
+
kind: "web";
|
|
6747
|
+
text: string;
|
|
6748
|
+
})) | ({
|
|
6749
|
+
__TYPE__: "AnyLink";
|
|
6750
|
+
} & {
|
|
6751
|
+
text: string;
|
|
5926
6752
|
}) | null | undefined;
|
|
5927
6753
|
};
|
|
5928
6754
|
} & {
|
|
@@ -5960,40 +6786,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5960
6786
|
spans?: ({
|
|
5961
6787
|
data: ({
|
|
5962
6788
|
__TYPE__: "ImageLink";
|
|
5963
|
-
} & {
|
|
6789
|
+
} & ({
|
|
6790
|
+
kind: "image";
|
|
6791
|
+
} & (({
|
|
5964
6792
|
id: string;
|
|
5965
6793
|
url: string;
|
|
5966
6794
|
height: string;
|
|
5967
6795
|
width: string;
|
|
5968
6796
|
size: string;
|
|
5969
6797
|
name: string;
|
|
5970
|
-
kind: string;
|
|
5971
6798
|
} & {
|
|
5972
6799
|
date?: string | null | undefined;
|
|
5973
6800
|
text?: string;
|
|
5974
|
-
}) |
|
|
6801
|
+
}) | {
|
|
6802
|
+
text: string;
|
|
6803
|
+
}))) | ({
|
|
6804
|
+
__TYPE__: "FileLink";
|
|
6805
|
+
} & ({
|
|
6806
|
+
kind: "file";
|
|
6807
|
+
} & (({
|
|
5975
6808
|
id: string;
|
|
5976
6809
|
url: string;
|
|
5977
6810
|
name: string;
|
|
5978
|
-
kind: string;
|
|
5979
6811
|
size: string;
|
|
5980
6812
|
} & {
|
|
5981
6813
|
date?: string | null | undefined;
|
|
5982
6814
|
text?: string;
|
|
5983
|
-
}
|
|
5984
|
-
|
|
5985
|
-
}
|
|
5986
|
-
size?: string;
|
|
5987
|
-
text?: string;
|
|
5988
|
-
}) | ({
|
|
6815
|
+
}) | {
|
|
6816
|
+
text: string;
|
|
6817
|
+
}))) | ({
|
|
5989
6818
|
__TYPE__: "DocumentLink";
|
|
5990
|
-
} & {
|
|
6819
|
+
} & (({
|
|
5991
6820
|
id: string;
|
|
5992
6821
|
} & {
|
|
6822
|
+
kind?: "document";
|
|
5993
6823
|
text?: string;
|
|
5994
|
-
}) |
|
|
6824
|
+
}) | {
|
|
6825
|
+
kind: "document";
|
|
6826
|
+
text: string;
|
|
6827
|
+
})) | ({
|
|
5995
6828
|
__TYPE__: "ExternalLink";
|
|
5996
|
-
} & {
|
|
6829
|
+
} & (({
|
|
5997
6830
|
url: string;
|
|
5998
6831
|
} & {
|
|
5999
6832
|
kind?: "web";
|
|
@@ -6002,6 +6835,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6002
6835
|
title?: string;
|
|
6003
6836
|
} | null | undefined;
|
|
6004
6837
|
text?: string;
|
|
6838
|
+
}) | {
|
|
6839
|
+
kind: "web";
|
|
6840
|
+
text: string;
|
|
6841
|
+
})) | ({
|
|
6842
|
+
__TYPE__: "AnyLink";
|
|
6843
|
+
} & {
|
|
6844
|
+
text: string;
|
|
6005
6845
|
});
|
|
6006
6846
|
start: number;
|
|
6007
6847
|
end: number;
|
|
@@ -6145,40 +6985,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6145
6985
|
__TYPE__: "LinkContent";
|
|
6146
6986
|
value: ({
|
|
6147
6987
|
__TYPE__: "ImageLink";
|
|
6148
|
-
} & {
|
|
6988
|
+
} & ({
|
|
6989
|
+
kind: "image";
|
|
6990
|
+
} & (({
|
|
6149
6991
|
id: string;
|
|
6150
6992
|
url: string;
|
|
6151
6993
|
height: string;
|
|
6152
6994
|
width: string;
|
|
6153
6995
|
size: string;
|
|
6154
6996
|
name: string;
|
|
6155
|
-
kind: string;
|
|
6156
6997
|
} & {
|
|
6157
6998
|
date?: string | null | undefined;
|
|
6158
6999
|
text?: string;
|
|
6159
|
-
}) |
|
|
7000
|
+
}) | {
|
|
7001
|
+
text: string;
|
|
7002
|
+
}))) | ({
|
|
7003
|
+
__TYPE__: "FileLink";
|
|
7004
|
+
} & ({
|
|
7005
|
+
kind: "file";
|
|
7006
|
+
} & (({
|
|
6160
7007
|
id: string;
|
|
6161
7008
|
url: string;
|
|
6162
7009
|
name: string;
|
|
6163
|
-
kind: string;
|
|
6164
7010
|
size: string;
|
|
6165
7011
|
} & {
|
|
6166
7012
|
date?: string | null | undefined;
|
|
6167
7013
|
text?: string;
|
|
6168
|
-
}
|
|
6169
|
-
|
|
6170
|
-
}
|
|
6171
|
-
size?: string;
|
|
6172
|
-
text?: string;
|
|
6173
|
-
}) | ({
|
|
7014
|
+
}) | {
|
|
7015
|
+
text: string;
|
|
7016
|
+
}))) | ({
|
|
6174
7017
|
__TYPE__: "DocumentLink";
|
|
6175
|
-
} & {
|
|
7018
|
+
} & (({
|
|
6176
7019
|
id: string;
|
|
6177
7020
|
} & {
|
|
7021
|
+
kind?: "document";
|
|
6178
7022
|
text?: string;
|
|
6179
|
-
}) |
|
|
7023
|
+
}) | {
|
|
7024
|
+
kind: "document";
|
|
7025
|
+
text: string;
|
|
7026
|
+
})) | ({
|
|
6180
7027
|
__TYPE__: "ExternalLink";
|
|
6181
|
-
} & {
|
|
7028
|
+
} & (({
|
|
6182
7029
|
url: string;
|
|
6183
7030
|
} & {
|
|
6184
7031
|
kind?: "web";
|
|
@@ -6187,6 +7034,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6187
7034
|
title?: string;
|
|
6188
7035
|
} | null | undefined;
|
|
6189
7036
|
text?: string;
|
|
7037
|
+
}) | {
|
|
7038
|
+
kind: "web";
|
|
7039
|
+
text: string;
|
|
7040
|
+
})) | ({
|
|
7041
|
+
__TYPE__: "AnyLink";
|
|
7042
|
+
} & {
|
|
7043
|
+
text: string;
|
|
6190
7044
|
});
|
|
6191
7045
|
} | {
|
|
6192
7046
|
__TYPE__: "StructuredTextContent";
|
|
@@ -6217,40 +7071,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6217
7071
|
} & {
|
|
6218
7072
|
linkTo?: ({
|
|
6219
7073
|
__TYPE__: "ImageLink";
|
|
6220
|
-
} & {
|
|
7074
|
+
} & ({
|
|
7075
|
+
kind: "image";
|
|
7076
|
+
} & (({
|
|
6221
7077
|
id: string;
|
|
6222
7078
|
url: string;
|
|
6223
7079
|
height: string;
|
|
6224
7080
|
width: string;
|
|
6225
7081
|
size: string;
|
|
6226
7082
|
name: string;
|
|
6227
|
-
kind: string;
|
|
6228
7083
|
} & {
|
|
6229
7084
|
date?: string | null | undefined;
|
|
6230
7085
|
text?: string;
|
|
6231
|
-
}) |
|
|
7086
|
+
}) | {
|
|
7087
|
+
text: string;
|
|
7088
|
+
}))) | ({
|
|
7089
|
+
__TYPE__: "FileLink";
|
|
7090
|
+
} & ({
|
|
7091
|
+
kind: "file";
|
|
7092
|
+
} & (({
|
|
6232
7093
|
id: string;
|
|
6233
7094
|
url: string;
|
|
6234
7095
|
name: string;
|
|
6235
|
-
kind: string;
|
|
6236
7096
|
size: string;
|
|
6237
7097
|
} & {
|
|
6238
7098
|
date?: string | null | undefined;
|
|
6239
7099
|
text?: string;
|
|
6240
|
-
}
|
|
6241
|
-
|
|
6242
|
-
}
|
|
6243
|
-
size?: string;
|
|
6244
|
-
text?: string;
|
|
6245
|
-
}) | ({
|
|
7100
|
+
}) | {
|
|
7101
|
+
text: string;
|
|
7102
|
+
}))) | ({
|
|
6246
7103
|
__TYPE__: "DocumentLink";
|
|
6247
|
-
} & {
|
|
7104
|
+
} & (({
|
|
6248
7105
|
id: string;
|
|
6249
7106
|
} & {
|
|
7107
|
+
kind?: "document";
|
|
6250
7108
|
text?: string;
|
|
6251
|
-
}) |
|
|
7109
|
+
}) | {
|
|
7110
|
+
kind: "document";
|
|
7111
|
+
text: string;
|
|
7112
|
+
})) | ({
|
|
6252
7113
|
__TYPE__: "ExternalLink";
|
|
6253
|
-
} & {
|
|
7114
|
+
} & (({
|
|
6254
7115
|
url: string;
|
|
6255
7116
|
} & {
|
|
6256
7117
|
kind?: "web";
|
|
@@ -6259,6 +7120,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6259
7120
|
title?: string;
|
|
6260
7121
|
} | null | undefined;
|
|
6261
7122
|
text?: string;
|
|
7123
|
+
}) | {
|
|
7124
|
+
kind: "web";
|
|
7125
|
+
text: string;
|
|
7126
|
+
})) | ({
|
|
7127
|
+
__TYPE__: "AnyLink";
|
|
7128
|
+
} & {
|
|
7129
|
+
text: string;
|
|
6262
7130
|
}) | null | undefined;
|
|
6263
7131
|
};
|
|
6264
7132
|
} & {
|
|
@@ -6296,40 +7164,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6296
7164
|
spans?: ({
|
|
6297
7165
|
data: ({
|
|
6298
7166
|
__TYPE__: "ImageLink";
|
|
6299
|
-
} & {
|
|
7167
|
+
} & ({
|
|
7168
|
+
kind: "image";
|
|
7169
|
+
} & (({
|
|
6300
7170
|
id: string;
|
|
6301
7171
|
url: string;
|
|
6302
7172
|
height: string;
|
|
6303
7173
|
width: string;
|
|
6304
7174
|
size: string;
|
|
6305
7175
|
name: string;
|
|
6306
|
-
kind: string;
|
|
6307
7176
|
} & {
|
|
6308
7177
|
date?: string | null | undefined;
|
|
6309
7178
|
text?: string;
|
|
6310
|
-
}) |
|
|
7179
|
+
}) | {
|
|
7180
|
+
text: string;
|
|
7181
|
+
}))) | ({
|
|
7182
|
+
__TYPE__: "FileLink";
|
|
7183
|
+
} & ({
|
|
7184
|
+
kind: "file";
|
|
7185
|
+
} & (({
|
|
6311
7186
|
id: string;
|
|
6312
7187
|
url: string;
|
|
6313
7188
|
name: string;
|
|
6314
|
-
kind: string;
|
|
6315
7189
|
size: string;
|
|
6316
7190
|
} & {
|
|
6317
7191
|
date?: string | null | undefined;
|
|
6318
7192
|
text?: string;
|
|
6319
|
-
}
|
|
6320
|
-
|
|
6321
|
-
}
|
|
6322
|
-
size?: string;
|
|
6323
|
-
text?: string;
|
|
6324
|
-
}) | ({
|
|
7193
|
+
}) | {
|
|
7194
|
+
text: string;
|
|
7195
|
+
}))) | ({
|
|
6325
7196
|
__TYPE__: "DocumentLink";
|
|
6326
|
-
} & {
|
|
7197
|
+
} & (({
|
|
6327
7198
|
id: string;
|
|
6328
7199
|
} & {
|
|
7200
|
+
kind?: "document";
|
|
6329
7201
|
text?: string;
|
|
6330
|
-
}) |
|
|
7202
|
+
}) | {
|
|
7203
|
+
kind: "document";
|
|
7204
|
+
text: string;
|
|
7205
|
+
})) | ({
|
|
6331
7206
|
__TYPE__: "ExternalLink";
|
|
6332
|
-
} & {
|
|
7207
|
+
} & (({
|
|
6333
7208
|
url: string;
|
|
6334
7209
|
} & {
|
|
6335
7210
|
kind?: "web";
|
|
@@ -6338,6 +7213,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6338
7213
|
title?: string;
|
|
6339
7214
|
} | null | undefined;
|
|
6340
7215
|
text?: string;
|
|
7216
|
+
}) | {
|
|
7217
|
+
kind: "web";
|
|
7218
|
+
text: string;
|
|
7219
|
+
})) | ({
|
|
7220
|
+
__TYPE__: "AnyLink";
|
|
7221
|
+
} & {
|
|
7222
|
+
text: string;
|
|
6341
7223
|
});
|
|
6342
7224
|
start: number;
|
|
6343
7225
|
end: number;
|
|
@@ -6479,40 +7361,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6479
7361
|
__TYPE__: "LinkContent";
|
|
6480
7362
|
value: ({
|
|
6481
7363
|
__TYPE__: "ImageLink";
|
|
6482
|
-
} & {
|
|
7364
|
+
} & ({
|
|
7365
|
+
kind: "image";
|
|
7366
|
+
} & (({
|
|
6483
7367
|
id: string;
|
|
6484
7368
|
url: string;
|
|
6485
7369
|
height: string;
|
|
6486
7370
|
width: string;
|
|
6487
7371
|
size: string;
|
|
6488
7372
|
name: string;
|
|
6489
|
-
kind: string;
|
|
6490
7373
|
} & {
|
|
6491
7374
|
date?: string | null | undefined;
|
|
6492
7375
|
text?: string;
|
|
6493
|
-
}) |
|
|
7376
|
+
}) | {
|
|
7377
|
+
text: string;
|
|
7378
|
+
}))) | ({
|
|
7379
|
+
__TYPE__: "FileLink";
|
|
7380
|
+
} & ({
|
|
7381
|
+
kind: "file";
|
|
7382
|
+
} & (({
|
|
6494
7383
|
id: string;
|
|
6495
7384
|
url: string;
|
|
6496
7385
|
name: string;
|
|
6497
|
-
kind: string;
|
|
6498
7386
|
size: string;
|
|
6499
7387
|
} & {
|
|
6500
7388
|
date?: string | null | undefined;
|
|
6501
7389
|
text?: string;
|
|
6502
|
-
}
|
|
6503
|
-
|
|
6504
|
-
}
|
|
6505
|
-
size?: string;
|
|
6506
|
-
text?: string;
|
|
6507
|
-
}) | ({
|
|
7390
|
+
}) | {
|
|
7391
|
+
text: string;
|
|
7392
|
+
}))) | ({
|
|
6508
7393
|
__TYPE__: "DocumentLink";
|
|
6509
|
-
} & {
|
|
7394
|
+
} & (({
|
|
6510
7395
|
id: string;
|
|
6511
7396
|
} & {
|
|
7397
|
+
kind?: "document";
|
|
6512
7398
|
text?: string;
|
|
6513
|
-
}) |
|
|
7399
|
+
}) | {
|
|
7400
|
+
kind: "document";
|
|
7401
|
+
text: string;
|
|
7402
|
+
})) | ({
|
|
6514
7403
|
__TYPE__: "ExternalLink";
|
|
6515
|
-
} & {
|
|
7404
|
+
} & (({
|
|
6516
7405
|
url: string;
|
|
6517
7406
|
} & {
|
|
6518
7407
|
kind?: "web";
|
|
@@ -6521,6 +7410,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6521
7410
|
title?: string;
|
|
6522
7411
|
} | null | undefined;
|
|
6523
7412
|
text?: string;
|
|
7413
|
+
}) | {
|
|
7414
|
+
kind: "web";
|
|
7415
|
+
text: string;
|
|
7416
|
+
})) | ({
|
|
7417
|
+
__TYPE__: "AnyLink";
|
|
7418
|
+
} & {
|
|
7419
|
+
text: string;
|
|
6524
7420
|
});
|
|
6525
7421
|
} | {
|
|
6526
7422
|
__TYPE__: "StructuredTextContent";
|
|
@@ -6551,40 +7447,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6551
7447
|
} & {
|
|
6552
7448
|
linkTo?: ({
|
|
6553
7449
|
__TYPE__: "ImageLink";
|
|
6554
|
-
} & {
|
|
7450
|
+
} & ({
|
|
7451
|
+
kind: "image";
|
|
7452
|
+
} & (({
|
|
6555
7453
|
id: string;
|
|
6556
7454
|
url: string;
|
|
6557
7455
|
height: string;
|
|
6558
7456
|
width: string;
|
|
6559
7457
|
size: string;
|
|
6560
7458
|
name: string;
|
|
6561
|
-
kind: string;
|
|
6562
7459
|
} & {
|
|
6563
7460
|
date?: string | null | undefined;
|
|
6564
7461
|
text?: string;
|
|
6565
|
-
}) |
|
|
7462
|
+
}) | {
|
|
7463
|
+
text: string;
|
|
7464
|
+
}))) | ({
|
|
7465
|
+
__TYPE__: "FileLink";
|
|
7466
|
+
} & ({
|
|
7467
|
+
kind: "file";
|
|
7468
|
+
} & (({
|
|
6566
7469
|
id: string;
|
|
6567
7470
|
url: string;
|
|
6568
7471
|
name: string;
|
|
6569
|
-
kind: string;
|
|
6570
7472
|
size: string;
|
|
6571
7473
|
} & {
|
|
6572
7474
|
date?: string | null | undefined;
|
|
6573
7475
|
text?: string;
|
|
6574
|
-
}
|
|
6575
|
-
|
|
6576
|
-
}
|
|
6577
|
-
size?: string;
|
|
6578
|
-
text?: string;
|
|
6579
|
-
}) | ({
|
|
7476
|
+
}) | {
|
|
7477
|
+
text: string;
|
|
7478
|
+
}))) | ({
|
|
6580
7479
|
__TYPE__: "DocumentLink";
|
|
6581
|
-
} & {
|
|
7480
|
+
} & (({
|
|
6582
7481
|
id: string;
|
|
6583
7482
|
} & {
|
|
7483
|
+
kind?: "document";
|
|
6584
7484
|
text?: string;
|
|
6585
|
-
}) |
|
|
7485
|
+
}) | {
|
|
7486
|
+
kind: "document";
|
|
7487
|
+
text: string;
|
|
7488
|
+
})) | ({
|
|
6586
7489
|
__TYPE__: "ExternalLink";
|
|
6587
|
-
} & {
|
|
7490
|
+
} & (({
|
|
6588
7491
|
url: string;
|
|
6589
7492
|
} & {
|
|
6590
7493
|
kind?: "web";
|
|
@@ -6593,6 +7496,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6593
7496
|
title?: string;
|
|
6594
7497
|
} | null | undefined;
|
|
6595
7498
|
text?: string;
|
|
7499
|
+
}) | {
|
|
7500
|
+
kind: "web";
|
|
7501
|
+
text: string;
|
|
7502
|
+
})) | ({
|
|
7503
|
+
__TYPE__: "AnyLink";
|
|
7504
|
+
} & {
|
|
7505
|
+
text: string;
|
|
6596
7506
|
}) | null | undefined;
|
|
6597
7507
|
};
|
|
6598
7508
|
} & {
|
|
@@ -6630,40 +7540,47 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6630
7540
|
spans?: ({
|
|
6631
7541
|
data: ({
|
|
6632
7542
|
__TYPE__: "ImageLink";
|
|
6633
|
-
} & {
|
|
7543
|
+
} & ({
|
|
7544
|
+
kind: "image";
|
|
7545
|
+
} & (({
|
|
6634
7546
|
id: string;
|
|
6635
7547
|
url: string;
|
|
6636
7548
|
height: string;
|
|
6637
7549
|
width: string;
|
|
6638
7550
|
size: string;
|
|
6639
7551
|
name: string;
|
|
6640
|
-
kind: string;
|
|
6641
7552
|
} & {
|
|
6642
7553
|
date?: string | null | undefined;
|
|
6643
7554
|
text?: string;
|
|
6644
|
-
}) |
|
|
7555
|
+
}) | {
|
|
7556
|
+
text: string;
|
|
7557
|
+
}))) | ({
|
|
7558
|
+
__TYPE__: "FileLink";
|
|
7559
|
+
} & ({
|
|
7560
|
+
kind: "file";
|
|
7561
|
+
} & (({
|
|
6645
7562
|
id: string;
|
|
6646
7563
|
url: string;
|
|
6647
7564
|
name: string;
|
|
6648
|
-
kind: string;
|
|
6649
7565
|
size: string;
|
|
6650
7566
|
} & {
|
|
6651
7567
|
date?: string | null | undefined;
|
|
6652
7568
|
text?: string;
|
|
6653
|
-
}
|
|
6654
|
-
|
|
6655
|
-
}
|
|
6656
|
-
size?: string;
|
|
6657
|
-
text?: string;
|
|
6658
|
-
}) | ({
|
|
7569
|
+
}) | {
|
|
7570
|
+
text: string;
|
|
7571
|
+
}))) | ({
|
|
6659
7572
|
__TYPE__: "DocumentLink";
|
|
6660
|
-
} & {
|
|
7573
|
+
} & (({
|
|
6661
7574
|
id: string;
|
|
6662
7575
|
} & {
|
|
7576
|
+
kind?: "document";
|
|
6663
7577
|
text?: string;
|
|
6664
|
-
}) |
|
|
7578
|
+
}) | {
|
|
7579
|
+
kind: "document";
|
|
7580
|
+
text: string;
|
|
7581
|
+
})) | ({
|
|
6665
7582
|
__TYPE__: "ExternalLink";
|
|
6666
|
-
} & {
|
|
7583
|
+
} & (({
|
|
6667
7584
|
url: string;
|
|
6668
7585
|
} & {
|
|
6669
7586
|
kind?: "web";
|
|
@@ -6672,6 +7589,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6672
7589
|
title?: string;
|
|
6673
7590
|
} | null | undefined;
|
|
6674
7591
|
text?: string;
|
|
7592
|
+
}) | {
|
|
7593
|
+
kind: "web";
|
|
7594
|
+
text: string;
|
|
7595
|
+
})) | ({
|
|
7596
|
+
__TYPE__: "AnyLink";
|
|
7597
|
+
} & {
|
|
7598
|
+
text: string;
|
|
6675
7599
|
});
|
|
6676
7600
|
start: number;
|
|
6677
7601
|
end: number;
|