@prismicio/types-internal 3.5.0 → 3.7.0-alpha.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.
Files changed (32) hide show
  1. package/lib/content/Document.d.ts +1972 -1588
  2. package/lib/content/fields/GroupContent.js +6 -9
  3. package/lib/content/fields/RepeatableContent.d.ts +51 -123
  4. package/lib/content/fields/RepeatableContent.js +10 -14
  5. package/lib/content/fields/WidgetContent.d.ts +1984 -1600
  6. package/lib/content/fields/nestable/NestableContent.d.ts +314 -250
  7. package/lib/content/fields/nestable/RichTextContent/Block.d.ts +1036 -0
  8. package/lib/content/fields/nestable/RichTextContent/Block.js +31 -0
  9. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.d.ts +60 -0
  10. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.js +53 -0
  11. package/lib/content/fields/nestable/RichTextContent/ImageBlock.d.ts +203 -0
  12. package/lib/content/fields/nestable/RichTextContent/ImageBlock.js +36 -0
  13. package/lib/content/fields/nestable/RichTextContent/TableBlock.d.ts +500 -0
  14. package/lib/content/fields/nestable/RichTextContent/TableBlock.js +21 -0
  15. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +590 -0
  16. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +80 -0
  17. package/lib/content/fields/nestable/RichTextContent/index.d.ts +301 -0
  18. package/lib/content/fields/nestable/RichTextContent/index.js +4 -4
  19. package/lib/content/fields/nestable/TableContent.d.ts +412 -907
  20. package/lib/content/fields/nestable/TableContent.js +50 -59
  21. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +628 -500
  22. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +130 -118
  23. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +628 -500
  24. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +314 -250
  25. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +314 -250
  26. package/lib/content/fields/slices/Slice/index.d.ts +1113 -923
  27. package/lib/content/fields/slices/SliceItem.d.ts +1110 -920
  28. package/lib/content/fields/slices/SlicesContent.d.ts +1573 -1253
  29. package/package.json +3 -2
  30. package/src/content/fields/GroupContent.ts +8 -16
  31. package/src/content/fields/nestable/RichTextContent/index.ts +6 -6
  32. package/src/content/fields/nestable/TableContent.ts +61 -84
@@ -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.UnionC<[t.ExactC<t.TypeC<{
440
- type: t.LiteralC<"tableHeader">;
439
+ content: t.ArrayC<t.IntersectionC<[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.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>;
445
- content: t.IntersectionC<[t.TypeC<{
446
- text: t.StringC;
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
- spans: t.Type<({
449
- data: ({
450
- __TYPE__: "ImageLink";
451
- } & {
452
- kind: "image";
453
- id: string;
454
- url: string;
455
- height: string;
456
- width: string;
457
- size: string;
458
- name: string;
459
- } & {
460
- date?: string | null | undefined;
461
- }) | ({
462
- __TYPE__: "FileLink";
463
- } & {
464
- kind: "file";
465
- id: string;
466
- url: string;
467
- name: string;
468
- size: string;
469
- } & {
470
- date?: string | null | undefined;
471
- }) | ({
472
- __TYPE__: "DocumentLink";
473
- } & {
474
- id: string;
475
- }) | ({
476
- __TYPE__: "ExternalLink";
477
- } & {
478
- url: string;
479
- } & {
480
- kind?: "web";
481
- target?: string | null | undefined;
482
- preview?: {
483
- title?: string;
484
- } | null | undefined;
485
- });
486
- start: number;
487
- end: number;
488
- type: "hyperlink";
489
- } | {
490
- data: string;
491
- start: number;
492
- end: number;
493
- type: "label";
494
- } | {
495
- start: number;
496
- end: number;
497
- type: "strong" | "em" | "list-item";
498
- })[], ({
499
- data: ({
500
- __TYPE__: "ImageLink";
501
- } & {
502
- kind: "image";
503
- id: string;
504
- url: string;
505
- height: string;
506
- width: string;
507
- size: string;
508
- name: string;
509
- } & {
510
- date?: string | null | undefined;
511
- }) | ({
512
- __TYPE__: "FileLink";
513
- } & {
514
- kind: "file";
515
- id: string;
516
- url: string;
517
- name: string;
518
- size: string;
519
- } & {
520
- date?: string | null | undefined;
521
- }) | ({
522
- __TYPE__: "DocumentLink";
523
- } & {
524
- id: string;
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.StringC;
552
- direction: t.StringC;
553
- }>]>>>;
554
- }>>;
555
- }>>, t.ExactC<t.TypeC<{
556
- type: t.LiteralC<"tableCell">;
557
- content: t.ExactC<t.TypeC<{
558
- __TYPE__: t.LiteralC<"StructuredTextContent">;
559
- value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
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,11 @@ 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
+ }>>, t.PartialC<{
682
+ columnWidth: t.NumberC;
683
+ }>]>>;
672
684
  }>>>;
673
685
  }>>, t.ExactC<t.TypeC<{
674
686
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -1194,127 +1206,137 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1194
1206
  __TYPE__: t.LiteralC<"TableContent">;
1195
1207
  content: t.ArrayC<t.ExactC<t.TypeC<{
1196
1208
  type: t.LiteralC<"tableRow">;
1197
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
1198
- type: t.LiteralC<"tableHeader">;
1209
+ content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
1210
+ type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
1199
1211
  content: t.ExactC<t.TypeC<{
1200
1212
  __TYPE__: t.LiteralC<"StructuredTextContent">;
1201
- value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1202
- 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>;
1203
- content: t.IntersectionC<[t.TypeC<{
1204
- text: t.StringC;
1213
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1214
+ type: t.LiteralC<"image">;
1215
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1216
+ origin: t.ExactC<t.TypeC<{
1217
+ id: t.StringC;
1218
+ url: t.StringC;
1219
+ width: t.NumberC;
1220
+ height: t.NumberC;
1221
+ }>>;
1222
+ width: t.NumberC;
1223
+ height: t.NumberC;
1224
+ edit: t.TypeC<{
1225
+ zoom: t.NumberC;
1226
+ crop: t.TypeC<{
1227
+ x: t.NumberC;
1228
+ y: t.NumberC;
1229
+ }>;
1230
+ background: t.StringC;
1231
+ }>;
1205
1232
  }>, t.PartialC<{
1206
- spans: t.Type<({
1207
- data: ({
1208
- __TYPE__: "ImageLink";
1209
- } & {
1210
- kind: "image";
1211
- id: string;
1212
- url: string;
1213
- height: string;
1214
- width: string;
1215
- size: string;
1216
- name: string;
1217
- } & {
1218
- date?: string | null | undefined;
1219
- }) | ({
1220
- __TYPE__: "FileLink";
1221
- } & {
1222
- kind: "file";
1223
- id: string;
1224
- url: string;
1225
- name: string;
1226
- size: string;
1227
- } & {
1228
- date?: string | null | undefined;
1229
- }) | ({
1230
- __TYPE__: "DocumentLink";
1231
- } & {
1232
- id: string;
1233
- }) | ({
1234
- __TYPE__: "ExternalLink";
1235
- } & {
1236
- url: string;
1237
- } & {
1238
- kind?: "web";
1239
- target?: string | null | undefined;
1240
- preview?: {
1241
- title?: string;
1242
- } | null | undefined;
1243
- });
1244
- start: number;
1245
- end: number;
1246
- type: "hyperlink";
1247
- } | {
1248
- data: string;
1249
- start: number;
1250
- end: number;
1251
- type: "label";
1252
- } | {
1253
- start: number;
1254
- end: number;
1255
- type: "strong" | "em" | "list-item";
1256
- })[], ({
1257
- data: ({
1258
- __TYPE__: "ImageLink";
1259
- } & {
1260
- kind: "image";
1261
- id: string;
1262
- url: string;
1263
- height: string;
1264
- width: string;
1265
- size: string;
1266
- name: string;
1267
- } & {
1268
- date?: string | null | undefined;
1269
- }) | ({
1270
- __TYPE__: "FileLink";
1271
- } & {
1272
- kind: "file";
1273
- id: string;
1274
- url: string;
1275
- name: string;
1276
- size: string;
1277
- } & {
1278
- date?: string | null | undefined;
1279
- }) | ({
1280
- __TYPE__: "DocumentLink";
1281
- } & {
1282
- id: string;
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>;
1233
+ url: t.StringC;
1234
+ credits: t.Type<string | null, string | null, unknown>;
1235
+ alt: t.Type<string | null, string | null, unknown>;
1236
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1237
+ }>]>>, t.PartialC<{
1238
+ linkTo: t.UnionC<[t.Type<({
1239
+ __TYPE__: "ImageLink";
1240
+ } & {
1241
+ kind: "image";
1242
+ id: string;
1243
+ url: string;
1244
+ height: string;
1245
+ width: string;
1246
+ size: string;
1247
+ name: string;
1248
+ } & {
1249
+ date?: string | null | undefined;
1250
+ }) | ({
1251
+ __TYPE__: "FileLink";
1252
+ } & {
1253
+ kind: "file";
1254
+ id: string;
1255
+ url: string;
1256
+ name: string;
1257
+ size: string;
1258
+ } & {
1259
+ date?: string | null | undefined;
1260
+ }) | ({
1261
+ __TYPE__: "DocumentLink";
1262
+ } & {
1263
+ id: string;
1264
+ }) | ({
1265
+ __TYPE__: "ExternalLink";
1266
+ } & {
1267
+ url: string;
1268
+ } & {
1269
+ kind?: "web";
1270
+ target?: string | null | undefined;
1271
+ preview?: {
1272
+ title?: string;
1273
+ } | null | undefined;
1274
+ }), ({
1275
+ __TYPE__: "ImageLink";
1276
+ } & {
1277
+ kind: "image";
1278
+ id: string;
1279
+ url: string;
1280
+ height: string;
1281
+ width: string;
1282
+ size: string;
1283
+ name: string;
1284
+ } & {
1285
+ date?: string | null | undefined;
1286
+ }) | ({
1287
+ __TYPE__: "FileLink";
1288
+ } & {
1289
+ kind: "file";
1290
+ id: string;
1291
+ url: string;
1292
+ name: string;
1293
+ size: string;
1294
+ } & {
1295
+ date?: string | null | undefined;
1296
+ }) | ({
1297
+ __TYPE__: "DocumentLink";
1298
+ } & {
1299
+ id: string;
1300
+ }) | ({
1301
+ __TYPE__: "ExternalLink";
1302
+ } & {
1303
+ url: string;
1304
+ } & {
1305
+ kind?: "web";
1306
+ target?: string | null | undefined;
1307
+ preview?: {
1308
+ title?: string;
1309
+ } | null | undefined;
1310
+ }), unknown>, t.NullC, t.UndefinedC]>;
1307
1311
  }>]>;
1308
1312
  }>, t.PartialC<{
1309
- label: t.StringC;
1310
- direction: t.StringC;
1311
- }>]>>>;
1312
- }>>;
1313
- }>>, t.ExactC<t.TypeC<{
1314
- type: t.LiteralC<"tableCell">;
1315
- content: t.ExactC<t.TypeC<{
1316
- __TYPE__: t.LiteralC<"StructuredTextContent">;
1317
- value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1313
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1314
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1315
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1316
+ type: t.LiteralC<"embed">;
1317
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1318
+ embed_url: t.StringC;
1319
+ type: t.StringC;
1320
+ }>, t.PartialC<{
1321
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1322
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1323
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1324
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1325
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1326
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1327
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1328
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1329
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
1330
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
1331
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1332
+ }>]>>, t.ExactC<t.TypeC<{
1333
+ __TYPE__: t.LiteralC<"EmbedContent">;
1334
+ all: t.UnknownC;
1335
+ }>>]>;
1336
+ }>, t.PartialC<{
1337
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1338
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1339
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1318
1340
  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
1341
  content: t.IntersectionC<[t.TypeC<{
1320
1342
  text: t.StringC;
@@ -1424,9 +1446,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1424
1446
  }>, t.PartialC<{
1425
1447
  label: t.StringC;
1426
1448
  direction: t.StringC;
1427
- }>]>>>;
1449
+ }>]>>]>>;
1428
1450
  }>>;
1429
- }>>]>>;
1451
+ }>>, t.PartialC<{
1452
+ columnWidth: t.NumberC;
1453
+ }>]>>;
1430
1454
  }>>>;
1431
1455
  }>>, t.ExactC<t.TypeC<{
1432
1456
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -1944,11 +1968,137 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1944
1968
  __TYPE__: t.LiteralC<"TableContent">;
1945
1969
  content: t.ArrayC<t.ExactC<t.TypeC<{
1946
1970
  type: t.LiteralC<"tableRow">;
1947
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
1948
- type: t.LiteralC<"tableHeader">;
1971
+ content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
1972
+ type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
1949
1973
  content: t.ExactC<t.TypeC<{
1950
1974
  __TYPE__: t.LiteralC<"StructuredTextContent">;
1951
- value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1975
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1976
+ type: t.LiteralC<"image">;
1977
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1978
+ origin: t.ExactC<t.TypeC<{
1979
+ id: t.StringC;
1980
+ url: t.StringC;
1981
+ width: t.NumberC;
1982
+ height: t.NumberC;
1983
+ }>>;
1984
+ width: t.NumberC;
1985
+ height: t.NumberC;
1986
+ edit: t.TypeC<{
1987
+ zoom: t.NumberC;
1988
+ crop: t.TypeC<{
1989
+ x: t.NumberC;
1990
+ y: t.NumberC;
1991
+ }>;
1992
+ background: t.StringC;
1993
+ }>;
1994
+ }>, t.PartialC<{
1995
+ url: t.StringC;
1996
+ credits: t.Type<string | null, string | null, unknown>;
1997
+ alt: t.Type<string | null, string | null, unknown>;
1998
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1999
+ }>]>>, t.PartialC<{
2000
+ linkTo: t.UnionC<[t.Type<({
2001
+ __TYPE__: "ImageLink";
2002
+ } & {
2003
+ kind: "image";
2004
+ id: string;
2005
+ url: string;
2006
+ height: string;
2007
+ width: string;
2008
+ size: string;
2009
+ name: string;
2010
+ } & {
2011
+ date?: string | null | undefined;
2012
+ }) | ({
2013
+ __TYPE__: "FileLink";
2014
+ } & {
2015
+ kind: "file";
2016
+ id: string;
2017
+ url: string;
2018
+ name: string;
2019
+ size: string;
2020
+ } & {
2021
+ date?: string | null | undefined;
2022
+ }) | ({
2023
+ __TYPE__: "DocumentLink";
2024
+ } & {
2025
+ id: string;
2026
+ }) | ({
2027
+ __TYPE__: "ExternalLink";
2028
+ } & {
2029
+ url: string;
2030
+ } & {
2031
+ kind?: "web";
2032
+ target?: string | null | undefined;
2033
+ preview?: {
2034
+ title?: string;
2035
+ } | null | undefined;
2036
+ }), ({
2037
+ __TYPE__: "ImageLink";
2038
+ } & {
2039
+ kind: "image";
2040
+ id: string;
2041
+ url: string;
2042
+ height: string;
2043
+ width: string;
2044
+ size: string;
2045
+ name: string;
2046
+ } & {
2047
+ date?: string | null | undefined;
2048
+ }) | ({
2049
+ __TYPE__: "FileLink";
2050
+ } & {
2051
+ kind: "file";
2052
+ id: string;
2053
+ url: string;
2054
+ name: string;
2055
+ size: string;
2056
+ } & {
2057
+ date?: string | null | undefined;
2058
+ }) | ({
2059
+ __TYPE__: "DocumentLink";
2060
+ } & {
2061
+ id: string;
2062
+ }) | ({
2063
+ __TYPE__: "ExternalLink";
2064
+ } & {
2065
+ url: string;
2066
+ } & {
2067
+ kind?: "web";
2068
+ target?: string | null | undefined;
2069
+ preview?: {
2070
+ title?: string;
2071
+ } | null | undefined;
2072
+ }), unknown>, t.NullC, t.UndefinedC]>;
2073
+ }>]>;
2074
+ }>, t.PartialC<{
2075
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2076
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2077
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2078
+ type: t.LiteralC<"embed">;
2079
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2080
+ embed_url: t.StringC;
2081
+ type: t.StringC;
2082
+ }>, t.PartialC<{
2083
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2084
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2085
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2086
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2087
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2088
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2089
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2090
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2091
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2092
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2093
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2094
+ }>]>>, t.ExactC<t.TypeC<{
2095
+ __TYPE__: t.LiteralC<"EmbedContent">;
2096
+ all: t.UnknownC;
2097
+ }>>]>;
2098
+ }>, t.PartialC<{
2099
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2100
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2101
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1952
2102
  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
2103
  content: t.IntersectionC<[t.TypeC<{
1954
2104
  text: t.StringC;
@@ -2058,125 +2208,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2058
2208
  }>, t.PartialC<{
2059
2209
  label: t.StringC;
2060
2210
  direction: t.StringC;
2061
- }>]>>>;
2211
+ }>]>>]>>;
2062
2212
  }>>;
2063
- }>>, t.ExactC<t.TypeC<{
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
- }>>]>>;
2213
+ }>>, t.PartialC<{
2214
+ columnWidth: t.NumberC;
2215
+ }>]>>;
2180
2216
  }>>>;
2181
2217
  }>>, t.ExactC<t.TypeC<{
2182
2218
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -2696,11 +2732,137 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2696
2732
  __TYPE__: t.LiteralC<"TableContent">;
2697
2733
  content: t.ArrayC<t.ExactC<t.TypeC<{
2698
2734
  type: t.LiteralC<"tableRow">;
2699
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
2700
- type: t.LiteralC<"tableHeader">;
2735
+ content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
2736
+ type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
2701
2737
  content: t.ExactC<t.TypeC<{
2702
2738
  __TYPE__: t.LiteralC<"StructuredTextContent">;
2703
- value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2739
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2740
+ type: t.LiteralC<"image">;
2741
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2742
+ origin: t.ExactC<t.TypeC<{
2743
+ id: t.StringC;
2744
+ url: t.StringC;
2745
+ width: t.NumberC;
2746
+ height: t.NumberC;
2747
+ }>>;
2748
+ width: t.NumberC;
2749
+ height: t.NumberC;
2750
+ edit: t.TypeC<{
2751
+ zoom: t.NumberC;
2752
+ crop: t.TypeC<{
2753
+ x: t.NumberC;
2754
+ y: t.NumberC;
2755
+ }>;
2756
+ background: t.StringC;
2757
+ }>;
2758
+ }>, t.PartialC<{
2759
+ url: t.StringC;
2760
+ credits: t.Type<string | null, string | null, unknown>;
2761
+ alt: t.Type<string | null, string | null, unknown>;
2762
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2763
+ }>]>>, t.PartialC<{
2764
+ linkTo: t.UnionC<[t.Type<({
2765
+ __TYPE__: "ImageLink";
2766
+ } & {
2767
+ kind: "image";
2768
+ id: string;
2769
+ url: string;
2770
+ height: string;
2771
+ width: string;
2772
+ size: string;
2773
+ name: string;
2774
+ } & {
2775
+ date?: string | null | undefined;
2776
+ }) | ({
2777
+ __TYPE__: "FileLink";
2778
+ } & {
2779
+ kind: "file";
2780
+ id: string;
2781
+ url: string;
2782
+ name: string;
2783
+ size: string;
2784
+ } & {
2785
+ date?: string | null | undefined;
2786
+ }) | ({
2787
+ __TYPE__: "DocumentLink";
2788
+ } & {
2789
+ id: string;
2790
+ }) | ({
2791
+ __TYPE__: "ExternalLink";
2792
+ } & {
2793
+ url: string;
2794
+ } & {
2795
+ kind?: "web";
2796
+ target?: string | null | undefined;
2797
+ preview?: {
2798
+ title?: string;
2799
+ } | null | undefined;
2800
+ }), ({
2801
+ __TYPE__: "ImageLink";
2802
+ } & {
2803
+ kind: "image";
2804
+ id: string;
2805
+ url: string;
2806
+ height: string;
2807
+ width: string;
2808
+ size: string;
2809
+ name: string;
2810
+ } & {
2811
+ date?: string | null | undefined;
2812
+ }) | ({
2813
+ __TYPE__: "FileLink";
2814
+ } & {
2815
+ kind: "file";
2816
+ id: string;
2817
+ url: string;
2818
+ name: string;
2819
+ size: string;
2820
+ } & {
2821
+ date?: string | null | undefined;
2822
+ }) | ({
2823
+ __TYPE__: "DocumentLink";
2824
+ } & {
2825
+ id: string;
2826
+ }) | ({
2827
+ __TYPE__: "ExternalLink";
2828
+ } & {
2829
+ url: string;
2830
+ } & {
2831
+ kind?: "web";
2832
+ target?: string | null | undefined;
2833
+ preview?: {
2834
+ title?: string;
2835
+ } | null | undefined;
2836
+ }), unknown>, t.NullC, t.UndefinedC]>;
2837
+ }>]>;
2838
+ }>, t.PartialC<{
2839
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2840
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2841
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2842
+ type: t.LiteralC<"embed">;
2843
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2844
+ embed_url: t.StringC;
2845
+ type: t.StringC;
2846
+ }>, t.PartialC<{
2847
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2848
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2849
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2850
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2851
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2852
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2853
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2854
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2855
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2856
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2857
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2858
+ }>]>>, t.ExactC<t.TypeC<{
2859
+ __TYPE__: t.LiteralC<"EmbedContent">;
2860
+ all: t.UnknownC;
2861
+ }>>]>;
2862
+ }>, t.PartialC<{
2863
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2864
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2865
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2704
2866
  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
2867
  content: t.IntersectionC<[t.TypeC<{
2706
2868
  text: t.StringC;
@@ -2810,169 +2972,55 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2810
2972
  }>, t.PartialC<{
2811
2973
  label: t.StringC;
2812
2974
  direction: t.StringC;
2813
- }>]>>>;
2975
+ }>]>>]>>;
2814
2976
  }>>;
2815
- }>>, t.ExactC<t.TypeC<{
2816
- type: t.LiteralC<"tableCell">;
2817
- content: t.ExactC<t.TypeC<{
2818
- __TYPE__: t.LiteralC<"StructuredTextContent">;
2819
- value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2820
- 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>;
2821
- content: t.IntersectionC<[t.TypeC<{
2822
- text: t.StringC;
2823
- }>, t.PartialC<{
2824
- spans: t.Type<({
2825
- data: ({
2826
- __TYPE__: "ImageLink";
2827
- } & {
2828
- kind: "image";
2829
- id: string;
2830
- url: string;
2831
- height: string;
2832
- width: string;
2833
- size: string;
2834
- name: string;
2835
- } & {
2836
- date?: string | null | undefined;
2837
- }) | ({
2838
- __TYPE__: "FileLink";
2839
- } & {
2840
- kind: "file";
2841
- id: string;
2842
- url: string;
2843
- name: string;
2844
- size: string;
2845
- } & {
2846
- date?: string | null | undefined;
2847
- }) | ({
2848
- __TYPE__: "DocumentLink";
2849
- } & {
2850
- id: string;
2851
- }) | ({
2852
- __TYPE__: "ExternalLink";
2853
- } & {
2854
- url: string;
2855
- } & {
2856
- kind?: "web";
2857
- target?: string | null | undefined;
2858
- preview?: {
2859
- title?: string;
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>;
2977
+ }>>, t.PartialC<{
2978
+ columnWidth: t.NumberC;
2979
+ }>]>>;
2980
+ }>>>;
2981
+ }>>, t.ExactC<t.TypeC<{
2982
+ __TYPE__: t.LiteralC<"RepeatableContent">;
2983
+ type: t.LiteralC<"Link">;
2984
+ value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
2985
+ key: t.Type<string, string, unknown>;
2986
+ }>>, t.ExactC<t.TypeC<{
2987
+ __TYPE__: t.LiteralC<"LinkContent">;
2988
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2989
+ __TYPE__: t.LiteralC<"ImageLink">;
2990
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2991
+ kind: t.Type<"image", "image", unknown>;
2992
+ id: t.StringC;
2993
+ url: t.StringC;
2994
+ height: t.StringC;
2995
+ width: t.StringC;
2996
+ size: t.StringC;
2997
+ name: t.StringC;
2998
+ }>>, t.ExactC<t.PartialC<{
2999
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3000
+ }>>]>, t.ExactC<t.TypeC<{
3001
+ kind: t.LiteralC<"image">;
3002
+ }>>]>, t.ExactC<t.PartialC<{
3003
+ text: t.StringC;
3004
+ variant: t.StringC;
3005
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3006
+ __TYPE__: t.LiteralC<"FileLink">;
3007
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3008
+ kind: t.Type<"file", "file", unknown>;
3009
+ id: t.StringC;
3010
+ url: t.StringC;
3011
+ name: t.StringC;
3012
+ size: t.StringC;
3013
+ }>, t.PartialC<{
3014
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3015
+ }>]>>, t.ExactC<t.TypeC<{
3016
+ kind: t.LiteralC<"file">;
3017
+ }>>]>, t.ExactC<t.PartialC<{
3018
+ text: t.StringC;
3019
+ variant: t.StringC;
3020
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3021
+ __TYPE__: t.LiteralC<"DocumentLink">;
3022
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
3023
+ id: t.Type<string, string, unknown>;
2976
3024
  }>>, t.ExactC<t.TypeC<{
2977
3025
  kind: t.LiteralC<"document">;
2978
3026
  }>>]>, t.ExactC<t.PartialC<{
@@ -3446,127 +3494,137 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3446
3494
  __TYPE__: t.LiteralC<"TableContent">;
3447
3495
  content: t.ArrayC<t.ExactC<t.TypeC<{
3448
3496
  type: t.LiteralC<"tableRow">;
3449
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3450
- type: t.LiteralC<"tableHeader">;
3497
+ content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
3498
+ type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
3451
3499
  content: t.ExactC<t.TypeC<{
3452
3500
  __TYPE__: t.LiteralC<"StructuredTextContent">;
3453
- value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3454
- 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>;
3455
- content: t.IntersectionC<[t.TypeC<{
3456
- text: t.StringC;
3501
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3502
+ type: t.LiteralC<"image">;
3503
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3504
+ origin: t.ExactC<t.TypeC<{
3505
+ id: t.StringC;
3506
+ url: t.StringC;
3507
+ width: t.NumberC;
3508
+ height: t.NumberC;
3509
+ }>>;
3510
+ width: t.NumberC;
3511
+ height: t.NumberC;
3512
+ edit: t.TypeC<{
3513
+ zoom: t.NumberC;
3514
+ crop: t.TypeC<{
3515
+ x: t.NumberC;
3516
+ y: t.NumberC;
3517
+ }>;
3518
+ background: t.StringC;
3519
+ }>;
3457
3520
  }>, t.PartialC<{
3458
- spans: t.Type<({
3459
- data: ({
3460
- __TYPE__: "ImageLink";
3461
- } & {
3462
- kind: "image";
3463
- id: string;
3464
- url: string;
3465
- height: string;
3466
- width: string;
3467
- size: string;
3468
- name: string;
3469
- } & {
3470
- date?: string | null | undefined;
3471
- }) | ({
3472
- __TYPE__: "FileLink";
3473
- } & {
3474
- kind: "file";
3475
- id: string;
3476
- url: string;
3477
- name: string;
3478
- size: string;
3479
- } & {
3480
- date?: string | null | undefined;
3481
- }) | ({
3482
- __TYPE__: "DocumentLink";
3483
- } & {
3484
- id: string;
3485
- }) | ({
3486
- __TYPE__: "ExternalLink";
3487
- } & {
3488
- url: string;
3489
- } & {
3490
- kind?: "web";
3491
- target?: string | null | undefined;
3492
- preview?: {
3493
- title?: string;
3494
- } | null | undefined;
3495
- });
3496
- start: number;
3497
- end: number;
3498
- type: "hyperlink";
3499
- } | {
3500
- data: string;
3501
- start: number;
3502
- end: number;
3503
- type: "label";
3504
- } | {
3505
- start: number;
3506
- end: number;
3507
- type: "strong" | "em" | "list-item";
3508
- })[], ({
3509
- data: ({
3510
- __TYPE__: "ImageLink";
3511
- } & {
3512
- kind: "image";
3513
- id: string;
3514
- url: string;
3515
- height: string;
3516
- width: string;
3517
- size: string;
3518
- name: string;
3519
- } & {
3520
- date?: string | null | undefined;
3521
- }) | ({
3522
- __TYPE__: "FileLink";
3523
- } & {
3524
- kind: "file";
3525
- id: string;
3526
- url: string;
3527
- name: string;
3528
- size: string;
3529
- } & {
3530
- date?: string | null | undefined;
3531
- }) | ({
3532
- __TYPE__: "DocumentLink";
3533
- } & {
3534
- id: string;
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>;
3521
+ url: t.StringC;
3522
+ credits: t.Type<string | null, string | null, unknown>;
3523
+ alt: t.Type<string | null, string | null, unknown>;
3524
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3525
+ }>]>>, t.PartialC<{
3526
+ linkTo: t.UnionC<[t.Type<({
3527
+ __TYPE__: "ImageLink";
3528
+ } & {
3529
+ kind: "image";
3530
+ id: string;
3531
+ url: string;
3532
+ height: string;
3533
+ width: string;
3534
+ size: string;
3535
+ name: string;
3536
+ } & {
3537
+ date?: string | null | undefined;
3538
+ }) | ({
3539
+ __TYPE__: "FileLink";
3540
+ } & {
3541
+ kind: "file";
3542
+ id: string;
3543
+ url: string;
3544
+ name: string;
3545
+ size: string;
3546
+ } & {
3547
+ date?: string | null | undefined;
3548
+ }) | ({
3549
+ __TYPE__: "DocumentLink";
3550
+ } & {
3551
+ id: string;
3552
+ }) | ({
3553
+ __TYPE__: "ExternalLink";
3554
+ } & {
3555
+ url: string;
3556
+ } & {
3557
+ kind?: "web";
3558
+ target?: string | null | undefined;
3559
+ preview?: {
3560
+ title?: string;
3561
+ } | null | undefined;
3562
+ }), ({
3563
+ __TYPE__: "ImageLink";
3564
+ } & {
3565
+ kind: "image";
3566
+ id: string;
3567
+ url: string;
3568
+ height: string;
3569
+ width: string;
3570
+ size: string;
3571
+ name: string;
3572
+ } & {
3573
+ date?: string | null | undefined;
3574
+ }) | ({
3575
+ __TYPE__: "FileLink";
3576
+ } & {
3577
+ kind: "file";
3578
+ id: string;
3579
+ url: string;
3580
+ name: string;
3581
+ size: string;
3582
+ } & {
3583
+ date?: string | null | undefined;
3584
+ }) | ({
3585
+ __TYPE__: "DocumentLink";
3586
+ } & {
3587
+ id: string;
3588
+ }) | ({
3589
+ __TYPE__: "ExternalLink";
3590
+ } & {
3591
+ url: string;
3592
+ } & {
3593
+ kind?: "web";
3594
+ target?: string | null | undefined;
3595
+ preview?: {
3596
+ title?: string;
3597
+ } | null | undefined;
3598
+ }), unknown>, t.NullC, t.UndefinedC]>;
3559
3599
  }>]>;
3560
3600
  }>, t.PartialC<{
3561
- label: t.StringC;
3562
- direction: t.StringC;
3563
- }>]>>>;
3564
- }>>;
3565
- }>>, t.ExactC<t.TypeC<{
3566
- type: t.LiteralC<"tableCell">;
3567
- content: t.ExactC<t.TypeC<{
3568
- __TYPE__: t.LiteralC<"StructuredTextContent">;
3569
- value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3601
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3602
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3603
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3604
+ type: t.LiteralC<"embed">;
3605
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3606
+ embed_url: t.StringC;
3607
+ type: t.StringC;
3608
+ }>, t.PartialC<{
3609
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
3610
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3611
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3612
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3613
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3614
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3615
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
3616
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3617
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
3618
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
3619
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3620
+ }>]>>, t.ExactC<t.TypeC<{
3621
+ __TYPE__: t.LiteralC<"EmbedContent">;
3622
+ all: t.UnknownC;
3623
+ }>>]>;
3624
+ }>, t.PartialC<{
3625
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3626
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3627
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3570
3628
  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
3629
  content: t.IntersectionC<[t.TypeC<{
3572
3630
  text: t.StringC;
@@ -3676,9 +3734,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3676
3734
  }>, t.PartialC<{
3677
3735
  label: t.StringC;
3678
3736
  direction: t.StringC;
3679
- }>]>>>;
3737
+ }>]>>]>>;
3680
3738
  }>>;
3681
- }>>]>>;
3739
+ }>>, t.PartialC<{
3740
+ columnWidth: t.NumberC;
3741
+ }>]>>;
3682
3742
  }>>>;
3683
3743
  }>>, t.ExactC<t.TypeC<{
3684
3744
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -4195,127 +4255,137 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
4195
4255
  __TYPE__: t.LiteralC<"TableContent">;
4196
4256
  content: t.ArrayC<t.ExactC<t.TypeC<{
4197
4257
  type: t.LiteralC<"tableRow">;
4198
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
4199
- type: t.LiteralC<"tableHeader">;
4258
+ content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
4259
+ type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
4200
4260
  content: t.ExactC<t.TypeC<{
4201
4261
  __TYPE__: t.LiteralC<"StructuredTextContent">;
4202
- value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4203
- 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>;
4204
- content: t.IntersectionC<[t.TypeC<{
4205
- text: t.StringC;
4262
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4263
+ type: t.LiteralC<"image">;
4264
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4265
+ origin: t.ExactC<t.TypeC<{
4266
+ id: t.StringC;
4267
+ url: t.StringC;
4268
+ width: t.NumberC;
4269
+ height: t.NumberC;
4270
+ }>>;
4271
+ width: t.NumberC;
4272
+ height: t.NumberC;
4273
+ edit: t.TypeC<{
4274
+ zoom: t.NumberC;
4275
+ crop: t.TypeC<{
4276
+ x: t.NumberC;
4277
+ y: t.NumberC;
4278
+ }>;
4279
+ background: t.StringC;
4280
+ }>;
4206
4281
  }>, t.PartialC<{
4207
- spans: t.Type<({
4208
- data: ({
4209
- __TYPE__: "ImageLink";
4210
- } & {
4211
- kind: "image";
4212
- id: string;
4213
- url: string;
4214
- height: string;
4215
- width: string;
4216
- size: string;
4217
- name: string;
4218
- } & {
4219
- date?: string | null | undefined;
4220
- }) | ({
4221
- __TYPE__: "FileLink";
4222
- } & {
4223
- kind: "file";
4224
- id: string;
4225
- url: string;
4226
- name: string;
4227
- size: string;
4228
- } & {
4229
- date?: string | null | undefined;
4230
- }) | ({
4231
- __TYPE__: "DocumentLink";
4232
- } & {
4233
- id: string;
4234
- }) | ({
4235
- __TYPE__: "ExternalLink";
4236
- } & {
4237
- url: string;
4238
- } & {
4239
- kind?: "web";
4240
- target?: string | null | undefined;
4241
- preview?: {
4242
- title?: string;
4243
- } | null | undefined;
4244
- });
4245
- start: number;
4246
- end: number;
4247
- type: "hyperlink";
4248
- } | {
4249
- data: string;
4250
- start: number;
4251
- end: number;
4252
- type: "label";
4253
- } | {
4254
- start: number;
4255
- end: number;
4256
- type: "strong" | "em" | "list-item";
4257
- })[], ({
4258
- data: ({
4259
- __TYPE__: "ImageLink";
4260
- } & {
4261
- kind: "image";
4262
- id: string;
4263
- url: string;
4264
- height: string;
4265
- width: string;
4266
- size: string;
4267
- name: string;
4268
- } & {
4269
- date?: string | null | undefined;
4270
- }) | ({
4271
- __TYPE__: "FileLink";
4272
- } & {
4273
- kind: "file";
4274
- id: string;
4275
- url: string;
4276
- name: string;
4277
- size: string;
4278
- } & {
4279
- date?: string | null | undefined;
4280
- }) | ({
4281
- __TYPE__: "DocumentLink";
4282
- } & {
4283
- id: string;
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>;
4282
+ url: t.StringC;
4283
+ credits: t.Type<string | null, string | null, unknown>;
4284
+ alt: t.Type<string | null, string | null, unknown>;
4285
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4286
+ }>]>>, t.PartialC<{
4287
+ linkTo: t.UnionC<[t.Type<({
4288
+ __TYPE__: "ImageLink";
4289
+ } & {
4290
+ kind: "image";
4291
+ id: string;
4292
+ url: string;
4293
+ height: string;
4294
+ width: string;
4295
+ size: string;
4296
+ name: string;
4297
+ } & {
4298
+ date?: string | null | undefined;
4299
+ }) | ({
4300
+ __TYPE__: "FileLink";
4301
+ } & {
4302
+ kind: "file";
4303
+ id: string;
4304
+ url: string;
4305
+ name: string;
4306
+ size: string;
4307
+ } & {
4308
+ date?: string | null | undefined;
4309
+ }) | ({
4310
+ __TYPE__: "DocumentLink";
4311
+ } & {
4312
+ id: string;
4313
+ }) | ({
4314
+ __TYPE__: "ExternalLink";
4315
+ } & {
4316
+ url: string;
4317
+ } & {
4318
+ kind?: "web";
4319
+ target?: string | null | undefined;
4320
+ preview?: {
4321
+ title?: string;
4322
+ } | null | undefined;
4323
+ }), ({
4324
+ __TYPE__: "ImageLink";
4325
+ } & {
4326
+ kind: "image";
4327
+ id: string;
4328
+ url: string;
4329
+ height: string;
4330
+ width: string;
4331
+ size: string;
4332
+ name: string;
4333
+ } & {
4334
+ date?: string | null | undefined;
4335
+ }) | ({
4336
+ __TYPE__: "FileLink";
4337
+ } & {
4338
+ kind: "file";
4339
+ id: string;
4340
+ url: string;
4341
+ name: string;
4342
+ size: string;
4343
+ } & {
4344
+ date?: string | null | undefined;
4345
+ }) | ({
4346
+ __TYPE__: "DocumentLink";
4347
+ } & {
4348
+ id: string;
4349
+ }) | ({
4350
+ __TYPE__: "ExternalLink";
4351
+ } & {
4352
+ url: string;
4353
+ } & {
4354
+ kind?: "web";
4355
+ target?: string | null | undefined;
4356
+ preview?: {
4357
+ title?: string;
4358
+ } | null | undefined;
4359
+ }), unknown>, t.NullC, t.UndefinedC]>;
4308
4360
  }>]>;
4309
4361
  }>, t.PartialC<{
4310
- label: t.StringC;
4311
- direction: t.StringC;
4312
- }>]>>>;
4313
- }>>;
4314
- }>>, t.ExactC<t.TypeC<{
4315
- type: t.LiteralC<"tableCell">;
4316
- content: t.ExactC<t.TypeC<{
4317
- __TYPE__: t.LiteralC<"StructuredTextContent">;
4318
- value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4362
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4363
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4364
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4365
+ type: t.LiteralC<"embed">;
4366
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4367
+ embed_url: t.StringC;
4368
+ type: t.StringC;
4369
+ }>, t.PartialC<{
4370
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4371
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4372
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4373
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4374
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4375
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4376
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4377
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4378
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4379
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4380
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4381
+ }>]>>, t.ExactC<t.TypeC<{
4382
+ __TYPE__: t.LiteralC<"EmbedContent">;
4383
+ all: t.UnknownC;
4384
+ }>>]>;
4385
+ }>, t.PartialC<{
4386
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4387
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4388
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4319
4389
  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
4390
  content: t.IntersectionC<[t.TypeC<{
4321
4391
  text: t.StringC;
@@ -4425,9 +4495,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
4425
4495
  }>, t.PartialC<{
4426
4496
  label: t.StringC;
4427
4497
  direction: t.StringC;
4428
- }>]>>>;
4498
+ }>]>>]>>;
4429
4499
  }>>;
4430
- }>>]>>;
4500
+ }>>, t.PartialC<{
4501
+ columnWidth: t.NumberC;
4502
+ }>]>>;
4431
4503
  }>>>;
4432
4504
  }>>, t.ExactC<t.TypeC<{
4433
4505
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -4957,76 +5029,100 @@ export declare const DocumentLegacy: {
4957
5029
  content: {
4958
5030
  type: "tableRow";
4959
5031
  content: ({
4960
- type: "tableHeader";
5032
+ type: "tableHeader" | "tableCell";
4961
5033
  content: {
4962
5034
  __TYPE__: "StructuredTextContent";
4963
- value: ({
4964
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
4965
- content: {
4966
- text: string;
5035
+ value: (({
5036
+ type: "image";
5037
+ data: {
5038
+ origin: {
5039
+ id: string;
5040
+ url: string;
5041
+ width: number;
5042
+ height: number;
5043
+ };
5044
+ width: number;
5045
+ height: number;
5046
+ edit: {
5047
+ zoom: number;
5048
+ crop: {
5049
+ x: number;
5050
+ y: number;
5051
+ };
5052
+ background: string;
5053
+ };
4967
5054
  } & {
4968
- spans?: ({
4969
- data: ({
4970
- __TYPE__: "ImageLink";
4971
- } & {
4972
- kind: "image";
4973
- id: string;
4974
- url: string;
4975
- height: string;
4976
- width: string;
4977
- size: string;
4978
- name: string;
4979
- } & {
4980
- date?: string | null | undefined;
4981
- }) | ({
4982
- __TYPE__: "FileLink";
4983
- } & {
4984
- kind: "file";
4985
- id: string;
4986
- url: string;
4987
- name: string;
4988
- size: string;
4989
- } & {
4990
- date?: string | null | undefined;
4991
- }) | ({
4992
- __TYPE__: "DocumentLink";
4993
- } & {
4994
- id: string;
4995
- }) | ({
4996
- __TYPE__: "ExternalLink";
4997
- } & {
4998
- url: string;
4999
- } & {
5000
- kind?: "web";
5001
- target?: string | null | undefined;
5002
- preview?: {
5003
- title?: string;
5004
- } | null | undefined;
5005
- });
5006
- start: number;
5007
- end: number;
5008
- type: "hyperlink";
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
- })[];
5055
+ url?: string;
5056
+ credits?: string | null;
5057
+ alt?: string | null;
5058
+ provider?: string | null | undefined;
5059
+ } & {
5060
+ linkTo?: ({
5061
+ __TYPE__: "ImageLink";
5062
+ } & {
5063
+ kind: "image";
5064
+ id: string;
5065
+ url: string;
5066
+ height: string;
5067
+ width: string;
5068
+ size: string;
5069
+ name: string;
5070
+ } & {
5071
+ date?: string | null | undefined;
5072
+ }) | ({
5073
+ __TYPE__: "FileLink";
5074
+ } & {
5075
+ kind: "file";
5076
+ id: string;
5077
+ url: string;
5078
+ name: string;
5079
+ size: string;
5080
+ } & {
5081
+ date?: string | null | undefined;
5082
+ }) | ({
5083
+ __TYPE__: "DocumentLink";
5084
+ } & {
5085
+ id: string;
5086
+ }) | ({
5087
+ __TYPE__: "ExternalLink";
5088
+ } & {
5089
+ url: string;
5090
+ } & {
5091
+ kind?: "web";
5092
+ target?: string | null | undefined;
5093
+ preview?: {
5094
+ title?: string;
5095
+ } | null | undefined;
5096
+ }) | null | undefined;
5019
5097
  };
5020
5098
  } & {
5021
- label?: string;
5022
- direction?: string;
5023
- })[];
5024
- };
5025
- } | {
5026
- type: "tableCell";
5027
- content: {
5028
- __TYPE__: "StructuredTextContent";
5029
- value: ({
5099
+ label?: string | null | undefined;
5100
+ direction?: string | null | undefined;
5101
+ }) | ({
5102
+ type: "embed";
5103
+ data: {
5104
+ embed_url: string;
5105
+ type: string;
5106
+ } & {
5107
+ version?: string | number | null;
5108
+ title?: string | null | undefined;
5109
+ author_name?: string | null | undefined;
5110
+ author_url?: string | null | undefined;
5111
+ provider_name?: string | null | undefined;
5112
+ provider_url?: string | null | undefined;
5113
+ cache_age?: string | number | null;
5114
+ thumbnail_url?: string | null | undefined;
5115
+ thumbnail_width?: number | null | undefined;
5116
+ thumbnail_height?: number | null | undefined;
5117
+ html?: string | null | undefined;
5118
+ } & {
5119
+ __TYPE__: "EmbedContent";
5120
+ all: unknown;
5121
+ };
5122
+ } & {
5123
+ label?: string | null | undefined;
5124
+ direction?: string | null | undefined;
5125
+ }) | ({
5030
5126
  type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
5031
5127
  content: {
5032
5128
  text: string;
@@ -5086,8 +5182,10 @@ export declare const DocumentLegacy: {
5086
5182
  } & {
5087
5183
  label?: string;
5088
5184
  direction?: string;
5089
- })[];
5185
+ }))[];
5090
5186
  };
5187
+ } & {
5188
+ columnWidth?: number;
5091
5189
  })[];
5092
5190
  }[];
5093
5191
  } | {
@@ -5488,113 +5586,137 @@ export declare const DocumentLegacy: {
5488
5586
  }) | ({
5489
5587
  __TYPE__: "DocumentLink";
5490
5588
  } & {
5491
- id: string;
5589
+ id: string;
5590
+ }) | ({
5591
+ __TYPE__: "ExternalLink";
5592
+ } & {
5593
+ url: string;
5594
+ } & {
5595
+ kind?: "web";
5596
+ target?: string | null | undefined;
5597
+ preview?: {
5598
+ title?: string;
5599
+ } | null | undefined;
5600
+ });
5601
+ start: number;
5602
+ end: number;
5603
+ type: "hyperlink";
5604
+ } | {
5605
+ data: string;
5606
+ start: number;
5607
+ end: number;
5608
+ type: "label";
5609
+ } | {
5610
+ start: number;
5611
+ end: number;
5612
+ type: "strong" | "em" | "list-item";
5613
+ })[];
5614
+ };
5615
+ } & {
5616
+ label?: string;
5617
+ direction?: string;
5618
+ }))[];
5619
+ } | {
5620
+ __TYPE__: "SeparatorContent";
5621
+ } | {
5622
+ __TYPE__: "TableContent";
5623
+ content: {
5624
+ type: "tableRow";
5625
+ content: ({
5626
+ type: "tableHeader" | "tableCell";
5627
+ content: {
5628
+ __TYPE__: "StructuredTextContent";
5629
+ value: (({
5630
+ type: "image";
5631
+ data: {
5632
+ origin: {
5633
+ id: string;
5634
+ url: string;
5635
+ width: number;
5636
+ height: number;
5637
+ };
5638
+ width: number;
5639
+ height: number;
5640
+ edit: {
5641
+ zoom: number;
5642
+ crop: {
5643
+ x: number;
5644
+ y: number;
5645
+ };
5646
+ background: string;
5647
+ };
5648
+ } & {
5649
+ url?: string;
5650
+ credits?: string | null;
5651
+ alt?: string | null;
5652
+ provider?: string | null | undefined;
5653
+ } & {
5654
+ linkTo?: ({
5655
+ __TYPE__: "ImageLink";
5656
+ } & {
5657
+ kind: "image";
5658
+ id: string;
5659
+ url: string;
5660
+ height: string;
5661
+ width: string;
5662
+ size: string;
5663
+ name: string;
5664
+ } & {
5665
+ date?: string | null | undefined;
5666
+ }) | ({
5667
+ __TYPE__: "FileLink";
5668
+ } & {
5669
+ kind: "file";
5670
+ id: string;
5671
+ url: string;
5672
+ name: string;
5673
+ size: string;
5674
+ } & {
5675
+ date?: string | null | undefined;
5676
+ }) | ({
5677
+ __TYPE__: "DocumentLink";
5678
+ } & {
5679
+ id: string;
5680
+ }) | ({
5681
+ __TYPE__: "ExternalLink";
5682
+ } & {
5683
+ url: string;
5684
+ } & {
5685
+ kind?: "web";
5686
+ target?: string | null | undefined;
5687
+ preview?: {
5688
+ title?: string;
5689
+ } | null | undefined;
5690
+ }) | null | undefined;
5691
+ };
5692
+ } & {
5693
+ label?: string | null | undefined;
5694
+ direction?: string | null | undefined;
5492
5695
  }) | ({
5493
- __TYPE__: "ExternalLink";
5494
- } & {
5495
- url: string;
5496
- } & {
5497
- kind?: "web";
5498
- target?: string | null | undefined;
5499
- preview?: {
5500
- title?: string;
5501
- } | null | undefined;
5502
- });
5503
- start: number;
5504
- end: number;
5505
- type: "hyperlink";
5506
- } | {
5507
- data: string;
5508
- start: number;
5509
- end: number;
5510
- type: "label";
5511
- } | {
5512
- start: number;
5513
- end: number;
5514
- type: "strong" | "em" | "list-item";
5515
- })[];
5516
- };
5517
- } & {
5518
- label?: string;
5519
- direction?: string;
5520
- }))[];
5521
- } | {
5522
- __TYPE__: "SeparatorContent";
5523
- } | {
5524
- __TYPE__: "TableContent";
5525
- content: {
5526
- type: "tableRow";
5527
- content: ({
5528
- type: "tableHeader";
5529
- content: {
5530
- __TYPE__: "StructuredTextContent";
5531
- value: ({
5532
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
5533
- content: {
5534
- text: string;
5696
+ type: "embed";
5697
+ data: {
5698
+ embed_url: string;
5699
+ type: string;
5535
5700
  } & {
5536
- spans?: ({
5537
- data: ({
5538
- __TYPE__: "ImageLink";
5539
- } & {
5540
- kind: "image";
5541
- id: string;
5542
- url: string;
5543
- height: string;
5544
- width: string;
5545
- size: string;
5546
- name: string;
5547
- } & {
5548
- date?: string | null | undefined;
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
- })[];
5701
+ version?: string | number | null;
5702
+ title?: string | null | undefined;
5703
+ author_name?: string | null | undefined;
5704
+ author_url?: string | null | undefined;
5705
+ provider_name?: string | null | undefined;
5706
+ provider_url?: string | null | undefined;
5707
+ cache_age?: string | number | null;
5708
+ thumbnail_url?: string | null | undefined;
5709
+ thumbnail_width?: number | null | undefined;
5710
+ thumbnail_height?: number | null | undefined;
5711
+ html?: string | null | undefined;
5712
+ } & {
5713
+ __TYPE__: "EmbedContent";
5714
+ all: unknown;
5587
5715
  };
5588
5716
  } & {
5589
- label?: string;
5590
- direction?: string;
5591
- })[];
5592
- };
5593
- } | {
5594
- type: "tableCell";
5595
- content: {
5596
- __TYPE__: "StructuredTextContent";
5597
- value: ({
5717
+ label?: string | null | undefined;
5718
+ direction?: string | null | undefined;
5719
+ }) | ({
5598
5720
  type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
5599
5721
  content: {
5600
5722
  text: string;
@@ -5654,8 +5776,10 @@ export declare const DocumentLegacy: {
5654
5776
  } & {
5655
5777
  label?: string;
5656
5778
  direction?: string;
5657
- })[];
5779
+ }))[];
5658
5780
  };
5781
+ } & {
5782
+ columnWidth?: number;
5659
5783
  })[];
5660
5784
  }[];
5661
5785
  } | {
@@ -6087,76 +6211,100 @@ export declare const DocumentLegacy: {
6087
6211
  content: {
6088
6212
  type: "tableRow";
6089
6213
  content: ({
6090
- type: "tableHeader";
6214
+ type: "tableHeader" | "tableCell";
6091
6215
  content: {
6092
6216
  __TYPE__: "StructuredTextContent";
6093
- value: ({
6094
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6095
- content: {
6096
- text: string;
6217
+ value: (({
6218
+ type: "image";
6219
+ data: {
6220
+ origin: {
6221
+ id: string;
6222
+ url: string;
6223
+ width: number;
6224
+ height: number;
6225
+ };
6226
+ width: number;
6227
+ height: number;
6228
+ edit: {
6229
+ zoom: number;
6230
+ crop: {
6231
+ x: number;
6232
+ y: number;
6233
+ };
6234
+ background: string;
6235
+ };
6097
6236
  } & {
6098
- spans?: ({
6099
- data: ({
6100
- __TYPE__: "ImageLink";
6101
- } & {
6102
- kind: "image";
6103
- id: string;
6104
- url: string;
6105
- height: string;
6106
- width: string;
6107
- size: string;
6108
- name: string;
6109
- } & {
6110
- date?: string | null | undefined;
6111
- }) | ({
6112
- __TYPE__: "FileLink";
6113
- } & {
6114
- kind: "file";
6115
- id: string;
6116
- url: string;
6117
- name: string;
6118
- size: string;
6119
- } & {
6120
- date?: string | null | undefined;
6121
- }) | ({
6122
- __TYPE__: "DocumentLink";
6123
- } & {
6124
- id: string;
6125
- }) | ({
6126
- __TYPE__: "ExternalLink";
6127
- } & {
6128
- url: string;
6129
- } & {
6130
- kind?: "web";
6131
- target?: string | null | undefined;
6132
- preview?: {
6133
- title?: string;
6134
- } | null | undefined;
6135
- });
6136
- start: number;
6137
- end: number;
6138
- type: "hyperlink";
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
- })[];
6237
+ url?: string;
6238
+ credits?: string | null;
6239
+ alt?: string | null;
6240
+ provider?: string | null | undefined;
6241
+ } & {
6242
+ linkTo?: ({
6243
+ __TYPE__: "ImageLink";
6244
+ } & {
6245
+ kind: "image";
6246
+ id: string;
6247
+ url: string;
6248
+ height: string;
6249
+ width: string;
6250
+ size: string;
6251
+ name: string;
6252
+ } & {
6253
+ date?: string | null | undefined;
6254
+ }) | ({
6255
+ __TYPE__: "FileLink";
6256
+ } & {
6257
+ kind: "file";
6258
+ id: string;
6259
+ url: string;
6260
+ name: string;
6261
+ size: string;
6262
+ } & {
6263
+ date?: string | null | undefined;
6264
+ }) | ({
6265
+ __TYPE__: "DocumentLink";
6266
+ } & {
6267
+ id: string;
6268
+ }) | ({
6269
+ __TYPE__: "ExternalLink";
6270
+ } & {
6271
+ url: string;
6272
+ } & {
6273
+ kind?: "web";
6274
+ target?: string | null | undefined;
6275
+ preview?: {
6276
+ title?: string;
6277
+ } | null | undefined;
6278
+ }) | null | undefined;
6149
6279
  };
6150
6280
  } & {
6151
- label?: string;
6152
- direction?: string;
6153
- })[];
6154
- };
6155
- } | {
6156
- type: "tableCell";
6157
- content: {
6158
- __TYPE__: "StructuredTextContent";
6159
- value: ({
6281
+ label?: string | null | undefined;
6282
+ direction?: string | null | undefined;
6283
+ }) | ({
6284
+ type: "embed";
6285
+ data: {
6286
+ embed_url: string;
6287
+ type: string;
6288
+ } & {
6289
+ version?: string | number | null;
6290
+ title?: string | null | undefined;
6291
+ author_name?: string | null | undefined;
6292
+ author_url?: string | null | undefined;
6293
+ provider_name?: string | null | undefined;
6294
+ provider_url?: string | null | undefined;
6295
+ cache_age?: string | number | null;
6296
+ thumbnail_url?: string | null | undefined;
6297
+ thumbnail_width?: number | null | undefined;
6298
+ thumbnail_height?: number | null | undefined;
6299
+ html?: string | null | undefined;
6300
+ } & {
6301
+ __TYPE__: "EmbedContent";
6302
+ all: unknown;
6303
+ };
6304
+ } & {
6305
+ label?: string | null | undefined;
6306
+ direction?: string | null | undefined;
6307
+ }) | ({
6160
6308
  type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6161
6309
  content: {
6162
6310
  text: string;
@@ -6216,8 +6364,10 @@ export declare const DocumentLegacy: {
6216
6364
  } & {
6217
6365
  label?: string;
6218
6366
  direction?: string;
6219
- })[];
6367
+ }))[];
6220
6368
  };
6369
+ } & {
6370
+ columnWidth?: number;
6221
6371
  })[];
6222
6372
  }[];
6223
6373
  };
@@ -6650,76 +6800,100 @@ export declare const DocumentLegacy: {
6650
6800
  content: {
6651
6801
  type: "tableRow";
6652
6802
  content: ({
6653
- type: "tableHeader";
6803
+ type: "tableHeader" | "tableCell";
6654
6804
  content: {
6655
6805
  __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;
6806
+ value: (({
6807
+ type: "image";
6808
+ data: {
6809
+ origin: {
6810
+ id: string;
6811
+ url: string;
6812
+ width: number;
6813
+ height: number;
6814
+ };
6815
+ width: number;
6816
+ height: number;
6817
+ edit: {
6818
+ zoom: number;
6819
+ crop: {
6820
+ x: number;
6821
+ y: number;
6822
+ };
6823
+ background: string;
6824
+ };
6825
+ } & {
6826
+ url?: string;
6827
+ credits?: string | null;
6828
+ alt?: string | null;
6829
+ provider?: string | null | undefined;
6830
+ } & {
6831
+ linkTo?: ({
6832
+ __TYPE__: "ImageLink";
6833
+ } & {
6834
+ kind: "image";
6835
+ id: string;
6836
+ url: string;
6837
+ height: string;
6838
+ width: string;
6839
+ size: string;
6840
+ name: string;
6841
+ } & {
6842
+ date?: string | null | undefined;
6843
+ }) | ({
6844
+ __TYPE__: "FileLink";
6845
+ } & {
6846
+ kind: "file";
6847
+ id: string;
6848
+ url: string;
6849
+ name: string;
6850
+ size: string;
6851
+ } & {
6852
+ date?: string | null | undefined;
6853
+ }) | ({
6854
+ __TYPE__: "DocumentLink";
6855
+ } & {
6856
+ id: string;
6857
+ }) | ({
6858
+ __TYPE__: "ExternalLink";
6859
+ } & {
6860
+ url: string;
6861
+ } & {
6862
+ kind?: "web";
6863
+ target?: string | null | undefined;
6864
+ preview?: {
6865
+ title?: string;
6866
+ } | null | undefined;
6867
+ }) | null | undefined;
6868
+ };
6869
+ } & {
6870
+ label?: string | null | undefined;
6871
+ direction?: string | null | undefined;
6872
+ }) | ({
6873
+ type: "embed";
6874
+ data: {
6875
+ embed_url: string;
6876
+ type: string;
6660
6877
  } & {
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
- })[];
6878
+ version?: string | number | null;
6879
+ title?: string | null | undefined;
6880
+ author_name?: string | null | undefined;
6881
+ author_url?: string | null | undefined;
6882
+ provider_name?: string | null | undefined;
6883
+ provider_url?: string | null | undefined;
6884
+ cache_age?: string | number | null;
6885
+ thumbnail_url?: string | null | undefined;
6886
+ thumbnail_width?: number | null | undefined;
6887
+ thumbnail_height?: number | null | undefined;
6888
+ html?: string | null | undefined;
6889
+ } & {
6890
+ __TYPE__: "EmbedContent";
6891
+ all: unknown;
6712
6892
  };
6713
6893
  } & {
6714
- label?: string;
6715
- direction?: string;
6716
- })[];
6717
- };
6718
- } | {
6719
- type: "tableCell";
6720
- content: {
6721
- __TYPE__: "StructuredTextContent";
6722
- value: ({
6894
+ label?: string | null | undefined;
6895
+ direction?: string | null | undefined;
6896
+ }) | ({
6723
6897
  type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6724
6898
  content: {
6725
6899
  text: string;
@@ -6779,8 +6953,10 @@ export declare const DocumentLegacy: {
6779
6953
  } & {
6780
6954
  label?: string;
6781
6955
  direction?: string;
6782
- })[];
6956
+ }))[];
6783
6957
  };
6958
+ } & {
6959
+ columnWidth?: number;
6784
6960
  })[];
6785
6961
  }[];
6786
6962
  }][];
@@ -7215,76 +7391,100 @@ export declare const DocumentLegacy: {
7215
7391
  content: {
7216
7392
  type: "tableRow";
7217
7393
  content: ({
7218
- type: "tableHeader";
7394
+ type: "tableHeader" | "tableCell";
7219
7395
  content: {
7220
7396
  __TYPE__: "StructuredTextContent";
7221
- value: ({
7222
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
7223
- content: {
7224
- text: string;
7397
+ value: (({
7398
+ type: "image";
7399
+ data: {
7400
+ origin: {
7401
+ id: string;
7402
+ url: string;
7403
+ width: number;
7404
+ height: number;
7405
+ };
7406
+ width: number;
7407
+ height: number;
7408
+ edit: {
7409
+ zoom: number;
7410
+ crop: {
7411
+ x: number;
7412
+ y: number;
7413
+ };
7414
+ background: string;
7415
+ };
7225
7416
  } & {
7226
- spans?: ({
7227
- data: ({
7228
- __TYPE__: "ImageLink";
7229
- } & {
7230
- kind: "image";
7231
- id: string;
7232
- url: string;
7233
- height: string;
7234
- width: string;
7235
- size: string;
7236
- name: string;
7237
- } & {
7238
- date?: string | null | undefined;
7239
- }) | ({
7240
- __TYPE__: "FileLink";
7241
- } & {
7242
- kind: "file";
7243
- id: string;
7244
- url: string;
7245
- name: string;
7246
- size: string;
7247
- } & {
7248
- date?: string | null | undefined;
7249
- }) | ({
7250
- __TYPE__: "DocumentLink";
7251
- } & {
7252
- id: string;
7253
- }) | ({
7254
- __TYPE__: "ExternalLink";
7255
- } & {
7256
- url: string;
7257
- } & {
7258
- kind?: "web";
7259
- target?: string | null | undefined;
7260
- preview?: {
7261
- title?: string;
7262
- } | null | undefined;
7263
- });
7264
- start: number;
7265
- end: number;
7266
- type: "hyperlink";
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
- })[];
7417
+ url?: string;
7418
+ credits?: string | null;
7419
+ alt?: string | null;
7420
+ provider?: string | null | undefined;
7421
+ } & {
7422
+ linkTo?: ({
7423
+ __TYPE__: "ImageLink";
7424
+ } & {
7425
+ kind: "image";
7426
+ id: string;
7427
+ url: string;
7428
+ height: string;
7429
+ width: string;
7430
+ size: string;
7431
+ name: string;
7432
+ } & {
7433
+ date?: string | null | undefined;
7434
+ }) | ({
7435
+ __TYPE__: "FileLink";
7436
+ } & {
7437
+ kind: "file";
7438
+ id: string;
7439
+ url: string;
7440
+ name: string;
7441
+ size: string;
7442
+ } & {
7443
+ date?: string | null | undefined;
7444
+ }) | ({
7445
+ __TYPE__: "DocumentLink";
7446
+ } & {
7447
+ id: string;
7448
+ }) | ({
7449
+ __TYPE__: "ExternalLink";
7450
+ } & {
7451
+ url: string;
7452
+ } & {
7453
+ kind?: "web";
7454
+ target?: string | null | undefined;
7455
+ preview?: {
7456
+ title?: string;
7457
+ } | null | undefined;
7458
+ }) | null | undefined;
7277
7459
  };
7278
7460
  } & {
7279
- label?: string;
7280
- direction?: string;
7281
- })[];
7282
- };
7283
- } | {
7284
- type: "tableCell";
7285
- content: {
7286
- __TYPE__: "StructuredTextContent";
7287
- value: ({
7461
+ label?: string | null | undefined;
7462
+ direction?: string | null | undefined;
7463
+ }) | ({
7464
+ type: "embed";
7465
+ data: {
7466
+ embed_url: string;
7467
+ type: string;
7468
+ } & {
7469
+ version?: string | number | null;
7470
+ title?: string | null | undefined;
7471
+ author_name?: string | null | undefined;
7472
+ author_url?: string | null | undefined;
7473
+ provider_name?: string | null | undefined;
7474
+ provider_url?: string | null | undefined;
7475
+ cache_age?: string | number | null;
7476
+ thumbnail_url?: string | null | undefined;
7477
+ thumbnail_width?: number | null | undefined;
7478
+ thumbnail_height?: number | null | undefined;
7479
+ html?: string | null | undefined;
7480
+ } & {
7481
+ __TYPE__: "EmbedContent";
7482
+ all: unknown;
7483
+ };
7484
+ } & {
7485
+ label?: string | null | undefined;
7486
+ direction?: string | null | undefined;
7487
+ }) | ({
7288
7488
  type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
7289
7489
  content: {
7290
7490
  text: string;
@@ -7344,8 +7544,10 @@ export declare const DocumentLegacy: {
7344
7544
  } & {
7345
7545
  label?: string;
7346
7546
  direction?: string;
7347
- })[];
7547
+ }))[];
7348
7548
  };
7549
+ } & {
7550
+ columnWidth?: number;
7349
7551
  })[];
7350
7552
  }[];
7351
7553
  };
@@ -7778,76 +7980,100 @@ export declare const DocumentLegacy: {
7778
7980
  content: {
7779
7981
  type: "tableRow";
7780
7982
  content: ({
7781
- type: "tableHeader";
7983
+ type: "tableHeader" | "tableCell";
7782
7984
  content: {
7783
7985
  __TYPE__: "StructuredTextContent";
7784
- value: ({
7785
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
7786
- content: {
7787
- text: string;
7986
+ value: (({
7987
+ type: "image";
7988
+ data: {
7989
+ origin: {
7990
+ id: string;
7991
+ url: string;
7992
+ width: number;
7993
+ height: number;
7994
+ };
7995
+ width: number;
7996
+ height: number;
7997
+ edit: {
7998
+ zoom: number;
7999
+ crop: {
8000
+ x: number;
8001
+ y: number;
8002
+ };
8003
+ background: string;
8004
+ };
7788
8005
  } & {
7789
- spans?: ({
7790
- data: ({
7791
- __TYPE__: "ImageLink";
7792
- } & {
7793
- kind: "image";
7794
- id: string;
7795
- url: string;
7796
- height: string;
7797
- width: string;
7798
- size: string;
7799
- name: string;
7800
- } & {
7801
- date?: string | null | undefined;
7802
- }) | ({
7803
- __TYPE__: "FileLink";
7804
- } & {
7805
- kind: "file";
7806
- id: string;
7807
- url: string;
7808
- name: string;
7809
- size: string;
7810
- } & {
7811
- date?: string | null | undefined;
7812
- }) | ({
7813
- __TYPE__: "DocumentLink";
7814
- } & {
7815
- id: string;
7816
- }) | ({
7817
- __TYPE__: "ExternalLink";
7818
- } & {
7819
- url: string;
7820
- } & {
7821
- kind?: "web";
7822
- target?: string | null | undefined;
7823
- preview?: {
7824
- title?: string;
7825
- } | null | undefined;
7826
- });
7827
- start: number;
7828
- end: number;
7829
- type: "hyperlink";
7830
- } | {
7831
- data: string;
7832
- start: number;
7833
- end: number;
7834
- type: "label";
7835
- } | {
7836
- start: number;
7837
- end: number;
7838
- type: "strong" | "em" | "list-item";
7839
- })[];
8006
+ url?: string;
8007
+ credits?: string | null;
8008
+ alt?: string | null;
8009
+ provider?: string | null | undefined;
8010
+ } & {
8011
+ linkTo?: ({
8012
+ __TYPE__: "ImageLink";
8013
+ } & {
8014
+ kind: "image";
8015
+ id: string;
8016
+ url: string;
8017
+ height: string;
8018
+ width: string;
8019
+ size: string;
8020
+ name: string;
8021
+ } & {
8022
+ date?: string | null | undefined;
8023
+ }) | ({
8024
+ __TYPE__: "FileLink";
8025
+ } & {
8026
+ kind: "file";
8027
+ id: string;
8028
+ url: string;
8029
+ name: string;
8030
+ size: string;
8031
+ } & {
8032
+ date?: string | null | undefined;
8033
+ }) | ({
8034
+ __TYPE__: "DocumentLink";
8035
+ } & {
8036
+ id: string;
8037
+ }) | ({
8038
+ __TYPE__: "ExternalLink";
8039
+ } & {
8040
+ url: string;
8041
+ } & {
8042
+ kind?: "web";
8043
+ target?: string | null | undefined;
8044
+ preview?: {
8045
+ title?: string;
8046
+ } | null | undefined;
8047
+ }) | null | undefined;
7840
8048
  };
7841
8049
  } & {
7842
- label?: string;
7843
- direction?: string;
7844
- })[];
7845
- };
7846
- } | {
7847
- type: "tableCell";
7848
- content: {
7849
- __TYPE__: "StructuredTextContent";
7850
- value: ({
8050
+ label?: string | null | undefined;
8051
+ direction?: string | null | undefined;
8052
+ }) | ({
8053
+ type: "embed";
8054
+ data: {
8055
+ embed_url: string;
8056
+ type: string;
8057
+ } & {
8058
+ version?: string | number | null;
8059
+ title?: string | null | undefined;
8060
+ author_name?: string | null | undefined;
8061
+ author_url?: string | null | undefined;
8062
+ provider_name?: string | null | undefined;
8063
+ provider_url?: string | null | undefined;
8064
+ cache_age?: string | number | null;
8065
+ thumbnail_url?: string | null | undefined;
8066
+ thumbnail_width?: number | null | undefined;
8067
+ thumbnail_height?: number | null | undefined;
8068
+ html?: string | null | undefined;
8069
+ } & {
8070
+ __TYPE__: "EmbedContent";
8071
+ all: unknown;
8072
+ };
8073
+ } & {
8074
+ label?: string | null | undefined;
8075
+ direction?: string | null | undefined;
8076
+ }) | ({
7851
8077
  type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
7852
8078
  content: {
7853
8079
  text: string;
@@ -7907,8 +8133,10 @@ export declare const DocumentLegacy: {
7907
8133
  } & {
7908
8134
  label?: string;
7909
8135
  direction?: string;
7910
- })[];
8136
+ }))[];
7911
8137
  };
8138
+ } & {
8139
+ columnWidth?: number;
7912
8140
  })[];
7913
8141
  }[];
7914
8142
  }][];
@@ -8377,76 +8605,100 @@ export declare function migrateDocument(document: Document, customType: StaticCu
8377
8605
  content: {
8378
8606
  type: "tableRow";
8379
8607
  content: ({
8380
- type: "tableHeader";
8608
+ type: "tableHeader" | "tableCell";
8381
8609
  content: {
8382
8610
  __TYPE__: "StructuredTextContent";
8383
- value: ({
8384
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
8385
- content: {
8386
- text: string;
8611
+ value: (({
8612
+ type: "image";
8613
+ data: {
8614
+ origin: {
8615
+ id: string;
8616
+ url: string;
8617
+ width: number;
8618
+ height: number;
8619
+ };
8620
+ width: number;
8621
+ height: number;
8622
+ edit: {
8623
+ zoom: number;
8624
+ crop: {
8625
+ x: number;
8626
+ y: number;
8627
+ };
8628
+ background: string;
8629
+ };
8387
8630
  } & {
8388
- spans?: ({
8389
- data: ({
8390
- __TYPE__: "ImageLink";
8391
- } & {
8392
- kind: "image";
8393
- id: string;
8394
- url: string;
8395
- height: string;
8396
- width: string;
8397
- size: string;
8398
- name: string;
8399
- } & {
8400
- date?: string | null | undefined;
8401
- }) | ({
8402
- __TYPE__: "FileLink";
8403
- } & {
8404
- kind: "file";
8405
- id: string;
8406
- url: string;
8407
- name: string;
8408
- size: string;
8409
- } & {
8410
- date?: string | null | undefined;
8411
- }) | ({
8412
- __TYPE__: "DocumentLink";
8413
- } & {
8414
- id: string;
8415
- }) | ({
8416
- __TYPE__: "ExternalLink";
8417
- } & {
8418
- url: string;
8419
- } & {
8420
- kind?: "web";
8421
- target?: string | null | undefined;
8422
- preview?: {
8423
- title?: string;
8424
- } | null | undefined;
8425
- });
8426
- start: number;
8427
- end: number;
8428
- type: "hyperlink";
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
- })[];
8631
+ url?: string;
8632
+ credits?: string | null;
8633
+ alt?: string | null;
8634
+ provider?: string | null | undefined;
8635
+ } & {
8636
+ linkTo?: ({
8637
+ __TYPE__: "ImageLink";
8638
+ } & {
8639
+ kind: "image";
8640
+ id: string;
8641
+ url: string;
8642
+ height: string;
8643
+ width: string;
8644
+ size: string;
8645
+ name: string;
8646
+ } & {
8647
+ date?: string | null | undefined;
8648
+ }) | ({
8649
+ __TYPE__: "FileLink";
8650
+ } & {
8651
+ kind: "file";
8652
+ id: string;
8653
+ url: string;
8654
+ name: string;
8655
+ size: string;
8656
+ } & {
8657
+ date?: string | null | undefined;
8658
+ }) | ({
8659
+ __TYPE__: "DocumentLink";
8660
+ } & {
8661
+ id: string;
8662
+ }) | ({
8663
+ __TYPE__: "ExternalLink";
8664
+ } & {
8665
+ url: string;
8666
+ } & {
8667
+ kind?: "web";
8668
+ target?: string | null | undefined;
8669
+ preview?: {
8670
+ title?: string;
8671
+ } | null | undefined;
8672
+ }) | null | undefined;
8439
8673
  };
8440
8674
  } & {
8441
- label?: string;
8442
- direction?: string;
8443
- })[];
8444
- };
8445
- } | {
8446
- type: "tableCell";
8447
- content: {
8448
- __TYPE__: "StructuredTextContent";
8449
- value: ({
8675
+ label?: string | null | undefined;
8676
+ direction?: string | null | undefined;
8677
+ }) | ({
8678
+ type: "embed";
8679
+ data: {
8680
+ embed_url: string;
8681
+ type: string;
8682
+ } & {
8683
+ version?: string | number | null;
8684
+ title?: string | null | undefined;
8685
+ author_name?: string | null | undefined;
8686
+ author_url?: string | null | undefined;
8687
+ provider_name?: string | null | undefined;
8688
+ provider_url?: string | null | undefined;
8689
+ cache_age?: string | number | null;
8690
+ thumbnail_url?: string | null | undefined;
8691
+ thumbnail_width?: number | null | undefined;
8692
+ thumbnail_height?: number | null | undefined;
8693
+ html?: string | null | undefined;
8694
+ } & {
8695
+ __TYPE__: "EmbedContent";
8696
+ all: unknown;
8697
+ };
8698
+ } & {
8699
+ label?: string | null | undefined;
8700
+ direction?: string | null | undefined;
8701
+ }) | ({
8450
8702
  type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
8451
8703
  content: {
8452
8704
  text: string;
@@ -8506,8 +8758,10 @@ export declare function migrateDocument(document: Document, customType: StaticCu
8506
8758
  } & {
8507
8759
  label?: string;
8508
8760
  direction?: string;
8509
- })[];
8761
+ }))[];
8510
8762
  };
8763
+ } & {
8764
+ columnWidth?: number;
8511
8765
  })[];
8512
8766
  }[];
8513
8767
  } | {
@@ -8945,76 +9199,100 @@ export declare function migrateDocument(document: Document, customType: StaticCu
8945
9199
  content: {
8946
9200
  type: "tableRow";
8947
9201
  content: ({
8948
- type: "tableHeader";
9202
+ type: "tableHeader" | "tableCell";
8949
9203
  content: {
8950
9204
  __TYPE__: "StructuredTextContent";
8951
- value: ({
8952
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
8953
- content: {
8954
- text: string;
9205
+ value: (({
9206
+ type: "image";
9207
+ data: {
9208
+ origin: {
9209
+ id: string;
9210
+ url: string;
9211
+ width: number;
9212
+ height: number;
9213
+ };
9214
+ width: number;
9215
+ height: number;
9216
+ edit: {
9217
+ zoom: number;
9218
+ crop: {
9219
+ x: number;
9220
+ y: number;
9221
+ };
9222
+ background: string;
9223
+ };
9224
+ } & {
9225
+ url?: string;
9226
+ credits?: string | null;
9227
+ alt?: string | null;
9228
+ provider?: string | null | undefined;
9229
+ } & {
9230
+ linkTo?: ({
9231
+ __TYPE__: "ImageLink";
9232
+ } & {
9233
+ kind: "image";
9234
+ id: string;
9235
+ url: string;
9236
+ height: string;
9237
+ width: string;
9238
+ size: string;
9239
+ name: string;
9240
+ } & {
9241
+ date?: string | null | undefined;
9242
+ }) | ({
9243
+ __TYPE__: "FileLink";
9244
+ } & {
9245
+ kind: "file";
9246
+ id: string;
9247
+ url: string;
9248
+ name: string;
9249
+ size: string;
9250
+ } & {
9251
+ date?: string | null | undefined;
9252
+ }) | ({
9253
+ __TYPE__: "DocumentLink";
9254
+ } & {
9255
+ id: string;
9256
+ }) | ({
9257
+ __TYPE__: "ExternalLink";
9258
+ } & {
9259
+ url: string;
9260
+ } & {
9261
+ kind?: "web";
9262
+ target?: string | null | undefined;
9263
+ preview?: {
9264
+ title?: string;
9265
+ } | null | undefined;
9266
+ }) | null | undefined;
9267
+ };
9268
+ } & {
9269
+ label?: string | null | undefined;
9270
+ direction?: string | null | undefined;
9271
+ }) | ({
9272
+ type: "embed";
9273
+ data: {
9274
+ embed_url: string;
9275
+ type: string;
9276
+ } & {
9277
+ version?: string | number | null;
9278
+ title?: string | null | undefined;
9279
+ author_name?: string | null | undefined;
9280
+ author_url?: string | null | undefined;
9281
+ provider_name?: string | null | undefined;
9282
+ provider_url?: string | null | undefined;
9283
+ cache_age?: string | number | null;
9284
+ thumbnail_url?: string | null | undefined;
9285
+ thumbnail_width?: number | null | undefined;
9286
+ thumbnail_height?: number | null | undefined;
9287
+ html?: string | null | undefined;
8955
9288
  } & {
8956
- spans?: ({
8957
- data: ({
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
- })[];
9289
+ __TYPE__: "EmbedContent";
9290
+ all: unknown;
9007
9291
  };
9008
9292
  } & {
9009
- label?: string;
9010
- direction?: string;
9011
- })[];
9012
- };
9013
- } | {
9014
- type: "tableCell";
9015
- content: {
9016
- __TYPE__: "StructuredTextContent";
9017
- value: ({
9293
+ label?: string | null | undefined;
9294
+ direction?: string | null | undefined;
9295
+ }) | ({
9018
9296
  type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
9019
9297
  content: {
9020
9298
  text: string;
@@ -9074,8 +9352,10 @@ export declare function migrateDocument(document: Document, customType: StaticCu
9074
9352
  } & {
9075
9353
  label?: string;
9076
9354
  direction?: string;
9077
- })[];
9355
+ }))[];
9078
9356
  };
9357
+ } & {
9358
+ columnWidth?: number;
9079
9359
  })[];
9080
9360
  }[];
9081
9361
  } | {
@@ -9507,76 +9787,100 @@ export declare function migrateDocument(document: Document, customType: StaticCu
9507
9787
  content: {
9508
9788
  type: "tableRow";
9509
9789
  content: ({
9510
- type: "tableHeader";
9790
+ type: "tableHeader" | "tableCell";
9511
9791
  content: {
9512
9792
  __TYPE__: "StructuredTextContent";
9513
- value: ({
9514
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
9515
- content: {
9516
- text: string;
9793
+ value: (({
9794
+ type: "image";
9795
+ data: {
9796
+ origin: {
9797
+ id: string;
9798
+ url: string;
9799
+ width: number;
9800
+ height: number;
9801
+ };
9802
+ width: number;
9803
+ height: number;
9804
+ edit: {
9805
+ zoom: number;
9806
+ crop: {
9807
+ x: number;
9808
+ y: number;
9809
+ };
9810
+ background: string;
9811
+ };
9517
9812
  } & {
9518
- spans?: ({
9519
- data: ({
9520
- __TYPE__: "ImageLink";
9521
- } & {
9522
- kind: "image";
9523
- id: string;
9524
- url: string;
9525
- height: string;
9526
- width: string;
9527
- size: string;
9528
- name: string;
9529
- } & {
9530
- date?: string | null | undefined;
9531
- }) | ({
9532
- __TYPE__: "FileLink";
9533
- } & {
9534
- kind: "file";
9535
- id: string;
9536
- url: string;
9537
- name: string;
9538
- size: string;
9539
- } & {
9540
- date?: string | null | undefined;
9541
- }) | ({
9542
- __TYPE__: "DocumentLink";
9543
- } & {
9544
- id: string;
9545
- }) | ({
9546
- __TYPE__: "ExternalLink";
9547
- } & {
9548
- url: string;
9549
- } & {
9550
- kind?: "web";
9551
- target?: string | null | undefined;
9552
- preview?: {
9553
- title?: string;
9554
- } | null | undefined;
9555
- });
9556
- start: number;
9557
- end: number;
9558
- type: "hyperlink";
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
- })[];
9813
+ url?: string;
9814
+ credits?: string | null;
9815
+ alt?: string | null;
9816
+ provider?: string | null | undefined;
9817
+ } & {
9818
+ linkTo?: ({
9819
+ __TYPE__: "ImageLink";
9820
+ } & {
9821
+ kind: "image";
9822
+ id: string;
9823
+ url: string;
9824
+ height: string;
9825
+ width: string;
9826
+ size: string;
9827
+ name: string;
9828
+ } & {
9829
+ date?: string | null | undefined;
9830
+ }) | ({
9831
+ __TYPE__: "FileLink";
9832
+ } & {
9833
+ kind: "file";
9834
+ id: string;
9835
+ url: string;
9836
+ name: string;
9837
+ size: string;
9838
+ } & {
9839
+ date?: string | null | undefined;
9840
+ }) | ({
9841
+ __TYPE__: "DocumentLink";
9842
+ } & {
9843
+ id: string;
9844
+ }) | ({
9845
+ __TYPE__: "ExternalLink";
9846
+ } & {
9847
+ url: string;
9848
+ } & {
9849
+ kind?: "web";
9850
+ target?: string | null | undefined;
9851
+ preview?: {
9852
+ title?: string;
9853
+ } | null | undefined;
9854
+ }) | null | undefined;
9569
9855
  };
9570
9856
  } & {
9571
- label?: string;
9572
- direction?: string;
9573
- })[];
9574
- };
9575
- } | {
9576
- type: "tableCell";
9577
- content: {
9578
- __TYPE__: "StructuredTextContent";
9579
- value: ({
9857
+ label?: string | null | undefined;
9858
+ direction?: string | null | undefined;
9859
+ }) | ({
9860
+ type: "embed";
9861
+ data: {
9862
+ embed_url: string;
9863
+ type: string;
9864
+ } & {
9865
+ version?: string | number | null;
9866
+ title?: string | null | undefined;
9867
+ author_name?: string | null | undefined;
9868
+ author_url?: string | null | undefined;
9869
+ provider_name?: string | null | undefined;
9870
+ provider_url?: string | null | undefined;
9871
+ cache_age?: string | number | null;
9872
+ thumbnail_url?: string | null | undefined;
9873
+ thumbnail_width?: number | null | undefined;
9874
+ thumbnail_height?: number | null | undefined;
9875
+ html?: string | null | undefined;
9876
+ } & {
9877
+ __TYPE__: "EmbedContent";
9878
+ all: unknown;
9879
+ };
9880
+ } & {
9881
+ label?: string | null | undefined;
9882
+ direction?: string | null | undefined;
9883
+ }) | ({
9580
9884
  type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
9581
9885
  content: {
9582
9886
  text: string;
@@ -9636,8 +9940,10 @@ export declare function migrateDocument(document: Document, customType: StaticCu
9636
9940
  } & {
9637
9941
  label?: string;
9638
9942
  direction?: string;
9639
- })[];
9943
+ }))[];
9640
9944
  };
9945
+ } & {
9946
+ columnWidth?: number;
9641
9947
  })[];
9642
9948
  }[];
9643
9949
  };
@@ -10070,76 +10376,100 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10070
10376
  content: {
10071
10377
  type: "tableRow";
10072
10378
  content: ({
10073
- type: "tableHeader";
10379
+ type: "tableHeader" | "tableCell";
10074
10380
  content: {
10075
10381
  __TYPE__: "StructuredTextContent";
10076
- value: ({
10077
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
10078
- content: {
10079
- text: string;
10382
+ value: (({
10383
+ type: "image";
10384
+ data: {
10385
+ origin: {
10386
+ id: string;
10387
+ url: string;
10388
+ width: number;
10389
+ height: number;
10390
+ };
10391
+ width: number;
10392
+ height: number;
10393
+ edit: {
10394
+ zoom: number;
10395
+ crop: {
10396
+ x: number;
10397
+ y: number;
10398
+ };
10399
+ background: string;
10400
+ };
10080
10401
  } & {
10081
- spans?: ({
10082
- data: ({
10083
- __TYPE__: "ImageLink";
10084
- } & {
10085
- kind: "image";
10086
- id: string;
10087
- url: string;
10088
- height: string;
10089
- width: string;
10090
- size: string;
10091
- name: string;
10092
- } & {
10093
- date?: string | null | undefined;
10094
- }) | ({
10095
- __TYPE__: "FileLink";
10096
- } & {
10097
- kind: "file";
10098
- id: string;
10099
- url: string;
10100
- name: string;
10101
- size: string;
10102
- } & {
10103
- date?: string | null | undefined;
10104
- }) | ({
10105
- __TYPE__: "DocumentLink";
10106
- } & {
10107
- id: string;
10108
- }) | ({
10109
- __TYPE__: "ExternalLink";
10110
- } & {
10111
- url: string;
10112
- } & {
10113
- kind?: "web";
10114
- target?: string | null | undefined;
10115
- preview?: {
10116
- title?: string;
10117
- } | null | undefined;
10118
- });
10119
- start: number;
10120
- end: number;
10121
- type: "hyperlink";
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
- })[];
10402
+ url?: string;
10403
+ credits?: string | null;
10404
+ alt?: string | null;
10405
+ provider?: string | null | undefined;
10406
+ } & {
10407
+ linkTo?: ({
10408
+ __TYPE__: "ImageLink";
10409
+ } & {
10410
+ kind: "image";
10411
+ id: string;
10412
+ url: string;
10413
+ height: string;
10414
+ width: string;
10415
+ size: string;
10416
+ name: string;
10417
+ } & {
10418
+ date?: string | null | undefined;
10419
+ }) | ({
10420
+ __TYPE__: "FileLink";
10421
+ } & {
10422
+ kind: "file";
10423
+ id: string;
10424
+ url: string;
10425
+ name: string;
10426
+ size: string;
10427
+ } & {
10428
+ date?: string | null | undefined;
10429
+ }) | ({
10430
+ __TYPE__: "DocumentLink";
10431
+ } & {
10432
+ id: string;
10433
+ }) | ({
10434
+ __TYPE__: "ExternalLink";
10435
+ } & {
10436
+ url: string;
10437
+ } & {
10438
+ kind?: "web";
10439
+ target?: string | null | undefined;
10440
+ preview?: {
10441
+ title?: string;
10442
+ } | null | undefined;
10443
+ }) | null | undefined;
10132
10444
  };
10133
10445
  } & {
10134
- label?: string;
10135
- direction?: string;
10136
- })[];
10137
- };
10138
- } | {
10139
- type: "tableCell";
10140
- content: {
10141
- __TYPE__: "StructuredTextContent";
10142
- value: ({
10446
+ label?: string | null | undefined;
10447
+ direction?: string | null | undefined;
10448
+ }) | ({
10449
+ type: "embed";
10450
+ data: {
10451
+ embed_url: string;
10452
+ type: string;
10453
+ } & {
10454
+ version?: string | number | null;
10455
+ title?: string | null | undefined;
10456
+ author_name?: string | null | undefined;
10457
+ author_url?: string | null | undefined;
10458
+ provider_name?: string | null | undefined;
10459
+ provider_url?: string | null | undefined;
10460
+ cache_age?: string | number | null;
10461
+ thumbnail_url?: string | null | undefined;
10462
+ thumbnail_width?: number | null | undefined;
10463
+ thumbnail_height?: number | null | undefined;
10464
+ html?: string | null | undefined;
10465
+ } & {
10466
+ __TYPE__: "EmbedContent";
10467
+ all: unknown;
10468
+ };
10469
+ } & {
10470
+ label?: string | null | undefined;
10471
+ direction?: string | null | undefined;
10472
+ }) | ({
10143
10473
  type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
10144
10474
  content: {
10145
10475
  text: string;
@@ -10199,8 +10529,10 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10199
10529
  } & {
10200
10530
  label?: string;
10201
10531
  direction?: string;
10202
- })[];
10532
+ }))[];
10203
10533
  };
10534
+ } & {
10535
+ columnWidth?: number;
10204
10536
  })[];
10205
10537
  }[];
10206
10538
  }][];
@@ -10635,76 +10967,100 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10635
10967
  content: {
10636
10968
  type: "tableRow";
10637
10969
  content: ({
10638
- type: "tableHeader";
10970
+ type: "tableHeader" | "tableCell";
10639
10971
  content: {
10640
10972
  __TYPE__: "StructuredTextContent";
10641
- value: ({
10642
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
10643
- content: {
10644
- text: string;
10973
+ value: (({
10974
+ type: "image";
10975
+ data: {
10976
+ origin: {
10977
+ id: string;
10978
+ url: string;
10979
+ width: number;
10980
+ height: number;
10981
+ };
10982
+ width: number;
10983
+ height: number;
10984
+ edit: {
10985
+ zoom: number;
10986
+ crop: {
10987
+ x: number;
10988
+ y: number;
10989
+ };
10990
+ background: string;
10991
+ };
10645
10992
  } & {
10646
- spans?: ({
10647
- data: ({
10648
- __TYPE__: "ImageLink";
10649
- } & {
10650
- kind: "image";
10651
- id: string;
10652
- url: string;
10653
- height: string;
10654
- width: string;
10655
- size: string;
10656
- name: string;
10657
- } & {
10658
- date?: string | null | undefined;
10659
- }) | ({
10660
- __TYPE__: "FileLink";
10661
- } & {
10662
- kind: "file";
10663
- id: string;
10664
- url: string;
10665
- name: string;
10666
- size: string;
10667
- } & {
10668
- date?: string | null | undefined;
10669
- }) | ({
10670
- __TYPE__: "DocumentLink";
10671
- } & {
10672
- id: string;
10673
- }) | ({
10674
- __TYPE__: "ExternalLink";
10675
- } & {
10676
- url: string;
10677
- } & {
10678
- kind?: "web";
10679
- target?: string | null | undefined;
10680
- preview?: {
10681
- title?: string;
10682
- } | null | undefined;
10683
- });
10684
- start: number;
10685
- end: number;
10686
- type: "hyperlink";
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
- })[];
10993
+ url?: string;
10994
+ credits?: string | null;
10995
+ alt?: string | null;
10996
+ provider?: string | null | undefined;
10997
+ } & {
10998
+ linkTo?: ({
10999
+ __TYPE__: "ImageLink";
11000
+ } & {
11001
+ kind: "image";
11002
+ id: string;
11003
+ url: string;
11004
+ height: string;
11005
+ width: string;
11006
+ size: string;
11007
+ name: string;
11008
+ } & {
11009
+ date?: string | null | undefined;
11010
+ }) | ({
11011
+ __TYPE__: "FileLink";
11012
+ } & {
11013
+ kind: "file";
11014
+ id: string;
11015
+ url: string;
11016
+ name: string;
11017
+ size: string;
11018
+ } & {
11019
+ date?: string | null | undefined;
11020
+ }) | ({
11021
+ __TYPE__: "DocumentLink";
11022
+ } & {
11023
+ id: string;
11024
+ }) | ({
11025
+ __TYPE__: "ExternalLink";
11026
+ } & {
11027
+ url: string;
11028
+ } & {
11029
+ kind?: "web";
11030
+ target?: string | null | undefined;
11031
+ preview?: {
11032
+ title?: string;
11033
+ } | null | undefined;
11034
+ }) | null | undefined;
10697
11035
  };
10698
11036
  } & {
10699
- label?: string;
10700
- direction?: string;
10701
- })[];
10702
- };
10703
- } | {
10704
- type: "tableCell";
10705
- content: {
10706
- __TYPE__: "StructuredTextContent";
10707
- value: ({
11037
+ label?: string | null | undefined;
11038
+ direction?: string | null | undefined;
11039
+ }) | ({
11040
+ type: "embed";
11041
+ data: {
11042
+ embed_url: string;
11043
+ type: string;
11044
+ } & {
11045
+ version?: string | number | null;
11046
+ title?: string | null | undefined;
11047
+ author_name?: string | null | undefined;
11048
+ author_url?: string | null | undefined;
11049
+ provider_name?: string | null | undefined;
11050
+ provider_url?: string | null | undefined;
11051
+ cache_age?: string | number | null;
11052
+ thumbnail_url?: string | null | undefined;
11053
+ thumbnail_width?: number | null | undefined;
11054
+ thumbnail_height?: number | null | undefined;
11055
+ html?: string | null | undefined;
11056
+ } & {
11057
+ __TYPE__: "EmbedContent";
11058
+ all: unknown;
11059
+ };
11060
+ } & {
11061
+ label?: string | null | undefined;
11062
+ direction?: string | null | undefined;
11063
+ }) | ({
10708
11064
  type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
10709
11065
  content: {
10710
11066
  text: string;
@@ -10764,8 +11120,10 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10764
11120
  } & {
10765
11121
  label?: string;
10766
11122
  direction?: string;
10767
- })[];
11123
+ }))[];
10768
11124
  };
11125
+ } & {
11126
+ columnWidth?: number;
10769
11127
  })[];
10770
11128
  }[];
10771
11129
  };
@@ -11198,76 +11556,100 @@ export declare function migrateDocument(document: Document, customType: StaticCu
11198
11556
  content: {
11199
11557
  type: "tableRow";
11200
11558
  content: ({
11201
- type: "tableHeader";
11559
+ type: "tableHeader" | "tableCell";
11202
11560
  content: {
11203
11561
  __TYPE__: "StructuredTextContent";
11204
- value: ({
11205
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
11206
- content: {
11207
- text: string;
11562
+ value: (({
11563
+ type: "image";
11564
+ data: {
11565
+ origin: {
11566
+ id: string;
11567
+ url: string;
11568
+ width: number;
11569
+ height: number;
11570
+ };
11571
+ width: number;
11572
+ height: number;
11573
+ edit: {
11574
+ zoom: number;
11575
+ crop: {
11576
+ x: number;
11577
+ y: number;
11578
+ };
11579
+ background: string;
11580
+ };
11208
11581
  } & {
11209
- spans?: ({
11210
- data: ({
11211
- __TYPE__: "ImageLink";
11212
- } & {
11213
- kind: "image";
11214
- id: string;
11215
- url: string;
11216
- height: string;
11217
- width: string;
11218
- size: string;
11219
- name: string;
11220
- } & {
11221
- date?: string | null | undefined;
11222
- }) | ({
11223
- __TYPE__: "FileLink";
11224
- } & {
11225
- kind: "file";
11226
- id: string;
11227
- url: string;
11228
- name: string;
11229
- size: string;
11230
- } & {
11231
- date?: string | null | undefined;
11232
- }) | ({
11233
- __TYPE__: "DocumentLink";
11234
- } & {
11235
- id: string;
11236
- }) | ({
11237
- __TYPE__: "ExternalLink";
11238
- } & {
11239
- url: string;
11240
- } & {
11241
- kind?: "web";
11242
- target?: string | null | undefined;
11243
- preview?: {
11244
- title?: string;
11245
- } | null | undefined;
11246
- });
11247
- start: number;
11248
- end: number;
11249
- type: "hyperlink";
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
- })[];
11582
+ url?: string;
11583
+ credits?: string | null;
11584
+ alt?: string | null;
11585
+ provider?: string | null | undefined;
11586
+ } & {
11587
+ linkTo?: ({
11588
+ __TYPE__: "ImageLink";
11589
+ } & {
11590
+ kind: "image";
11591
+ id: string;
11592
+ url: string;
11593
+ height: string;
11594
+ width: string;
11595
+ size: string;
11596
+ name: string;
11597
+ } & {
11598
+ date?: string | null | undefined;
11599
+ }) | ({
11600
+ __TYPE__: "FileLink";
11601
+ } & {
11602
+ kind: "file";
11603
+ id: string;
11604
+ url: string;
11605
+ name: string;
11606
+ size: string;
11607
+ } & {
11608
+ date?: string | null | undefined;
11609
+ }) | ({
11610
+ __TYPE__: "DocumentLink";
11611
+ } & {
11612
+ id: string;
11613
+ }) | ({
11614
+ __TYPE__: "ExternalLink";
11615
+ } & {
11616
+ url: string;
11617
+ } & {
11618
+ kind?: "web";
11619
+ target?: string | null | undefined;
11620
+ preview?: {
11621
+ title?: string;
11622
+ } | null | undefined;
11623
+ }) | null | undefined;
11260
11624
  };
11261
11625
  } & {
11262
- label?: string;
11263
- direction?: string;
11264
- })[];
11265
- };
11266
- } | {
11267
- type: "tableCell";
11268
- content: {
11269
- __TYPE__: "StructuredTextContent";
11270
- value: ({
11626
+ label?: string | null | undefined;
11627
+ direction?: string | null | undefined;
11628
+ }) | ({
11629
+ type: "embed";
11630
+ data: {
11631
+ embed_url: string;
11632
+ type: string;
11633
+ } & {
11634
+ version?: string | number | null;
11635
+ title?: string | null | undefined;
11636
+ author_name?: string | null | undefined;
11637
+ author_url?: string | null | undefined;
11638
+ provider_name?: string | null | undefined;
11639
+ provider_url?: string | null | undefined;
11640
+ cache_age?: string | number | null;
11641
+ thumbnail_url?: string | null | undefined;
11642
+ thumbnail_width?: number | null | undefined;
11643
+ thumbnail_height?: number | null | undefined;
11644
+ html?: string | null | undefined;
11645
+ } & {
11646
+ __TYPE__: "EmbedContent";
11647
+ all: unknown;
11648
+ };
11649
+ } & {
11650
+ label?: string | null | undefined;
11651
+ direction?: string | null | undefined;
11652
+ }) | ({
11271
11653
  type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
11272
11654
  content: {
11273
11655
  text: string;
@@ -11327,8 +11709,10 @@ export declare function migrateDocument(document: Document, customType: StaticCu
11327
11709
  } & {
11328
11710
  label?: string;
11329
11711
  direction?: string;
11330
- })[];
11712
+ }))[];
11331
11713
  };
11714
+ } & {
11715
+ columnWidth?: number;
11332
11716
  })[];
11333
11717
  }[];
11334
11718
  }][];