@prismicio/types-internal 3.5.0 → 3.6.0
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 +1927 -1579
- package/lib/content/fields/GroupContent.js +6 -9
- package/lib/content/fields/RepeatableContent.d.ts +51 -123
- package/lib/content/fields/RepeatableContent.js +10 -14
- package/lib/content/fields/WidgetContent.d.ts +2015 -1667
- package/lib/content/fields/nestable/NestableContent.d.ts +312 -254
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +301 -0
- package/lib/content/fields/nestable/RichTextContent/index.js +4 -4
- package/lib/content/fields/nestable/TableContent.d.ts +410 -913
- package/lib/content/fields/nestable/TableContent.js +38 -57
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +624 -508
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +128 -118
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +624 -508
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +312 -254
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +312 -254
- package/lib/content/fields/slices/Slice/index.d.ts +1103 -933
- package/lib/content/fields/slices/SliceItem.d.ts +1100 -930
- package/lib/content/fields/slices/SlicesContent.d.ts +1563 -1273
- package/package.json +1 -1
- package/src/content/fields/GroupContent.ts +8 -16
- package/src/content/fields/nestable/RichTextContent/index.ts +6 -6
- package/src/content/fields/nestable/TableContent.ts +48 -81
|
@@ -436,127 +436,137 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
436
436
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
437
437
|
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
438
438
|
type: t.LiteralC<"tableRow">;
|
|
439
|
-
content: t.ArrayC<t.
|
|
440
|
-
type: t.LiteralC<"tableHeader">;
|
|
439
|
+
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
440
|
+
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
441
441
|
content: t.ExactC<t.TypeC<{
|
|
442
442
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
443
|
-
value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
444
|
-
type: t.
|
|
445
|
-
|
|
446
|
-
|
|
443
|
+
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
444
|
+
type: t.LiteralC<"image">;
|
|
445
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
446
|
+
origin: t.ExactC<t.TypeC<{
|
|
447
|
+
id: t.StringC;
|
|
448
|
+
url: t.StringC;
|
|
449
|
+
width: t.NumberC;
|
|
450
|
+
height: t.NumberC;
|
|
451
|
+
}>>;
|
|
452
|
+
width: t.NumberC;
|
|
453
|
+
height: t.NumberC;
|
|
454
|
+
edit: t.TypeC<{
|
|
455
|
+
zoom: t.NumberC;
|
|
456
|
+
crop: t.TypeC<{
|
|
457
|
+
x: t.NumberC;
|
|
458
|
+
y: t.NumberC;
|
|
459
|
+
}>;
|
|
460
|
+
background: t.StringC;
|
|
461
|
+
}>;
|
|
447
462
|
}>, t.PartialC<{
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
__TYPE__: "ExternalLink";
|
|
527
|
-
} & {
|
|
528
|
-
url: string;
|
|
529
|
-
} & {
|
|
530
|
-
kind?: "web";
|
|
531
|
-
target?: string | null | undefined;
|
|
532
|
-
preview?: {
|
|
533
|
-
title?: string;
|
|
534
|
-
} | null | undefined;
|
|
535
|
-
});
|
|
536
|
-
start: number;
|
|
537
|
-
end: number;
|
|
538
|
-
type: "hyperlink";
|
|
539
|
-
} | {
|
|
540
|
-
data: string;
|
|
541
|
-
start: number;
|
|
542
|
-
end: number;
|
|
543
|
-
type: "label";
|
|
544
|
-
} | {
|
|
545
|
-
start: number;
|
|
546
|
-
end: number;
|
|
547
|
-
type: "strong" | "em" | "list-item";
|
|
548
|
-
})[], unknown>;
|
|
463
|
+
url: t.StringC;
|
|
464
|
+
credits: t.Type<string | null, string | null, unknown>;
|
|
465
|
+
alt: t.Type<string | null, string | null, unknown>;
|
|
466
|
+
provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
467
|
+
}>]>>, t.PartialC<{
|
|
468
|
+
linkTo: t.UnionC<[t.Type<({
|
|
469
|
+
__TYPE__: "ImageLink";
|
|
470
|
+
} & {
|
|
471
|
+
kind: "image";
|
|
472
|
+
id: string;
|
|
473
|
+
url: string;
|
|
474
|
+
height: string;
|
|
475
|
+
width: string;
|
|
476
|
+
size: string;
|
|
477
|
+
name: string;
|
|
478
|
+
} & {
|
|
479
|
+
date?: string | null | undefined;
|
|
480
|
+
}) | ({
|
|
481
|
+
__TYPE__: "FileLink";
|
|
482
|
+
} & {
|
|
483
|
+
kind: "file";
|
|
484
|
+
id: string;
|
|
485
|
+
url: string;
|
|
486
|
+
name: string;
|
|
487
|
+
size: string;
|
|
488
|
+
} & {
|
|
489
|
+
date?: string | null | undefined;
|
|
490
|
+
}) | ({
|
|
491
|
+
__TYPE__: "DocumentLink";
|
|
492
|
+
} & {
|
|
493
|
+
id: string;
|
|
494
|
+
}) | ({
|
|
495
|
+
__TYPE__: "ExternalLink";
|
|
496
|
+
} & {
|
|
497
|
+
url: string;
|
|
498
|
+
} & {
|
|
499
|
+
kind?: "web";
|
|
500
|
+
target?: string | null | undefined;
|
|
501
|
+
preview?: {
|
|
502
|
+
title?: string;
|
|
503
|
+
} | null | undefined;
|
|
504
|
+
}), ({
|
|
505
|
+
__TYPE__: "ImageLink";
|
|
506
|
+
} & {
|
|
507
|
+
kind: "image";
|
|
508
|
+
id: string;
|
|
509
|
+
url: string;
|
|
510
|
+
height: string;
|
|
511
|
+
width: string;
|
|
512
|
+
size: string;
|
|
513
|
+
name: string;
|
|
514
|
+
} & {
|
|
515
|
+
date?: string | null | undefined;
|
|
516
|
+
}) | ({
|
|
517
|
+
__TYPE__: "FileLink";
|
|
518
|
+
} & {
|
|
519
|
+
kind: "file";
|
|
520
|
+
id: string;
|
|
521
|
+
url: string;
|
|
522
|
+
name: string;
|
|
523
|
+
size: string;
|
|
524
|
+
} & {
|
|
525
|
+
date?: string | null | undefined;
|
|
526
|
+
}) | ({
|
|
527
|
+
__TYPE__: "DocumentLink";
|
|
528
|
+
} & {
|
|
529
|
+
id: string;
|
|
530
|
+
}) | ({
|
|
531
|
+
__TYPE__: "ExternalLink";
|
|
532
|
+
} & {
|
|
533
|
+
url: string;
|
|
534
|
+
} & {
|
|
535
|
+
kind?: "web";
|
|
536
|
+
target?: string | null | undefined;
|
|
537
|
+
preview?: {
|
|
538
|
+
title?: string;
|
|
539
|
+
} | null | undefined;
|
|
540
|
+
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
549
541
|
}>]>;
|
|
550
542
|
}>, t.PartialC<{
|
|
551
|
-
label: t.
|
|
552
|
-
direction: t.
|
|
553
|
-
}>]
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
543
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
544
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
545
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
546
|
+
type: t.LiteralC<"embed">;
|
|
547
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
548
|
+
embed_url: t.StringC;
|
|
549
|
+
type: t.StringC;
|
|
550
|
+
}>, t.PartialC<{
|
|
551
|
+
version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
552
|
+
title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
553
|
+
author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
554
|
+
author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
555
|
+
provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
556
|
+
provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
557
|
+
cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
558
|
+
thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
559
|
+
thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
560
|
+
thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
561
|
+
html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
562
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
563
|
+
__TYPE__: t.LiteralC<"EmbedContent">;
|
|
564
|
+
all: t.UnknownC;
|
|
565
|
+
}>>]>;
|
|
566
|
+
}>, t.PartialC<{
|
|
567
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
568
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
569
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
560
570
|
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
561
571
|
content: t.IntersectionC<[t.TypeC<{
|
|
562
572
|
text: t.StringC;
|
|
@@ -666,9 +676,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
666
676
|
}>, t.PartialC<{
|
|
667
677
|
label: t.StringC;
|
|
668
678
|
direction: t.StringC;
|
|
669
|
-
}>]
|
|
679
|
+
}>]>>]>>;
|
|
670
680
|
}>>;
|
|
671
|
-
}
|
|
681
|
+
}>>>;
|
|
672
682
|
}>>>;
|
|
673
683
|
}>>, t.ExactC<t.TypeC<{
|
|
674
684
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
@@ -1194,127 +1204,137 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1194
1204
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
1195
1205
|
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
1196
1206
|
type: t.LiteralC<"tableRow">;
|
|
1197
|
-
content: t.ArrayC<t.
|
|
1198
|
-
type: t.LiteralC<"tableHeader">;
|
|
1207
|
+
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
1208
|
+
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
1199
1209
|
content: t.ExactC<t.TypeC<{
|
|
1200
1210
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
1201
|
-
value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1202
|
-
type: t.
|
|
1203
|
-
|
|
1204
|
-
|
|
1211
|
+
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1212
|
+
type: t.LiteralC<"image">;
|
|
1213
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1214
|
+
origin: t.ExactC<t.TypeC<{
|
|
1215
|
+
id: t.StringC;
|
|
1216
|
+
url: t.StringC;
|
|
1217
|
+
width: t.NumberC;
|
|
1218
|
+
height: t.NumberC;
|
|
1219
|
+
}>>;
|
|
1220
|
+
width: t.NumberC;
|
|
1221
|
+
height: t.NumberC;
|
|
1222
|
+
edit: t.TypeC<{
|
|
1223
|
+
zoom: t.NumberC;
|
|
1224
|
+
crop: t.TypeC<{
|
|
1225
|
+
x: t.NumberC;
|
|
1226
|
+
y: t.NumberC;
|
|
1227
|
+
}>;
|
|
1228
|
+
background: t.StringC;
|
|
1229
|
+
}>;
|
|
1205
1230
|
}>, t.PartialC<{
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
}
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
__TYPE__: "ExternalLink";
|
|
1285
|
-
} & {
|
|
1286
|
-
url: string;
|
|
1287
|
-
} & {
|
|
1288
|
-
kind?: "web";
|
|
1289
|
-
target?: string | null | undefined;
|
|
1290
|
-
preview?: {
|
|
1291
|
-
title?: string;
|
|
1292
|
-
} | null | undefined;
|
|
1293
|
-
});
|
|
1294
|
-
start: number;
|
|
1295
|
-
end: number;
|
|
1296
|
-
type: "hyperlink";
|
|
1297
|
-
} | {
|
|
1298
|
-
data: string;
|
|
1299
|
-
start: number;
|
|
1300
|
-
end: number;
|
|
1301
|
-
type: "label";
|
|
1302
|
-
} | {
|
|
1303
|
-
start: number;
|
|
1304
|
-
end: number;
|
|
1305
|
-
type: "strong" | "em" | "list-item";
|
|
1306
|
-
})[], unknown>;
|
|
1231
|
+
url: t.StringC;
|
|
1232
|
+
credits: t.Type<string | null, string | null, unknown>;
|
|
1233
|
+
alt: t.Type<string | null, string | null, unknown>;
|
|
1234
|
+
provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1235
|
+
}>]>>, t.PartialC<{
|
|
1236
|
+
linkTo: t.UnionC<[t.Type<({
|
|
1237
|
+
__TYPE__: "ImageLink";
|
|
1238
|
+
} & {
|
|
1239
|
+
kind: "image";
|
|
1240
|
+
id: string;
|
|
1241
|
+
url: string;
|
|
1242
|
+
height: string;
|
|
1243
|
+
width: string;
|
|
1244
|
+
size: string;
|
|
1245
|
+
name: string;
|
|
1246
|
+
} & {
|
|
1247
|
+
date?: string | null | undefined;
|
|
1248
|
+
}) | ({
|
|
1249
|
+
__TYPE__: "FileLink";
|
|
1250
|
+
} & {
|
|
1251
|
+
kind: "file";
|
|
1252
|
+
id: string;
|
|
1253
|
+
url: string;
|
|
1254
|
+
name: string;
|
|
1255
|
+
size: string;
|
|
1256
|
+
} & {
|
|
1257
|
+
date?: string | null | undefined;
|
|
1258
|
+
}) | ({
|
|
1259
|
+
__TYPE__: "DocumentLink";
|
|
1260
|
+
} & {
|
|
1261
|
+
id: string;
|
|
1262
|
+
}) | ({
|
|
1263
|
+
__TYPE__: "ExternalLink";
|
|
1264
|
+
} & {
|
|
1265
|
+
url: string;
|
|
1266
|
+
} & {
|
|
1267
|
+
kind?: "web";
|
|
1268
|
+
target?: string | null | undefined;
|
|
1269
|
+
preview?: {
|
|
1270
|
+
title?: string;
|
|
1271
|
+
} | null | undefined;
|
|
1272
|
+
}), ({
|
|
1273
|
+
__TYPE__: "ImageLink";
|
|
1274
|
+
} & {
|
|
1275
|
+
kind: "image";
|
|
1276
|
+
id: string;
|
|
1277
|
+
url: string;
|
|
1278
|
+
height: string;
|
|
1279
|
+
width: string;
|
|
1280
|
+
size: string;
|
|
1281
|
+
name: string;
|
|
1282
|
+
} & {
|
|
1283
|
+
date?: string | null | undefined;
|
|
1284
|
+
}) | ({
|
|
1285
|
+
__TYPE__: "FileLink";
|
|
1286
|
+
} & {
|
|
1287
|
+
kind: "file";
|
|
1288
|
+
id: string;
|
|
1289
|
+
url: string;
|
|
1290
|
+
name: string;
|
|
1291
|
+
size: string;
|
|
1292
|
+
} & {
|
|
1293
|
+
date?: string | null | undefined;
|
|
1294
|
+
}) | ({
|
|
1295
|
+
__TYPE__: "DocumentLink";
|
|
1296
|
+
} & {
|
|
1297
|
+
id: string;
|
|
1298
|
+
}) | ({
|
|
1299
|
+
__TYPE__: "ExternalLink";
|
|
1300
|
+
} & {
|
|
1301
|
+
url: string;
|
|
1302
|
+
} & {
|
|
1303
|
+
kind?: "web";
|
|
1304
|
+
target?: string | null | undefined;
|
|
1305
|
+
preview?: {
|
|
1306
|
+
title?: string;
|
|
1307
|
+
} | null | undefined;
|
|
1308
|
+
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
1307
1309
|
}>]>;
|
|
1308
1310
|
}>, t.PartialC<{
|
|
1309
|
-
label: t.
|
|
1310
|
-
direction: t.
|
|
1311
|
-
}>]
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1311
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1312
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1313
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1314
|
+
type: t.LiteralC<"embed">;
|
|
1315
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1316
|
+
embed_url: t.StringC;
|
|
1317
|
+
type: t.StringC;
|
|
1318
|
+
}>, t.PartialC<{
|
|
1319
|
+
version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
1320
|
+
title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1321
|
+
author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1322
|
+
author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1323
|
+
provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1324
|
+
provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1325
|
+
cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
1326
|
+
thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1327
|
+
thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
1328
|
+
thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
1329
|
+
html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1330
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1331
|
+
__TYPE__: t.LiteralC<"EmbedContent">;
|
|
1332
|
+
all: t.UnknownC;
|
|
1333
|
+
}>>]>;
|
|
1334
|
+
}>, t.PartialC<{
|
|
1335
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1336
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1337
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1318
1338
|
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
1319
1339
|
content: t.IntersectionC<[t.TypeC<{
|
|
1320
1340
|
text: t.StringC;
|
|
@@ -1424,9 +1444,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1424
1444
|
}>, t.PartialC<{
|
|
1425
1445
|
label: t.StringC;
|
|
1426
1446
|
direction: t.StringC;
|
|
1427
|
-
}>]
|
|
1447
|
+
}>]>>]>>;
|
|
1428
1448
|
}>>;
|
|
1429
|
-
}
|
|
1449
|
+
}>>>;
|
|
1430
1450
|
}>>>;
|
|
1431
1451
|
}>>, t.ExactC<t.TypeC<{
|
|
1432
1452
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
@@ -1944,11 +1964,137 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1944
1964
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
1945
1965
|
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
1946
1966
|
type: t.LiteralC<"tableRow">;
|
|
1947
|
-
content: t.ArrayC<t.
|
|
1948
|
-
type: t.LiteralC<"tableHeader">;
|
|
1967
|
+
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
1968
|
+
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
1949
1969
|
content: t.ExactC<t.TypeC<{
|
|
1950
1970
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
1951
|
-
value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1971
|
+
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1972
|
+
type: t.LiteralC<"image">;
|
|
1973
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1974
|
+
origin: t.ExactC<t.TypeC<{
|
|
1975
|
+
id: t.StringC;
|
|
1976
|
+
url: t.StringC;
|
|
1977
|
+
width: t.NumberC;
|
|
1978
|
+
height: t.NumberC;
|
|
1979
|
+
}>>;
|
|
1980
|
+
width: t.NumberC;
|
|
1981
|
+
height: t.NumberC;
|
|
1982
|
+
edit: t.TypeC<{
|
|
1983
|
+
zoom: t.NumberC;
|
|
1984
|
+
crop: t.TypeC<{
|
|
1985
|
+
x: t.NumberC;
|
|
1986
|
+
y: t.NumberC;
|
|
1987
|
+
}>;
|
|
1988
|
+
background: t.StringC;
|
|
1989
|
+
}>;
|
|
1990
|
+
}>, t.PartialC<{
|
|
1991
|
+
url: t.StringC;
|
|
1992
|
+
credits: t.Type<string | null, string | null, unknown>;
|
|
1993
|
+
alt: t.Type<string | null, string | null, unknown>;
|
|
1994
|
+
provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1995
|
+
}>]>>, t.PartialC<{
|
|
1996
|
+
linkTo: t.UnionC<[t.Type<({
|
|
1997
|
+
__TYPE__: "ImageLink";
|
|
1998
|
+
} & {
|
|
1999
|
+
kind: "image";
|
|
2000
|
+
id: string;
|
|
2001
|
+
url: string;
|
|
2002
|
+
height: string;
|
|
2003
|
+
width: string;
|
|
2004
|
+
size: string;
|
|
2005
|
+
name: string;
|
|
2006
|
+
} & {
|
|
2007
|
+
date?: string | null | undefined;
|
|
2008
|
+
}) | ({
|
|
2009
|
+
__TYPE__: "FileLink";
|
|
2010
|
+
} & {
|
|
2011
|
+
kind: "file";
|
|
2012
|
+
id: string;
|
|
2013
|
+
url: string;
|
|
2014
|
+
name: string;
|
|
2015
|
+
size: string;
|
|
2016
|
+
} & {
|
|
2017
|
+
date?: string | null | undefined;
|
|
2018
|
+
}) | ({
|
|
2019
|
+
__TYPE__: "DocumentLink";
|
|
2020
|
+
} & {
|
|
2021
|
+
id: string;
|
|
2022
|
+
}) | ({
|
|
2023
|
+
__TYPE__: "ExternalLink";
|
|
2024
|
+
} & {
|
|
2025
|
+
url: string;
|
|
2026
|
+
} & {
|
|
2027
|
+
kind?: "web";
|
|
2028
|
+
target?: string | null | undefined;
|
|
2029
|
+
preview?: {
|
|
2030
|
+
title?: string;
|
|
2031
|
+
} | null | undefined;
|
|
2032
|
+
}), ({
|
|
2033
|
+
__TYPE__: "ImageLink";
|
|
2034
|
+
} & {
|
|
2035
|
+
kind: "image";
|
|
2036
|
+
id: string;
|
|
2037
|
+
url: string;
|
|
2038
|
+
height: string;
|
|
2039
|
+
width: string;
|
|
2040
|
+
size: string;
|
|
2041
|
+
name: string;
|
|
2042
|
+
} & {
|
|
2043
|
+
date?: string | null | undefined;
|
|
2044
|
+
}) | ({
|
|
2045
|
+
__TYPE__: "FileLink";
|
|
2046
|
+
} & {
|
|
2047
|
+
kind: "file";
|
|
2048
|
+
id: string;
|
|
2049
|
+
url: string;
|
|
2050
|
+
name: string;
|
|
2051
|
+
size: string;
|
|
2052
|
+
} & {
|
|
2053
|
+
date?: string | null | undefined;
|
|
2054
|
+
}) | ({
|
|
2055
|
+
__TYPE__: "DocumentLink";
|
|
2056
|
+
} & {
|
|
2057
|
+
id: string;
|
|
2058
|
+
}) | ({
|
|
2059
|
+
__TYPE__: "ExternalLink";
|
|
2060
|
+
} & {
|
|
2061
|
+
url: string;
|
|
2062
|
+
} & {
|
|
2063
|
+
kind?: "web";
|
|
2064
|
+
target?: string | null | undefined;
|
|
2065
|
+
preview?: {
|
|
2066
|
+
title?: string;
|
|
2067
|
+
} | null | undefined;
|
|
2068
|
+
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
2069
|
+
}>]>;
|
|
2070
|
+
}>, t.PartialC<{
|
|
2071
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2072
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2073
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2074
|
+
type: t.LiteralC<"embed">;
|
|
2075
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2076
|
+
embed_url: t.StringC;
|
|
2077
|
+
type: t.StringC;
|
|
2078
|
+
}>, t.PartialC<{
|
|
2079
|
+
version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
2080
|
+
title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2081
|
+
author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2082
|
+
author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2083
|
+
provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2084
|
+
provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2085
|
+
cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
2086
|
+
thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2087
|
+
thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
2088
|
+
thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
2089
|
+
html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2090
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2091
|
+
__TYPE__: t.LiteralC<"EmbedContent">;
|
|
2092
|
+
all: t.UnknownC;
|
|
2093
|
+
}>>]>;
|
|
2094
|
+
}>, t.PartialC<{
|
|
2095
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2096
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2097
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1952
2098
|
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
1953
2099
|
content: t.IntersectionC<[t.TypeC<{
|
|
1954
2100
|
text: t.StringC;
|
|
@@ -2058,125 +2204,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2058
2204
|
}>, t.PartialC<{
|
|
2059
2205
|
label: t.StringC;
|
|
2060
2206
|
direction: t.StringC;
|
|
2061
|
-
}>]
|
|
2207
|
+
}>]>>]>>;
|
|
2062
2208
|
}>>;
|
|
2063
|
-
}
|
|
2064
|
-
type: t.LiteralC<"tableCell">;
|
|
2065
|
-
content: t.ExactC<t.TypeC<{
|
|
2066
|
-
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
2067
|
-
value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2068
|
-
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
2069
|
-
content: t.IntersectionC<[t.TypeC<{
|
|
2070
|
-
text: t.StringC;
|
|
2071
|
-
}>, t.PartialC<{
|
|
2072
|
-
spans: t.Type<({
|
|
2073
|
-
data: ({
|
|
2074
|
-
__TYPE__: "ImageLink";
|
|
2075
|
-
} & {
|
|
2076
|
-
kind: "image";
|
|
2077
|
-
id: string;
|
|
2078
|
-
url: string;
|
|
2079
|
-
height: string;
|
|
2080
|
-
width: string;
|
|
2081
|
-
size: string;
|
|
2082
|
-
name: string;
|
|
2083
|
-
} & {
|
|
2084
|
-
date?: string | null | undefined;
|
|
2085
|
-
}) | ({
|
|
2086
|
-
__TYPE__: "FileLink";
|
|
2087
|
-
} & {
|
|
2088
|
-
kind: "file";
|
|
2089
|
-
id: string;
|
|
2090
|
-
url: string;
|
|
2091
|
-
name: string;
|
|
2092
|
-
size: string;
|
|
2093
|
-
} & {
|
|
2094
|
-
date?: string | null | undefined;
|
|
2095
|
-
}) | ({
|
|
2096
|
-
__TYPE__: "DocumentLink";
|
|
2097
|
-
} & {
|
|
2098
|
-
id: string;
|
|
2099
|
-
}) | ({
|
|
2100
|
-
__TYPE__: "ExternalLink";
|
|
2101
|
-
} & {
|
|
2102
|
-
url: string;
|
|
2103
|
-
} & {
|
|
2104
|
-
kind?: "web";
|
|
2105
|
-
target?: string | null | undefined;
|
|
2106
|
-
preview?: {
|
|
2107
|
-
title?: string;
|
|
2108
|
-
} | null | undefined;
|
|
2109
|
-
});
|
|
2110
|
-
start: number;
|
|
2111
|
-
end: number;
|
|
2112
|
-
type: "hyperlink";
|
|
2113
|
-
} | {
|
|
2114
|
-
data: string;
|
|
2115
|
-
start: number;
|
|
2116
|
-
end: number;
|
|
2117
|
-
type: "label";
|
|
2118
|
-
} | {
|
|
2119
|
-
start: number;
|
|
2120
|
-
end: number;
|
|
2121
|
-
type: "strong" | "em" | "list-item";
|
|
2122
|
-
})[], ({
|
|
2123
|
-
data: ({
|
|
2124
|
-
__TYPE__: "ImageLink";
|
|
2125
|
-
} & {
|
|
2126
|
-
kind: "image";
|
|
2127
|
-
id: string;
|
|
2128
|
-
url: string;
|
|
2129
|
-
height: string;
|
|
2130
|
-
width: string;
|
|
2131
|
-
size: string;
|
|
2132
|
-
name: string;
|
|
2133
|
-
} & {
|
|
2134
|
-
date?: string | null | undefined;
|
|
2135
|
-
}) | ({
|
|
2136
|
-
__TYPE__: "FileLink";
|
|
2137
|
-
} & {
|
|
2138
|
-
kind: "file";
|
|
2139
|
-
id: string;
|
|
2140
|
-
url: string;
|
|
2141
|
-
name: string;
|
|
2142
|
-
size: string;
|
|
2143
|
-
} & {
|
|
2144
|
-
date?: string | null | undefined;
|
|
2145
|
-
}) | ({
|
|
2146
|
-
__TYPE__: "DocumentLink";
|
|
2147
|
-
} & {
|
|
2148
|
-
id: string;
|
|
2149
|
-
}) | ({
|
|
2150
|
-
__TYPE__: "ExternalLink";
|
|
2151
|
-
} & {
|
|
2152
|
-
url: string;
|
|
2153
|
-
} & {
|
|
2154
|
-
kind?: "web";
|
|
2155
|
-
target?: string | null | undefined;
|
|
2156
|
-
preview?: {
|
|
2157
|
-
title?: string;
|
|
2158
|
-
} | null | undefined;
|
|
2159
|
-
});
|
|
2160
|
-
start: number;
|
|
2161
|
-
end: number;
|
|
2162
|
-
type: "hyperlink";
|
|
2163
|
-
} | {
|
|
2164
|
-
data: string;
|
|
2165
|
-
start: number;
|
|
2166
|
-
end: number;
|
|
2167
|
-
type: "label";
|
|
2168
|
-
} | {
|
|
2169
|
-
start: number;
|
|
2170
|
-
end: number;
|
|
2171
|
-
type: "strong" | "em" | "list-item";
|
|
2172
|
-
})[], unknown>;
|
|
2173
|
-
}>]>;
|
|
2174
|
-
}>, t.PartialC<{
|
|
2175
|
-
label: t.StringC;
|
|
2176
|
-
direction: t.StringC;
|
|
2177
|
-
}>]>>>;
|
|
2178
|
-
}>>;
|
|
2179
|
-
}>>]>>;
|
|
2209
|
+
}>>>;
|
|
2180
2210
|
}>>>;
|
|
2181
2211
|
}>>, t.ExactC<t.TypeC<{
|
|
2182
2212
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
@@ -2696,11 +2726,137 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2696
2726
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
2697
2727
|
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2698
2728
|
type: t.LiteralC<"tableRow">;
|
|
2699
|
-
content: t.ArrayC<t.
|
|
2700
|
-
type: t.LiteralC<"tableHeader">;
|
|
2729
|
+
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2730
|
+
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
2701
2731
|
content: t.ExactC<t.TypeC<{
|
|
2702
2732
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
2703
|
-
value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2733
|
+
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2734
|
+
type: t.LiteralC<"image">;
|
|
2735
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2736
|
+
origin: t.ExactC<t.TypeC<{
|
|
2737
|
+
id: t.StringC;
|
|
2738
|
+
url: t.StringC;
|
|
2739
|
+
width: t.NumberC;
|
|
2740
|
+
height: t.NumberC;
|
|
2741
|
+
}>>;
|
|
2742
|
+
width: t.NumberC;
|
|
2743
|
+
height: t.NumberC;
|
|
2744
|
+
edit: t.TypeC<{
|
|
2745
|
+
zoom: t.NumberC;
|
|
2746
|
+
crop: t.TypeC<{
|
|
2747
|
+
x: t.NumberC;
|
|
2748
|
+
y: t.NumberC;
|
|
2749
|
+
}>;
|
|
2750
|
+
background: t.StringC;
|
|
2751
|
+
}>;
|
|
2752
|
+
}>, t.PartialC<{
|
|
2753
|
+
url: t.StringC;
|
|
2754
|
+
credits: t.Type<string | null, string | null, unknown>;
|
|
2755
|
+
alt: t.Type<string | null, string | null, unknown>;
|
|
2756
|
+
provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2757
|
+
}>]>>, t.PartialC<{
|
|
2758
|
+
linkTo: t.UnionC<[t.Type<({
|
|
2759
|
+
__TYPE__: "ImageLink";
|
|
2760
|
+
} & {
|
|
2761
|
+
kind: "image";
|
|
2762
|
+
id: string;
|
|
2763
|
+
url: string;
|
|
2764
|
+
height: string;
|
|
2765
|
+
width: string;
|
|
2766
|
+
size: string;
|
|
2767
|
+
name: string;
|
|
2768
|
+
} & {
|
|
2769
|
+
date?: string | null | undefined;
|
|
2770
|
+
}) | ({
|
|
2771
|
+
__TYPE__: "FileLink";
|
|
2772
|
+
} & {
|
|
2773
|
+
kind: "file";
|
|
2774
|
+
id: string;
|
|
2775
|
+
url: string;
|
|
2776
|
+
name: string;
|
|
2777
|
+
size: string;
|
|
2778
|
+
} & {
|
|
2779
|
+
date?: string | null | undefined;
|
|
2780
|
+
}) | ({
|
|
2781
|
+
__TYPE__: "DocumentLink";
|
|
2782
|
+
} & {
|
|
2783
|
+
id: string;
|
|
2784
|
+
}) | ({
|
|
2785
|
+
__TYPE__: "ExternalLink";
|
|
2786
|
+
} & {
|
|
2787
|
+
url: string;
|
|
2788
|
+
} & {
|
|
2789
|
+
kind?: "web";
|
|
2790
|
+
target?: string | null | undefined;
|
|
2791
|
+
preview?: {
|
|
2792
|
+
title?: string;
|
|
2793
|
+
} | null | undefined;
|
|
2794
|
+
}), ({
|
|
2795
|
+
__TYPE__: "ImageLink";
|
|
2796
|
+
} & {
|
|
2797
|
+
kind: "image";
|
|
2798
|
+
id: string;
|
|
2799
|
+
url: string;
|
|
2800
|
+
height: string;
|
|
2801
|
+
width: string;
|
|
2802
|
+
size: string;
|
|
2803
|
+
name: string;
|
|
2804
|
+
} & {
|
|
2805
|
+
date?: string | null | undefined;
|
|
2806
|
+
}) | ({
|
|
2807
|
+
__TYPE__: "FileLink";
|
|
2808
|
+
} & {
|
|
2809
|
+
kind: "file";
|
|
2810
|
+
id: string;
|
|
2811
|
+
url: string;
|
|
2812
|
+
name: string;
|
|
2813
|
+
size: string;
|
|
2814
|
+
} & {
|
|
2815
|
+
date?: string | null | undefined;
|
|
2816
|
+
}) | ({
|
|
2817
|
+
__TYPE__: "DocumentLink";
|
|
2818
|
+
} & {
|
|
2819
|
+
id: string;
|
|
2820
|
+
}) | ({
|
|
2821
|
+
__TYPE__: "ExternalLink";
|
|
2822
|
+
} & {
|
|
2823
|
+
url: string;
|
|
2824
|
+
} & {
|
|
2825
|
+
kind?: "web";
|
|
2826
|
+
target?: string | null | undefined;
|
|
2827
|
+
preview?: {
|
|
2828
|
+
title?: string;
|
|
2829
|
+
} | null | undefined;
|
|
2830
|
+
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
2831
|
+
}>]>;
|
|
2832
|
+
}>, t.PartialC<{
|
|
2833
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2834
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2835
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2836
|
+
type: t.LiteralC<"embed">;
|
|
2837
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2838
|
+
embed_url: t.StringC;
|
|
2839
|
+
type: t.StringC;
|
|
2840
|
+
}>, t.PartialC<{
|
|
2841
|
+
version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
2842
|
+
title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2843
|
+
author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2844
|
+
author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2845
|
+
provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2846
|
+
provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2847
|
+
cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
2848
|
+
thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2849
|
+
thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
2850
|
+
thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
2851
|
+
html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2852
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2853
|
+
__TYPE__: t.LiteralC<"EmbedContent">;
|
|
2854
|
+
all: t.UnknownC;
|
|
2855
|
+
}>>]>;
|
|
2856
|
+
}>, t.PartialC<{
|
|
2857
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2858
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2859
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2704
2860
|
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
2705
2861
|
content: t.IntersectionC<[t.TypeC<{
|
|
2706
2862
|
text: t.StringC;
|
|
@@ -2810,169 +2966,53 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2810
2966
|
}>, t.PartialC<{
|
|
2811
2967
|
label: t.StringC;
|
|
2812
2968
|
direction: t.StringC;
|
|
2813
|
-
}>]
|
|
2969
|
+
}>]>>]>>;
|
|
2814
2970
|
}>>;
|
|
2815
|
-
}
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
} | null | undefined;
|
|
2861
|
-
});
|
|
2862
|
-
start: number;
|
|
2863
|
-
end: number;
|
|
2864
|
-
type: "hyperlink";
|
|
2865
|
-
} | {
|
|
2866
|
-
data: string;
|
|
2867
|
-
start: number;
|
|
2868
|
-
end: number;
|
|
2869
|
-
type: "label";
|
|
2870
|
-
} | {
|
|
2871
|
-
start: number;
|
|
2872
|
-
end: number;
|
|
2873
|
-
type: "strong" | "em" | "list-item";
|
|
2874
|
-
})[], ({
|
|
2875
|
-
data: ({
|
|
2876
|
-
__TYPE__: "ImageLink";
|
|
2877
|
-
} & {
|
|
2878
|
-
kind: "image";
|
|
2879
|
-
id: string;
|
|
2880
|
-
url: string;
|
|
2881
|
-
height: string;
|
|
2882
|
-
width: string;
|
|
2883
|
-
size: string;
|
|
2884
|
-
name: string;
|
|
2885
|
-
} & {
|
|
2886
|
-
date?: string | null | undefined;
|
|
2887
|
-
}) | ({
|
|
2888
|
-
__TYPE__: "FileLink";
|
|
2889
|
-
} & {
|
|
2890
|
-
kind: "file";
|
|
2891
|
-
id: string;
|
|
2892
|
-
url: string;
|
|
2893
|
-
name: string;
|
|
2894
|
-
size: string;
|
|
2895
|
-
} & {
|
|
2896
|
-
date?: string | null | undefined;
|
|
2897
|
-
}) | ({
|
|
2898
|
-
__TYPE__: "DocumentLink";
|
|
2899
|
-
} & {
|
|
2900
|
-
id: string;
|
|
2901
|
-
}) | ({
|
|
2902
|
-
__TYPE__: "ExternalLink";
|
|
2903
|
-
} & {
|
|
2904
|
-
url: string;
|
|
2905
|
-
} & {
|
|
2906
|
-
kind?: "web";
|
|
2907
|
-
target?: string | null | undefined;
|
|
2908
|
-
preview?: {
|
|
2909
|
-
title?: string;
|
|
2910
|
-
} | null | undefined;
|
|
2911
|
-
});
|
|
2912
|
-
start: number;
|
|
2913
|
-
end: number;
|
|
2914
|
-
type: "hyperlink";
|
|
2915
|
-
} | {
|
|
2916
|
-
data: string;
|
|
2917
|
-
start: number;
|
|
2918
|
-
end: number;
|
|
2919
|
-
type: "label";
|
|
2920
|
-
} | {
|
|
2921
|
-
start: number;
|
|
2922
|
-
end: number;
|
|
2923
|
-
type: "strong" | "em" | "list-item";
|
|
2924
|
-
})[], unknown>;
|
|
2925
|
-
}>]>;
|
|
2926
|
-
}>, t.PartialC<{
|
|
2927
|
-
label: t.StringC;
|
|
2928
|
-
direction: t.StringC;
|
|
2929
|
-
}>]>>>;
|
|
2930
|
-
}>>;
|
|
2931
|
-
}>>]>>;
|
|
2932
|
-
}>>>;
|
|
2933
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2934
|
-
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2935
|
-
type: t.LiteralC<"Link">;
|
|
2936
|
-
value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2937
|
-
key: t.Type<string, string, unknown>;
|
|
2938
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2939
|
-
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2940
|
-
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2941
|
-
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2942
|
-
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2943
|
-
kind: t.Type<"image", "image", unknown>;
|
|
2944
|
-
id: t.StringC;
|
|
2945
|
-
url: t.StringC;
|
|
2946
|
-
height: t.StringC;
|
|
2947
|
-
width: t.StringC;
|
|
2948
|
-
size: t.StringC;
|
|
2949
|
-
name: t.StringC;
|
|
2950
|
-
}>>, t.ExactC<t.PartialC<{
|
|
2951
|
-
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2952
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2953
|
-
kind: t.LiteralC<"image">;
|
|
2954
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
2955
|
-
text: t.StringC;
|
|
2956
|
-
variant: t.StringC;
|
|
2957
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2958
|
-
__TYPE__: t.LiteralC<"FileLink">;
|
|
2959
|
-
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2960
|
-
kind: t.Type<"file", "file", unknown>;
|
|
2961
|
-
id: t.StringC;
|
|
2962
|
-
url: t.StringC;
|
|
2963
|
-
name: t.StringC;
|
|
2964
|
-
size: t.StringC;
|
|
2965
|
-
}>, t.PartialC<{
|
|
2966
|
-
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2967
|
-
}>]>>, t.ExactC<t.TypeC<{
|
|
2968
|
-
kind: t.LiteralC<"file">;
|
|
2969
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
2970
|
-
text: t.StringC;
|
|
2971
|
-
variant: t.StringC;
|
|
2972
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2973
|
-
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2974
|
-
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
2975
|
-
id: t.Type<string, string, unknown>;
|
|
2971
|
+
}>>>;
|
|
2972
|
+
}>>>;
|
|
2973
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2974
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2975
|
+
type: t.LiteralC<"Link">;
|
|
2976
|
+
value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2977
|
+
key: t.Type<string, string, unknown>;
|
|
2978
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2979
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2980
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2981
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2982
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2983
|
+
kind: t.Type<"image", "image", unknown>;
|
|
2984
|
+
id: t.StringC;
|
|
2985
|
+
url: t.StringC;
|
|
2986
|
+
height: t.StringC;
|
|
2987
|
+
width: t.StringC;
|
|
2988
|
+
size: t.StringC;
|
|
2989
|
+
name: t.StringC;
|
|
2990
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2991
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2992
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2993
|
+
kind: t.LiteralC<"image">;
|
|
2994
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2995
|
+
text: t.StringC;
|
|
2996
|
+
variant: t.StringC;
|
|
2997
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2998
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
2999
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3000
|
+
kind: t.Type<"file", "file", unknown>;
|
|
3001
|
+
id: t.StringC;
|
|
3002
|
+
url: t.StringC;
|
|
3003
|
+
name: t.StringC;
|
|
3004
|
+
size: t.StringC;
|
|
3005
|
+
}>, t.PartialC<{
|
|
3006
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3007
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3008
|
+
kind: t.LiteralC<"file">;
|
|
3009
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3010
|
+
text: t.StringC;
|
|
3011
|
+
variant: t.StringC;
|
|
3012
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3013
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
3014
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
3015
|
+
id: t.Type<string, string, unknown>;
|
|
2976
3016
|
}>>, t.ExactC<t.TypeC<{
|
|
2977
3017
|
kind: t.LiteralC<"document">;
|
|
2978
3018
|
}>>]>, t.ExactC<t.PartialC<{
|
|
@@ -3446,127 +3486,137 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
3446
3486
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
3447
3487
|
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
3448
3488
|
type: t.LiteralC<"tableRow">;
|
|
3449
|
-
content: t.ArrayC<t.
|
|
3450
|
-
type: t.LiteralC<"tableHeader">;
|
|
3489
|
+
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
3490
|
+
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
3451
3491
|
content: t.ExactC<t.TypeC<{
|
|
3452
3492
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
3453
|
-
value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3454
|
-
type: t.
|
|
3455
|
-
|
|
3456
|
-
|
|
3493
|
+
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3494
|
+
type: t.LiteralC<"image">;
|
|
3495
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3496
|
+
origin: t.ExactC<t.TypeC<{
|
|
3497
|
+
id: t.StringC;
|
|
3498
|
+
url: t.StringC;
|
|
3499
|
+
width: t.NumberC;
|
|
3500
|
+
height: t.NumberC;
|
|
3501
|
+
}>>;
|
|
3502
|
+
width: t.NumberC;
|
|
3503
|
+
height: t.NumberC;
|
|
3504
|
+
edit: t.TypeC<{
|
|
3505
|
+
zoom: t.NumberC;
|
|
3506
|
+
crop: t.TypeC<{
|
|
3507
|
+
x: t.NumberC;
|
|
3508
|
+
y: t.NumberC;
|
|
3509
|
+
}>;
|
|
3510
|
+
background: t.StringC;
|
|
3511
|
+
}>;
|
|
3457
3512
|
}>, t.PartialC<{
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
}
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
__TYPE__: "ExternalLink";
|
|
3537
|
-
} & {
|
|
3538
|
-
url: string;
|
|
3539
|
-
} & {
|
|
3540
|
-
kind?: "web";
|
|
3541
|
-
target?: string | null | undefined;
|
|
3542
|
-
preview?: {
|
|
3543
|
-
title?: string;
|
|
3544
|
-
} | null | undefined;
|
|
3545
|
-
});
|
|
3546
|
-
start: number;
|
|
3547
|
-
end: number;
|
|
3548
|
-
type: "hyperlink";
|
|
3549
|
-
} | {
|
|
3550
|
-
data: string;
|
|
3551
|
-
start: number;
|
|
3552
|
-
end: number;
|
|
3553
|
-
type: "label";
|
|
3554
|
-
} | {
|
|
3555
|
-
start: number;
|
|
3556
|
-
end: number;
|
|
3557
|
-
type: "strong" | "em" | "list-item";
|
|
3558
|
-
})[], unknown>;
|
|
3513
|
+
url: t.StringC;
|
|
3514
|
+
credits: t.Type<string | null, string | null, unknown>;
|
|
3515
|
+
alt: t.Type<string | null, string | null, unknown>;
|
|
3516
|
+
provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3517
|
+
}>]>>, t.PartialC<{
|
|
3518
|
+
linkTo: t.UnionC<[t.Type<({
|
|
3519
|
+
__TYPE__: "ImageLink";
|
|
3520
|
+
} & {
|
|
3521
|
+
kind: "image";
|
|
3522
|
+
id: string;
|
|
3523
|
+
url: string;
|
|
3524
|
+
height: string;
|
|
3525
|
+
width: string;
|
|
3526
|
+
size: string;
|
|
3527
|
+
name: string;
|
|
3528
|
+
} & {
|
|
3529
|
+
date?: string | null | undefined;
|
|
3530
|
+
}) | ({
|
|
3531
|
+
__TYPE__: "FileLink";
|
|
3532
|
+
} & {
|
|
3533
|
+
kind: "file";
|
|
3534
|
+
id: string;
|
|
3535
|
+
url: string;
|
|
3536
|
+
name: string;
|
|
3537
|
+
size: string;
|
|
3538
|
+
} & {
|
|
3539
|
+
date?: string | null | undefined;
|
|
3540
|
+
}) | ({
|
|
3541
|
+
__TYPE__: "DocumentLink";
|
|
3542
|
+
} & {
|
|
3543
|
+
id: string;
|
|
3544
|
+
}) | ({
|
|
3545
|
+
__TYPE__: "ExternalLink";
|
|
3546
|
+
} & {
|
|
3547
|
+
url: string;
|
|
3548
|
+
} & {
|
|
3549
|
+
kind?: "web";
|
|
3550
|
+
target?: string | null | undefined;
|
|
3551
|
+
preview?: {
|
|
3552
|
+
title?: string;
|
|
3553
|
+
} | null | undefined;
|
|
3554
|
+
}), ({
|
|
3555
|
+
__TYPE__: "ImageLink";
|
|
3556
|
+
} & {
|
|
3557
|
+
kind: "image";
|
|
3558
|
+
id: string;
|
|
3559
|
+
url: string;
|
|
3560
|
+
height: string;
|
|
3561
|
+
width: string;
|
|
3562
|
+
size: string;
|
|
3563
|
+
name: string;
|
|
3564
|
+
} & {
|
|
3565
|
+
date?: string | null | undefined;
|
|
3566
|
+
}) | ({
|
|
3567
|
+
__TYPE__: "FileLink";
|
|
3568
|
+
} & {
|
|
3569
|
+
kind: "file";
|
|
3570
|
+
id: string;
|
|
3571
|
+
url: string;
|
|
3572
|
+
name: string;
|
|
3573
|
+
size: string;
|
|
3574
|
+
} & {
|
|
3575
|
+
date?: string | null | undefined;
|
|
3576
|
+
}) | ({
|
|
3577
|
+
__TYPE__: "DocumentLink";
|
|
3578
|
+
} & {
|
|
3579
|
+
id: string;
|
|
3580
|
+
}) | ({
|
|
3581
|
+
__TYPE__: "ExternalLink";
|
|
3582
|
+
} & {
|
|
3583
|
+
url: string;
|
|
3584
|
+
} & {
|
|
3585
|
+
kind?: "web";
|
|
3586
|
+
target?: string | null | undefined;
|
|
3587
|
+
preview?: {
|
|
3588
|
+
title?: string;
|
|
3589
|
+
} | null | undefined;
|
|
3590
|
+
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
3559
3591
|
}>]>;
|
|
3560
3592
|
}>, t.PartialC<{
|
|
3561
|
-
label: t.
|
|
3562
|
-
direction: t.
|
|
3563
|
-
}>]
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3593
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3594
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3595
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3596
|
+
type: t.LiteralC<"embed">;
|
|
3597
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3598
|
+
embed_url: t.StringC;
|
|
3599
|
+
type: t.StringC;
|
|
3600
|
+
}>, t.PartialC<{
|
|
3601
|
+
version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
3602
|
+
title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3603
|
+
author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3604
|
+
author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3605
|
+
provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3606
|
+
provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3607
|
+
cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
3608
|
+
thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3609
|
+
thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
3610
|
+
thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
3611
|
+
html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3612
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3613
|
+
__TYPE__: t.LiteralC<"EmbedContent">;
|
|
3614
|
+
all: t.UnknownC;
|
|
3615
|
+
}>>]>;
|
|
3616
|
+
}>, t.PartialC<{
|
|
3617
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3618
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3619
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3570
3620
|
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
3571
3621
|
content: t.IntersectionC<[t.TypeC<{
|
|
3572
3622
|
text: t.StringC;
|
|
@@ -3676,9 +3726,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
3676
3726
|
}>, t.PartialC<{
|
|
3677
3727
|
label: t.StringC;
|
|
3678
3728
|
direction: t.StringC;
|
|
3679
|
-
}>]
|
|
3729
|
+
}>]>>]>>;
|
|
3680
3730
|
}>>;
|
|
3681
|
-
}
|
|
3731
|
+
}>>>;
|
|
3682
3732
|
}>>>;
|
|
3683
3733
|
}>>, t.ExactC<t.TypeC<{
|
|
3684
3734
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
@@ -4195,127 +4245,137 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
4195
4245
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
4196
4246
|
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
4197
4247
|
type: t.LiteralC<"tableRow">;
|
|
4198
|
-
content: t.ArrayC<t.
|
|
4199
|
-
type: t.LiteralC<"tableHeader">;
|
|
4248
|
+
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
4249
|
+
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
4200
4250
|
content: t.ExactC<t.TypeC<{
|
|
4201
4251
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
4202
|
-
value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4203
|
-
type: t.
|
|
4204
|
-
|
|
4205
|
-
|
|
4252
|
+
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4253
|
+
type: t.LiteralC<"image">;
|
|
4254
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4255
|
+
origin: t.ExactC<t.TypeC<{
|
|
4256
|
+
id: t.StringC;
|
|
4257
|
+
url: t.StringC;
|
|
4258
|
+
width: t.NumberC;
|
|
4259
|
+
height: t.NumberC;
|
|
4260
|
+
}>>;
|
|
4261
|
+
width: t.NumberC;
|
|
4262
|
+
height: t.NumberC;
|
|
4263
|
+
edit: t.TypeC<{
|
|
4264
|
+
zoom: t.NumberC;
|
|
4265
|
+
crop: t.TypeC<{
|
|
4266
|
+
x: t.NumberC;
|
|
4267
|
+
y: t.NumberC;
|
|
4268
|
+
}>;
|
|
4269
|
+
background: t.StringC;
|
|
4270
|
+
}>;
|
|
4206
4271
|
}>, t.PartialC<{
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
}
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
__TYPE__: "ExternalLink";
|
|
4286
|
-
} & {
|
|
4287
|
-
url: string;
|
|
4288
|
-
} & {
|
|
4289
|
-
kind?: "web";
|
|
4290
|
-
target?: string | null | undefined;
|
|
4291
|
-
preview?: {
|
|
4292
|
-
title?: string;
|
|
4293
|
-
} | null | undefined;
|
|
4294
|
-
});
|
|
4295
|
-
start: number;
|
|
4296
|
-
end: number;
|
|
4297
|
-
type: "hyperlink";
|
|
4298
|
-
} | {
|
|
4299
|
-
data: string;
|
|
4300
|
-
start: number;
|
|
4301
|
-
end: number;
|
|
4302
|
-
type: "label";
|
|
4303
|
-
} | {
|
|
4304
|
-
start: number;
|
|
4305
|
-
end: number;
|
|
4306
|
-
type: "strong" | "em" | "list-item";
|
|
4307
|
-
})[], unknown>;
|
|
4272
|
+
url: t.StringC;
|
|
4273
|
+
credits: t.Type<string | null, string | null, unknown>;
|
|
4274
|
+
alt: t.Type<string | null, string | null, unknown>;
|
|
4275
|
+
provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4276
|
+
}>]>>, t.PartialC<{
|
|
4277
|
+
linkTo: t.UnionC<[t.Type<({
|
|
4278
|
+
__TYPE__: "ImageLink";
|
|
4279
|
+
} & {
|
|
4280
|
+
kind: "image";
|
|
4281
|
+
id: string;
|
|
4282
|
+
url: string;
|
|
4283
|
+
height: string;
|
|
4284
|
+
width: string;
|
|
4285
|
+
size: string;
|
|
4286
|
+
name: string;
|
|
4287
|
+
} & {
|
|
4288
|
+
date?: string | null | undefined;
|
|
4289
|
+
}) | ({
|
|
4290
|
+
__TYPE__: "FileLink";
|
|
4291
|
+
} & {
|
|
4292
|
+
kind: "file";
|
|
4293
|
+
id: string;
|
|
4294
|
+
url: string;
|
|
4295
|
+
name: string;
|
|
4296
|
+
size: string;
|
|
4297
|
+
} & {
|
|
4298
|
+
date?: string | null | undefined;
|
|
4299
|
+
}) | ({
|
|
4300
|
+
__TYPE__: "DocumentLink";
|
|
4301
|
+
} & {
|
|
4302
|
+
id: string;
|
|
4303
|
+
}) | ({
|
|
4304
|
+
__TYPE__: "ExternalLink";
|
|
4305
|
+
} & {
|
|
4306
|
+
url: string;
|
|
4307
|
+
} & {
|
|
4308
|
+
kind?: "web";
|
|
4309
|
+
target?: string | null | undefined;
|
|
4310
|
+
preview?: {
|
|
4311
|
+
title?: string;
|
|
4312
|
+
} | null | undefined;
|
|
4313
|
+
}), ({
|
|
4314
|
+
__TYPE__: "ImageLink";
|
|
4315
|
+
} & {
|
|
4316
|
+
kind: "image";
|
|
4317
|
+
id: string;
|
|
4318
|
+
url: string;
|
|
4319
|
+
height: string;
|
|
4320
|
+
width: string;
|
|
4321
|
+
size: string;
|
|
4322
|
+
name: string;
|
|
4323
|
+
} & {
|
|
4324
|
+
date?: string | null | undefined;
|
|
4325
|
+
}) | ({
|
|
4326
|
+
__TYPE__: "FileLink";
|
|
4327
|
+
} & {
|
|
4328
|
+
kind: "file";
|
|
4329
|
+
id: string;
|
|
4330
|
+
url: string;
|
|
4331
|
+
name: string;
|
|
4332
|
+
size: string;
|
|
4333
|
+
} & {
|
|
4334
|
+
date?: string | null | undefined;
|
|
4335
|
+
}) | ({
|
|
4336
|
+
__TYPE__: "DocumentLink";
|
|
4337
|
+
} & {
|
|
4338
|
+
id: string;
|
|
4339
|
+
}) | ({
|
|
4340
|
+
__TYPE__: "ExternalLink";
|
|
4341
|
+
} & {
|
|
4342
|
+
url: string;
|
|
4343
|
+
} & {
|
|
4344
|
+
kind?: "web";
|
|
4345
|
+
target?: string | null | undefined;
|
|
4346
|
+
preview?: {
|
|
4347
|
+
title?: string;
|
|
4348
|
+
} | null | undefined;
|
|
4349
|
+
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
4308
4350
|
}>]>;
|
|
4309
4351
|
}>, t.PartialC<{
|
|
4310
|
-
label: t.
|
|
4311
|
-
direction: t.
|
|
4312
|
-
}>]
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4352
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4353
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4354
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4355
|
+
type: t.LiteralC<"embed">;
|
|
4356
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4357
|
+
embed_url: t.StringC;
|
|
4358
|
+
type: t.StringC;
|
|
4359
|
+
}>, t.PartialC<{
|
|
4360
|
+
version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
4361
|
+
title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4362
|
+
author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4363
|
+
author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4364
|
+
provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4365
|
+
provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4366
|
+
cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
4367
|
+
thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4368
|
+
thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
4369
|
+
thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
4370
|
+
html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4371
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
4372
|
+
__TYPE__: t.LiteralC<"EmbedContent">;
|
|
4373
|
+
all: t.UnknownC;
|
|
4374
|
+
}>>]>;
|
|
4375
|
+
}>, t.PartialC<{
|
|
4376
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4377
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4378
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4319
4379
|
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
4320
4380
|
content: t.IntersectionC<[t.TypeC<{
|
|
4321
4381
|
text: t.StringC;
|
|
@@ -4425,9 +4485,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
4425
4485
|
}>, t.PartialC<{
|
|
4426
4486
|
label: t.StringC;
|
|
4427
4487
|
direction: t.StringC;
|
|
4428
|
-
}>]
|
|
4488
|
+
}>]>>]>>;
|
|
4429
4489
|
}>>;
|
|
4430
|
-
}
|
|
4490
|
+
}>>>;
|
|
4431
4491
|
}>>>;
|
|
4432
4492
|
}>>, t.ExactC<t.TypeC<{
|
|
4433
4493
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
@@ -4956,77 +5016,101 @@ export declare const DocumentLegacy: {
|
|
|
4956
5016
|
__TYPE__: "TableContent";
|
|
4957
5017
|
content: {
|
|
4958
5018
|
type: "tableRow";
|
|
4959
|
-
content:
|
|
4960
|
-
type: "tableHeader";
|
|
5019
|
+
content: {
|
|
5020
|
+
type: "tableHeader" | "tableCell";
|
|
4961
5021
|
content: {
|
|
4962
5022
|
__TYPE__: "StructuredTextContent";
|
|
4963
|
-
value: ({
|
|
4964
|
-
type: "image"
|
|
4965
|
-
|
|
4966
|
-
|
|
5023
|
+
value: (({
|
|
5024
|
+
type: "image";
|
|
5025
|
+
data: {
|
|
5026
|
+
origin: {
|
|
5027
|
+
id: string;
|
|
5028
|
+
url: string;
|
|
5029
|
+
width: number;
|
|
5030
|
+
height: number;
|
|
5031
|
+
};
|
|
5032
|
+
width: number;
|
|
5033
|
+
height: number;
|
|
5034
|
+
edit: {
|
|
5035
|
+
zoom: number;
|
|
5036
|
+
crop: {
|
|
5037
|
+
x: number;
|
|
5038
|
+
y: number;
|
|
5039
|
+
};
|
|
5040
|
+
background: string;
|
|
5041
|
+
};
|
|
4967
5042
|
} & {
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
} |
|
|
5010
|
-
data: string;
|
|
5011
|
-
start: number;
|
|
5012
|
-
end: number;
|
|
5013
|
-
type: "label";
|
|
5014
|
-
} | {
|
|
5015
|
-
start: number;
|
|
5016
|
-
end: number;
|
|
5017
|
-
type: "strong" | "em" | "list-item";
|
|
5018
|
-
})[];
|
|
5043
|
+
url?: string;
|
|
5044
|
+
credits?: string | null;
|
|
5045
|
+
alt?: string | null;
|
|
5046
|
+
provider?: string | null | undefined;
|
|
5047
|
+
} & {
|
|
5048
|
+
linkTo?: ({
|
|
5049
|
+
__TYPE__: "ImageLink";
|
|
5050
|
+
} & {
|
|
5051
|
+
kind: "image";
|
|
5052
|
+
id: string;
|
|
5053
|
+
url: string;
|
|
5054
|
+
height: string;
|
|
5055
|
+
width: string;
|
|
5056
|
+
size: string;
|
|
5057
|
+
name: string;
|
|
5058
|
+
} & {
|
|
5059
|
+
date?: string | null | undefined;
|
|
5060
|
+
}) | ({
|
|
5061
|
+
__TYPE__: "FileLink";
|
|
5062
|
+
} & {
|
|
5063
|
+
kind: "file";
|
|
5064
|
+
id: string;
|
|
5065
|
+
url: string;
|
|
5066
|
+
name: string;
|
|
5067
|
+
size: string;
|
|
5068
|
+
} & {
|
|
5069
|
+
date?: string | null | undefined;
|
|
5070
|
+
}) | ({
|
|
5071
|
+
__TYPE__: "DocumentLink";
|
|
5072
|
+
} & {
|
|
5073
|
+
id: string;
|
|
5074
|
+
}) | ({
|
|
5075
|
+
__TYPE__: "ExternalLink";
|
|
5076
|
+
} & {
|
|
5077
|
+
url: string;
|
|
5078
|
+
} & {
|
|
5079
|
+
kind?: "web";
|
|
5080
|
+
target?: string | null | undefined;
|
|
5081
|
+
preview?: {
|
|
5082
|
+
title?: string;
|
|
5083
|
+
} | null | undefined;
|
|
5084
|
+
}) | null | undefined;
|
|
5019
5085
|
};
|
|
5020
5086
|
} & {
|
|
5021
|
-
label?: string;
|
|
5022
|
-
direction?: string;
|
|
5023
|
-
})
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5087
|
+
label?: string | null | undefined;
|
|
5088
|
+
direction?: string | null | undefined;
|
|
5089
|
+
}) | ({
|
|
5090
|
+
type: "embed";
|
|
5091
|
+
data: {
|
|
5092
|
+
embed_url: string;
|
|
5093
|
+
type: string;
|
|
5094
|
+
} & {
|
|
5095
|
+
version?: string | number | null;
|
|
5096
|
+
title?: string | null | undefined;
|
|
5097
|
+
author_name?: string | null | undefined;
|
|
5098
|
+
author_url?: string | null | undefined;
|
|
5099
|
+
provider_name?: string | null | undefined;
|
|
5100
|
+
provider_url?: string | null | undefined;
|
|
5101
|
+
cache_age?: string | number | null;
|
|
5102
|
+
thumbnail_url?: string | null | undefined;
|
|
5103
|
+
thumbnail_width?: number | null | undefined;
|
|
5104
|
+
thumbnail_height?: number | null | undefined;
|
|
5105
|
+
html?: string | null | undefined;
|
|
5106
|
+
} & {
|
|
5107
|
+
__TYPE__: "EmbedContent";
|
|
5108
|
+
all: unknown;
|
|
5109
|
+
};
|
|
5110
|
+
} & {
|
|
5111
|
+
label?: string | null | undefined;
|
|
5112
|
+
direction?: string | null | undefined;
|
|
5113
|
+
}) | ({
|
|
5030
5114
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5031
5115
|
content: {
|
|
5032
5116
|
text: string;
|
|
@@ -5086,9 +5170,9 @@ export declare const DocumentLegacy: {
|
|
|
5086
5170
|
} & {
|
|
5087
5171
|
label?: string;
|
|
5088
5172
|
direction?: string;
|
|
5089
|
-
})[];
|
|
5173
|
+
}))[];
|
|
5090
5174
|
};
|
|
5091
|
-
}
|
|
5175
|
+
}[];
|
|
5092
5176
|
}[];
|
|
5093
5177
|
} | {
|
|
5094
5178
|
__TYPE__: "UIDContent";
|
|
@@ -5524,77 +5608,101 @@ export declare const DocumentLegacy: {
|
|
|
5524
5608
|
__TYPE__: "TableContent";
|
|
5525
5609
|
content: {
|
|
5526
5610
|
type: "tableRow";
|
|
5527
|
-
content:
|
|
5528
|
-
type: "tableHeader";
|
|
5611
|
+
content: {
|
|
5612
|
+
type: "tableHeader" | "tableCell";
|
|
5529
5613
|
content: {
|
|
5530
5614
|
__TYPE__: "StructuredTextContent";
|
|
5531
|
-
value: ({
|
|
5532
|
-
type: "image"
|
|
5533
|
-
|
|
5534
|
-
|
|
5615
|
+
value: (({
|
|
5616
|
+
type: "image";
|
|
5617
|
+
data: {
|
|
5618
|
+
origin: {
|
|
5619
|
+
id: string;
|
|
5620
|
+
url: string;
|
|
5621
|
+
width: number;
|
|
5622
|
+
height: number;
|
|
5623
|
+
};
|
|
5624
|
+
width: number;
|
|
5625
|
+
height: number;
|
|
5626
|
+
edit: {
|
|
5627
|
+
zoom: number;
|
|
5628
|
+
crop: {
|
|
5629
|
+
x: number;
|
|
5630
|
+
y: number;
|
|
5631
|
+
};
|
|
5632
|
+
background: string;
|
|
5633
|
+
};
|
|
5634
|
+
} & {
|
|
5635
|
+
url?: string;
|
|
5636
|
+
credits?: string | null;
|
|
5637
|
+
alt?: string | null;
|
|
5638
|
+
provider?: string | null | undefined;
|
|
5639
|
+
} & {
|
|
5640
|
+
linkTo?: ({
|
|
5641
|
+
__TYPE__: "ImageLink";
|
|
5642
|
+
} & {
|
|
5643
|
+
kind: "image";
|
|
5644
|
+
id: string;
|
|
5645
|
+
url: string;
|
|
5646
|
+
height: string;
|
|
5647
|
+
width: string;
|
|
5648
|
+
size: string;
|
|
5649
|
+
name: string;
|
|
5650
|
+
} & {
|
|
5651
|
+
date?: string | null | undefined;
|
|
5652
|
+
}) | ({
|
|
5653
|
+
__TYPE__: "FileLink";
|
|
5654
|
+
} & {
|
|
5655
|
+
kind: "file";
|
|
5656
|
+
id: string;
|
|
5657
|
+
url: string;
|
|
5658
|
+
name: string;
|
|
5659
|
+
size: string;
|
|
5660
|
+
} & {
|
|
5661
|
+
date?: string | null | undefined;
|
|
5662
|
+
}) | ({
|
|
5663
|
+
__TYPE__: "DocumentLink";
|
|
5664
|
+
} & {
|
|
5665
|
+
id: string;
|
|
5666
|
+
}) | ({
|
|
5667
|
+
__TYPE__: "ExternalLink";
|
|
5668
|
+
} & {
|
|
5669
|
+
url: string;
|
|
5670
|
+
} & {
|
|
5671
|
+
kind?: "web";
|
|
5672
|
+
target?: string | null | undefined;
|
|
5673
|
+
preview?: {
|
|
5674
|
+
title?: string;
|
|
5675
|
+
} | null | undefined;
|
|
5676
|
+
}) | null | undefined;
|
|
5677
|
+
};
|
|
5678
|
+
} & {
|
|
5679
|
+
label?: string | null | undefined;
|
|
5680
|
+
direction?: string | null | undefined;
|
|
5681
|
+
}) | ({
|
|
5682
|
+
type: "embed";
|
|
5683
|
+
data: {
|
|
5684
|
+
embed_url: string;
|
|
5685
|
+
type: string;
|
|
5535
5686
|
} & {
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
__TYPE__: "FileLink";
|
|
5551
|
-
} & {
|
|
5552
|
-
kind: "file";
|
|
5553
|
-
id: string;
|
|
5554
|
-
url: string;
|
|
5555
|
-
name: string;
|
|
5556
|
-
size: string;
|
|
5557
|
-
} & {
|
|
5558
|
-
date?: string | null | undefined;
|
|
5559
|
-
}) | ({
|
|
5560
|
-
__TYPE__: "DocumentLink";
|
|
5561
|
-
} & {
|
|
5562
|
-
id: string;
|
|
5563
|
-
}) | ({
|
|
5564
|
-
__TYPE__: "ExternalLink";
|
|
5565
|
-
} & {
|
|
5566
|
-
url: string;
|
|
5567
|
-
} & {
|
|
5568
|
-
kind?: "web";
|
|
5569
|
-
target?: string | null | undefined;
|
|
5570
|
-
preview?: {
|
|
5571
|
-
title?: string;
|
|
5572
|
-
} | null | undefined;
|
|
5573
|
-
});
|
|
5574
|
-
start: number;
|
|
5575
|
-
end: number;
|
|
5576
|
-
type: "hyperlink";
|
|
5577
|
-
} | {
|
|
5578
|
-
data: string;
|
|
5579
|
-
start: number;
|
|
5580
|
-
end: number;
|
|
5581
|
-
type: "label";
|
|
5582
|
-
} | {
|
|
5583
|
-
start: number;
|
|
5584
|
-
end: number;
|
|
5585
|
-
type: "strong" | "em" | "list-item";
|
|
5586
|
-
})[];
|
|
5687
|
+
version?: string | number | null;
|
|
5688
|
+
title?: string | null | undefined;
|
|
5689
|
+
author_name?: string | null | undefined;
|
|
5690
|
+
author_url?: string | null | undefined;
|
|
5691
|
+
provider_name?: string | null | undefined;
|
|
5692
|
+
provider_url?: string | null | undefined;
|
|
5693
|
+
cache_age?: string | number | null;
|
|
5694
|
+
thumbnail_url?: string | null | undefined;
|
|
5695
|
+
thumbnail_width?: number | null | undefined;
|
|
5696
|
+
thumbnail_height?: number | null | undefined;
|
|
5697
|
+
html?: string | null | undefined;
|
|
5698
|
+
} & {
|
|
5699
|
+
__TYPE__: "EmbedContent";
|
|
5700
|
+
all: unknown;
|
|
5587
5701
|
};
|
|
5588
5702
|
} & {
|
|
5589
|
-
label?: string;
|
|
5590
|
-
direction?: string;
|
|
5591
|
-
})
|
|
5592
|
-
};
|
|
5593
|
-
} | {
|
|
5594
|
-
type: "tableCell";
|
|
5595
|
-
content: {
|
|
5596
|
-
__TYPE__: "StructuredTextContent";
|
|
5597
|
-
value: ({
|
|
5703
|
+
label?: string | null | undefined;
|
|
5704
|
+
direction?: string | null | undefined;
|
|
5705
|
+
}) | ({
|
|
5598
5706
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5599
5707
|
content: {
|
|
5600
5708
|
text: string;
|
|
@@ -5654,9 +5762,9 @@ export declare const DocumentLegacy: {
|
|
|
5654
5762
|
} & {
|
|
5655
5763
|
label?: string;
|
|
5656
5764
|
direction?: string;
|
|
5657
|
-
})[];
|
|
5765
|
+
}))[];
|
|
5658
5766
|
};
|
|
5659
|
-
}
|
|
5767
|
+
}[];
|
|
5660
5768
|
}[];
|
|
5661
5769
|
} | {
|
|
5662
5770
|
__TYPE__: "CompositeSliceContent";
|
|
@@ -6086,77 +6194,101 @@ export declare const DocumentLegacy: {
|
|
|
6086
6194
|
__TYPE__: "TableContent";
|
|
6087
6195
|
content: {
|
|
6088
6196
|
type: "tableRow";
|
|
6089
|
-
content:
|
|
6090
|
-
type: "tableHeader";
|
|
6197
|
+
content: {
|
|
6198
|
+
type: "tableHeader" | "tableCell";
|
|
6091
6199
|
content: {
|
|
6092
6200
|
__TYPE__: "StructuredTextContent";
|
|
6093
|
-
value: ({
|
|
6094
|
-
type: "image"
|
|
6095
|
-
|
|
6096
|
-
|
|
6201
|
+
value: (({
|
|
6202
|
+
type: "image";
|
|
6203
|
+
data: {
|
|
6204
|
+
origin: {
|
|
6205
|
+
id: string;
|
|
6206
|
+
url: string;
|
|
6207
|
+
width: number;
|
|
6208
|
+
height: number;
|
|
6209
|
+
};
|
|
6210
|
+
width: number;
|
|
6211
|
+
height: number;
|
|
6212
|
+
edit: {
|
|
6213
|
+
zoom: number;
|
|
6214
|
+
crop: {
|
|
6215
|
+
x: number;
|
|
6216
|
+
y: number;
|
|
6217
|
+
};
|
|
6218
|
+
background: string;
|
|
6219
|
+
};
|
|
6097
6220
|
} & {
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6127
|
-
|
|
6128
|
-
|
|
6129
|
-
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
} |
|
|
6140
|
-
data: string;
|
|
6141
|
-
start: number;
|
|
6142
|
-
end: number;
|
|
6143
|
-
type: "label";
|
|
6144
|
-
} | {
|
|
6145
|
-
start: number;
|
|
6146
|
-
end: number;
|
|
6147
|
-
type: "strong" | "em" | "list-item";
|
|
6148
|
-
})[];
|
|
6221
|
+
url?: string;
|
|
6222
|
+
credits?: string | null;
|
|
6223
|
+
alt?: string | null;
|
|
6224
|
+
provider?: string | null | undefined;
|
|
6225
|
+
} & {
|
|
6226
|
+
linkTo?: ({
|
|
6227
|
+
__TYPE__: "ImageLink";
|
|
6228
|
+
} & {
|
|
6229
|
+
kind: "image";
|
|
6230
|
+
id: string;
|
|
6231
|
+
url: string;
|
|
6232
|
+
height: string;
|
|
6233
|
+
width: string;
|
|
6234
|
+
size: string;
|
|
6235
|
+
name: string;
|
|
6236
|
+
} & {
|
|
6237
|
+
date?: string | null | undefined;
|
|
6238
|
+
}) | ({
|
|
6239
|
+
__TYPE__: "FileLink";
|
|
6240
|
+
} & {
|
|
6241
|
+
kind: "file";
|
|
6242
|
+
id: string;
|
|
6243
|
+
url: string;
|
|
6244
|
+
name: string;
|
|
6245
|
+
size: string;
|
|
6246
|
+
} & {
|
|
6247
|
+
date?: string | null | undefined;
|
|
6248
|
+
}) | ({
|
|
6249
|
+
__TYPE__: "DocumentLink";
|
|
6250
|
+
} & {
|
|
6251
|
+
id: string;
|
|
6252
|
+
}) | ({
|
|
6253
|
+
__TYPE__: "ExternalLink";
|
|
6254
|
+
} & {
|
|
6255
|
+
url: string;
|
|
6256
|
+
} & {
|
|
6257
|
+
kind?: "web";
|
|
6258
|
+
target?: string | null | undefined;
|
|
6259
|
+
preview?: {
|
|
6260
|
+
title?: string;
|
|
6261
|
+
} | null | undefined;
|
|
6262
|
+
}) | null | undefined;
|
|
6149
6263
|
};
|
|
6150
6264
|
} & {
|
|
6151
|
-
label?: string;
|
|
6152
|
-
direction?: string;
|
|
6153
|
-
})
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
|
|
6265
|
+
label?: string | null | undefined;
|
|
6266
|
+
direction?: string | null | undefined;
|
|
6267
|
+
}) | ({
|
|
6268
|
+
type: "embed";
|
|
6269
|
+
data: {
|
|
6270
|
+
embed_url: string;
|
|
6271
|
+
type: string;
|
|
6272
|
+
} & {
|
|
6273
|
+
version?: string | number | null;
|
|
6274
|
+
title?: string | null | undefined;
|
|
6275
|
+
author_name?: string | null | undefined;
|
|
6276
|
+
author_url?: string | null | undefined;
|
|
6277
|
+
provider_name?: string | null | undefined;
|
|
6278
|
+
provider_url?: string | null | undefined;
|
|
6279
|
+
cache_age?: string | number | null;
|
|
6280
|
+
thumbnail_url?: string | null | undefined;
|
|
6281
|
+
thumbnail_width?: number | null | undefined;
|
|
6282
|
+
thumbnail_height?: number | null | undefined;
|
|
6283
|
+
html?: string | null | undefined;
|
|
6284
|
+
} & {
|
|
6285
|
+
__TYPE__: "EmbedContent";
|
|
6286
|
+
all: unknown;
|
|
6287
|
+
};
|
|
6288
|
+
} & {
|
|
6289
|
+
label?: string | null | undefined;
|
|
6290
|
+
direction?: string | null | undefined;
|
|
6291
|
+
}) | ({
|
|
6160
6292
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
6161
6293
|
content: {
|
|
6162
6294
|
text: string;
|
|
@@ -6216,9 +6348,9 @@ export declare const DocumentLegacy: {
|
|
|
6216
6348
|
} & {
|
|
6217
6349
|
label?: string;
|
|
6218
6350
|
direction?: string;
|
|
6219
|
-
})[];
|
|
6351
|
+
}))[];
|
|
6220
6352
|
};
|
|
6221
|
-
}
|
|
6353
|
+
}[];
|
|
6222
6354
|
}[];
|
|
6223
6355
|
};
|
|
6224
6356
|
};
|
|
@@ -6647,79 +6779,103 @@ export declare const DocumentLegacy: {
|
|
|
6647
6779
|
__TYPE__: "SeparatorContent";
|
|
6648
6780
|
} | {
|
|
6649
6781
|
__TYPE__: "TableContent";
|
|
6650
|
-
content: {
|
|
6651
|
-
type: "tableRow";
|
|
6652
|
-
content:
|
|
6653
|
-
type: "tableHeader";
|
|
6654
|
-
content: {
|
|
6655
|
-
__TYPE__: "StructuredTextContent";
|
|
6656
|
-
value: ({
|
|
6657
|
-
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
6658
|
-
content: {
|
|
6659
|
-
text: string;
|
|
6660
|
-
} & {
|
|
6661
|
-
spans?: ({
|
|
6662
|
-
data: ({
|
|
6663
|
-
__TYPE__: "ImageLink";
|
|
6664
|
-
} & {
|
|
6665
|
-
kind: "image";
|
|
6666
|
-
id: string;
|
|
6667
|
-
url: string;
|
|
6668
|
-
height: string;
|
|
6669
|
-
width: string;
|
|
6670
|
-
size: string;
|
|
6671
|
-
name: string;
|
|
6672
|
-
} & {
|
|
6673
|
-
date?: string | null | undefined;
|
|
6674
|
-
}) | ({
|
|
6675
|
-
__TYPE__: "FileLink";
|
|
6676
|
-
} & {
|
|
6677
|
-
kind: "file";
|
|
6678
|
-
id: string;
|
|
6679
|
-
url: string;
|
|
6680
|
-
name: string;
|
|
6681
|
-
size: string;
|
|
6682
|
-
} & {
|
|
6683
|
-
date?: string | null | undefined;
|
|
6684
|
-
}) | ({
|
|
6685
|
-
__TYPE__: "DocumentLink";
|
|
6686
|
-
} & {
|
|
6687
|
-
id: string;
|
|
6688
|
-
}) | ({
|
|
6689
|
-
__TYPE__: "ExternalLink";
|
|
6690
|
-
} & {
|
|
6691
|
-
url: string;
|
|
6692
|
-
} & {
|
|
6693
|
-
kind?: "web";
|
|
6694
|
-
target?: string | null | undefined;
|
|
6695
|
-
preview?: {
|
|
6696
|
-
title?: string;
|
|
6697
|
-
} | null | undefined;
|
|
6698
|
-
});
|
|
6699
|
-
start: number;
|
|
6700
|
-
end: number;
|
|
6701
|
-
type: "hyperlink";
|
|
6702
|
-
} | {
|
|
6703
|
-
data: string;
|
|
6704
|
-
start: number;
|
|
6705
|
-
end: number;
|
|
6706
|
-
type: "label";
|
|
6707
|
-
} | {
|
|
6708
|
-
start: number;
|
|
6709
|
-
end: number;
|
|
6710
|
-
type: "strong" | "em" | "list-item";
|
|
6711
|
-
})[];
|
|
6712
|
-
};
|
|
6713
|
-
} & {
|
|
6714
|
-
label?: string;
|
|
6715
|
-
direction?: string;
|
|
6716
|
-
})[];
|
|
6717
|
-
};
|
|
6718
|
-
} | {
|
|
6719
|
-
type: "tableCell";
|
|
6782
|
+
content: {
|
|
6783
|
+
type: "tableRow";
|
|
6784
|
+
content: {
|
|
6785
|
+
type: "tableHeader" | "tableCell";
|
|
6720
6786
|
content: {
|
|
6721
6787
|
__TYPE__: "StructuredTextContent";
|
|
6722
|
-
value: ({
|
|
6788
|
+
value: (({
|
|
6789
|
+
type: "image";
|
|
6790
|
+
data: {
|
|
6791
|
+
origin: {
|
|
6792
|
+
id: string;
|
|
6793
|
+
url: string;
|
|
6794
|
+
width: number;
|
|
6795
|
+
height: number;
|
|
6796
|
+
};
|
|
6797
|
+
width: number;
|
|
6798
|
+
height: number;
|
|
6799
|
+
edit: {
|
|
6800
|
+
zoom: number;
|
|
6801
|
+
crop: {
|
|
6802
|
+
x: number;
|
|
6803
|
+
y: number;
|
|
6804
|
+
};
|
|
6805
|
+
background: string;
|
|
6806
|
+
};
|
|
6807
|
+
} & {
|
|
6808
|
+
url?: string;
|
|
6809
|
+
credits?: string | null;
|
|
6810
|
+
alt?: string | null;
|
|
6811
|
+
provider?: string | null | undefined;
|
|
6812
|
+
} & {
|
|
6813
|
+
linkTo?: ({
|
|
6814
|
+
__TYPE__: "ImageLink";
|
|
6815
|
+
} & {
|
|
6816
|
+
kind: "image";
|
|
6817
|
+
id: string;
|
|
6818
|
+
url: string;
|
|
6819
|
+
height: string;
|
|
6820
|
+
width: string;
|
|
6821
|
+
size: string;
|
|
6822
|
+
name: string;
|
|
6823
|
+
} & {
|
|
6824
|
+
date?: string | null | undefined;
|
|
6825
|
+
}) | ({
|
|
6826
|
+
__TYPE__: "FileLink";
|
|
6827
|
+
} & {
|
|
6828
|
+
kind: "file";
|
|
6829
|
+
id: string;
|
|
6830
|
+
url: string;
|
|
6831
|
+
name: string;
|
|
6832
|
+
size: string;
|
|
6833
|
+
} & {
|
|
6834
|
+
date?: string | null | undefined;
|
|
6835
|
+
}) | ({
|
|
6836
|
+
__TYPE__: "DocumentLink";
|
|
6837
|
+
} & {
|
|
6838
|
+
id: string;
|
|
6839
|
+
}) | ({
|
|
6840
|
+
__TYPE__: "ExternalLink";
|
|
6841
|
+
} & {
|
|
6842
|
+
url: string;
|
|
6843
|
+
} & {
|
|
6844
|
+
kind?: "web";
|
|
6845
|
+
target?: string | null | undefined;
|
|
6846
|
+
preview?: {
|
|
6847
|
+
title?: string;
|
|
6848
|
+
} | null | undefined;
|
|
6849
|
+
}) | null | undefined;
|
|
6850
|
+
};
|
|
6851
|
+
} & {
|
|
6852
|
+
label?: string | null | undefined;
|
|
6853
|
+
direction?: string | null | undefined;
|
|
6854
|
+
}) | ({
|
|
6855
|
+
type: "embed";
|
|
6856
|
+
data: {
|
|
6857
|
+
embed_url: string;
|
|
6858
|
+
type: string;
|
|
6859
|
+
} & {
|
|
6860
|
+
version?: string | number | null;
|
|
6861
|
+
title?: string | null | undefined;
|
|
6862
|
+
author_name?: string | null | undefined;
|
|
6863
|
+
author_url?: string | null | undefined;
|
|
6864
|
+
provider_name?: string | null | undefined;
|
|
6865
|
+
provider_url?: string | null | undefined;
|
|
6866
|
+
cache_age?: string | number | null;
|
|
6867
|
+
thumbnail_url?: string | null | undefined;
|
|
6868
|
+
thumbnail_width?: number | null | undefined;
|
|
6869
|
+
thumbnail_height?: number | null | undefined;
|
|
6870
|
+
html?: string | null | undefined;
|
|
6871
|
+
} & {
|
|
6872
|
+
__TYPE__: "EmbedContent";
|
|
6873
|
+
all: unknown;
|
|
6874
|
+
};
|
|
6875
|
+
} & {
|
|
6876
|
+
label?: string | null | undefined;
|
|
6877
|
+
direction?: string | null | undefined;
|
|
6878
|
+
}) | ({
|
|
6723
6879
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
6724
6880
|
content: {
|
|
6725
6881
|
text: string;
|
|
@@ -6779,9 +6935,9 @@ export declare const DocumentLegacy: {
|
|
|
6779
6935
|
} & {
|
|
6780
6936
|
label?: string;
|
|
6781
6937
|
direction?: string;
|
|
6782
|
-
})[];
|
|
6938
|
+
}))[];
|
|
6783
6939
|
};
|
|
6784
|
-
}
|
|
6940
|
+
}[];
|
|
6785
6941
|
}[];
|
|
6786
6942
|
}][];
|
|
6787
6943
|
}[];
|
|
@@ -7214,77 +7370,101 @@ export declare const DocumentLegacy: {
|
|
|
7214
7370
|
__TYPE__: "TableContent";
|
|
7215
7371
|
content: {
|
|
7216
7372
|
type: "tableRow";
|
|
7217
|
-
content:
|
|
7218
|
-
type: "tableHeader";
|
|
7373
|
+
content: {
|
|
7374
|
+
type: "tableHeader" | "tableCell";
|
|
7219
7375
|
content: {
|
|
7220
7376
|
__TYPE__: "StructuredTextContent";
|
|
7221
|
-
value: ({
|
|
7222
|
-
type: "image"
|
|
7223
|
-
|
|
7224
|
-
|
|
7377
|
+
value: (({
|
|
7378
|
+
type: "image";
|
|
7379
|
+
data: {
|
|
7380
|
+
origin: {
|
|
7381
|
+
id: string;
|
|
7382
|
+
url: string;
|
|
7383
|
+
width: number;
|
|
7384
|
+
height: number;
|
|
7385
|
+
};
|
|
7386
|
+
width: number;
|
|
7387
|
+
height: number;
|
|
7388
|
+
edit: {
|
|
7389
|
+
zoom: number;
|
|
7390
|
+
crop: {
|
|
7391
|
+
x: number;
|
|
7392
|
+
y: number;
|
|
7393
|
+
};
|
|
7394
|
+
background: string;
|
|
7395
|
+
};
|
|
7225
7396
|
} & {
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
} |
|
|
7268
|
-
data: string;
|
|
7269
|
-
start: number;
|
|
7270
|
-
end: number;
|
|
7271
|
-
type: "label";
|
|
7272
|
-
} | {
|
|
7273
|
-
start: number;
|
|
7274
|
-
end: number;
|
|
7275
|
-
type: "strong" | "em" | "list-item";
|
|
7276
|
-
})[];
|
|
7397
|
+
url?: string;
|
|
7398
|
+
credits?: string | null;
|
|
7399
|
+
alt?: string | null;
|
|
7400
|
+
provider?: string | null | undefined;
|
|
7401
|
+
} & {
|
|
7402
|
+
linkTo?: ({
|
|
7403
|
+
__TYPE__: "ImageLink";
|
|
7404
|
+
} & {
|
|
7405
|
+
kind: "image";
|
|
7406
|
+
id: string;
|
|
7407
|
+
url: string;
|
|
7408
|
+
height: string;
|
|
7409
|
+
width: string;
|
|
7410
|
+
size: string;
|
|
7411
|
+
name: string;
|
|
7412
|
+
} & {
|
|
7413
|
+
date?: string | null | undefined;
|
|
7414
|
+
}) | ({
|
|
7415
|
+
__TYPE__: "FileLink";
|
|
7416
|
+
} & {
|
|
7417
|
+
kind: "file";
|
|
7418
|
+
id: string;
|
|
7419
|
+
url: string;
|
|
7420
|
+
name: string;
|
|
7421
|
+
size: string;
|
|
7422
|
+
} & {
|
|
7423
|
+
date?: string | null | undefined;
|
|
7424
|
+
}) | ({
|
|
7425
|
+
__TYPE__: "DocumentLink";
|
|
7426
|
+
} & {
|
|
7427
|
+
id: string;
|
|
7428
|
+
}) | ({
|
|
7429
|
+
__TYPE__: "ExternalLink";
|
|
7430
|
+
} & {
|
|
7431
|
+
url: string;
|
|
7432
|
+
} & {
|
|
7433
|
+
kind?: "web";
|
|
7434
|
+
target?: string | null | undefined;
|
|
7435
|
+
preview?: {
|
|
7436
|
+
title?: string;
|
|
7437
|
+
} | null | undefined;
|
|
7438
|
+
}) | null | undefined;
|
|
7277
7439
|
};
|
|
7278
7440
|
} & {
|
|
7279
|
-
label?: string;
|
|
7280
|
-
direction?: string;
|
|
7281
|
-
})
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7441
|
+
label?: string | null | undefined;
|
|
7442
|
+
direction?: string | null | undefined;
|
|
7443
|
+
}) | ({
|
|
7444
|
+
type: "embed";
|
|
7445
|
+
data: {
|
|
7446
|
+
embed_url: string;
|
|
7447
|
+
type: string;
|
|
7448
|
+
} & {
|
|
7449
|
+
version?: string | number | null;
|
|
7450
|
+
title?: string | null | undefined;
|
|
7451
|
+
author_name?: string | null | undefined;
|
|
7452
|
+
author_url?: string | null | undefined;
|
|
7453
|
+
provider_name?: string | null | undefined;
|
|
7454
|
+
provider_url?: string | null | undefined;
|
|
7455
|
+
cache_age?: string | number | null;
|
|
7456
|
+
thumbnail_url?: string | null | undefined;
|
|
7457
|
+
thumbnail_width?: number | null | undefined;
|
|
7458
|
+
thumbnail_height?: number | null | undefined;
|
|
7459
|
+
html?: string | null | undefined;
|
|
7460
|
+
} & {
|
|
7461
|
+
__TYPE__: "EmbedContent";
|
|
7462
|
+
all: unknown;
|
|
7463
|
+
};
|
|
7464
|
+
} & {
|
|
7465
|
+
label?: string | null | undefined;
|
|
7466
|
+
direction?: string | null | undefined;
|
|
7467
|
+
}) | ({
|
|
7288
7468
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
7289
7469
|
content: {
|
|
7290
7470
|
text: string;
|
|
@@ -7344,9 +7524,9 @@ export declare const DocumentLegacy: {
|
|
|
7344
7524
|
} & {
|
|
7345
7525
|
label?: string;
|
|
7346
7526
|
direction?: string;
|
|
7347
|
-
})[];
|
|
7527
|
+
}))[];
|
|
7348
7528
|
};
|
|
7349
|
-
}
|
|
7529
|
+
}[];
|
|
7350
7530
|
}[];
|
|
7351
7531
|
};
|
|
7352
7532
|
};
|
|
@@ -7777,77 +7957,101 @@ export declare const DocumentLegacy: {
|
|
|
7777
7957
|
__TYPE__: "TableContent";
|
|
7778
7958
|
content: {
|
|
7779
7959
|
type: "tableRow";
|
|
7780
|
-
content:
|
|
7781
|
-
type: "tableHeader";
|
|
7960
|
+
content: {
|
|
7961
|
+
type: "tableHeader" | "tableCell";
|
|
7782
7962
|
content: {
|
|
7783
7963
|
__TYPE__: "StructuredTextContent";
|
|
7784
|
-
value: ({
|
|
7785
|
-
type: "image"
|
|
7786
|
-
|
|
7787
|
-
|
|
7964
|
+
value: (({
|
|
7965
|
+
type: "image";
|
|
7966
|
+
data: {
|
|
7967
|
+
origin: {
|
|
7968
|
+
id: string;
|
|
7969
|
+
url: string;
|
|
7970
|
+
width: number;
|
|
7971
|
+
height: number;
|
|
7972
|
+
};
|
|
7973
|
+
width: number;
|
|
7974
|
+
height: number;
|
|
7975
|
+
edit: {
|
|
7976
|
+
zoom: number;
|
|
7977
|
+
crop: {
|
|
7978
|
+
x: number;
|
|
7979
|
+
y: number;
|
|
7980
|
+
};
|
|
7981
|
+
background: string;
|
|
7982
|
+
};
|
|
7788
7983
|
} & {
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
} |
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7984
|
+
url?: string;
|
|
7985
|
+
credits?: string | null;
|
|
7986
|
+
alt?: string | null;
|
|
7987
|
+
provider?: string | null | undefined;
|
|
7988
|
+
} & {
|
|
7989
|
+
linkTo?: ({
|
|
7990
|
+
__TYPE__: "ImageLink";
|
|
7991
|
+
} & {
|
|
7992
|
+
kind: "image";
|
|
7993
|
+
id: string;
|
|
7994
|
+
url: string;
|
|
7995
|
+
height: string;
|
|
7996
|
+
width: string;
|
|
7997
|
+
size: string;
|
|
7998
|
+
name: string;
|
|
7999
|
+
} & {
|
|
8000
|
+
date?: string | null | undefined;
|
|
8001
|
+
}) | ({
|
|
8002
|
+
__TYPE__: "FileLink";
|
|
8003
|
+
} & {
|
|
8004
|
+
kind: "file";
|
|
8005
|
+
id: string;
|
|
8006
|
+
url: string;
|
|
8007
|
+
name: string;
|
|
8008
|
+
size: string;
|
|
8009
|
+
} & {
|
|
8010
|
+
date?: string | null | undefined;
|
|
8011
|
+
}) | ({
|
|
8012
|
+
__TYPE__: "DocumentLink";
|
|
8013
|
+
} & {
|
|
8014
|
+
id: string;
|
|
8015
|
+
}) | ({
|
|
8016
|
+
__TYPE__: "ExternalLink";
|
|
8017
|
+
} & {
|
|
8018
|
+
url: string;
|
|
8019
|
+
} & {
|
|
8020
|
+
kind?: "web";
|
|
8021
|
+
target?: string | null | undefined;
|
|
8022
|
+
preview?: {
|
|
8023
|
+
title?: string;
|
|
8024
|
+
} | null | undefined;
|
|
8025
|
+
}) | null | undefined;
|
|
8026
|
+
};
|
|
8027
|
+
} & {
|
|
8028
|
+
label?: string | null | undefined;
|
|
8029
|
+
direction?: string | null | undefined;
|
|
8030
|
+
}) | ({
|
|
8031
|
+
type: "embed";
|
|
8032
|
+
data: {
|
|
8033
|
+
embed_url: string;
|
|
8034
|
+
type: string;
|
|
8035
|
+
} & {
|
|
8036
|
+
version?: string | number | null;
|
|
8037
|
+
title?: string | null | undefined;
|
|
8038
|
+
author_name?: string | null | undefined;
|
|
8039
|
+
author_url?: string | null | undefined;
|
|
8040
|
+
provider_name?: string | null | undefined;
|
|
8041
|
+
provider_url?: string | null | undefined;
|
|
8042
|
+
cache_age?: string | number | null;
|
|
8043
|
+
thumbnail_url?: string | null | undefined;
|
|
8044
|
+
thumbnail_width?: number | null | undefined;
|
|
8045
|
+
thumbnail_height?: number | null | undefined;
|
|
8046
|
+
html?: string | null | undefined;
|
|
8047
|
+
} & {
|
|
8048
|
+
__TYPE__: "EmbedContent";
|
|
8049
|
+
all: unknown;
|
|
7840
8050
|
};
|
|
7841
8051
|
} & {
|
|
7842
|
-
label?: string;
|
|
7843
|
-
direction?: string;
|
|
7844
|
-
})
|
|
7845
|
-
};
|
|
7846
|
-
} | {
|
|
7847
|
-
type: "tableCell";
|
|
7848
|
-
content: {
|
|
7849
|
-
__TYPE__: "StructuredTextContent";
|
|
7850
|
-
value: ({
|
|
8052
|
+
label?: string | null | undefined;
|
|
8053
|
+
direction?: string | null | undefined;
|
|
8054
|
+
}) | ({
|
|
7851
8055
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
7852
8056
|
content: {
|
|
7853
8057
|
text: string;
|
|
@@ -7907,9 +8111,9 @@ export declare const DocumentLegacy: {
|
|
|
7907
8111
|
} & {
|
|
7908
8112
|
label?: string;
|
|
7909
8113
|
direction?: string;
|
|
7910
|
-
})[];
|
|
8114
|
+
}))[];
|
|
7911
8115
|
};
|
|
7912
|
-
}
|
|
8116
|
+
}[];
|
|
7913
8117
|
}[];
|
|
7914
8118
|
}][];
|
|
7915
8119
|
}[];
|
|
@@ -8376,77 +8580,101 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
8376
8580
|
__TYPE__: "TableContent";
|
|
8377
8581
|
content: {
|
|
8378
8582
|
type: "tableRow";
|
|
8379
|
-
content:
|
|
8380
|
-
type: "tableHeader";
|
|
8583
|
+
content: {
|
|
8584
|
+
type: "tableHeader" | "tableCell";
|
|
8381
8585
|
content: {
|
|
8382
8586
|
__TYPE__: "StructuredTextContent";
|
|
8383
|
-
value: ({
|
|
8384
|
-
type: "image"
|
|
8385
|
-
|
|
8386
|
-
|
|
8587
|
+
value: (({
|
|
8588
|
+
type: "image";
|
|
8589
|
+
data: {
|
|
8590
|
+
origin: {
|
|
8591
|
+
id: string;
|
|
8592
|
+
url: string;
|
|
8593
|
+
width: number;
|
|
8594
|
+
height: number;
|
|
8595
|
+
};
|
|
8596
|
+
width: number;
|
|
8597
|
+
height: number;
|
|
8598
|
+
edit: {
|
|
8599
|
+
zoom: number;
|
|
8600
|
+
crop: {
|
|
8601
|
+
x: number;
|
|
8602
|
+
y: number;
|
|
8603
|
+
};
|
|
8604
|
+
background: string;
|
|
8605
|
+
};
|
|
8387
8606
|
} & {
|
|
8388
|
-
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
|
|
8396
|
-
|
|
8397
|
-
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
|
|
8404
|
-
|
|
8405
|
-
|
|
8406
|
-
|
|
8407
|
-
|
|
8408
|
-
|
|
8409
|
-
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
} |
|
|
8430
|
-
data: string;
|
|
8431
|
-
start: number;
|
|
8432
|
-
end: number;
|
|
8433
|
-
type: "label";
|
|
8434
|
-
} | {
|
|
8435
|
-
start: number;
|
|
8436
|
-
end: number;
|
|
8437
|
-
type: "strong" | "em" | "list-item";
|
|
8438
|
-
})[];
|
|
8607
|
+
url?: string;
|
|
8608
|
+
credits?: string | null;
|
|
8609
|
+
alt?: string | null;
|
|
8610
|
+
provider?: string | null | undefined;
|
|
8611
|
+
} & {
|
|
8612
|
+
linkTo?: ({
|
|
8613
|
+
__TYPE__: "ImageLink";
|
|
8614
|
+
} & {
|
|
8615
|
+
kind: "image";
|
|
8616
|
+
id: string;
|
|
8617
|
+
url: string;
|
|
8618
|
+
height: string;
|
|
8619
|
+
width: string;
|
|
8620
|
+
size: string;
|
|
8621
|
+
name: string;
|
|
8622
|
+
} & {
|
|
8623
|
+
date?: string | null | undefined;
|
|
8624
|
+
}) | ({
|
|
8625
|
+
__TYPE__: "FileLink";
|
|
8626
|
+
} & {
|
|
8627
|
+
kind: "file";
|
|
8628
|
+
id: string;
|
|
8629
|
+
url: string;
|
|
8630
|
+
name: string;
|
|
8631
|
+
size: string;
|
|
8632
|
+
} & {
|
|
8633
|
+
date?: string | null | undefined;
|
|
8634
|
+
}) | ({
|
|
8635
|
+
__TYPE__: "DocumentLink";
|
|
8636
|
+
} & {
|
|
8637
|
+
id: string;
|
|
8638
|
+
}) | ({
|
|
8639
|
+
__TYPE__: "ExternalLink";
|
|
8640
|
+
} & {
|
|
8641
|
+
url: string;
|
|
8642
|
+
} & {
|
|
8643
|
+
kind?: "web";
|
|
8644
|
+
target?: string | null | undefined;
|
|
8645
|
+
preview?: {
|
|
8646
|
+
title?: string;
|
|
8647
|
+
} | null | undefined;
|
|
8648
|
+
}) | null | undefined;
|
|
8439
8649
|
};
|
|
8440
8650
|
} & {
|
|
8441
|
-
label?: string;
|
|
8442
|
-
direction?: string;
|
|
8443
|
-
})
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
|
|
8448
|
-
|
|
8449
|
-
|
|
8651
|
+
label?: string | null | undefined;
|
|
8652
|
+
direction?: string | null | undefined;
|
|
8653
|
+
}) | ({
|
|
8654
|
+
type: "embed";
|
|
8655
|
+
data: {
|
|
8656
|
+
embed_url: string;
|
|
8657
|
+
type: string;
|
|
8658
|
+
} & {
|
|
8659
|
+
version?: string | number | null;
|
|
8660
|
+
title?: string | null | undefined;
|
|
8661
|
+
author_name?: string | null | undefined;
|
|
8662
|
+
author_url?: string | null | undefined;
|
|
8663
|
+
provider_name?: string | null | undefined;
|
|
8664
|
+
provider_url?: string | null | undefined;
|
|
8665
|
+
cache_age?: string | number | null;
|
|
8666
|
+
thumbnail_url?: string | null | undefined;
|
|
8667
|
+
thumbnail_width?: number | null | undefined;
|
|
8668
|
+
thumbnail_height?: number | null | undefined;
|
|
8669
|
+
html?: string | null | undefined;
|
|
8670
|
+
} & {
|
|
8671
|
+
__TYPE__: "EmbedContent";
|
|
8672
|
+
all: unknown;
|
|
8673
|
+
};
|
|
8674
|
+
} & {
|
|
8675
|
+
label?: string | null | undefined;
|
|
8676
|
+
direction?: string | null | undefined;
|
|
8677
|
+
}) | ({
|
|
8450
8678
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
8451
8679
|
content: {
|
|
8452
8680
|
text: string;
|
|
@@ -8506,9 +8734,9 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
8506
8734
|
} & {
|
|
8507
8735
|
label?: string;
|
|
8508
8736
|
direction?: string;
|
|
8509
|
-
})[];
|
|
8737
|
+
}))[];
|
|
8510
8738
|
};
|
|
8511
|
-
}
|
|
8739
|
+
}[];
|
|
8512
8740
|
}[];
|
|
8513
8741
|
} | {
|
|
8514
8742
|
__TYPE__: "UIDContent";
|
|
@@ -8944,77 +9172,101 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
8944
9172
|
__TYPE__: "TableContent";
|
|
8945
9173
|
content: {
|
|
8946
9174
|
type: "tableRow";
|
|
8947
|
-
content:
|
|
8948
|
-
type: "tableHeader";
|
|
9175
|
+
content: {
|
|
9176
|
+
type: "tableHeader" | "tableCell";
|
|
8949
9177
|
content: {
|
|
8950
9178
|
__TYPE__: "StructuredTextContent";
|
|
8951
|
-
value: ({
|
|
8952
|
-
type: "image"
|
|
8953
|
-
|
|
8954
|
-
|
|
9179
|
+
value: (({
|
|
9180
|
+
type: "image";
|
|
9181
|
+
data: {
|
|
9182
|
+
origin: {
|
|
9183
|
+
id: string;
|
|
9184
|
+
url: string;
|
|
9185
|
+
width: number;
|
|
9186
|
+
height: number;
|
|
9187
|
+
};
|
|
9188
|
+
width: number;
|
|
9189
|
+
height: number;
|
|
9190
|
+
edit: {
|
|
9191
|
+
zoom: number;
|
|
9192
|
+
crop: {
|
|
9193
|
+
x: number;
|
|
9194
|
+
y: number;
|
|
9195
|
+
};
|
|
9196
|
+
background: string;
|
|
9197
|
+
};
|
|
9198
|
+
} & {
|
|
9199
|
+
url?: string;
|
|
9200
|
+
credits?: string | null;
|
|
9201
|
+
alt?: string | null;
|
|
9202
|
+
provider?: string | null | undefined;
|
|
9203
|
+
} & {
|
|
9204
|
+
linkTo?: ({
|
|
9205
|
+
__TYPE__: "ImageLink";
|
|
9206
|
+
} & {
|
|
9207
|
+
kind: "image";
|
|
9208
|
+
id: string;
|
|
9209
|
+
url: string;
|
|
9210
|
+
height: string;
|
|
9211
|
+
width: string;
|
|
9212
|
+
size: string;
|
|
9213
|
+
name: string;
|
|
9214
|
+
} & {
|
|
9215
|
+
date?: string | null | undefined;
|
|
9216
|
+
}) | ({
|
|
9217
|
+
__TYPE__: "FileLink";
|
|
9218
|
+
} & {
|
|
9219
|
+
kind: "file";
|
|
9220
|
+
id: string;
|
|
9221
|
+
url: string;
|
|
9222
|
+
name: string;
|
|
9223
|
+
size: string;
|
|
9224
|
+
} & {
|
|
9225
|
+
date?: string | null | undefined;
|
|
9226
|
+
}) | ({
|
|
9227
|
+
__TYPE__: "DocumentLink";
|
|
9228
|
+
} & {
|
|
9229
|
+
id: string;
|
|
9230
|
+
}) | ({
|
|
9231
|
+
__TYPE__: "ExternalLink";
|
|
9232
|
+
} & {
|
|
9233
|
+
url: string;
|
|
9234
|
+
} & {
|
|
9235
|
+
kind?: "web";
|
|
9236
|
+
target?: string | null | undefined;
|
|
9237
|
+
preview?: {
|
|
9238
|
+
title?: string;
|
|
9239
|
+
} | null | undefined;
|
|
9240
|
+
}) | null | undefined;
|
|
9241
|
+
};
|
|
9242
|
+
} & {
|
|
9243
|
+
label?: string | null | undefined;
|
|
9244
|
+
direction?: string | null | undefined;
|
|
9245
|
+
}) | ({
|
|
9246
|
+
type: "embed";
|
|
9247
|
+
data: {
|
|
9248
|
+
embed_url: string;
|
|
9249
|
+
type: string;
|
|
9250
|
+
} & {
|
|
9251
|
+
version?: string | number | null;
|
|
9252
|
+
title?: string | null | undefined;
|
|
9253
|
+
author_name?: string | null | undefined;
|
|
9254
|
+
author_url?: string | null | undefined;
|
|
9255
|
+
provider_name?: string | null | undefined;
|
|
9256
|
+
provider_url?: string | null | undefined;
|
|
9257
|
+
cache_age?: string | number | null;
|
|
9258
|
+
thumbnail_url?: string | null | undefined;
|
|
9259
|
+
thumbnail_width?: number | null | undefined;
|
|
9260
|
+
thumbnail_height?: number | null | undefined;
|
|
9261
|
+
html?: string | null | undefined;
|
|
8955
9262
|
} & {
|
|
8956
|
-
|
|
8957
|
-
|
|
8958
|
-
__TYPE__: "ImageLink";
|
|
8959
|
-
} & {
|
|
8960
|
-
kind: "image";
|
|
8961
|
-
id: string;
|
|
8962
|
-
url: string;
|
|
8963
|
-
height: string;
|
|
8964
|
-
width: string;
|
|
8965
|
-
size: string;
|
|
8966
|
-
name: string;
|
|
8967
|
-
} & {
|
|
8968
|
-
date?: string | null | undefined;
|
|
8969
|
-
}) | ({
|
|
8970
|
-
__TYPE__: "FileLink";
|
|
8971
|
-
} & {
|
|
8972
|
-
kind: "file";
|
|
8973
|
-
id: string;
|
|
8974
|
-
url: string;
|
|
8975
|
-
name: string;
|
|
8976
|
-
size: string;
|
|
8977
|
-
} & {
|
|
8978
|
-
date?: string | null | undefined;
|
|
8979
|
-
}) | ({
|
|
8980
|
-
__TYPE__: "DocumentLink";
|
|
8981
|
-
} & {
|
|
8982
|
-
id: string;
|
|
8983
|
-
}) | ({
|
|
8984
|
-
__TYPE__: "ExternalLink";
|
|
8985
|
-
} & {
|
|
8986
|
-
url: string;
|
|
8987
|
-
} & {
|
|
8988
|
-
kind?: "web";
|
|
8989
|
-
target?: string | null | undefined;
|
|
8990
|
-
preview?: {
|
|
8991
|
-
title?: string;
|
|
8992
|
-
} | null | undefined;
|
|
8993
|
-
});
|
|
8994
|
-
start: number;
|
|
8995
|
-
end: number;
|
|
8996
|
-
type: "hyperlink";
|
|
8997
|
-
} | {
|
|
8998
|
-
data: string;
|
|
8999
|
-
start: number;
|
|
9000
|
-
end: number;
|
|
9001
|
-
type: "label";
|
|
9002
|
-
} | {
|
|
9003
|
-
start: number;
|
|
9004
|
-
end: number;
|
|
9005
|
-
type: "strong" | "em" | "list-item";
|
|
9006
|
-
})[];
|
|
9263
|
+
__TYPE__: "EmbedContent";
|
|
9264
|
+
all: unknown;
|
|
9007
9265
|
};
|
|
9008
9266
|
} & {
|
|
9009
|
-
label?: string;
|
|
9010
|
-
direction?: string;
|
|
9011
|
-
})
|
|
9012
|
-
};
|
|
9013
|
-
} | {
|
|
9014
|
-
type: "tableCell";
|
|
9015
|
-
content: {
|
|
9016
|
-
__TYPE__: "StructuredTextContent";
|
|
9017
|
-
value: ({
|
|
9267
|
+
label?: string | null | undefined;
|
|
9268
|
+
direction?: string | null | undefined;
|
|
9269
|
+
}) | ({
|
|
9018
9270
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
9019
9271
|
content: {
|
|
9020
9272
|
text: string;
|
|
@@ -9074,9 +9326,9 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
9074
9326
|
} & {
|
|
9075
9327
|
label?: string;
|
|
9076
9328
|
direction?: string;
|
|
9077
|
-
})[];
|
|
9329
|
+
}))[];
|
|
9078
9330
|
};
|
|
9079
|
-
}
|
|
9331
|
+
}[];
|
|
9080
9332
|
}[];
|
|
9081
9333
|
} | {
|
|
9082
9334
|
__TYPE__: "CompositeSliceContent";
|
|
@@ -9506,77 +9758,101 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
9506
9758
|
__TYPE__: "TableContent";
|
|
9507
9759
|
content: {
|
|
9508
9760
|
type: "tableRow";
|
|
9509
|
-
content:
|
|
9510
|
-
type: "tableHeader";
|
|
9761
|
+
content: {
|
|
9762
|
+
type: "tableHeader" | "tableCell";
|
|
9511
9763
|
content: {
|
|
9512
9764
|
__TYPE__: "StructuredTextContent";
|
|
9513
|
-
value: ({
|
|
9514
|
-
type: "image"
|
|
9515
|
-
|
|
9516
|
-
|
|
9765
|
+
value: (({
|
|
9766
|
+
type: "image";
|
|
9767
|
+
data: {
|
|
9768
|
+
origin: {
|
|
9769
|
+
id: string;
|
|
9770
|
+
url: string;
|
|
9771
|
+
width: number;
|
|
9772
|
+
height: number;
|
|
9773
|
+
};
|
|
9774
|
+
width: number;
|
|
9775
|
+
height: number;
|
|
9776
|
+
edit: {
|
|
9777
|
+
zoom: number;
|
|
9778
|
+
crop: {
|
|
9779
|
+
x: number;
|
|
9780
|
+
y: number;
|
|
9781
|
+
};
|
|
9782
|
+
background: string;
|
|
9783
|
+
};
|
|
9517
9784
|
} & {
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
-
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
} |
|
|
9560
|
-
data: string;
|
|
9561
|
-
start: number;
|
|
9562
|
-
end: number;
|
|
9563
|
-
type: "label";
|
|
9564
|
-
} | {
|
|
9565
|
-
start: number;
|
|
9566
|
-
end: number;
|
|
9567
|
-
type: "strong" | "em" | "list-item";
|
|
9568
|
-
})[];
|
|
9785
|
+
url?: string;
|
|
9786
|
+
credits?: string | null;
|
|
9787
|
+
alt?: string | null;
|
|
9788
|
+
provider?: string | null | undefined;
|
|
9789
|
+
} & {
|
|
9790
|
+
linkTo?: ({
|
|
9791
|
+
__TYPE__: "ImageLink";
|
|
9792
|
+
} & {
|
|
9793
|
+
kind: "image";
|
|
9794
|
+
id: string;
|
|
9795
|
+
url: string;
|
|
9796
|
+
height: string;
|
|
9797
|
+
width: string;
|
|
9798
|
+
size: string;
|
|
9799
|
+
name: string;
|
|
9800
|
+
} & {
|
|
9801
|
+
date?: string | null | undefined;
|
|
9802
|
+
}) | ({
|
|
9803
|
+
__TYPE__: "FileLink";
|
|
9804
|
+
} & {
|
|
9805
|
+
kind: "file";
|
|
9806
|
+
id: string;
|
|
9807
|
+
url: string;
|
|
9808
|
+
name: string;
|
|
9809
|
+
size: string;
|
|
9810
|
+
} & {
|
|
9811
|
+
date?: string | null | undefined;
|
|
9812
|
+
}) | ({
|
|
9813
|
+
__TYPE__: "DocumentLink";
|
|
9814
|
+
} & {
|
|
9815
|
+
id: string;
|
|
9816
|
+
}) | ({
|
|
9817
|
+
__TYPE__: "ExternalLink";
|
|
9818
|
+
} & {
|
|
9819
|
+
url: string;
|
|
9820
|
+
} & {
|
|
9821
|
+
kind?: "web";
|
|
9822
|
+
target?: string | null | undefined;
|
|
9823
|
+
preview?: {
|
|
9824
|
+
title?: string;
|
|
9825
|
+
} | null | undefined;
|
|
9826
|
+
}) | null | undefined;
|
|
9569
9827
|
};
|
|
9570
9828
|
} & {
|
|
9571
|
-
label?: string;
|
|
9572
|
-
direction?: string;
|
|
9573
|
-
})
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
|
|
9579
|
-
|
|
9829
|
+
label?: string | null | undefined;
|
|
9830
|
+
direction?: string | null | undefined;
|
|
9831
|
+
}) | ({
|
|
9832
|
+
type: "embed";
|
|
9833
|
+
data: {
|
|
9834
|
+
embed_url: string;
|
|
9835
|
+
type: string;
|
|
9836
|
+
} & {
|
|
9837
|
+
version?: string | number | null;
|
|
9838
|
+
title?: string | null | undefined;
|
|
9839
|
+
author_name?: string | null | undefined;
|
|
9840
|
+
author_url?: string | null | undefined;
|
|
9841
|
+
provider_name?: string | null | undefined;
|
|
9842
|
+
provider_url?: string | null | undefined;
|
|
9843
|
+
cache_age?: string | number | null;
|
|
9844
|
+
thumbnail_url?: string | null | undefined;
|
|
9845
|
+
thumbnail_width?: number | null | undefined;
|
|
9846
|
+
thumbnail_height?: number | null | undefined;
|
|
9847
|
+
html?: string | null | undefined;
|
|
9848
|
+
} & {
|
|
9849
|
+
__TYPE__: "EmbedContent";
|
|
9850
|
+
all: unknown;
|
|
9851
|
+
};
|
|
9852
|
+
} & {
|
|
9853
|
+
label?: string | null | undefined;
|
|
9854
|
+
direction?: string | null | undefined;
|
|
9855
|
+
}) | ({
|
|
9580
9856
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
9581
9857
|
content: {
|
|
9582
9858
|
text: string;
|
|
@@ -9636,9 +9912,9 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
9636
9912
|
} & {
|
|
9637
9913
|
label?: string;
|
|
9638
9914
|
direction?: string;
|
|
9639
|
-
})[];
|
|
9915
|
+
}))[];
|
|
9640
9916
|
};
|
|
9641
|
-
}
|
|
9917
|
+
}[];
|
|
9642
9918
|
}[];
|
|
9643
9919
|
};
|
|
9644
9920
|
};
|
|
@@ -10069,77 +10345,101 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
10069
10345
|
__TYPE__: "TableContent";
|
|
10070
10346
|
content: {
|
|
10071
10347
|
type: "tableRow";
|
|
10072
|
-
content:
|
|
10073
|
-
type: "tableHeader";
|
|
10348
|
+
content: {
|
|
10349
|
+
type: "tableHeader" | "tableCell";
|
|
10074
10350
|
content: {
|
|
10075
10351
|
__TYPE__: "StructuredTextContent";
|
|
10076
|
-
value: ({
|
|
10077
|
-
type: "image"
|
|
10078
|
-
|
|
10079
|
-
|
|
10352
|
+
value: (({
|
|
10353
|
+
type: "image";
|
|
10354
|
+
data: {
|
|
10355
|
+
origin: {
|
|
10356
|
+
id: string;
|
|
10357
|
+
url: string;
|
|
10358
|
+
width: number;
|
|
10359
|
+
height: number;
|
|
10360
|
+
};
|
|
10361
|
+
width: number;
|
|
10362
|
+
height: number;
|
|
10363
|
+
edit: {
|
|
10364
|
+
zoom: number;
|
|
10365
|
+
crop: {
|
|
10366
|
+
x: number;
|
|
10367
|
+
y: number;
|
|
10368
|
+
};
|
|
10369
|
+
background: string;
|
|
10370
|
+
};
|
|
10080
10371
|
} & {
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
|
|
10093
|
-
|
|
10094
|
-
|
|
10095
|
-
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
|
|
10099
|
-
|
|
10100
|
-
|
|
10101
|
-
|
|
10102
|
-
|
|
10103
|
-
|
|
10104
|
-
|
|
10105
|
-
|
|
10106
|
-
|
|
10107
|
-
|
|
10108
|
-
|
|
10109
|
-
|
|
10110
|
-
|
|
10111
|
-
|
|
10112
|
-
|
|
10113
|
-
|
|
10114
|
-
|
|
10115
|
-
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
|
|
10119
|
-
|
|
10120
|
-
|
|
10121
|
-
|
|
10122
|
-
} |
|
|
10123
|
-
data: string;
|
|
10124
|
-
start: number;
|
|
10125
|
-
end: number;
|
|
10126
|
-
type: "label";
|
|
10127
|
-
} | {
|
|
10128
|
-
start: number;
|
|
10129
|
-
end: number;
|
|
10130
|
-
type: "strong" | "em" | "list-item";
|
|
10131
|
-
})[];
|
|
10372
|
+
url?: string;
|
|
10373
|
+
credits?: string | null;
|
|
10374
|
+
alt?: string | null;
|
|
10375
|
+
provider?: string | null | undefined;
|
|
10376
|
+
} & {
|
|
10377
|
+
linkTo?: ({
|
|
10378
|
+
__TYPE__: "ImageLink";
|
|
10379
|
+
} & {
|
|
10380
|
+
kind: "image";
|
|
10381
|
+
id: string;
|
|
10382
|
+
url: string;
|
|
10383
|
+
height: string;
|
|
10384
|
+
width: string;
|
|
10385
|
+
size: string;
|
|
10386
|
+
name: string;
|
|
10387
|
+
} & {
|
|
10388
|
+
date?: string | null | undefined;
|
|
10389
|
+
}) | ({
|
|
10390
|
+
__TYPE__: "FileLink";
|
|
10391
|
+
} & {
|
|
10392
|
+
kind: "file";
|
|
10393
|
+
id: string;
|
|
10394
|
+
url: string;
|
|
10395
|
+
name: string;
|
|
10396
|
+
size: string;
|
|
10397
|
+
} & {
|
|
10398
|
+
date?: string | null | undefined;
|
|
10399
|
+
}) | ({
|
|
10400
|
+
__TYPE__: "DocumentLink";
|
|
10401
|
+
} & {
|
|
10402
|
+
id: string;
|
|
10403
|
+
}) | ({
|
|
10404
|
+
__TYPE__: "ExternalLink";
|
|
10405
|
+
} & {
|
|
10406
|
+
url: string;
|
|
10407
|
+
} & {
|
|
10408
|
+
kind?: "web";
|
|
10409
|
+
target?: string | null | undefined;
|
|
10410
|
+
preview?: {
|
|
10411
|
+
title?: string;
|
|
10412
|
+
} | null | undefined;
|
|
10413
|
+
}) | null | undefined;
|
|
10132
10414
|
};
|
|
10133
10415
|
} & {
|
|
10134
|
-
label?: string;
|
|
10135
|
-
direction?: string;
|
|
10136
|
-
})
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
|
|
10140
|
-
|
|
10141
|
-
|
|
10142
|
-
|
|
10416
|
+
label?: string | null | undefined;
|
|
10417
|
+
direction?: string | null | undefined;
|
|
10418
|
+
}) | ({
|
|
10419
|
+
type: "embed";
|
|
10420
|
+
data: {
|
|
10421
|
+
embed_url: string;
|
|
10422
|
+
type: string;
|
|
10423
|
+
} & {
|
|
10424
|
+
version?: string | number | null;
|
|
10425
|
+
title?: string | null | undefined;
|
|
10426
|
+
author_name?: string | null | undefined;
|
|
10427
|
+
author_url?: string | null | undefined;
|
|
10428
|
+
provider_name?: string | null | undefined;
|
|
10429
|
+
provider_url?: string | null | undefined;
|
|
10430
|
+
cache_age?: string | number | null;
|
|
10431
|
+
thumbnail_url?: string | null | undefined;
|
|
10432
|
+
thumbnail_width?: number | null | undefined;
|
|
10433
|
+
thumbnail_height?: number | null | undefined;
|
|
10434
|
+
html?: string | null | undefined;
|
|
10435
|
+
} & {
|
|
10436
|
+
__TYPE__: "EmbedContent";
|
|
10437
|
+
all: unknown;
|
|
10438
|
+
};
|
|
10439
|
+
} & {
|
|
10440
|
+
label?: string | null | undefined;
|
|
10441
|
+
direction?: string | null | undefined;
|
|
10442
|
+
}) | ({
|
|
10143
10443
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
10144
10444
|
content: {
|
|
10145
10445
|
text: string;
|
|
@@ -10199,9 +10499,9 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
10199
10499
|
} & {
|
|
10200
10500
|
label?: string;
|
|
10201
10501
|
direction?: string;
|
|
10202
|
-
})[];
|
|
10502
|
+
}))[];
|
|
10203
10503
|
};
|
|
10204
|
-
}
|
|
10504
|
+
}[];
|
|
10205
10505
|
}[];
|
|
10206
10506
|
}][];
|
|
10207
10507
|
}[];
|
|
@@ -10634,77 +10934,101 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
10634
10934
|
__TYPE__: "TableContent";
|
|
10635
10935
|
content: {
|
|
10636
10936
|
type: "tableRow";
|
|
10637
|
-
content:
|
|
10638
|
-
type: "tableHeader";
|
|
10937
|
+
content: {
|
|
10938
|
+
type: "tableHeader" | "tableCell";
|
|
10639
10939
|
content: {
|
|
10640
10940
|
__TYPE__: "StructuredTextContent";
|
|
10641
|
-
value: ({
|
|
10642
|
-
type: "image"
|
|
10643
|
-
|
|
10644
|
-
|
|
10941
|
+
value: (({
|
|
10942
|
+
type: "image";
|
|
10943
|
+
data: {
|
|
10944
|
+
origin: {
|
|
10945
|
+
id: string;
|
|
10946
|
+
url: string;
|
|
10947
|
+
width: number;
|
|
10948
|
+
height: number;
|
|
10949
|
+
};
|
|
10950
|
+
width: number;
|
|
10951
|
+
height: number;
|
|
10952
|
+
edit: {
|
|
10953
|
+
zoom: number;
|
|
10954
|
+
crop: {
|
|
10955
|
+
x: number;
|
|
10956
|
+
y: number;
|
|
10957
|
+
};
|
|
10958
|
+
background: string;
|
|
10959
|
+
};
|
|
10645
10960
|
} & {
|
|
10646
|
-
|
|
10647
|
-
|
|
10648
|
-
|
|
10649
|
-
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
|
|
10669
|
-
|
|
10670
|
-
|
|
10671
|
-
|
|
10672
|
-
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
10678
|
-
|
|
10679
|
-
|
|
10680
|
-
|
|
10681
|
-
|
|
10682
|
-
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
} |
|
|
10688
|
-
data: string;
|
|
10689
|
-
start: number;
|
|
10690
|
-
end: number;
|
|
10691
|
-
type: "label";
|
|
10692
|
-
} | {
|
|
10693
|
-
start: number;
|
|
10694
|
-
end: number;
|
|
10695
|
-
type: "strong" | "em" | "list-item";
|
|
10696
|
-
})[];
|
|
10961
|
+
url?: string;
|
|
10962
|
+
credits?: string | null;
|
|
10963
|
+
alt?: string | null;
|
|
10964
|
+
provider?: string | null | undefined;
|
|
10965
|
+
} & {
|
|
10966
|
+
linkTo?: ({
|
|
10967
|
+
__TYPE__: "ImageLink";
|
|
10968
|
+
} & {
|
|
10969
|
+
kind: "image";
|
|
10970
|
+
id: string;
|
|
10971
|
+
url: string;
|
|
10972
|
+
height: string;
|
|
10973
|
+
width: string;
|
|
10974
|
+
size: string;
|
|
10975
|
+
name: string;
|
|
10976
|
+
} & {
|
|
10977
|
+
date?: string | null | undefined;
|
|
10978
|
+
}) | ({
|
|
10979
|
+
__TYPE__: "FileLink";
|
|
10980
|
+
} & {
|
|
10981
|
+
kind: "file";
|
|
10982
|
+
id: string;
|
|
10983
|
+
url: string;
|
|
10984
|
+
name: string;
|
|
10985
|
+
size: string;
|
|
10986
|
+
} & {
|
|
10987
|
+
date?: string | null | undefined;
|
|
10988
|
+
}) | ({
|
|
10989
|
+
__TYPE__: "DocumentLink";
|
|
10990
|
+
} & {
|
|
10991
|
+
id: string;
|
|
10992
|
+
}) | ({
|
|
10993
|
+
__TYPE__: "ExternalLink";
|
|
10994
|
+
} & {
|
|
10995
|
+
url: string;
|
|
10996
|
+
} & {
|
|
10997
|
+
kind?: "web";
|
|
10998
|
+
target?: string | null | undefined;
|
|
10999
|
+
preview?: {
|
|
11000
|
+
title?: string;
|
|
11001
|
+
} | null | undefined;
|
|
11002
|
+
}) | null | undefined;
|
|
10697
11003
|
};
|
|
10698
11004
|
} & {
|
|
10699
|
-
label?: string;
|
|
10700
|
-
direction?: string;
|
|
10701
|
-
})
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
11005
|
+
label?: string | null | undefined;
|
|
11006
|
+
direction?: string | null | undefined;
|
|
11007
|
+
}) | ({
|
|
11008
|
+
type: "embed";
|
|
11009
|
+
data: {
|
|
11010
|
+
embed_url: string;
|
|
11011
|
+
type: string;
|
|
11012
|
+
} & {
|
|
11013
|
+
version?: string | number | null;
|
|
11014
|
+
title?: string | null | undefined;
|
|
11015
|
+
author_name?: string | null | undefined;
|
|
11016
|
+
author_url?: string | null | undefined;
|
|
11017
|
+
provider_name?: string | null | undefined;
|
|
11018
|
+
provider_url?: string | null | undefined;
|
|
11019
|
+
cache_age?: string | number | null;
|
|
11020
|
+
thumbnail_url?: string | null | undefined;
|
|
11021
|
+
thumbnail_width?: number | null | undefined;
|
|
11022
|
+
thumbnail_height?: number | null | undefined;
|
|
11023
|
+
html?: string | null | undefined;
|
|
11024
|
+
} & {
|
|
11025
|
+
__TYPE__: "EmbedContent";
|
|
11026
|
+
all: unknown;
|
|
11027
|
+
};
|
|
11028
|
+
} & {
|
|
11029
|
+
label?: string | null | undefined;
|
|
11030
|
+
direction?: string | null | undefined;
|
|
11031
|
+
}) | ({
|
|
10708
11032
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
10709
11033
|
content: {
|
|
10710
11034
|
text: string;
|
|
@@ -10764,9 +11088,9 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
10764
11088
|
} & {
|
|
10765
11089
|
label?: string;
|
|
10766
11090
|
direction?: string;
|
|
10767
|
-
})[];
|
|
11091
|
+
}))[];
|
|
10768
11092
|
};
|
|
10769
|
-
}
|
|
11093
|
+
}[];
|
|
10770
11094
|
}[];
|
|
10771
11095
|
};
|
|
10772
11096
|
};
|
|
@@ -11197,77 +11521,101 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
11197
11521
|
__TYPE__: "TableContent";
|
|
11198
11522
|
content: {
|
|
11199
11523
|
type: "tableRow";
|
|
11200
|
-
content:
|
|
11201
|
-
type: "tableHeader";
|
|
11524
|
+
content: {
|
|
11525
|
+
type: "tableHeader" | "tableCell";
|
|
11202
11526
|
content: {
|
|
11203
11527
|
__TYPE__: "StructuredTextContent";
|
|
11204
|
-
value: ({
|
|
11205
|
-
type: "image"
|
|
11206
|
-
|
|
11207
|
-
|
|
11528
|
+
value: (({
|
|
11529
|
+
type: "image";
|
|
11530
|
+
data: {
|
|
11531
|
+
origin: {
|
|
11532
|
+
id: string;
|
|
11533
|
+
url: string;
|
|
11534
|
+
width: number;
|
|
11535
|
+
height: number;
|
|
11536
|
+
};
|
|
11537
|
+
width: number;
|
|
11538
|
+
height: number;
|
|
11539
|
+
edit: {
|
|
11540
|
+
zoom: number;
|
|
11541
|
+
crop: {
|
|
11542
|
+
x: number;
|
|
11543
|
+
y: number;
|
|
11544
|
+
};
|
|
11545
|
+
background: string;
|
|
11546
|
+
};
|
|
11208
11547
|
} & {
|
|
11209
|
-
|
|
11210
|
-
|
|
11211
|
-
|
|
11212
|
-
|
|
11213
|
-
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
|
|
11217
|
-
|
|
11218
|
-
|
|
11219
|
-
|
|
11220
|
-
|
|
11221
|
-
|
|
11222
|
-
|
|
11223
|
-
|
|
11224
|
-
|
|
11225
|
-
|
|
11226
|
-
|
|
11227
|
-
|
|
11228
|
-
|
|
11229
|
-
|
|
11230
|
-
|
|
11231
|
-
|
|
11232
|
-
|
|
11233
|
-
|
|
11234
|
-
|
|
11235
|
-
|
|
11236
|
-
|
|
11237
|
-
|
|
11238
|
-
|
|
11239
|
-
|
|
11240
|
-
|
|
11241
|
-
|
|
11242
|
-
|
|
11243
|
-
|
|
11244
|
-
|
|
11245
|
-
|
|
11246
|
-
|
|
11247
|
-
|
|
11248
|
-
|
|
11249
|
-
|
|
11250
|
-
} |
|
|
11251
|
-
data: string;
|
|
11252
|
-
start: number;
|
|
11253
|
-
end: number;
|
|
11254
|
-
type: "label";
|
|
11255
|
-
} | {
|
|
11256
|
-
start: number;
|
|
11257
|
-
end: number;
|
|
11258
|
-
type: "strong" | "em" | "list-item";
|
|
11259
|
-
})[];
|
|
11548
|
+
url?: string;
|
|
11549
|
+
credits?: string | null;
|
|
11550
|
+
alt?: string | null;
|
|
11551
|
+
provider?: string | null | undefined;
|
|
11552
|
+
} & {
|
|
11553
|
+
linkTo?: ({
|
|
11554
|
+
__TYPE__: "ImageLink";
|
|
11555
|
+
} & {
|
|
11556
|
+
kind: "image";
|
|
11557
|
+
id: string;
|
|
11558
|
+
url: string;
|
|
11559
|
+
height: string;
|
|
11560
|
+
width: string;
|
|
11561
|
+
size: string;
|
|
11562
|
+
name: string;
|
|
11563
|
+
} & {
|
|
11564
|
+
date?: string | null | undefined;
|
|
11565
|
+
}) | ({
|
|
11566
|
+
__TYPE__: "FileLink";
|
|
11567
|
+
} & {
|
|
11568
|
+
kind: "file";
|
|
11569
|
+
id: string;
|
|
11570
|
+
url: string;
|
|
11571
|
+
name: string;
|
|
11572
|
+
size: string;
|
|
11573
|
+
} & {
|
|
11574
|
+
date?: string | null | undefined;
|
|
11575
|
+
}) | ({
|
|
11576
|
+
__TYPE__: "DocumentLink";
|
|
11577
|
+
} & {
|
|
11578
|
+
id: string;
|
|
11579
|
+
}) | ({
|
|
11580
|
+
__TYPE__: "ExternalLink";
|
|
11581
|
+
} & {
|
|
11582
|
+
url: string;
|
|
11583
|
+
} & {
|
|
11584
|
+
kind?: "web";
|
|
11585
|
+
target?: string | null | undefined;
|
|
11586
|
+
preview?: {
|
|
11587
|
+
title?: string;
|
|
11588
|
+
} | null | undefined;
|
|
11589
|
+
}) | null | undefined;
|
|
11260
11590
|
};
|
|
11261
11591
|
} & {
|
|
11262
|
-
label?: string;
|
|
11263
|
-
direction?: string;
|
|
11264
|
-
})
|
|
11265
|
-
|
|
11266
|
-
|
|
11267
|
-
|
|
11268
|
-
|
|
11269
|
-
|
|
11270
|
-
|
|
11592
|
+
label?: string | null | undefined;
|
|
11593
|
+
direction?: string | null | undefined;
|
|
11594
|
+
}) | ({
|
|
11595
|
+
type: "embed";
|
|
11596
|
+
data: {
|
|
11597
|
+
embed_url: string;
|
|
11598
|
+
type: string;
|
|
11599
|
+
} & {
|
|
11600
|
+
version?: string | number | null;
|
|
11601
|
+
title?: string | null | undefined;
|
|
11602
|
+
author_name?: string | null | undefined;
|
|
11603
|
+
author_url?: string | null | undefined;
|
|
11604
|
+
provider_name?: string | null | undefined;
|
|
11605
|
+
provider_url?: string | null | undefined;
|
|
11606
|
+
cache_age?: string | number | null;
|
|
11607
|
+
thumbnail_url?: string | null | undefined;
|
|
11608
|
+
thumbnail_width?: number | null | undefined;
|
|
11609
|
+
thumbnail_height?: number | null | undefined;
|
|
11610
|
+
html?: string | null | undefined;
|
|
11611
|
+
} & {
|
|
11612
|
+
__TYPE__: "EmbedContent";
|
|
11613
|
+
all: unknown;
|
|
11614
|
+
};
|
|
11615
|
+
} & {
|
|
11616
|
+
label?: string | null | undefined;
|
|
11617
|
+
direction?: string | null | undefined;
|
|
11618
|
+
}) | ({
|
|
11271
11619
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
11272
11620
|
content: {
|
|
11273
11621
|
text: string;
|
|
@@ -11327,9 +11675,9 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
11327
11675
|
} & {
|
|
11328
11676
|
label?: string;
|
|
11329
11677
|
direction?: string;
|
|
11330
|
-
})[];
|
|
11678
|
+
}))[];
|
|
11331
11679
|
};
|
|
11332
|
-
}
|
|
11680
|
+
}[];
|
|
11333
11681
|
}[];
|
|
11334
11682
|
}][];
|
|
11335
11683
|
}[];
|