@prismicio/types-internal 1.5.0 → 1.5.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
@@ -1,7 +1,7 @@
1
1
  import * as t from "io-ts";
2
- export declare const CompositeSliceContent: t.TypeC<{
2
+ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
3
3
  __TYPE__: t.LiteralC<"CompositeSliceContent">;
4
- repeat: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
4
+ nonRepeat: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
5
5
  __TYPE__: t.LiteralC<"BooleanContent">;
6
6
  value: t.BooleanC;
7
7
  }>>, t.IntersectionC<[t.Type<{
@@ -367,373 +367,377 @@ export declare const CompositeSliceContent: t.TypeC<{
367
367
  }>]>>]>>;
368
368
  }>>, t.ExactC<t.TypeC<{
369
369
  __TYPE__: t.LiteralC<"SeparatorContent">;
370
- }>>]>]>>;
371
- "non-repeat": t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
372
- __TYPE__: t.LiteralC<"BooleanContent">;
373
- value: t.BooleanC;
374
- }>>, t.IntersectionC<[t.Type<{
375
- embed_url: string;
376
- type: string;
377
- } & {
378
- version?: string | number | null;
379
- title?: string | null | undefined;
380
- author_name?: string | null | undefined;
381
- author_url?: string | null | undefined;
382
- provider_name?: string | null | undefined;
383
- provider_url?: string | null | undefined;
384
- cache_age?: string | number | null;
385
- thumbnail_url?: string | null | undefined;
386
- thumbnail_width?: number | null | undefined;
387
- thumbnail_height?: number | null | undefined;
388
- html?: string | null | undefined;
389
- }, {
390
- embed_url: string;
391
- type: string;
392
- } & {
393
- version?: string | number | null;
394
- title?: string | null | undefined;
395
- author_name?: string | null | undefined;
396
- author_url?: string | null | undefined;
397
- provider_name?: string | null | undefined;
398
- provider_url?: string | null | undefined;
399
- cache_age?: string | number | null;
400
- thumbnail_url?: string | null | undefined;
401
- thumbnail_width?: number | null | undefined;
402
- thumbnail_height?: number | null | undefined;
403
- html?: string | null | undefined;
404
- } & {
405
- __TYPE__: "EmbedContent";
406
- }, unknown>, t.ExactC<t.TypeC<{
407
- __TYPE__: t.LiteralC<"EmbedContent">;
408
- all: t.UnknownC;
409
- }>>]>, t.ExactC<t.TypeC<{
410
- type: t.KeyofC<{
411
- Text: null;
412
- Date: null;
413
- Timestamp: null;
414
- Color: null;
415
- Number: null;
416
- Range: null;
417
- Select: null;
418
- }>;
419
- value: t.Type<string, string, unknown>;
420
- __TYPE__: t.LiteralC<"FieldContent">;
421
- }>>, t.IntersectionC<[t.Type<{
422
- position: {
423
- lat: number;
424
- lng: number;
425
- };
426
- }, {
427
- position: {
428
- lat: number;
429
- lng: number;
430
- };
431
- } & {
432
- __TYPE__: "GeoPointContent";
433
- }, unknown>, t.ExactC<t.TypeC<{
434
- __TYPE__: t.LiteralC<"GeoPointContent">;
435
- }>>]>, t.IntersectionC<[t.Type<{
436
- origin: {
437
- id: string;
438
- url: string;
370
+ }>>]>>;
371
+ repeat: t.ArrayC<t.ExactC<t.TypeC<{
372
+ __TYPE__: t.LiteralC<"GroupItemContent">;
373
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
374
+ __TYPE__: t.LiteralC<"BooleanContent">;
375
+ value: t.BooleanC;
376
+ }>>, t.IntersectionC<[t.Type<{
377
+ embed_url: string;
378
+ type: string;
379
+ } & {
380
+ version?: string | number | null;
381
+ title?: string | null | undefined;
382
+ author_name?: string | null | undefined;
383
+ author_url?: string | null | undefined;
384
+ provider_name?: string | null | undefined;
385
+ provider_url?: string | null | undefined;
386
+ cache_age?: string | number | null;
387
+ thumbnail_url?: string | null | undefined;
388
+ thumbnail_width?: number | null | undefined;
389
+ thumbnail_height?: number | null | undefined;
390
+ html?: string | null | undefined;
391
+ }, {
392
+ embed_url: string;
393
+ type: string;
394
+ } & {
395
+ version?: string | number | null;
396
+ title?: string | null | undefined;
397
+ author_name?: string | null | undefined;
398
+ author_url?: string | null | undefined;
399
+ provider_name?: string | null | undefined;
400
+ provider_url?: string | null | undefined;
401
+ cache_age?: string | number | null;
402
+ thumbnail_url?: string | null | undefined;
403
+ thumbnail_width?: number | null | undefined;
404
+ thumbnail_height?: number | null | undefined;
405
+ html?: string | null | undefined;
406
+ } & {
407
+ __TYPE__: "EmbedContent";
408
+ }, unknown>, t.ExactC<t.TypeC<{
409
+ __TYPE__: t.LiteralC<"EmbedContent">;
410
+ all: t.UnknownC;
411
+ }>>]>, t.ExactC<t.TypeC<{
412
+ type: t.KeyofC<{
413
+ Text: null;
414
+ Date: null;
415
+ Timestamp: null;
416
+ Color: null;
417
+ Number: null;
418
+ Range: null;
419
+ Select: null;
420
+ }>;
421
+ value: t.Type<string, string, unknown>;
422
+ __TYPE__: t.LiteralC<"FieldContent">;
423
+ }>>, t.IntersectionC<[t.Type<{
424
+ position: {
425
+ lat: number;
426
+ lng: number;
427
+ };
428
+ }, {
429
+ position: {
430
+ lat: number;
431
+ lng: number;
432
+ };
433
+ } & {
434
+ __TYPE__: "GeoPointContent";
435
+ }, unknown>, t.ExactC<t.TypeC<{
436
+ __TYPE__: t.LiteralC<"GeoPointContent">;
437
+ }>>]>, t.IntersectionC<[t.Type<{
438
+ origin: {
439
+ id: string;
440
+ url: string;
441
+ width: number;
442
+ height: number;
443
+ };
439
444
  width: number;
440
445
  height: number;
441
- };
442
- width: number;
443
- height: number;
444
- edit: {
445
- zoom: number;
446
- crop: {
447
- x: number;
448
- y: number;
446
+ edit: {
447
+ zoom: number;
448
+ crop: {
449
+ x: number;
450
+ y: number;
451
+ };
452
+ background: string;
449
453
  };
450
- background: string;
451
- };
452
- } & {
453
- url?: string;
454
- credits?: string | null;
455
- alt?: string | null;
456
- provider?: string | null | undefined;
457
- } & {
458
- thumbnails?: {
459
- [x: string]: {
460
- origin: {
461
- id: string;
462
- url: string;
454
+ } & {
455
+ url?: string;
456
+ credits?: string | null;
457
+ alt?: string | null;
458
+ provider?: string | null | undefined;
459
+ } & {
460
+ thumbnails?: {
461
+ [x: string]: {
462
+ origin: {
463
+ id: string;
464
+ url: string;
465
+ width: number;
466
+ height: number;
467
+ };
463
468
  width: number;
464
469
  height: number;
470
+ edit: {
471
+ zoom: number;
472
+ crop: {
473
+ x: number;
474
+ y: number;
475
+ };
476
+ background: string;
477
+ };
478
+ } & {
479
+ url?: string;
480
+ credits?: string | null;
481
+ alt?: string | null;
482
+ provider?: string | null | undefined;
465
483
  };
484
+ };
485
+ }, {
486
+ origin: {
487
+ id: string;
488
+ url: string;
466
489
  width: number;
467
490
  height: number;
468
- edit: {
469
- zoom: number;
470
- crop: {
471
- x: number;
472
- y: number;
473
- };
474
- background: string;
475
- };
476
- } & {
477
- url?: string;
478
- credits?: string | null;
479
- alt?: string | null;
480
- provider?: string | null | undefined;
481
491
  };
482
- };
483
- }, {
484
- origin: {
485
- id: string;
486
- url: string;
487
492
  width: number;
488
493
  height: number;
489
- };
490
- width: number;
491
- height: number;
492
- edit: {
493
- zoom: number;
494
- crop: {
495
- x: number;
496
- y: number;
494
+ edit: {
495
+ zoom: number;
496
+ crop: {
497
+ x: number;
498
+ y: number;
499
+ };
500
+ background: string;
497
501
  };
498
- background: string;
499
- };
500
- } & {
501
- url?: string;
502
- credits?: string | null;
503
- alt?: string | null;
504
- provider?: string | null | undefined;
505
- } & {
506
- thumbnails?: {
507
- [x: string]: {
508
- origin: {
509
- id: string;
510
- url: string;
502
+ } & {
503
+ url?: string;
504
+ credits?: string | null;
505
+ alt?: string | null;
506
+ provider?: string | null | undefined;
507
+ } & {
508
+ thumbnails?: {
509
+ [x: string]: {
510
+ origin: {
511
+ id: string;
512
+ url: string;
513
+ width: number;
514
+ height: number;
515
+ };
511
516
  width: number;
512
517
  height: number;
513
- };
514
- width: number;
515
- height: number;
516
- edit: {
517
- zoom: number;
518
- crop: {
519
- x: number;
520
- y: number;
518
+ edit: {
519
+ zoom: number;
520
+ crop: {
521
+ x: number;
522
+ y: number;
523
+ };
524
+ background: string;
521
525
  };
522
- background: string;
526
+ } & {
527
+ url?: string;
528
+ credits?: string | null;
529
+ alt?: string | null;
530
+ provider?: string | null | undefined;
523
531
  };
524
- } & {
525
- url?: string;
526
- credits?: string | null;
527
- alt?: string | null;
528
- provider?: string | null | undefined;
529
532
  };
530
- };
531
- } & {
532
- __TYPE__: "ImageContent";
533
- }, unknown>, t.ExactC<t.TypeC<{
534
- __TYPE__: t.LiteralC<"ImageContent">;
535
- }>>]>, t.ExactC<t.TypeC<{
536
- __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
537
- value: t.StringC;
538
- }>>, t.ExactC<t.TypeC<{
539
- __TYPE__: t.LiteralC<"LinkContent">;
540
- value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
541
- __TYPE__: t.LiteralC<"ImageLink">;
542
- }>>, t.Type<{
543
- id: string;
544
- url: string;
545
- height: string;
546
- width: string;
547
- size: string;
548
- name: string;
549
- kind: string;
550
533
  } & {
551
- date?: string | null | undefined;
552
- }, {
553
- id: string;
554
- url: string;
555
- height: string;
556
- width: string;
557
- size: string;
558
- name: string;
559
- kind: string;
560
- } & {
561
- date?: string | null | undefined;
562
- } & {
563
- __TYPE__: "ImageLink";
564
- }, unknown>]>, t.IntersectionC<[t.Type<{
565
- id: string;
566
- url: string;
567
- name: string;
568
- kind: string;
569
- } & {
570
- date?: string | null | undefined;
571
- size?: string;
572
- }, {
573
- readonly size: string;
574
- readonly __TYPE__: "FileLink";
575
- readonly id: string;
576
- readonly url: string;
577
- readonly name: string;
578
- readonly kind: string;
579
- readonly date?: string | null | undefined;
534
+ __TYPE__: "ImageContent";
580
535
  }, unknown>, t.ExactC<t.TypeC<{
581
- __TYPE__: t.LiteralC<"FileLink">;
582
- size: t.StringC;
583
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
584
- __TYPE__: t.LiteralC<"DocumentLink">;
585
- }>>, t.Type<{
586
- id: string;
587
- }, {
588
- id: string;
589
- } & {
590
- __TYPE__: "DocumentLink";
591
- }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
592
- __TYPE__: t.LiteralC<"ExternalLink">;
593
- }>>, t.Type<{
594
- url: string;
595
- } & {
596
- kind?: "web";
597
- target?: string | null | undefined;
598
- preview?: {
599
- title?: string;
600
- } | null | undefined;
601
- }, {
602
- url: string;
603
- } & {
604
- kind?: "web";
605
- target?: string | null | undefined;
606
- preview?: {
607
- title?: string;
608
- } | null | undefined;
609
- } & {
610
- __TYPE__: "ExternalLink";
611
- }, unknown>]>]>;
612
- }>>, t.ExactC<t.TypeC<{
613
- __TYPE__: t.LiteralC<"StructuredTextContent">;
614
- value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
615
- type: t.LiteralC<"image">;
616
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
617
- origin: t.ExactC<t.TypeC<{
618
- id: t.StringC;
619
- url: t.StringC;
536
+ __TYPE__: t.LiteralC<"ImageContent">;
537
+ }>>]>, t.ExactC<t.TypeC<{
538
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
539
+ value: t.StringC;
540
+ }>>, t.ExactC<t.TypeC<{
541
+ __TYPE__: t.LiteralC<"LinkContent">;
542
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
543
+ __TYPE__: t.LiteralC<"ImageLink">;
544
+ }>>, t.Type<{
545
+ id: string;
546
+ url: string;
547
+ height: string;
548
+ width: string;
549
+ size: string;
550
+ name: string;
551
+ kind: string;
552
+ } & {
553
+ date?: string | null | undefined;
554
+ }, {
555
+ id: string;
556
+ url: string;
557
+ height: string;
558
+ width: string;
559
+ size: string;
560
+ name: string;
561
+ kind: string;
562
+ } & {
563
+ date?: string | null | undefined;
564
+ } & {
565
+ __TYPE__: "ImageLink";
566
+ }, unknown>]>, t.IntersectionC<[t.Type<{
567
+ id: string;
568
+ url: string;
569
+ name: string;
570
+ kind: string;
571
+ } & {
572
+ date?: string | null | undefined;
573
+ size?: string;
574
+ }, {
575
+ readonly size: string;
576
+ readonly __TYPE__: "FileLink";
577
+ readonly id: string;
578
+ readonly url: string;
579
+ readonly name: string;
580
+ readonly kind: string;
581
+ readonly date?: string | null | undefined;
582
+ }, unknown>, t.ExactC<t.TypeC<{
583
+ __TYPE__: t.LiteralC<"FileLink">;
584
+ size: t.StringC;
585
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
586
+ __TYPE__: t.LiteralC<"DocumentLink">;
587
+ }>>, t.Type<{
588
+ id: string;
589
+ }, {
590
+ id: string;
591
+ } & {
592
+ __TYPE__: "DocumentLink";
593
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
594
+ __TYPE__: t.LiteralC<"ExternalLink">;
595
+ }>>, t.Type<{
596
+ url: string;
597
+ } & {
598
+ kind?: "web";
599
+ target?: string | null | undefined;
600
+ preview?: {
601
+ title?: string;
602
+ } | null | undefined;
603
+ }, {
604
+ url: string;
605
+ } & {
606
+ kind?: "web";
607
+ target?: string | null | undefined;
608
+ preview?: {
609
+ title?: string;
610
+ } | null | undefined;
611
+ } & {
612
+ __TYPE__: "ExternalLink";
613
+ }, unknown>]>]>;
614
+ }>>, t.ExactC<t.TypeC<{
615
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
616
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
617
+ type: t.LiteralC<"image">;
618
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
619
+ origin: t.ExactC<t.TypeC<{
620
+ id: t.StringC;
621
+ url: t.StringC;
622
+ width: t.NumberC;
623
+ height: t.NumberC;
624
+ }>>;
620
625
  width: t.NumberC;
621
626
  height: t.NumberC;
622
- }>>;
623
- width: t.NumberC;
624
- height: t.NumberC;
625
- edit: t.TypeC<{
626
- zoom: t.NumberC;
627
- crop: t.TypeC<{
628
- x: t.NumberC;
629
- y: t.NumberC;
627
+ edit: t.TypeC<{
628
+ zoom: t.NumberC;
629
+ crop: t.TypeC<{
630
+ x: t.NumberC;
631
+ y: t.NumberC;
632
+ }>;
633
+ background: t.StringC;
630
634
  }>;
631
- background: t.StringC;
632
- }>;
635
+ }>, t.PartialC<{
636
+ url: t.StringC;
637
+ credits: t.Type<string | null, string | null, unknown>;
638
+ alt: t.Type<string | null, string | null, unknown>;
639
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
640
+ }>]>>, t.PartialC<{
641
+ linkTo: t.UnionC<[t.Type<{
642
+ id: string;
643
+ } | ({
644
+ url: string;
645
+ } & {
646
+ kind?: "web";
647
+ target?: string | null | undefined;
648
+ preview?: {
649
+ title?: string;
650
+ } | null | undefined;
651
+ }) | ({
652
+ id: string;
653
+ url: string;
654
+ name: string;
655
+ kind: string;
656
+ } & {
657
+ date?: string | null | undefined;
658
+ size?: string;
659
+ }) | ({
660
+ id: string;
661
+ url: string;
662
+ height: string;
663
+ width: string;
664
+ size: string;
665
+ name: string;
666
+ kind: string;
667
+ } & {
668
+ date?: string | null | undefined;
669
+ }), ({
670
+ id: string;
671
+ } & {
672
+ __TYPE__: "DocumentLink";
673
+ }) | ({
674
+ url: string;
675
+ } & {
676
+ kind?: "web";
677
+ target?: string | null | undefined;
678
+ preview?: {
679
+ title?: string;
680
+ } | null | undefined;
681
+ } & {
682
+ __TYPE__: "ExternalLink";
683
+ }) | {
684
+ readonly size: string;
685
+ readonly __TYPE__: "FileLink";
686
+ readonly id: string;
687
+ readonly url: string;
688
+ readonly name: string;
689
+ readonly kind: string;
690
+ readonly date?: string | null | undefined;
691
+ } | ({
692
+ id: string;
693
+ url: string;
694
+ height: string;
695
+ width: string;
696
+ size: string;
697
+ name: string;
698
+ kind: string;
699
+ } & {
700
+ date?: string | null | undefined;
701
+ } & {
702
+ __TYPE__: "ImageLink";
703
+ }), unknown>, t.NullC, t.UndefinedC]>;
704
+ }>]>;
633
705
  }>, t.PartialC<{
634
- url: t.StringC;
635
- credits: t.Type<string | null, string | null, unknown>;
636
- alt: t.Type<string | null, string | null, unknown>;
637
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
638
- }>]>>, t.PartialC<{
639
- linkTo: t.UnionC<[t.Type<{
640
- id: string;
641
- } | ({
642
- url: string;
643
- } & {
644
- kind?: "web";
645
- target?: string | null | undefined;
646
- preview?: {
647
- title?: string;
648
- } | null | undefined;
649
- }) | ({
650
- id: string;
651
- url: string;
652
- name: string;
653
- kind: string;
654
- } & {
655
- date?: string | null | undefined;
656
- size?: string;
657
- }) | ({
658
- id: string;
659
- url: string;
660
- height: string;
661
- width: string;
662
- size: string;
663
- name: string;
664
- kind: string;
665
- } & {
666
- date?: string | null | undefined;
667
- }), ({
668
- id: string;
669
- } & {
670
- __TYPE__: "DocumentLink";
671
- }) | ({
672
- url: string;
673
- } & {
674
- kind?: "web";
675
- target?: string | null | undefined;
676
- preview?: {
677
- title?: string;
678
- } | null | undefined;
679
- } & {
680
- __TYPE__: "ExternalLink";
681
- }) | {
682
- readonly size: string;
683
- readonly __TYPE__: "FileLink";
684
- readonly id: string;
685
- readonly url: string;
686
- readonly name: string;
687
- readonly kind: string;
688
- readonly date?: string | null | undefined;
689
- } | ({
690
- id: string;
691
- url: string;
692
- height: string;
693
- width: string;
694
- size: string;
695
- name: string;
696
- kind: string;
697
- } & {
698
- date?: string | null | undefined;
699
- } & {
700
- __TYPE__: "ImageLink";
701
- }), unknown>, t.NullC, t.UndefinedC]>;
702
- }>]>;
703
- }>, t.PartialC<{
704
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
705
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
706
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
707
- type: t.LiteralC<"embed">;
708
- data: t.Type<import("../../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
709
- }>, t.PartialC<{
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.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>;
714
- content: t.IntersectionC<[t.TypeC<{
715
- text: t.StringC;
706
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
707
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
708
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
709
+ type: t.LiteralC<"embed">;
710
+ data: t.Type<import("../../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
716
711
  }>, t.PartialC<{
717
- spans: t.Type<({
718
- data?: unknown;
719
- } & {
720
- start: number;
721
- end: number;
722
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
723
- })[], ({
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
- })[], unknown>;
730
- }>]>;
731
- }>, t.PartialC<{
732
- label: t.StringC;
733
- direction: t.StringC;
734
- }>]>>]>>;
735
- }>>, t.ExactC<t.TypeC<{
736
- __TYPE__: t.LiteralC<"SeparatorContent">;
737
- }>>]>>;
738
- }>;
712
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
713
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
714
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
715
+ 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>;
716
+ content: t.IntersectionC<[t.TypeC<{
717
+ text: t.StringC;
718
+ }>, t.PartialC<{
719
+ spans: t.Type<({
720
+ data?: unknown;
721
+ } & {
722
+ start: number;
723
+ end: number;
724
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
725
+ })[], ({
726
+ data?: unknown;
727
+ } & {
728
+ start: number;
729
+ end: number;
730
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
731
+ })[], unknown>;
732
+ }>]>;
733
+ }>, t.PartialC<{
734
+ label: t.StringC;
735
+ direction: t.StringC;
736
+ }>]>>]>>;
737
+ }>>, t.ExactC<t.TypeC<{
738
+ __TYPE__: t.LiteralC<"SeparatorContent">;
739
+ }>>]>]>>;
740
+ }>>>;
741
+ }>>;
739
742
  export declare type CompositeSliceContent = t.TypeOf<typeof CompositeSliceContent>;
743
+ export declare const CompositeSliceContentType = "CompositeSliceContent";