@prismicio/types-internal 1.5.0 → 1.5.1-alpha.1

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 (36) hide show
  1. package/lib/content/CustomType.d.ts +702 -694
  2. package/lib/content/fields/UIDContent.d.ts +1 -0
  3. package/lib/content/fields/UIDContent.js +2 -1
  4. package/lib/content/fields/index.d.ts +2989 -0
  5. package/lib/content/fields/index.js +18 -0
  6. package/lib/content/fields/nestable/EmbedContent.d.ts +1 -0
  7. package/lib/content/fields/nestable/EmbedContent.js +2 -1
  8. package/lib/content/fields/nestable/ImageContent.d.ts +25 -0
  9. package/lib/content/fields/nestable/ImageContent.js +2 -1
  10. package/lib/content/fields/nestable/LinkContent.d.ts +7 -0
  11. package/lib/content/fields/nestable/LinkContent.js +8 -1
  12. package/lib/content/fields/nestable/NestableContent.d.ts +17 -0
  13. package/lib/content/fields/nestable/NestableContent.js +13 -1
  14. package/lib/content/fields/nestable/RichTextContent.d.ts +249 -0
  15. package/lib/content/fields/nestable/RichTextContent.js +6 -1
  16. package/lib/content/fields/slices/CompositeSliceContent.d.ts +351 -347
  17. package/lib/content/fields/slices/CompositeSliceContent.js +6 -4
  18. package/lib/content/fields/slices/RepeatableContent.d.ts +371 -0
  19. package/lib/content/fields/slices/RepeatableContent.js +16 -0
  20. package/lib/content/fields/slices/SharedSliceContent.d.ts +346 -343
  21. package/lib/content/fields/slices/SharedSliceContent.js +2 -1
  22. package/lib/content/fields/slices/SlicesContent.d.ts +1399 -1386
  23. package/lib/content/fields/slices/SlicesContent.js +2 -1
  24. package/package.json +1 -1
  25. package/src/content/CustomType.ts +1 -0
  26. package/src/content/fields/UIDContent.ts +3 -2
  27. package/src/content/fields/index.ts +23 -0
  28. package/src/content/fields/nestable/EmbedContent.ts +3 -2
  29. package/src/content/fields/nestable/ImageContent.ts +4 -0
  30. package/src/content/fields/nestable/LinkContent.ts +8 -0
  31. package/src/content/fields/nestable/NestableContent.ts +26 -7
  32. package/src/content/fields/nestable/RichTextContent.ts +18 -0
  33. package/src/content/fields/slices/CompositeSliceContent.ts +7 -5
  34. package/src/content/fields/slices/RepeatableContent.ts +15 -0
  35. package/src/content/fields/slices/SharedSliceContent.ts +2 -1
  36. package/src/content/fields/slices/SlicesContent.ts +4 -2
@@ -3,9 +3,9 @@ export declare const SliceItemContent: t.TypeC<{
3
3
  key: t.StringC;
4
4
  name: t.StringC;
5
5
  maybeLabel: t.UnionC<[t.StringC, t.UndefinedC]>;
6
- widget: t.UnionC<[t.TypeC<{
6
+ widget: t.UnionC<[t.ExactC<t.TypeC<{
7
7
  __TYPE__: t.LiteralC<"CompositeSliceContent">;
8
- repeat: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
8
+ nonRepeat: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
9
9
  __TYPE__: t.LiteralC<"BooleanContent">;
10
10
  value: t.BooleanC;
11
11
  }>>, t.IntersectionC<[t.Type<{
@@ -371,375 +371,378 @@ export declare const SliceItemContent: t.TypeC<{
371
371
  }>]>>]>>;
372
372
  }>>, t.ExactC<t.TypeC<{
373
373
  __TYPE__: t.LiteralC<"SeparatorContent">;
374
- }>>]>]>>;
375
- "non-repeat": t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
376
- __TYPE__: t.LiteralC<"BooleanContent">;
377
- value: t.BooleanC;
378
- }>>, t.IntersectionC<[t.Type<{
379
- embed_url: string;
380
- type: string;
381
- } & {
382
- version?: string | number | null;
383
- title?: string | null | undefined;
384
- author_name?: string | null | undefined;
385
- author_url?: string | null | undefined;
386
- provider_name?: string | null | undefined;
387
- provider_url?: string | null | undefined;
388
- cache_age?: string | number | null;
389
- thumbnail_url?: string | null | undefined;
390
- thumbnail_width?: number | null | undefined;
391
- thumbnail_height?: number | null | undefined;
392
- html?: string | null | undefined;
393
- }, {
394
- embed_url: string;
395
- type: string;
396
- } & {
397
- version?: string | number | null;
398
- title?: string | null | undefined;
399
- author_name?: string | null | undefined;
400
- author_url?: string | null | undefined;
401
- provider_name?: string | null | undefined;
402
- provider_url?: string | null | undefined;
403
- cache_age?: string | number | null;
404
- thumbnail_url?: string | null | undefined;
405
- thumbnail_width?: number | null | undefined;
406
- thumbnail_height?: number | null | undefined;
407
- html?: string | null | undefined;
408
- } & {
409
- __TYPE__: "EmbedContent";
410
- }, unknown>, t.ExactC<t.TypeC<{
411
- __TYPE__: t.LiteralC<"EmbedContent">;
412
- all: t.UnknownC;
413
- }>>]>, t.ExactC<t.TypeC<{
414
- type: t.KeyofC<{
415
- Text: null;
416
- Date: null;
417
- Timestamp: null;
418
- Color: null;
419
- Number: null;
420
- Range: null;
421
- Select: null;
422
- }>;
423
- value: t.Type<string, string, unknown>;
424
- __TYPE__: t.LiteralC<"FieldContent">;
425
- }>>, t.IntersectionC<[t.Type<{
426
- position: {
427
- lat: number;
428
- lng: number;
429
- };
430
- }, {
431
- position: {
432
- lat: number;
433
- lng: number;
434
- };
435
- } & {
436
- __TYPE__: "GeoPointContent";
437
- }, unknown>, t.ExactC<t.TypeC<{
438
- __TYPE__: t.LiteralC<"GeoPointContent">;
439
- }>>]>, t.IntersectionC<[t.Type<{
440
- origin: {
441
- id: string;
442
- url: string;
443
- width: number;
444
- height: number;
445
- };
446
- width: number;
447
- height: number;
448
- edit: {
449
- zoom: number;
450
- crop: {
451
- x: number;
452
- y: number;
374
+ }>>]>>;
375
+ repeat: t.ArrayC<t.ExactC<t.TypeC<{
376
+ __TYPE__: t.LiteralC<"GroupItemContent">;
377
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
378
+ __TYPE__: t.LiteralC<"BooleanContent">;
379
+ value: t.BooleanC;
380
+ }>>, t.IntersectionC<[t.Type<{
381
+ embed_url: string;
382
+ type: string;
383
+ } & {
384
+ version?: string | number | null;
385
+ title?: string | null | undefined;
386
+ author_name?: string | null | undefined;
387
+ author_url?: string | null | undefined;
388
+ provider_name?: string | null | undefined;
389
+ provider_url?: string | null | undefined;
390
+ cache_age?: string | number | null;
391
+ thumbnail_url?: string | null | undefined;
392
+ thumbnail_width?: number | null | undefined;
393
+ thumbnail_height?: number | null | undefined;
394
+ html?: string | null | undefined;
395
+ }, {
396
+ embed_url: string;
397
+ type: string;
398
+ } & {
399
+ version?: string | number | null;
400
+ title?: string | null | undefined;
401
+ author_name?: string | null | undefined;
402
+ author_url?: string | null | undefined;
403
+ provider_name?: string | null | undefined;
404
+ provider_url?: string | null | undefined;
405
+ cache_age?: string | number | null;
406
+ thumbnail_url?: string | null | undefined;
407
+ thumbnail_width?: number | null | undefined;
408
+ thumbnail_height?: number | null | undefined;
409
+ html?: string | null | undefined;
410
+ } & {
411
+ __TYPE__: "EmbedContent";
412
+ }, unknown>, t.ExactC<t.TypeC<{
413
+ __TYPE__: t.LiteralC<"EmbedContent">;
414
+ all: t.UnknownC;
415
+ }>>]>, t.ExactC<t.TypeC<{
416
+ type: t.KeyofC<{
417
+ Text: null;
418
+ Date: null;
419
+ Timestamp: null;
420
+ Color: null;
421
+ Number: null;
422
+ Range: null;
423
+ Select: null;
424
+ }>;
425
+ value: t.Type<string, string, unknown>;
426
+ __TYPE__: t.LiteralC<"FieldContent">;
427
+ }>>, t.IntersectionC<[t.Type<{
428
+ position: {
429
+ lat: number;
430
+ lng: number;
453
431
  };
454
- background: string;
455
- };
456
- } & {
457
- url?: string;
458
- credits?: string | null;
459
- alt?: string | null;
460
- provider?: string | null | undefined;
461
- } & {
462
- thumbnails?: {
463
- [x: string]: {
464
- origin: {
465
- id: string;
466
- url: string;
467
- width: number;
468
- height: number;
469
- };
432
+ }, {
433
+ position: {
434
+ lat: number;
435
+ lng: number;
436
+ };
437
+ } & {
438
+ __TYPE__: "GeoPointContent";
439
+ }, unknown>, t.ExactC<t.TypeC<{
440
+ __TYPE__: t.LiteralC<"GeoPointContent">;
441
+ }>>]>, t.IntersectionC<[t.Type<{
442
+ origin: {
443
+ id: string;
444
+ url: string;
470
445
  width: number;
471
446
  height: number;
472
- edit: {
473
- zoom: number;
474
- crop: {
475
- x: number;
476
- y: number;
477
- };
478
- background: string;
479
- };
480
- } & {
481
- url?: string;
482
- credits?: string | null;
483
- alt?: string | null;
484
- provider?: string | null | undefined;
485
447
  };
486
- };
487
- }, {
488
- origin: {
489
- id: string;
490
- url: string;
491
448
  width: number;
492
449
  height: number;
493
- };
494
- width: number;
495
- height: number;
496
- edit: {
497
- zoom: number;
498
- crop: {
499
- x: number;
500
- y: number;
450
+ edit: {
451
+ zoom: number;
452
+ crop: {
453
+ x: number;
454
+ y: number;
455
+ };
456
+ background: string;
501
457
  };
502
- background: string;
503
- };
504
- } & {
505
- url?: string;
506
- credits?: string | null;
507
- alt?: string | null;
508
- provider?: string | null | undefined;
509
- } & {
510
- thumbnails?: {
511
- [x: string]: {
512
- origin: {
513
- id: string;
514
- url: string;
458
+ } & {
459
+ url?: string;
460
+ credits?: string | null;
461
+ alt?: string | null;
462
+ provider?: string | null | undefined;
463
+ } & {
464
+ thumbnails?: {
465
+ [x: string]: {
466
+ origin: {
467
+ id: string;
468
+ url: string;
469
+ width: number;
470
+ height: number;
471
+ };
515
472
  width: number;
516
473
  height: number;
474
+ edit: {
475
+ zoom: number;
476
+ crop: {
477
+ x: number;
478
+ y: number;
479
+ };
480
+ background: string;
481
+ };
482
+ } & {
483
+ url?: string;
484
+ credits?: string | null;
485
+ alt?: string | null;
486
+ provider?: string | null | undefined;
517
487
  };
488
+ };
489
+ }, {
490
+ origin: {
491
+ id: string;
492
+ url: string;
518
493
  width: number;
519
494
  height: number;
520
- edit: {
521
- zoom: number;
522
- crop: {
523
- x: number;
524
- y: number;
525
- };
526
- background: string;
527
- };
528
- } & {
529
- url?: string;
530
- credits?: string | null;
531
- alt?: string | null;
532
- provider?: string | null | undefined;
533
495
  };
534
- };
535
- } & {
536
- __TYPE__: "ImageContent";
537
- }, unknown>, t.ExactC<t.TypeC<{
538
- __TYPE__: t.LiteralC<"ImageContent">;
539
- }>>]>, t.ExactC<t.TypeC<{
540
- __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
541
- value: t.StringC;
542
- }>>, t.ExactC<t.TypeC<{
543
- __TYPE__: t.LiteralC<"LinkContent">;
544
- value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
545
- __TYPE__: t.LiteralC<"ImageLink">;
546
- }>>, t.Type<{
547
- id: string;
548
- url: string;
549
- height: string;
550
- width: string;
551
- size: string;
552
- name: string;
553
- kind: string;
554
- } & {
555
- date?: string | null | undefined;
556
- }, {
557
- id: string;
558
- url: string;
559
- height: string;
560
- width: string;
561
- size: string;
562
- name: string;
563
- kind: string;
496
+ width: number;
497
+ height: number;
498
+ edit: {
499
+ zoom: number;
500
+ crop: {
501
+ x: number;
502
+ y: number;
503
+ };
504
+ background: string;
505
+ };
564
506
  } & {
565
- date?: string | null | undefined;
507
+ url?: string;
508
+ credits?: string | null;
509
+ alt?: string | null;
510
+ provider?: string | null | undefined;
566
511
  } & {
567
- __TYPE__: "ImageLink";
568
- }, unknown>]>, t.IntersectionC<[t.Type<{
569
- id: string;
570
- url: string;
571
- name: string;
572
- kind: string;
512
+ thumbnails?: {
513
+ [x: string]: {
514
+ origin: {
515
+ id: string;
516
+ url: string;
517
+ width: number;
518
+ height: number;
519
+ };
520
+ width: number;
521
+ height: number;
522
+ edit: {
523
+ zoom: number;
524
+ crop: {
525
+ x: number;
526
+ y: number;
527
+ };
528
+ background: string;
529
+ };
530
+ } & {
531
+ url?: string;
532
+ credits?: string | null;
533
+ alt?: string | null;
534
+ provider?: string | null | undefined;
535
+ };
536
+ };
573
537
  } & {
574
- date?: string | null | undefined;
575
- size?: string;
576
- }, {
577
- readonly size: string;
578
- readonly __TYPE__: "FileLink";
579
- readonly id: string;
580
- readonly url: string;
581
- readonly name: string;
582
- readonly kind: string;
583
- readonly date?: string | null | undefined;
538
+ __TYPE__: "ImageContent";
584
539
  }, unknown>, t.ExactC<t.TypeC<{
585
- __TYPE__: t.LiteralC<"FileLink">;
586
- size: t.StringC;
587
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
588
- __TYPE__: t.LiteralC<"DocumentLink">;
589
- }>>, t.Type<{
590
- id: string;
591
- }, {
592
- id: string;
593
- } & {
594
- __TYPE__: "DocumentLink";
595
- }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
596
- __TYPE__: t.LiteralC<"ExternalLink">;
597
- }>>, t.Type<{
598
- url: string;
599
- } & {
600
- kind?: "web";
601
- target?: string | null | undefined;
602
- preview?: {
603
- title?: string;
604
- } | null | undefined;
605
- }, {
606
- url: string;
607
- } & {
608
- kind?: "web";
609
- target?: string | null | undefined;
610
- preview?: {
611
- title?: string;
612
- } | null | undefined;
613
- } & {
614
- __TYPE__: "ExternalLink";
615
- }, unknown>]>]>;
616
- }>>, t.ExactC<t.TypeC<{
617
- __TYPE__: t.LiteralC<"StructuredTextContent">;
618
- value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
619
- type: t.LiteralC<"image">;
620
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
621
- origin: t.ExactC<t.TypeC<{
622
- id: t.StringC;
623
- url: t.StringC;
540
+ __TYPE__: t.LiteralC<"ImageContent">;
541
+ }>>]>, t.ExactC<t.TypeC<{
542
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
543
+ value: t.StringC;
544
+ }>>, t.ExactC<t.TypeC<{
545
+ __TYPE__: t.LiteralC<"LinkContent">;
546
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
547
+ __TYPE__: t.LiteralC<"ImageLink">;
548
+ }>>, t.Type<{
549
+ id: string;
550
+ url: string;
551
+ height: string;
552
+ width: string;
553
+ size: string;
554
+ name: string;
555
+ kind: string;
556
+ } & {
557
+ date?: string | null | undefined;
558
+ }, {
559
+ id: string;
560
+ url: string;
561
+ height: string;
562
+ width: string;
563
+ size: string;
564
+ name: string;
565
+ kind: string;
566
+ } & {
567
+ date?: string | null | undefined;
568
+ } & {
569
+ __TYPE__: "ImageLink";
570
+ }, unknown>]>, t.IntersectionC<[t.Type<{
571
+ id: string;
572
+ url: string;
573
+ name: string;
574
+ kind: string;
575
+ } & {
576
+ date?: string | null | undefined;
577
+ size?: string;
578
+ }, {
579
+ readonly size: string;
580
+ readonly __TYPE__: "FileLink";
581
+ readonly id: string;
582
+ readonly url: string;
583
+ readonly name: string;
584
+ readonly kind: string;
585
+ readonly date?: string | null | undefined;
586
+ }, unknown>, t.ExactC<t.TypeC<{
587
+ __TYPE__: t.LiteralC<"FileLink">;
588
+ size: t.StringC;
589
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
590
+ __TYPE__: t.LiteralC<"DocumentLink">;
591
+ }>>, t.Type<{
592
+ id: string;
593
+ }, {
594
+ id: string;
595
+ } & {
596
+ __TYPE__: "DocumentLink";
597
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
598
+ __TYPE__: t.LiteralC<"ExternalLink">;
599
+ }>>, t.Type<{
600
+ url: string;
601
+ } & {
602
+ kind?: "web";
603
+ target?: string | null | undefined;
604
+ preview?: {
605
+ title?: string;
606
+ } | null | undefined;
607
+ }, {
608
+ url: string;
609
+ } & {
610
+ kind?: "web";
611
+ target?: string | null | undefined;
612
+ preview?: {
613
+ title?: string;
614
+ } | null | undefined;
615
+ } & {
616
+ __TYPE__: "ExternalLink";
617
+ }, unknown>]>]>;
618
+ }>>, t.ExactC<t.TypeC<{
619
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
620
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
621
+ type: t.LiteralC<"image">;
622
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
623
+ origin: t.ExactC<t.TypeC<{
624
+ id: t.StringC;
625
+ url: t.StringC;
626
+ width: t.NumberC;
627
+ height: t.NumberC;
628
+ }>>;
624
629
  width: t.NumberC;
625
630
  height: t.NumberC;
626
- }>>;
627
- width: t.NumberC;
628
- height: t.NumberC;
629
- edit: t.TypeC<{
630
- zoom: t.NumberC;
631
- crop: t.TypeC<{
632
- x: t.NumberC;
633
- y: t.NumberC;
631
+ edit: t.TypeC<{
632
+ zoom: t.NumberC;
633
+ crop: t.TypeC<{
634
+ x: t.NumberC;
635
+ y: t.NumberC;
636
+ }>;
637
+ background: t.StringC;
634
638
  }>;
635
- background: t.StringC;
636
- }>;
637
- }>, t.PartialC<{
638
- url: t.StringC;
639
- credits: t.Type<string | null, string | null, unknown>;
640
- alt: t.Type<string | null, string | null, unknown>;
641
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
642
- }>]>>, t.PartialC<{
643
- linkTo: t.UnionC<[t.Type<{
644
- id: string;
645
- } | ({
646
- url: string;
647
- } & {
648
- kind?: "web";
649
- target?: string | null | undefined;
650
- preview?: {
651
- title?: string;
652
- } | null | undefined;
653
- }) | ({
654
- id: string;
655
- url: string;
656
- name: string;
657
- kind: string;
658
- } & {
659
- date?: string | null | undefined;
660
- size?: string;
661
- }) | ({
662
- id: string;
663
- url: string;
664
- height: string;
665
- width: string;
666
- size: string;
667
- name: string;
668
- kind: string;
669
- } & {
670
- date?: string | null | undefined;
671
- }), ({
672
- id: string;
673
- } & {
674
- __TYPE__: "DocumentLink";
675
- }) | ({
676
- url: string;
677
- } & {
678
- kind?: "web";
679
- target?: string | null | undefined;
680
- preview?: {
681
- title?: string;
682
- } | null | undefined;
683
- } & {
684
- __TYPE__: "ExternalLink";
685
- }) | {
686
- readonly size: string;
687
- readonly __TYPE__: "FileLink";
688
- readonly id: string;
689
- readonly url: string;
690
- readonly name: string;
691
- readonly kind: string;
692
- readonly date?: string | null | undefined;
693
- } | ({
694
- id: string;
695
- url: string;
696
- height: string;
697
- width: string;
698
- size: string;
699
- name: string;
700
- kind: string;
701
- } & {
702
- date?: string | null | undefined;
703
- } & {
704
- __TYPE__: "ImageLink";
705
- }), unknown>, t.NullC, t.UndefinedC]>;
706
- }>]>;
707
- }>, t.PartialC<{
708
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
709
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
710
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
711
- type: t.LiteralC<"embed">;
712
- data: t.Type<import("../../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
713
- }>, t.PartialC<{
714
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
715
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
716
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
717
- type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
718
- content: t.IntersectionC<[t.TypeC<{
719
- text: t.StringC;
639
+ }>, t.PartialC<{
640
+ url: t.StringC;
641
+ credits: t.Type<string | null, string | null, unknown>;
642
+ alt: t.Type<string | null, string | null, unknown>;
643
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
644
+ }>]>>, t.PartialC<{
645
+ linkTo: t.UnionC<[t.Type<{
646
+ id: string;
647
+ } | ({
648
+ url: string;
649
+ } & {
650
+ kind?: "web";
651
+ target?: string | null | undefined;
652
+ preview?: {
653
+ title?: string;
654
+ } | null | undefined;
655
+ }) | ({
656
+ id: string;
657
+ url: string;
658
+ name: string;
659
+ kind: string;
660
+ } & {
661
+ date?: string | null | undefined;
662
+ size?: string;
663
+ }) | ({
664
+ id: string;
665
+ url: string;
666
+ height: string;
667
+ width: string;
668
+ size: string;
669
+ name: string;
670
+ kind: string;
671
+ } & {
672
+ date?: string | null | undefined;
673
+ }), ({
674
+ id: string;
675
+ } & {
676
+ __TYPE__: "DocumentLink";
677
+ }) | ({
678
+ url: string;
679
+ } & {
680
+ kind?: "web";
681
+ target?: string | null | undefined;
682
+ preview?: {
683
+ title?: string;
684
+ } | null | undefined;
685
+ } & {
686
+ __TYPE__: "ExternalLink";
687
+ }) | {
688
+ readonly size: string;
689
+ readonly __TYPE__: "FileLink";
690
+ readonly id: string;
691
+ readonly url: string;
692
+ readonly name: string;
693
+ readonly kind: string;
694
+ readonly date?: string | null | undefined;
695
+ } | ({
696
+ id: string;
697
+ url: string;
698
+ height: string;
699
+ width: string;
700
+ size: string;
701
+ name: string;
702
+ kind: string;
703
+ } & {
704
+ date?: string | null | undefined;
705
+ } & {
706
+ __TYPE__: "ImageLink";
707
+ }), unknown>, t.NullC, t.UndefinedC]>;
708
+ }>]>;
720
709
  }>, t.PartialC<{
721
- spans: t.Type<({
722
- data?: unknown;
723
- } & {
724
- start: number;
725
- end: number;
726
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
727
- })[], ({
728
- data?: unknown;
729
- } & {
730
- start: number;
731
- end: number;
732
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
733
- })[], unknown>;
734
- }>]>;
735
- }>, t.PartialC<{
736
- label: t.StringC;
737
- direction: t.StringC;
738
- }>]>>]>>;
739
- }>>, t.ExactC<t.TypeC<{
740
- __TYPE__: t.LiteralC<"SeparatorContent">;
741
- }>>]>>;
742
- }>, t.ExactC<t.TypeC<{
710
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
711
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
712
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
713
+ type: t.LiteralC<"embed">;
714
+ data: t.Type<import("../../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
715
+ }>, t.PartialC<{
716
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
717
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
718
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
719
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
720
+ content: t.IntersectionC<[t.TypeC<{
721
+ text: t.StringC;
722
+ }>, t.PartialC<{
723
+ spans: t.Type<({
724
+ data?: unknown;
725
+ } & {
726
+ start: number;
727
+ end: number;
728
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
729
+ })[], ({
730
+ data?: unknown;
731
+ } & {
732
+ start: number;
733
+ end: number;
734
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
735
+ })[], unknown>;
736
+ }>]>;
737
+ }>, t.PartialC<{
738
+ label: t.StringC;
739
+ direction: t.StringC;
740
+ }>]>>]>>;
741
+ }>>, t.ExactC<t.TypeC<{
742
+ __TYPE__: t.LiteralC<"SeparatorContent">;
743
+ }>>]>]>>;
744
+ }>>>;
745
+ }>>, t.ExactC<t.TypeC<{
743
746
  __TYPE__: t.LiteralC<"SharedSliceContent">;
744
747
  variation: t.StringC;
745
748
  primary: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
@@ -1109,373 +1112,376 @@ export declare const SliceItemContent: t.TypeC<{
1109
1112
  }>>, t.ExactC<t.TypeC<{
1110
1113
  __TYPE__: t.LiteralC<"SeparatorContent">;
1111
1114
  }>>]>>;
1112
- items: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
1113
- __TYPE__: t.LiteralC<"BooleanContent">;
1114
- value: t.BooleanC;
1115
- }>>, t.IntersectionC<[t.Type<{
1116
- embed_url: string;
1117
- type: string;
1118
- } & {
1119
- version?: string | number | null;
1120
- title?: string | null | undefined;
1121
- author_name?: string | null | undefined;
1122
- author_url?: string | null | undefined;
1123
- provider_name?: string | null | undefined;
1124
- provider_url?: string | null | undefined;
1125
- cache_age?: string | number | null;
1126
- thumbnail_url?: string | null | undefined;
1127
- thumbnail_width?: number | null | undefined;
1128
- thumbnail_height?: number | null | undefined;
1129
- html?: string | null | undefined;
1130
- }, {
1131
- embed_url: string;
1132
- type: string;
1133
- } & {
1134
- version?: string | number | null;
1135
- title?: string | null | undefined;
1136
- author_name?: string | null | undefined;
1137
- author_url?: string | null | undefined;
1138
- provider_name?: string | null | undefined;
1139
- provider_url?: string | null | undefined;
1140
- cache_age?: string | number | null;
1141
- thumbnail_url?: string | null | undefined;
1142
- thumbnail_width?: number | null | undefined;
1143
- thumbnail_height?: number | null | undefined;
1144
- html?: string | null | undefined;
1145
- } & {
1146
- __TYPE__: "EmbedContent";
1147
- }, unknown>, t.ExactC<t.TypeC<{
1148
- __TYPE__: t.LiteralC<"EmbedContent">;
1149
- all: t.UnknownC;
1150
- }>>]>, t.ExactC<t.TypeC<{
1151
- type: t.KeyofC<{
1152
- Text: null;
1153
- Date: null;
1154
- Timestamp: null;
1155
- Color: null;
1156
- Number: null;
1157
- Range: null;
1158
- Select: null;
1159
- }>;
1160
- value: t.Type<string, string, unknown>;
1161
- __TYPE__: t.LiteralC<"FieldContent">;
1162
- }>>, t.IntersectionC<[t.Type<{
1163
- position: {
1164
- lat: number;
1165
- lng: number;
1166
- };
1167
- }, {
1168
- position: {
1169
- lat: number;
1170
- lng: number;
1171
- };
1172
- } & {
1173
- __TYPE__: "GeoPointContent";
1174
- }, unknown>, t.ExactC<t.TypeC<{
1175
- __TYPE__: t.LiteralC<"GeoPointContent">;
1176
- }>>]>, t.IntersectionC<[t.Type<{
1177
- origin: {
1178
- id: string;
1179
- url: string;
1180
- width: number;
1181
- height: number;
1182
- };
1183
- width: number;
1184
- height: number;
1185
- edit: {
1186
- zoom: number;
1187
- crop: {
1188
- x: number;
1189
- y: number;
1115
+ items: t.ArrayC<t.ExactC<t.TypeC<{
1116
+ __TYPE__: t.LiteralC<"GroupItemContent">;
1117
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
1118
+ __TYPE__: t.LiteralC<"BooleanContent">;
1119
+ value: t.BooleanC;
1120
+ }>>, t.IntersectionC<[t.Type<{
1121
+ embed_url: string;
1122
+ type: string;
1123
+ } & {
1124
+ version?: string | number | null;
1125
+ title?: string | null | undefined;
1126
+ author_name?: string | null | undefined;
1127
+ author_url?: string | null | undefined;
1128
+ provider_name?: string | null | undefined;
1129
+ provider_url?: string | null | undefined;
1130
+ cache_age?: string | number | null;
1131
+ thumbnail_url?: string | null | undefined;
1132
+ thumbnail_width?: number | null | undefined;
1133
+ thumbnail_height?: number | null | undefined;
1134
+ html?: string | null | undefined;
1135
+ }, {
1136
+ embed_url: string;
1137
+ type: string;
1138
+ } & {
1139
+ version?: string | number | null;
1140
+ title?: string | null | undefined;
1141
+ author_name?: string | null | undefined;
1142
+ author_url?: string | null | undefined;
1143
+ provider_name?: string | null | undefined;
1144
+ provider_url?: string | null | undefined;
1145
+ cache_age?: string | number | null;
1146
+ thumbnail_url?: string | null | undefined;
1147
+ thumbnail_width?: number | null | undefined;
1148
+ thumbnail_height?: number | null | undefined;
1149
+ html?: string | null | undefined;
1150
+ } & {
1151
+ __TYPE__: "EmbedContent";
1152
+ }, unknown>, t.ExactC<t.TypeC<{
1153
+ __TYPE__: t.LiteralC<"EmbedContent">;
1154
+ all: t.UnknownC;
1155
+ }>>]>, t.ExactC<t.TypeC<{
1156
+ type: t.KeyofC<{
1157
+ Text: null;
1158
+ Date: null;
1159
+ Timestamp: null;
1160
+ Color: null;
1161
+ Number: null;
1162
+ Range: null;
1163
+ Select: null;
1164
+ }>;
1165
+ value: t.Type<string, string, unknown>;
1166
+ __TYPE__: t.LiteralC<"FieldContent">;
1167
+ }>>, t.IntersectionC<[t.Type<{
1168
+ position: {
1169
+ lat: number;
1170
+ lng: number;
1190
1171
  };
1191
- background: string;
1192
- };
1193
- } & {
1194
- url?: string;
1195
- credits?: string | null;
1196
- alt?: string | null;
1197
- provider?: string | null | undefined;
1198
- } & {
1199
- thumbnails?: {
1200
- [x: string]: {
1201
- origin: {
1202
- id: string;
1203
- url: string;
1204
- width: number;
1205
- height: number;
1206
- };
1172
+ }, {
1173
+ position: {
1174
+ lat: number;
1175
+ lng: number;
1176
+ };
1177
+ } & {
1178
+ __TYPE__: "GeoPointContent";
1179
+ }, unknown>, t.ExactC<t.TypeC<{
1180
+ __TYPE__: t.LiteralC<"GeoPointContent">;
1181
+ }>>]>, t.IntersectionC<[t.Type<{
1182
+ origin: {
1183
+ id: string;
1184
+ url: string;
1207
1185
  width: number;
1208
1186
  height: number;
1209
- edit: {
1210
- zoom: number;
1211
- crop: {
1212
- x: number;
1213
- y: number;
1214
- };
1215
- background: string;
1216
- };
1217
- } & {
1218
- url?: string;
1219
- credits?: string | null;
1220
- alt?: string | null;
1221
- provider?: string | null | undefined;
1222
1187
  };
1223
- };
1224
- }, {
1225
- origin: {
1226
- id: string;
1227
- url: string;
1228
1188
  width: number;
1229
1189
  height: number;
1230
- };
1231
- width: number;
1232
- height: number;
1233
- edit: {
1234
- zoom: number;
1235
- crop: {
1236
- x: number;
1237
- y: number;
1190
+ edit: {
1191
+ zoom: number;
1192
+ crop: {
1193
+ x: number;
1194
+ y: number;
1195
+ };
1196
+ background: string;
1238
1197
  };
1239
- background: string;
1240
- };
1241
- } & {
1242
- url?: string;
1243
- credits?: string | null;
1244
- alt?: string | null;
1245
- provider?: string | null | undefined;
1246
- } & {
1247
- thumbnails?: {
1248
- [x: string]: {
1249
- origin: {
1250
- id: string;
1251
- url: string;
1198
+ } & {
1199
+ url?: string;
1200
+ credits?: string | null;
1201
+ alt?: string | null;
1202
+ provider?: string | null | undefined;
1203
+ } & {
1204
+ thumbnails?: {
1205
+ [x: string]: {
1206
+ origin: {
1207
+ id: string;
1208
+ url: string;
1209
+ width: number;
1210
+ height: number;
1211
+ };
1252
1212
  width: number;
1253
1213
  height: number;
1214
+ edit: {
1215
+ zoom: number;
1216
+ crop: {
1217
+ x: number;
1218
+ y: number;
1219
+ };
1220
+ background: string;
1221
+ };
1222
+ } & {
1223
+ url?: string;
1224
+ credits?: string | null;
1225
+ alt?: string | null;
1226
+ provider?: string | null | undefined;
1254
1227
  };
1228
+ };
1229
+ }, {
1230
+ origin: {
1231
+ id: string;
1232
+ url: string;
1255
1233
  width: number;
1256
1234
  height: number;
1257
- edit: {
1258
- zoom: number;
1259
- crop: {
1260
- x: number;
1261
- y: number;
1262
- };
1263
- background: string;
1235
+ };
1236
+ width: number;
1237
+ height: number;
1238
+ edit: {
1239
+ zoom: number;
1240
+ crop: {
1241
+ x: number;
1242
+ y: number;
1264
1243
  };
1265
- } & {
1266
- url?: string;
1267
- credits?: string | null;
1268
- alt?: string | null;
1269
- provider?: string | null | undefined;
1244
+ background: string;
1270
1245
  };
1271
- };
1272
- } & {
1273
- __TYPE__: "ImageContent";
1274
- }, unknown>, t.ExactC<t.TypeC<{
1275
- __TYPE__: t.LiteralC<"ImageContent">;
1276
- }>>]>, t.ExactC<t.TypeC<{
1277
- __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
1278
- value: t.StringC;
1279
- }>>, t.ExactC<t.TypeC<{
1280
- __TYPE__: t.LiteralC<"LinkContent">;
1281
- value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1282
- __TYPE__: t.LiteralC<"ImageLink">;
1283
- }>>, t.Type<{
1284
- id: string;
1285
- url: string;
1286
- height: string;
1287
- width: string;
1288
- size: string;
1289
- name: string;
1290
- kind: string;
1291
- } & {
1292
- date?: string | null | undefined;
1293
- }, {
1294
- id: string;
1295
- url: string;
1296
- height: string;
1297
- width: string;
1298
- size: string;
1299
- name: string;
1300
- kind: string;
1301
1246
  } & {
1302
- date?: string | null | undefined;
1247
+ url?: string;
1248
+ credits?: string | null;
1249
+ alt?: string | null;
1250
+ provider?: string | null | undefined;
1303
1251
  } & {
1304
- __TYPE__: "ImageLink";
1305
- }, unknown>]>, t.IntersectionC<[t.Type<{
1306
- id: string;
1307
- url: string;
1308
- name: string;
1309
- kind: string;
1252
+ thumbnails?: {
1253
+ [x: string]: {
1254
+ origin: {
1255
+ id: string;
1256
+ url: string;
1257
+ width: number;
1258
+ height: number;
1259
+ };
1260
+ width: number;
1261
+ height: number;
1262
+ edit: {
1263
+ zoom: number;
1264
+ crop: {
1265
+ x: number;
1266
+ y: number;
1267
+ };
1268
+ background: string;
1269
+ };
1270
+ } & {
1271
+ url?: string;
1272
+ credits?: string | null;
1273
+ alt?: string | null;
1274
+ provider?: string | null | undefined;
1275
+ };
1276
+ };
1310
1277
  } & {
1311
- date?: string | null | undefined;
1312
- size?: string;
1313
- }, {
1314
- readonly size: string;
1315
- readonly __TYPE__: "FileLink";
1316
- readonly id: string;
1317
- readonly url: string;
1318
- readonly name: string;
1319
- readonly kind: string;
1320
- readonly date?: string | null | undefined;
1278
+ __TYPE__: "ImageContent";
1321
1279
  }, unknown>, t.ExactC<t.TypeC<{
1322
- __TYPE__: t.LiteralC<"FileLink">;
1323
- size: t.StringC;
1324
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1325
- __TYPE__: t.LiteralC<"DocumentLink">;
1326
- }>>, t.Type<{
1327
- id: string;
1328
- }, {
1329
- id: string;
1330
- } & {
1331
- __TYPE__: "DocumentLink";
1332
- }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1333
- __TYPE__: t.LiteralC<"ExternalLink">;
1334
- }>>, t.Type<{
1335
- url: string;
1336
- } & {
1337
- kind?: "web";
1338
- target?: string | null | undefined;
1339
- preview?: {
1340
- title?: string;
1341
- } | null | undefined;
1342
- }, {
1343
- url: string;
1344
- } & {
1345
- kind?: "web";
1346
- target?: string | null | undefined;
1347
- preview?: {
1348
- title?: string;
1349
- } | null | undefined;
1350
- } & {
1351
- __TYPE__: "ExternalLink";
1352
- }, unknown>]>]>;
1353
- }>>, t.ExactC<t.TypeC<{
1354
- __TYPE__: t.LiteralC<"StructuredTextContent">;
1355
- value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1356
- type: t.LiteralC<"image">;
1357
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1358
- origin: t.ExactC<t.TypeC<{
1359
- id: t.StringC;
1360
- url: t.StringC;
1280
+ __TYPE__: t.LiteralC<"ImageContent">;
1281
+ }>>]>, t.ExactC<t.TypeC<{
1282
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
1283
+ value: t.StringC;
1284
+ }>>, t.ExactC<t.TypeC<{
1285
+ __TYPE__: t.LiteralC<"LinkContent">;
1286
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1287
+ __TYPE__: t.LiteralC<"ImageLink">;
1288
+ }>>, t.Type<{
1289
+ id: string;
1290
+ url: string;
1291
+ height: string;
1292
+ width: string;
1293
+ size: string;
1294
+ name: string;
1295
+ kind: string;
1296
+ } & {
1297
+ date?: string | null | undefined;
1298
+ }, {
1299
+ id: string;
1300
+ url: string;
1301
+ height: string;
1302
+ width: string;
1303
+ size: string;
1304
+ name: string;
1305
+ kind: string;
1306
+ } & {
1307
+ date?: string | null | undefined;
1308
+ } & {
1309
+ __TYPE__: "ImageLink";
1310
+ }, unknown>]>, t.IntersectionC<[t.Type<{
1311
+ id: string;
1312
+ url: string;
1313
+ name: string;
1314
+ kind: string;
1315
+ } & {
1316
+ date?: string | null | undefined;
1317
+ size?: string;
1318
+ }, {
1319
+ readonly size: string;
1320
+ readonly __TYPE__: "FileLink";
1321
+ readonly id: string;
1322
+ readonly url: string;
1323
+ readonly name: string;
1324
+ readonly kind: string;
1325
+ readonly date?: string | null | undefined;
1326
+ }, unknown>, t.ExactC<t.TypeC<{
1327
+ __TYPE__: t.LiteralC<"FileLink">;
1328
+ size: t.StringC;
1329
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1330
+ __TYPE__: t.LiteralC<"DocumentLink">;
1331
+ }>>, t.Type<{
1332
+ id: string;
1333
+ }, {
1334
+ id: string;
1335
+ } & {
1336
+ __TYPE__: "DocumentLink";
1337
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1338
+ __TYPE__: t.LiteralC<"ExternalLink">;
1339
+ }>>, t.Type<{
1340
+ url: string;
1341
+ } & {
1342
+ kind?: "web";
1343
+ target?: string | null | undefined;
1344
+ preview?: {
1345
+ title?: string;
1346
+ } | null | undefined;
1347
+ }, {
1348
+ url: string;
1349
+ } & {
1350
+ kind?: "web";
1351
+ target?: string | null | undefined;
1352
+ preview?: {
1353
+ title?: string;
1354
+ } | null | undefined;
1355
+ } & {
1356
+ __TYPE__: "ExternalLink";
1357
+ }, unknown>]>]>;
1358
+ }>>, t.ExactC<t.TypeC<{
1359
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
1360
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1361
+ type: t.LiteralC<"image">;
1362
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1363
+ origin: t.ExactC<t.TypeC<{
1364
+ id: t.StringC;
1365
+ url: t.StringC;
1366
+ width: t.NumberC;
1367
+ height: t.NumberC;
1368
+ }>>;
1361
1369
  width: t.NumberC;
1362
1370
  height: t.NumberC;
1363
- }>>;
1364
- width: t.NumberC;
1365
- height: t.NumberC;
1366
- edit: t.TypeC<{
1367
- zoom: t.NumberC;
1368
- crop: t.TypeC<{
1369
- x: t.NumberC;
1370
- y: t.NumberC;
1371
+ edit: t.TypeC<{
1372
+ zoom: t.NumberC;
1373
+ crop: t.TypeC<{
1374
+ x: t.NumberC;
1375
+ y: t.NumberC;
1376
+ }>;
1377
+ background: t.StringC;
1371
1378
  }>;
1372
- background: t.StringC;
1373
- }>;
1379
+ }>, t.PartialC<{
1380
+ url: t.StringC;
1381
+ credits: t.Type<string | null, string | null, unknown>;
1382
+ alt: t.Type<string | null, string | null, unknown>;
1383
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1384
+ }>]>>, t.PartialC<{
1385
+ linkTo: t.UnionC<[t.Type<{
1386
+ id: string;
1387
+ } | ({
1388
+ url: string;
1389
+ } & {
1390
+ kind?: "web";
1391
+ target?: string | null | undefined;
1392
+ preview?: {
1393
+ title?: string;
1394
+ } | null | undefined;
1395
+ }) | ({
1396
+ id: string;
1397
+ url: string;
1398
+ name: string;
1399
+ kind: string;
1400
+ } & {
1401
+ date?: string | null | undefined;
1402
+ size?: string;
1403
+ }) | ({
1404
+ id: string;
1405
+ url: string;
1406
+ height: string;
1407
+ width: string;
1408
+ size: string;
1409
+ name: string;
1410
+ kind: string;
1411
+ } & {
1412
+ date?: string | null | undefined;
1413
+ }), ({
1414
+ id: string;
1415
+ } & {
1416
+ __TYPE__: "DocumentLink";
1417
+ }) | ({
1418
+ url: string;
1419
+ } & {
1420
+ kind?: "web";
1421
+ target?: string | null | undefined;
1422
+ preview?: {
1423
+ title?: string;
1424
+ } | null | undefined;
1425
+ } & {
1426
+ __TYPE__: "ExternalLink";
1427
+ }) | {
1428
+ readonly size: string;
1429
+ readonly __TYPE__: "FileLink";
1430
+ readonly id: string;
1431
+ readonly url: string;
1432
+ readonly name: string;
1433
+ readonly kind: string;
1434
+ readonly date?: string | null | undefined;
1435
+ } | ({
1436
+ id: string;
1437
+ url: string;
1438
+ height: string;
1439
+ width: string;
1440
+ size: string;
1441
+ name: string;
1442
+ kind: string;
1443
+ } & {
1444
+ date?: string | null | undefined;
1445
+ } & {
1446
+ __TYPE__: "ImageLink";
1447
+ }), unknown>, t.NullC, t.UndefinedC]>;
1448
+ }>]>;
1374
1449
  }>, t.PartialC<{
1375
- url: t.StringC;
1376
- credits: t.Type<string | null, string | null, unknown>;
1377
- alt: t.Type<string | null, string | null, unknown>;
1378
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1379
- }>]>>, t.PartialC<{
1380
- linkTo: t.UnionC<[t.Type<{
1381
- id: string;
1382
- } | ({
1383
- url: string;
1384
- } & {
1385
- kind?: "web";
1386
- target?: string | null | undefined;
1387
- preview?: {
1388
- title?: string;
1389
- } | null | undefined;
1390
- }) | ({
1391
- id: string;
1392
- url: string;
1393
- name: string;
1394
- kind: string;
1395
- } & {
1396
- date?: string | null | undefined;
1397
- size?: string;
1398
- }) | ({
1399
- id: string;
1400
- url: string;
1401
- height: string;
1402
- width: string;
1403
- size: string;
1404
- name: string;
1405
- kind: string;
1406
- } & {
1407
- date?: string | null | undefined;
1408
- }), ({
1409
- id: string;
1410
- } & {
1411
- __TYPE__: "DocumentLink";
1412
- }) | ({
1413
- url: string;
1414
- } & {
1415
- kind?: "web";
1416
- target?: string | null | undefined;
1417
- preview?: {
1418
- title?: string;
1419
- } | null | undefined;
1420
- } & {
1421
- __TYPE__: "ExternalLink";
1422
- }) | {
1423
- readonly size: string;
1424
- readonly __TYPE__: "FileLink";
1425
- readonly id: string;
1426
- readonly url: string;
1427
- readonly name: string;
1428
- readonly kind: string;
1429
- readonly date?: string | null | undefined;
1430
- } | ({
1431
- id: string;
1432
- url: string;
1433
- height: string;
1434
- width: string;
1435
- size: string;
1436
- name: string;
1437
- kind: string;
1438
- } & {
1439
- date?: string | null | undefined;
1440
- } & {
1441
- __TYPE__: "ImageLink";
1442
- }), unknown>, t.NullC, t.UndefinedC]>;
1443
- }>]>;
1444
- }>, t.PartialC<{
1445
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1446
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1447
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1448
- type: t.LiteralC<"embed">;
1449
- data: t.Type<import("../../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
1450
- }>, t.PartialC<{
1451
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1452
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1453
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1454
- type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
1455
- content: t.IntersectionC<[t.TypeC<{
1456
- text: t.StringC;
1450
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1451
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1452
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1453
+ type: t.LiteralC<"embed">;
1454
+ data: t.Type<import("../../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
1457
1455
  }>, t.PartialC<{
1458
- spans: t.Type<({
1459
- data?: unknown;
1460
- } & {
1461
- start: number;
1462
- end: number;
1463
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1464
- })[], ({
1465
- data?: unknown;
1466
- } & {
1467
- start: number;
1468
- end: number;
1469
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1470
- })[], unknown>;
1471
- }>]>;
1472
- }>, t.PartialC<{
1473
- label: t.StringC;
1474
- direction: t.StringC;
1475
- }>]>>]>>;
1476
- }>>, t.ExactC<t.TypeC<{
1477
- __TYPE__: t.LiteralC<"SeparatorContent">;
1478
- }>>]>]>>;
1456
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1457
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1458
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1459
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
1460
+ content: t.IntersectionC<[t.TypeC<{
1461
+ text: t.StringC;
1462
+ }>, t.PartialC<{
1463
+ spans: t.Type<({
1464
+ data?: unknown;
1465
+ } & {
1466
+ start: number;
1467
+ end: number;
1468
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1469
+ })[], ({
1470
+ data?: unknown;
1471
+ } & {
1472
+ start: number;
1473
+ end: number;
1474
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1475
+ })[], unknown>;
1476
+ }>]>;
1477
+ }>, t.PartialC<{
1478
+ label: t.StringC;
1479
+ direction: t.StringC;
1480
+ }>]>>]>>;
1481
+ }>>, t.ExactC<t.TypeC<{
1482
+ __TYPE__: t.LiteralC<"SeparatorContent">;
1483
+ }>>]>]>>;
1484
+ }>>>;
1479
1485
  }>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
1480
1486
  __TYPE__: t.LiteralC<"BooleanContent">;
1481
1487
  value: t.BooleanC;
@@ -2223,9 +2229,9 @@ export declare const SlicesContent: t.TypeC<{
2223
2229
  key: t.StringC;
2224
2230
  name: t.StringC;
2225
2231
  maybeLabel: t.UnionC<[t.StringC, t.UndefinedC]>;
2226
- widget: t.UnionC<[t.TypeC<{
2232
+ widget: t.UnionC<[t.ExactC<t.TypeC<{
2227
2233
  __TYPE__: t.LiteralC<"CompositeSliceContent">;
2228
- repeat: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
2234
+ nonRepeat: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
2229
2235
  __TYPE__: t.LiteralC<"BooleanContent">;
2230
2236
  value: t.BooleanC;
2231
2237
  }>>, t.IntersectionC<[t.Type<{
@@ -2591,375 +2597,378 @@ export declare const SlicesContent: t.TypeC<{
2591
2597
  }>]>>]>>;
2592
2598
  }>>, t.ExactC<t.TypeC<{
2593
2599
  __TYPE__: t.LiteralC<"SeparatorContent">;
2594
- }>>]>]>>;
2595
- "non-repeat": t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
2596
- __TYPE__: t.LiteralC<"BooleanContent">;
2597
- value: t.BooleanC;
2598
- }>>, t.IntersectionC<[t.Type<{
2599
- embed_url: string;
2600
- type: string;
2601
- } & {
2602
- version?: string | number | null;
2603
- title?: string | null | undefined;
2604
- author_name?: string | null | undefined;
2605
- author_url?: string | null | undefined;
2606
- provider_name?: string | null | undefined;
2607
- provider_url?: string | null | undefined;
2608
- cache_age?: string | number | null;
2609
- thumbnail_url?: string | null | undefined;
2610
- thumbnail_width?: number | null | undefined;
2611
- thumbnail_height?: number | null | undefined;
2612
- html?: string | null | undefined;
2613
- }, {
2614
- embed_url: string;
2615
- type: string;
2616
- } & {
2617
- version?: string | number | null;
2618
- title?: string | null | undefined;
2619
- author_name?: string | null | undefined;
2620
- author_url?: string | null | undefined;
2621
- provider_name?: string | null | undefined;
2622
- provider_url?: string | null | undefined;
2623
- cache_age?: string | number | null;
2624
- thumbnail_url?: string | null | undefined;
2625
- thumbnail_width?: number | null | undefined;
2626
- thumbnail_height?: number | null | undefined;
2627
- html?: string | null | undefined;
2628
- } & {
2629
- __TYPE__: "EmbedContent";
2630
- }, unknown>, t.ExactC<t.TypeC<{
2631
- __TYPE__: t.LiteralC<"EmbedContent">;
2632
- all: t.UnknownC;
2633
- }>>]>, t.ExactC<t.TypeC<{
2634
- type: t.KeyofC<{
2635
- Text: null;
2636
- Date: null;
2637
- Timestamp: null;
2638
- Color: null;
2639
- Number: null;
2640
- Range: null;
2641
- Select: null;
2642
- }>;
2643
- value: t.Type<string, string, unknown>;
2644
- __TYPE__: t.LiteralC<"FieldContent">;
2645
- }>>, t.IntersectionC<[t.Type<{
2646
- position: {
2647
- lat: number;
2648
- lng: number;
2649
- };
2650
- }, {
2651
- position: {
2652
- lat: number;
2653
- lng: number;
2654
- };
2655
- } & {
2656
- __TYPE__: "GeoPointContent";
2657
- }, unknown>, t.ExactC<t.TypeC<{
2658
- __TYPE__: t.LiteralC<"GeoPointContent">;
2659
- }>>]>, t.IntersectionC<[t.Type<{
2660
- origin: {
2661
- id: string;
2662
- url: string;
2600
+ }>>]>>;
2601
+ repeat: t.ArrayC<t.ExactC<t.TypeC<{
2602
+ __TYPE__: t.LiteralC<"GroupItemContent">;
2603
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
2604
+ __TYPE__: t.LiteralC<"BooleanContent">;
2605
+ value: t.BooleanC;
2606
+ }>>, t.IntersectionC<[t.Type<{
2607
+ embed_url: string;
2608
+ type: string;
2609
+ } & {
2610
+ version?: string | number | null;
2611
+ title?: string | null | undefined;
2612
+ author_name?: string | null | undefined;
2613
+ author_url?: string | null | undefined;
2614
+ provider_name?: string | null | undefined;
2615
+ provider_url?: string | null | undefined;
2616
+ cache_age?: string | number | null;
2617
+ thumbnail_url?: string | null | undefined;
2618
+ thumbnail_width?: number | null | undefined;
2619
+ thumbnail_height?: number | null | undefined;
2620
+ html?: string | null | undefined;
2621
+ }, {
2622
+ embed_url: string;
2623
+ type: string;
2624
+ } & {
2625
+ version?: string | number | null;
2626
+ title?: string | null | undefined;
2627
+ author_name?: string | null | undefined;
2628
+ author_url?: string | null | undefined;
2629
+ provider_name?: string | null | undefined;
2630
+ provider_url?: string | null | undefined;
2631
+ cache_age?: string | number | null;
2632
+ thumbnail_url?: string | null | undefined;
2633
+ thumbnail_width?: number | null | undefined;
2634
+ thumbnail_height?: number | null | undefined;
2635
+ html?: string | null | undefined;
2636
+ } & {
2637
+ __TYPE__: "EmbedContent";
2638
+ }, unknown>, t.ExactC<t.TypeC<{
2639
+ __TYPE__: t.LiteralC<"EmbedContent">;
2640
+ all: t.UnknownC;
2641
+ }>>]>, t.ExactC<t.TypeC<{
2642
+ type: t.KeyofC<{
2643
+ Text: null;
2644
+ Date: null;
2645
+ Timestamp: null;
2646
+ Color: null;
2647
+ Number: null;
2648
+ Range: null;
2649
+ Select: null;
2650
+ }>;
2651
+ value: t.Type<string, string, unknown>;
2652
+ __TYPE__: t.LiteralC<"FieldContent">;
2653
+ }>>, t.IntersectionC<[t.Type<{
2654
+ position: {
2655
+ lat: number;
2656
+ lng: number;
2657
+ };
2658
+ }, {
2659
+ position: {
2660
+ lat: number;
2661
+ lng: number;
2662
+ };
2663
+ } & {
2664
+ __TYPE__: "GeoPointContent";
2665
+ }, unknown>, t.ExactC<t.TypeC<{
2666
+ __TYPE__: t.LiteralC<"GeoPointContent">;
2667
+ }>>]>, t.IntersectionC<[t.Type<{
2668
+ origin: {
2669
+ id: string;
2670
+ url: string;
2671
+ width: number;
2672
+ height: number;
2673
+ };
2663
2674
  width: number;
2664
2675
  height: number;
2665
- };
2666
- width: number;
2667
- height: number;
2668
- edit: {
2669
- zoom: number;
2670
- crop: {
2671
- x: number;
2672
- y: number;
2673
- };
2674
- background: string;
2675
- };
2676
- } & {
2677
- url?: string;
2678
- credits?: string | null;
2679
- alt?: string | null;
2680
- provider?: string | null | undefined;
2681
- } & {
2682
- thumbnails?: {
2683
- [x: string]: {
2684
- origin: {
2685
- id: string;
2686
- url: string;
2676
+ edit: {
2677
+ zoom: number;
2678
+ crop: {
2679
+ x: number;
2680
+ y: number;
2681
+ };
2682
+ background: string;
2683
+ };
2684
+ } & {
2685
+ url?: string;
2686
+ credits?: string | null;
2687
+ alt?: string | null;
2688
+ provider?: string | null | undefined;
2689
+ } & {
2690
+ thumbnails?: {
2691
+ [x: string]: {
2692
+ origin: {
2693
+ id: string;
2694
+ url: string;
2695
+ width: number;
2696
+ height: number;
2697
+ };
2687
2698
  width: number;
2688
2699
  height: number;
2700
+ edit: {
2701
+ zoom: number;
2702
+ crop: {
2703
+ x: number;
2704
+ y: number;
2705
+ };
2706
+ background: string;
2707
+ };
2708
+ } & {
2709
+ url?: string;
2710
+ credits?: string | null;
2711
+ alt?: string | null;
2712
+ provider?: string | null | undefined;
2689
2713
  };
2714
+ };
2715
+ }, {
2716
+ origin: {
2717
+ id: string;
2718
+ url: string;
2690
2719
  width: number;
2691
2720
  height: number;
2692
- edit: {
2693
- zoom: number;
2694
- crop: {
2695
- x: number;
2696
- y: number;
2697
- };
2698
- background: string;
2699
- };
2700
- } & {
2701
- url?: string;
2702
- credits?: string | null;
2703
- alt?: string | null;
2704
- provider?: string | null | undefined;
2705
2721
  };
2706
- };
2707
- }, {
2708
- origin: {
2709
- id: string;
2710
- url: string;
2711
2722
  width: number;
2712
2723
  height: number;
2713
- };
2714
- width: number;
2715
- height: number;
2716
- edit: {
2717
- zoom: number;
2718
- crop: {
2719
- x: number;
2720
- y: number;
2724
+ edit: {
2725
+ zoom: number;
2726
+ crop: {
2727
+ x: number;
2728
+ y: number;
2729
+ };
2730
+ background: string;
2721
2731
  };
2722
- background: string;
2723
- };
2724
- } & {
2725
- url?: string;
2726
- credits?: string | null;
2727
- alt?: string | null;
2728
- provider?: string | null | undefined;
2729
- } & {
2730
- thumbnails?: {
2731
- [x: string]: {
2732
- origin: {
2733
- id: string;
2734
- url: string;
2732
+ } & {
2733
+ url?: string;
2734
+ credits?: string | null;
2735
+ alt?: string | null;
2736
+ provider?: string | null | undefined;
2737
+ } & {
2738
+ thumbnails?: {
2739
+ [x: string]: {
2740
+ origin: {
2741
+ id: string;
2742
+ url: string;
2743
+ width: number;
2744
+ height: number;
2745
+ };
2735
2746
  width: number;
2736
2747
  height: number;
2737
- };
2738
- width: number;
2739
- height: number;
2740
- edit: {
2741
- zoom: number;
2742
- crop: {
2743
- x: number;
2744
- y: number;
2748
+ edit: {
2749
+ zoom: number;
2750
+ crop: {
2751
+ x: number;
2752
+ y: number;
2753
+ };
2754
+ background: string;
2745
2755
  };
2746
- background: string;
2756
+ } & {
2757
+ url?: string;
2758
+ credits?: string | null;
2759
+ alt?: string | null;
2760
+ provider?: string | null | undefined;
2747
2761
  };
2748
- } & {
2749
- url?: string;
2750
- credits?: string | null;
2751
- alt?: string | null;
2752
- provider?: string | null | undefined;
2753
2762
  };
2754
- };
2755
- } & {
2756
- __TYPE__: "ImageContent";
2757
- }, unknown>, t.ExactC<t.TypeC<{
2758
- __TYPE__: t.LiteralC<"ImageContent">;
2759
- }>>]>, t.ExactC<t.TypeC<{
2760
- __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
2761
- value: t.StringC;
2762
- }>>, t.ExactC<t.TypeC<{
2763
- __TYPE__: t.LiteralC<"LinkContent">;
2764
- value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2765
- __TYPE__: t.LiteralC<"ImageLink">;
2766
- }>>, t.Type<{
2767
- id: string;
2768
- url: string;
2769
- height: string;
2770
- width: string;
2771
- size: string;
2772
- name: string;
2773
- kind: string;
2774
2763
  } & {
2775
- date?: string | null | undefined;
2776
- }, {
2777
- id: string;
2778
- url: string;
2779
- height: string;
2780
- width: string;
2781
- size: string;
2782
- name: string;
2783
- kind: string;
2784
- } & {
2785
- date?: string | null | undefined;
2786
- } & {
2787
- __TYPE__: "ImageLink";
2788
- }, unknown>]>, t.IntersectionC<[t.Type<{
2789
- id: string;
2790
- url: string;
2791
- name: string;
2792
- kind: string;
2793
- } & {
2794
- date?: string | null | undefined;
2795
- size?: string;
2796
- }, {
2797
- readonly size: string;
2798
- readonly __TYPE__: "FileLink";
2799
- readonly id: string;
2800
- readonly url: string;
2801
- readonly name: string;
2802
- readonly kind: string;
2803
- readonly date?: string | null | undefined;
2764
+ __TYPE__: "ImageContent";
2804
2765
  }, unknown>, t.ExactC<t.TypeC<{
2805
- __TYPE__: t.LiteralC<"FileLink">;
2806
- size: t.StringC;
2807
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2808
- __TYPE__: t.LiteralC<"DocumentLink">;
2809
- }>>, t.Type<{
2810
- id: string;
2811
- }, {
2812
- id: string;
2813
- } & {
2814
- __TYPE__: "DocumentLink";
2815
- }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2816
- __TYPE__: t.LiteralC<"ExternalLink">;
2817
- }>>, t.Type<{
2818
- url: string;
2819
- } & {
2820
- kind?: "web";
2821
- target?: string | null | undefined;
2822
- preview?: {
2823
- title?: string;
2824
- } | null | undefined;
2825
- }, {
2826
- url: string;
2827
- } & {
2828
- kind?: "web";
2829
- target?: string | null | undefined;
2830
- preview?: {
2831
- title?: string;
2832
- } | null | undefined;
2833
- } & {
2834
- __TYPE__: "ExternalLink";
2835
- }, unknown>]>]>;
2836
- }>>, t.ExactC<t.TypeC<{
2837
- __TYPE__: t.LiteralC<"StructuredTextContent">;
2838
- value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2839
- type: t.LiteralC<"image">;
2840
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2841
- origin: t.ExactC<t.TypeC<{
2842
- id: t.StringC;
2843
- url: t.StringC;
2766
+ __TYPE__: t.LiteralC<"ImageContent">;
2767
+ }>>]>, t.ExactC<t.TypeC<{
2768
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
2769
+ value: t.StringC;
2770
+ }>>, t.ExactC<t.TypeC<{
2771
+ __TYPE__: t.LiteralC<"LinkContent">;
2772
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2773
+ __TYPE__: t.LiteralC<"ImageLink">;
2774
+ }>>, t.Type<{
2775
+ id: string;
2776
+ url: string;
2777
+ height: string;
2778
+ width: string;
2779
+ size: string;
2780
+ name: string;
2781
+ kind: string;
2782
+ } & {
2783
+ date?: string | null | undefined;
2784
+ }, {
2785
+ id: string;
2786
+ url: string;
2787
+ height: string;
2788
+ width: string;
2789
+ size: string;
2790
+ name: string;
2791
+ kind: string;
2792
+ } & {
2793
+ date?: string | null | undefined;
2794
+ } & {
2795
+ __TYPE__: "ImageLink";
2796
+ }, unknown>]>, t.IntersectionC<[t.Type<{
2797
+ id: string;
2798
+ url: string;
2799
+ name: string;
2800
+ kind: string;
2801
+ } & {
2802
+ date?: string | null | undefined;
2803
+ size?: string;
2804
+ }, {
2805
+ readonly size: string;
2806
+ readonly __TYPE__: "FileLink";
2807
+ readonly id: string;
2808
+ readonly url: string;
2809
+ readonly name: string;
2810
+ readonly kind: string;
2811
+ readonly date?: string | null | undefined;
2812
+ }, unknown>, t.ExactC<t.TypeC<{
2813
+ __TYPE__: t.LiteralC<"FileLink">;
2814
+ size: t.StringC;
2815
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2816
+ __TYPE__: t.LiteralC<"DocumentLink">;
2817
+ }>>, t.Type<{
2818
+ id: string;
2819
+ }, {
2820
+ id: string;
2821
+ } & {
2822
+ __TYPE__: "DocumentLink";
2823
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2824
+ __TYPE__: t.LiteralC<"ExternalLink">;
2825
+ }>>, t.Type<{
2826
+ url: string;
2827
+ } & {
2828
+ kind?: "web";
2829
+ target?: string | null | undefined;
2830
+ preview?: {
2831
+ title?: string;
2832
+ } | null | undefined;
2833
+ }, {
2834
+ url: string;
2835
+ } & {
2836
+ kind?: "web";
2837
+ target?: string | null | undefined;
2838
+ preview?: {
2839
+ title?: string;
2840
+ } | null | undefined;
2841
+ } & {
2842
+ __TYPE__: "ExternalLink";
2843
+ }, unknown>]>]>;
2844
+ }>>, t.ExactC<t.TypeC<{
2845
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
2846
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2847
+ type: t.LiteralC<"image">;
2848
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2849
+ origin: t.ExactC<t.TypeC<{
2850
+ id: t.StringC;
2851
+ url: t.StringC;
2852
+ width: t.NumberC;
2853
+ height: t.NumberC;
2854
+ }>>;
2844
2855
  width: t.NumberC;
2845
2856
  height: t.NumberC;
2846
- }>>;
2847
- width: t.NumberC;
2848
- height: t.NumberC;
2849
- edit: t.TypeC<{
2850
- zoom: t.NumberC;
2851
- crop: t.TypeC<{
2852
- x: t.NumberC;
2853
- y: t.NumberC;
2857
+ edit: t.TypeC<{
2858
+ zoom: t.NumberC;
2859
+ crop: t.TypeC<{
2860
+ x: t.NumberC;
2861
+ y: t.NumberC;
2862
+ }>;
2863
+ background: t.StringC;
2854
2864
  }>;
2855
- background: t.StringC;
2856
- }>;
2857
- }>, t.PartialC<{
2858
- url: t.StringC;
2859
- credits: t.Type<string | null, string | null, unknown>;
2860
- alt: t.Type<string | null, string | null, unknown>;
2861
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2862
- }>]>>, t.PartialC<{
2863
- linkTo: t.UnionC<[t.Type<{
2864
- id: string;
2865
- } | ({
2866
- url: string;
2867
- } & {
2868
- kind?: "web";
2869
- target?: string | null | undefined;
2870
- preview?: {
2871
- title?: string;
2872
- } | null | undefined;
2873
- }) | ({
2874
- id: string;
2875
- url: string;
2876
- name: string;
2877
- kind: string;
2878
- } & {
2879
- date?: string | null | undefined;
2880
- size?: string;
2881
- }) | ({
2882
- id: string;
2883
- url: string;
2884
- height: string;
2885
- width: string;
2886
- size: string;
2887
- name: string;
2888
- kind: string;
2889
- } & {
2890
- date?: string | null | undefined;
2891
- }), ({
2892
- id: string;
2893
- } & {
2894
- __TYPE__: "DocumentLink";
2895
- }) | ({
2896
- url: string;
2897
- } & {
2898
- kind?: "web";
2899
- target?: string | null | undefined;
2900
- preview?: {
2901
- title?: string;
2902
- } | null | undefined;
2903
- } & {
2904
- __TYPE__: "ExternalLink";
2905
- }) | {
2906
- readonly size: string;
2907
- readonly __TYPE__: "FileLink";
2908
- readonly id: string;
2909
- readonly url: string;
2910
- readonly name: string;
2911
- readonly kind: string;
2912
- readonly date?: string | null | undefined;
2913
- } | ({
2914
- id: string;
2915
- url: string;
2916
- height: string;
2917
- width: string;
2918
- size: string;
2919
- name: string;
2920
- kind: string;
2921
- } & {
2922
- date?: string | null | undefined;
2923
- } & {
2924
- __TYPE__: "ImageLink";
2925
- }), unknown>, t.NullC, t.UndefinedC]>;
2926
- }>]>;
2927
- }>, t.PartialC<{
2928
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2929
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2930
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2931
- type: t.LiteralC<"embed">;
2932
- data: t.Type<import("../../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
2933
- }>, t.PartialC<{
2934
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2935
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2936
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2937
- type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
2938
- content: t.IntersectionC<[t.TypeC<{
2939
- text: t.StringC;
2865
+ }>, t.PartialC<{
2866
+ url: t.StringC;
2867
+ credits: t.Type<string | null, string | null, unknown>;
2868
+ alt: t.Type<string | null, string | null, unknown>;
2869
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2870
+ }>]>>, t.PartialC<{
2871
+ linkTo: t.UnionC<[t.Type<{
2872
+ id: string;
2873
+ } | ({
2874
+ url: string;
2875
+ } & {
2876
+ kind?: "web";
2877
+ target?: string | null | undefined;
2878
+ preview?: {
2879
+ title?: string;
2880
+ } | null | undefined;
2881
+ }) | ({
2882
+ id: string;
2883
+ url: string;
2884
+ name: string;
2885
+ kind: string;
2886
+ } & {
2887
+ date?: string | null | undefined;
2888
+ size?: string;
2889
+ }) | ({
2890
+ id: string;
2891
+ url: string;
2892
+ height: string;
2893
+ width: string;
2894
+ size: string;
2895
+ name: string;
2896
+ kind: string;
2897
+ } & {
2898
+ date?: string | null | undefined;
2899
+ }), ({
2900
+ id: string;
2901
+ } & {
2902
+ __TYPE__: "DocumentLink";
2903
+ }) | ({
2904
+ url: string;
2905
+ } & {
2906
+ kind?: "web";
2907
+ target?: string | null | undefined;
2908
+ preview?: {
2909
+ title?: string;
2910
+ } | null | undefined;
2911
+ } & {
2912
+ __TYPE__: "ExternalLink";
2913
+ }) | {
2914
+ readonly size: string;
2915
+ readonly __TYPE__: "FileLink";
2916
+ readonly id: string;
2917
+ readonly url: string;
2918
+ readonly name: string;
2919
+ readonly kind: string;
2920
+ readonly date?: string | null | undefined;
2921
+ } | ({
2922
+ id: string;
2923
+ url: string;
2924
+ height: string;
2925
+ width: string;
2926
+ size: string;
2927
+ name: string;
2928
+ kind: string;
2929
+ } & {
2930
+ date?: string | null | undefined;
2931
+ } & {
2932
+ __TYPE__: "ImageLink";
2933
+ }), unknown>, t.NullC, t.UndefinedC]>;
2934
+ }>]>;
2940
2935
  }>, t.PartialC<{
2941
- spans: t.Type<({
2942
- data?: unknown;
2943
- } & {
2944
- start: number;
2945
- end: number;
2946
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2947
- })[], ({
2948
- data?: unknown;
2949
- } & {
2950
- start: number;
2951
- end: number;
2952
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2953
- })[], unknown>;
2954
- }>]>;
2955
- }>, t.PartialC<{
2956
- label: t.StringC;
2957
- direction: t.StringC;
2958
- }>]>>]>>;
2959
- }>>, t.ExactC<t.TypeC<{
2960
- __TYPE__: t.LiteralC<"SeparatorContent">;
2961
- }>>]>>;
2962
- }>, t.ExactC<t.TypeC<{
2936
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2937
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2938
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2939
+ type: t.LiteralC<"embed">;
2940
+ data: t.Type<import("../../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
2941
+ }>, t.PartialC<{
2942
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2943
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2944
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2945
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
2946
+ content: t.IntersectionC<[t.TypeC<{
2947
+ text: t.StringC;
2948
+ }>, t.PartialC<{
2949
+ spans: t.Type<({
2950
+ data?: unknown;
2951
+ } & {
2952
+ start: number;
2953
+ end: number;
2954
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2955
+ })[], ({
2956
+ data?: unknown;
2957
+ } & {
2958
+ start: number;
2959
+ end: number;
2960
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2961
+ })[], unknown>;
2962
+ }>]>;
2963
+ }>, t.PartialC<{
2964
+ label: t.StringC;
2965
+ direction: t.StringC;
2966
+ }>]>>]>>;
2967
+ }>>, t.ExactC<t.TypeC<{
2968
+ __TYPE__: t.LiteralC<"SeparatorContent">;
2969
+ }>>]>]>>;
2970
+ }>>>;
2971
+ }>>, t.ExactC<t.TypeC<{
2963
2972
  __TYPE__: t.LiteralC<"SharedSliceContent">;
2964
2973
  variation: t.StringC;
2965
2974
  primary: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
@@ -3329,373 +3338,376 @@ export declare const SlicesContent: t.TypeC<{
3329
3338
  }>>, t.ExactC<t.TypeC<{
3330
3339
  __TYPE__: t.LiteralC<"SeparatorContent">;
3331
3340
  }>>]>>;
3332
- items: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
3333
- __TYPE__: t.LiteralC<"BooleanContent">;
3334
- value: t.BooleanC;
3335
- }>>, t.IntersectionC<[t.Type<{
3336
- embed_url: string;
3337
- type: string;
3338
- } & {
3339
- version?: string | number | null;
3340
- title?: string | null | undefined;
3341
- author_name?: string | null | undefined;
3342
- author_url?: string | null | undefined;
3343
- provider_name?: string | null | undefined;
3344
- provider_url?: string | null | undefined;
3345
- cache_age?: string | number | null;
3346
- thumbnail_url?: string | null | undefined;
3347
- thumbnail_width?: number | null | undefined;
3348
- thumbnail_height?: number | null | undefined;
3349
- html?: string | null | undefined;
3350
- }, {
3351
- embed_url: string;
3352
- type: string;
3353
- } & {
3354
- version?: string | number | null;
3355
- title?: string | null | undefined;
3356
- author_name?: string | null | undefined;
3357
- author_url?: string | null | undefined;
3358
- provider_name?: string | null | undefined;
3359
- provider_url?: string | null | undefined;
3360
- cache_age?: string | number | null;
3361
- thumbnail_url?: string | null | undefined;
3362
- thumbnail_width?: number | null | undefined;
3363
- thumbnail_height?: number | null | undefined;
3364
- html?: string | null | undefined;
3365
- } & {
3366
- __TYPE__: "EmbedContent";
3367
- }, unknown>, t.ExactC<t.TypeC<{
3368
- __TYPE__: t.LiteralC<"EmbedContent">;
3369
- all: t.UnknownC;
3370
- }>>]>, t.ExactC<t.TypeC<{
3371
- type: t.KeyofC<{
3372
- Text: null;
3373
- Date: null;
3374
- Timestamp: null;
3375
- Color: null;
3376
- Number: null;
3377
- Range: null;
3378
- Select: null;
3379
- }>;
3380
- value: t.Type<string, string, unknown>;
3381
- __TYPE__: t.LiteralC<"FieldContent">;
3382
- }>>, t.IntersectionC<[t.Type<{
3383
- position: {
3384
- lat: number;
3385
- lng: number;
3386
- };
3387
- }, {
3388
- position: {
3389
- lat: number;
3390
- lng: number;
3391
- };
3392
- } & {
3393
- __TYPE__: "GeoPointContent";
3394
- }, unknown>, t.ExactC<t.TypeC<{
3395
- __TYPE__: t.LiteralC<"GeoPointContent">;
3396
- }>>]>, t.IntersectionC<[t.Type<{
3397
- origin: {
3398
- id: string;
3399
- url: string;
3341
+ items: t.ArrayC<t.ExactC<t.TypeC<{
3342
+ __TYPE__: t.LiteralC<"GroupItemContent">;
3343
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
3344
+ __TYPE__: t.LiteralC<"BooleanContent">;
3345
+ value: t.BooleanC;
3346
+ }>>, t.IntersectionC<[t.Type<{
3347
+ embed_url: string;
3348
+ type: string;
3349
+ } & {
3350
+ version?: string | number | null;
3351
+ title?: string | null | undefined;
3352
+ author_name?: string | null | undefined;
3353
+ author_url?: string | null | undefined;
3354
+ provider_name?: string | null | undefined;
3355
+ provider_url?: string | null | undefined;
3356
+ cache_age?: string | number | null;
3357
+ thumbnail_url?: string | null | undefined;
3358
+ thumbnail_width?: number | null | undefined;
3359
+ thumbnail_height?: number | null | undefined;
3360
+ html?: string | null | undefined;
3361
+ }, {
3362
+ embed_url: string;
3363
+ type: string;
3364
+ } & {
3365
+ version?: string | number | null;
3366
+ title?: string | null | undefined;
3367
+ author_name?: string | null | undefined;
3368
+ author_url?: string | null | undefined;
3369
+ provider_name?: string | null | undefined;
3370
+ provider_url?: string | null | undefined;
3371
+ cache_age?: string | number | null;
3372
+ thumbnail_url?: string | null | undefined;
3373
+ thumbnail_width?: number | null | undefined;
3374
+ thumbnail_height?: number | null | undefined;
3375
+ html?: string | null | undefined;
3376
+ } & {
3377
+ __TYPE__: "EmbedContent";
3378
+ }, unknown>, t.ExactC<t.TypeC<{
3379
+ __TYPE__: t.LiteralC<"EmbedContent">;
3380
+ all: t.UnknownC;
3381
+ }>>]>, t.ExactC<t.TypeC<{
3382
+ type: t.KeyofC<{
3383
+ Text: null;
3384
+ Date: null;
3385
+ Timestamp: null;
3386
+ Color: null;
3387
+ Number: null;
3388
+ Range: null;
3389
+ Select: null;
3390
+ }>;
3391
+ value: t.Type<string, string, unknown>;
3392
+ __TYPE__: t.LiteralC<"FieldContent">;
3393
+ }>>, t.IntersectionC<[t.Type<{
3394
+ position: {
3395
+ lat: number;
3396
+ lng: number;
3397
+ };
3398
+ }, {
3399
+ position: {
3400
+ lat: number;
3401
+ lng: number;
3402
+ };
3403
+ } & {
3404
+ __TYPE__: "GeoPointContent";
3405
+ }, unknown>, t.ExactC<t.TypeC<{
3406
+ __TYPE__: t.LiteralC<"GeoPointContent">;
3407
+ }>>]>, t.IntersectionC<[t.Type<{
3408
+ origin: {
3409
+ id: string;
3410
+ url: string;
3411
+ width: number;
3412
+ height: number;
3413
+ };
3400
3414
  width: number;
3401
3415
  height: number;
3402
- };
3403
- width: number;
3404
- height: number;
3405
- edit: {
3406
- zoom: number;
3407
- crop: {
3408
- x: number;
3409
- y: number;
3416
+ edit: {
3417
+ zoom: number;
3418
+ crop: {
3419
+ x: number;
3420
+ y: number;
3421
+ };
3422
+ background: string;
3410
3423
  };
3411
- background: string;
3412
- };
3413
- } & {
3414
- url?: string;
3415
- credits?: string | null;
3416
- alt?: string | null;
3417
- provider?: string | null | undefined;
3418
- } & {
3419
- thumbnails?: {
3420
- [x: string]: {
3421
- origin: {
3422
- id: string;
3423
- url: string;
3424
+ } & {
3425
+ url?: string;
3426
+ credits?: string | null;
3427
+ alt?: string | null;
3428
+ provider?: string | null | undefined;
3429
+ } & {
3430
+ thumbnails?: {
3431
+ [x: string]: {
3432
+ origin: {
3433
+ id: string;
3434
+ url: string;
3435
+ width: number;
3436
+ height: number;
3437
+ };
3424
3438
  width: number;
3425
3439
  height: number;
3440
+ edit: {
3441
+ zoom: number;
3442
+ crop: {
3443
+ x: number;
3444
+ y: number;
3445
+ };
3446
+ background: string;
3447
+ };
3448
+ } & {
3449
+ url?: string;
3450
+ credits?: string | null;
3451
+ alt?: string | null;
3452
+ provider?: string | null | undefined;
3426
3453
  };
3454
+ };
3455
+ }, {
3456
+ origin: {
3457
+ id: string;
3458
+ url: string;
3427
3459
  width: number;
3428
3460
  height: number;
3429
- edit: {
3430
- zoom: number;
3431
- crop: {
3432
- x: number;
3433
- y: number;
3434
- };
3435
- background: string;
3436
- };
3437
- } & {
3438
- url?: string;
3439
- credits?: string | null;
3440
- alt?: string | null;
3441
- provider?: string | null | undefined;
3442
3461
  };
3443
- };
3444
- }, {
3445
- origin: {
3446
- id: string;
3447
- url: string;
3448
3462
  width: number;
3449
3463
  height: number;
3450
- };
3451
- width: number;
3452
- height: number;
3453
- edit: {
3454
- zoom: number;
3455
- crop: {
3456
- x: number;
3457
- y: number;
3464
+ edit: {
3465
+ zoom: number;
3466
+ crop: {
3467
+ x: number;
3468
+ y: number;
3469
+ };
3470
+ background: string;
3458
3471
  };
3459
- background: string;
3460
- };
3461
- } & {
3462
- url?: string;
3463
- credits?: string | null;
3464
- alt?: string | null;
3465
- provider?: string | null | undefined;
3466
- } & {
3467
- thumbnails?: {
3468
- [x: string]: {
3469
- origin: {
3470
- id: string;
3471
- url: string;
3472
+ } & {
3473
+ url?: string;
3474
+ credits?: string | null;
3475
+ alt?: string | null;
3476
+ provider?: string | null | undefined;
3477
+ } & {
3478
+ thumbnails?: {
3479
+ [x: string]: {
3480
+ origin: {
3481
+ id: string;
3482
+ url: string;
3483
+ width: number;
3484
+ height: number;
3485
+ };
3472
3486
  width: number;
3473
3487
  height: number;
3474
- };
3475
- width: number;
3476
- height: number;
3477
- edit: {
3478
- zoom: number;
3479
- crop: {
3480
- x: number;
3481
- y: number;
3488
+ edit: {
3489
+ zoom: number;
3490
+ crop: {
3491
+ x: number;
3492
+ y: number;
3493
+ };
3494
+ background: string;
3482
3495
  };
3483
- background: string;
3496
+ } & {
3497
+ url?: string;
3498
+ credits?: string | null;
3499
+ alt?: string | null;
3500
+ provider?: string | null | undefined;
3484
3501
  };
3485
- } & {
3486
- url?: string;
3487
- credits?: string | null;
3488
- alt?: string | null;
3489
- provider?: string | null | undefined;
3490
3502
  };
3491
- };
3492
- } & {
3493
- __TYPE__: "ImageContent";
3494
- }, unknown>, t.ExactC<t.TypeC<{
3495
- __TYPE__: t.LiteralC<"ImageContent">;
3496
- }>>]>, t.ExactC<t.TypeC<{
3497
- __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
3498
- value: t.StringC;
3499
- }>>, t.ExactC<t.TypeC<{
3500
- __TYPE__: t.LiteralC<"LinkContent">;
3501
- value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
3502
- __TYPE__: t.LiteralC<"ImageLink">;
3503
- }>>, t.Type<{
3504
- id: string;
3505
- url: string;
3506
- height: string;
3507
- width: string;
3508
- size: string;
3509
- name: string;
3510
- kind: string;
3511
- } & {
3512
- date?: string | null | undefined;
3513
- }, {
3514
- id: string;
3515
- url: string;
3516
- height: string;
3517
- width: string;
3518
- size: string;
3519
- name: string;
3520
- kind: string;
3521
- } & {
3522
- date?: string | null | undefined;
3523
- } & {
3524
- __TYPE__: "ImageLink";
3525
- }, unknown>]>, t.IntersectionC<[t.Type<{
3526
- id: string;
3527
- url: string;
3528
- name: string;
3529
- kind: string;
3530
3503
  } & {
3531
- date?: string | null | undefined;
3532
- size?: string;
3533
- }, {
3534
- readonly size: string;
3535
- readonly __TYPE__: "FileLink";
3536
- readonly id: string;
3537
- readonly url: string;
3538
- readonly name: string;
3539
- readonly kind: string;
3540
- readonly date?: string | null | undefined;
3504
+ __TYPE__: "ImageContent";
3541
3505
  }, unknown>, t.ExactC<t.TypeC<{
3542
- __TYPE__: t.LiteralC<"FileLink">;
3543
- size: t.StringC;
3544
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3545
- __TYPE__: t.LiteralC<"DocumentLink">;
3546
- }>>, t.Type<{
3547
- id: string;
3548
- }, {
3549
- id: string;
3550
- } & {
3551
- __TYPE__: "DocumentLink";
3552
- }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3553
- __TYPE__: t.LiteralC<"ExternalLink">;
3554
- }>>, t.Type<{
3555
- url: string;
3556
- } & {
3557
- kind?: "web";
3558
- target?: string | null | undefined;
3559
- preview?: {
3560
- title?: string;
3561
- } | null | undefined;
3562
- }, {
3563
- url: string;
3564
- } & {
3565
- kind?: "web";
3566
- target?: string | null | undefined;
3567
- preview?: {
3568
- title?: string;
3569
- } | null | undefined;
3570
- } & {
3571
- __TYPE__: "ExternalLink";
3572
- }, unknown>]>]>;
3573
- }>>, t.ExactC<t.TypeC<{
3574
- __TYPE__: t.LiteralC<"StructuredTextContent">;
3575
- value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3576
- type: t.LiteralC<"image">;
3577
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3578
- origin: t.ExactC<t.TypeC<{
3579
- id: t.StringC;
3580
- url: t.StringC;
3506
+ __TYPE__: t.LiteralC<"ImageContent">;
3507
+ }>>]>, t.ExactC<t.TypeC<{
3508
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
3509
+ value: t.StringC;
3510
+ }>>, t.ExactC<t.TypeC<{
3511
+ __TYPE__: t.LiteralC<"LinkContent">;
3512
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
3513
+ __TYPE__: t.LiteralC<"ImageLink">;
3514
+ }>>, t.Type<{
3515
+ id: string;
3516
+ url: string;
3517
+ height: string;
3518
+ width: string;
3519
+ size: string;
3520
+ name: string;
3521
+ kind: string;
3522
+ } & {
3523
+ date?: string | null | undefined;
3524
+ }, {
3525
+ id: string;
3526
+ url: string;
3527
+ height: string;
3528
+ width: string;
3529
+ size: string;
3530
+ name: string;
3531
+ kind: string;
3532
+ } & {
3533
+ date?: string | null | undefined;
3534
+ } & {
3535
+ __TYPE__: "ImageLink";
3536
+ }, unknown>]>, t.IntersectionC<[t.Type<{
3537
+ id: string;
3538
+ url: string;
3539
+ name: string;
3540
+ kind: string;
3541
+ } & {
3542
+ date?: string | null | undefined;
3543
+ size?: string;
3544
+ }, {
3545
+ readonly size: string;
3546
+ readonly __TYPE__: "FileLink";
3547
+ readonly id: string;
3548
+ readonly url: string;
3549
+ readonly name: string;
3550
+ readonly kind: string;
3551
+ readonly date?: string | null | undefined;
3552
+ }, unknown>, t.ExactC<t.TypeC<{
3553
+ __TYPE__: t.LiteralC<"FileLink">;
3554
+ size: t.StringC;
3555
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3556
+ __TYPE__: t.LiteralC<"DocumentLink">;
3557
+ }>>, t.Type<{
3558
+ id: string;
3559
+ }, {
3560
+ id: string;
3561
+ } & {
3562
+ __TYPE__: "DocumentLink";
3563
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3564
+ __TYPE__: t.LiteralC<"ExternalLink">;
3565
+ }>>, t.Type<{
3566
+ url: string;
3567
+ } & {
3568
+ kind?: "web";
3569
+ target?: string | null | undefined;
3570
+ preview?: {
3571
+ title?: string;
3572
+ } | null | undefined;
3573
+ }, {
3574
+ url: string;
3575
+ } & {
3576
+ kind?: "web";
3577
+ target?: string | null | undefined;
3578
+ preview?: {
3579
+ title?: string;
3580
+ } | null | undefined;
3581
+ } & {
3582
+ __TYPE__: "ExternalLink";
3583
+ }, unknown>]>]>;
3584
+ }>>, t.ExactC<t.TypeC<{
3585
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
3586
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3587
+ type: t.LiteralC<"image">;
3588
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3589
+ origin: t.ExactC<t.TypeC<{
3590
+ id: t.StringC;
3591
+ url: t.StringC;
3592
+ width: t.NumberC;
3593
+ height: t.NumberC;
3594
+ }>>;
3581
3595
  width: t.NumberC;
3582
3596
  height: t.NumberC;
3583
- }>>;
3584
- width: t.NumberC;
3585
- height: t.NumberC;
3586
- edit: t.TypeC<{
3587
- zoom: t.NumberC;
3588
- crop: t.TypeC<{
3589
- x: t.NumberC;
3590
- y: t.NumberC;
3597
+ edit: t.TypeC<{
3598
+ zoom: t.NumberC;
3599
+ crop: t.TypeC<{
3600
+ x: t.NumberC;
3601
+ y: t.NumberC;
3602
+ }>;
3603
+ background: t.StringC;
3591
3604
  }>;
3592
- background: t.StringC;
3593
- }>;
3605
+ }>, t.PartialC<{
3606
+ url: t.StringC;
3607
+ credits: t.Type<string | null, string | null, unknown>;
3608
+ alt: t.Type<string | null, string | null, unknown>;
3609
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3610
+ }>]>>, t.PartialC<{
3611
+ linkTo: t.UnionC<[t.Type<{
3612
+ id: string;
3613
+ } | ({
3614
+ url: string;
3615
+ } & {
3616
+ kind?: "web";
3617
+ target?: string | null | undefined;
3618
+ preview?: {
3619
+ title?: string;
3620
+ } | null | undefined;
3621
+ }) | ({
3622
+ id: string;
3623
+ url: string;
3624
+ name: string;
3625
+ kind: string;
3626
+ } & {
3627
+ date?: string | null | undefined;
3628
+ size?: string;
3629
+ }) | ({
3630
+ id: string;
3631
+ url: string;
3632
+ height: string;
3633
+ width: string;
3634
+ size: string;
3635
+ name: string;
3636
+ kind: string;
3637
+ } & {
3638
+ date?: string | null | undefined;
3639
+ }), ({
3640
+ id: string;
3641
+ } & {
3642
+ __TYPE__: "DocumentLink";
3643
+ }) | ({
3644
+ url: string;
3645
+ } & {
3646
+ kind?: "web";
3647
+ target?: string | null | undefined;
3648
+ preview?: {
3649
+ title?: string;
3650
+ } | null | undefined;
3651
+ } & {
3652
+ __TYPE__: "ExternalLink";
3653
+ }) | {
3654
+ readonly size: string;
3655
+ readonly __TYPE__: "FileLink";
3656
+ readonly id: string;
3657
+ readonly url: string;
3658
+ readonly name: string;
3659
+ readonly kind: string;
3660
+ readonly date?: string | null | undefined;
3661
+ } | ({
3662
+ id: string;
3663
+ url: string;
3664
+ height: string;
3665
+ width: string;
3666
+ size: string;
3667
+ name: string;
3668
+ kind: string;
3669
+ } & {
3670
+ date?: string | null | undefined;
3671
+ } & {
3672
+ __TYPE__: "ImageLink";
3673
+ }), unknown>, t.NullC, t.UndefinedC]>;
3674
+ }>]>;
3594
3675
  }>, t.PartialC<{
3595
- url: t.StringC;
3596
- credits: t.Type<string | null, string | null, unknown>;
3597
- alt: t.Type<string | null, string | null, unknown>;
3598
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3599
- }>]>>, t.PartialC<{
3600
- linkTo: t.UnionC<[t.Type<{
3601
- id: string;
3602
- } | ({
3603
- url: string;
3604
- } & {
3605
- kind?: "web";
3606
- target?: string | null | undefined;
3607
- preview?: {
3608
- title?: string;
3609
- } | null | undefined;
3610
- }) | ({
3611
- id: string;
3612
- url: string;
3613
- name: string;
3614
- kind: string;
3615
- } & {
3616
- date?: string | null | undefined;
3617
- size?: string;
3618
- }) | ({
3619
- id: string;
3620
- url: string;
3621
- height: string;
3622
- width: string;
3623
- size: string;
3624
- name: string;
3625
- kind: string;
3626
- } & {
3627
- date?: string | null | undefined;
3628
- }), ({
3629
- id: string;
3630
- } & {
3631
- __TYPE__: "DocumentLink";
3632
- }) | ({
3633
- url: string;
3634
- } & {
3635
- kind?: "web";
3636
- target?: string | null | undefined;
3637
- preview?: {
3638
- title?: string;
3639
- } | null | undefined;
3640
- } & {
3641
- __TYPE__: "ExternalLink";
3642
- }) | {
3643
- readonly size: string;
3644
- readonly __TYPE__: "FileLink";
3645
- readonly id: string;
3646
- readonly url: string;
3647
- readonly name: string;
3648
- readonly kind: string;
3649
- readonly date?: string | null | undefined;
3650
- } | ({
3651
- id: string;
3652
- url: string;
3653
- height: string;
3654
- width: string;
3655
- size: string;
3656
- name: string;
3657
- kind: string;
3658
- } & {
3659
- date?: string | null | undefined;
3660
- } & {
3661
- __TYPE__: "ImageLink";
3662
- }), unknown>, t.NullC, t.UndefinedC]>;
3663
- }>]>;
3664
- }>, t.PartialC<{
3665
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3666
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3667
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3668
- type: t.LiteralC<"embed">;
3669
- data: t.Type<import("../../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
3670
- }>, t.PartialC<{
3671
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3672
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3673
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3674
- type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
3675
- content: t.IntersectionC<[t.TypeC<{
3676
- text: t.StringC;
3676
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3677
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3678
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3679
+ type: t.LiteralC<"embed">;
3680
+ data: t.Type<import("../../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
3677
3681
  }>, t.PartialC<{
3678
- spans: t.Type<({
3679
- data?: unknown;
3680
- } & {
3681
- start: number;
3682
- end: number;
3683
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3684
- })[], ({
3685
- data?: unknown;
3686
- } & {
3687
- start: number;
3688
- end: number;
3689
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3690
- })[], unknown>;
3691
- }>]>;
3692
- }>, t.PartialC<{
3693
- label: t.StringC;
3694
- direction: t.StringC;
3695
- }>]>>]>>;
3696
- }>>, t.ExactC<t.TypeC<{
3697
- __TYPE__: t.LiteralC<"SeparatorContent">;
3698
- }>>]>]>>;
3682
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3683
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3684
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3685
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
3686
+ content: t.IntersectionC<[t.TypeC<{
3687
+ text: t.StringC;
3688
+ }>, t.PartialC<{
3689
+ spans: t.Type<({
3690
+ data?: unknown;
3691
+ } & {
3692
+ start: number;
3693
+ end: number;
3694
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3695
+ })[], ({
3696
+ data?: unknown;
3697
+ } & {
3698
+ start: number;
3699
+ end: number;
3700
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3701
+ })[], unknown>;
3702
+ }>]>;
3703
+ }>, t.PartialC<{
3704
+ label: t.StringC;
3705
+ direction: t.StringC;
3706
+ }>]>>]>>;
3707
+ }>>, t.ExactC<t.TypeC<{
3708
+ __TYPE__: t.LiteralC<"SeparatorContent">;
3709
+ }>>]>]>>;
3710
+ }>>>;
3699
3711
  }>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
3700
3712
  __TYPE__: t.LiteralC<"BooleanContent">;
3701
3713
  value: t.BooleanC;
@@ -4438,3 +4450,4 @@ export declare const SlicesContent: t.TypeC<{
4438
4450
  }>>;
4439
4451
  }>;
4440
4452
  export declare type SlicesContent = t.TypeOf<typeof SlicesContent>;
4453
+ export declare const SlicesContentType = "SliceContentType";