@prismicio/editor-fields 0.4.29 → 0.4.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/GroupAndNestableWidgetSwitch.d.ts +12 -0
- package/dist/core/MediaLibrary/components/Sidepane/components/SidepaneMetadata.d.ts +1 -1
- package/dist/core/MediaLibrary/components/Sidepane/components/SidepaneMetadataTags/MultiMediaMetadataTags.d.ts +9 -0
- package/dist/core/MediaLibrary/components/Sidepane/components/SidepaneMetadataTags/SingleMediaMetadataTags.d.ts +7 -0
- package/dist/core/MediaLibrary/components/Sidepane/components/SidepaneMetadataTags/Tags.d.ts +10 -0
- package/dist/core/UID.d.ts +2 -2
- package/dist/core/service/document.d.ts +472 -1426
- package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/Bold/BoldModel.d.ts +4 -3
- package/dist/fields/RichTextField/extensions/Italic/ItalicModel.d.ts +4 -3
- package/dist/fields/RichTextField/extensions/Label/LabelModel.d.ts +4 -3
- package/dist/fields/RichTextField/extensions/Link/LinkModel.d.ts +4 -3
- package/dist/fields/RichTextField/models/RichTextConfig.d.ts +1 -1
- package/dist/index.cjs.js +30 -30
- package/dist/index.es.js +13831 -13694
- package/dist/slices/utils.d.ts +2 -320
- package/dist/zones/RepeatableZoneEditor.d.ts +2 -2
- package/package.json +4 -4
- package/dist/SlicePrimaryWidgetSwitch.d.ts +0 -12
- package/dist/core/MediaLibrary/components/Sidepane/components/SidepaneMetadataTags.d.ts +0 -2
|
@@ -537,70 +537,164 @@ export declare function getDocumentsByReleaseId(baseUrl: URL, authStrategy: Auth
|
|
|
537
537
|
cursor?: string | undefined;
|
|
538
538
|
}>;
|
|
539
539
|
export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDef, unknown>, {
|
|
540
|
-
[x: string]: {
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
540
|
+
[x: string]: import("@prismicio/types-internal/lib/content").GroupContent | {
|
|
541
|
+
type: string;
|
|
542
|
+
__TYPE__: "EmptyContent";
|
|
543
|
+
} | {
|
|
544
|
+
__TYPE__: "BooleanContent";
|
|
545
|
+
value: boolean;
|
|
546
|
+
} | ({
|
|
547
|
+
embed_url: string;
|
|
548
|
+
type: string;
|
|
549
|
+
} & {
|
|
550
|
+
version?: string | number | null | undefined;
|
|
551
|
+
title?: string | null | undefined;
|
|
552
|
+
author_name?: string | null | undefined;
|
|
553
|
+
author_url?: string | null | undefined;
|
|
554
|
+
provider_name?: string | null | undefined;
|
|
555
|
+
provider_url?: string | null | undefined;
|
|
556
|
+
cache_age?: string | number | null | undefined;
|
|
557
|
+
thumbnail_url?: string | null | undefined;
|
|
558
|
+
thumbnail_width?: number | null | undefined;
|
|
559
|
+
thumbnail_height?: number | null | undefined;
|
|
560
|
+
html?: string | null | undefined;
|
|
561
|
+
} & {
|
|
562
|
+
__TYPE__: "EmbedContent";
|
|
563
|
+
all: unknown;
|
|
564
|
+
}) | {
|
|
565
|
+
type: "Text";
|
|
566
|
+
value: string;
|
|
567
|
+
__TYPE__: "FieldContent";
|
|
568
|
+
} | {
|
|
569
|
+
type: "Timestamp";
|
|
570
|
+
value: string;
|
|
571
|
+
__TYPE__: "FieldContent";
|
|
572
|
+
} | {
|
|
573
|
+
type: "Select";
|
|
574
|
+
value: string;
|
|
575
|
+
__TYPE__: "FieldContent";
|
|
576
|
+
} | {
|
|
577
|
+
type: "Range";
|
|
578
|
+
value: string;
|
|
579
|
+
__TYPE__: "FieldContent";
|
|
580
|
+
} | {
|
|
581
|
+
type: "Number";
|
|
582
|
+
value: string;
|
|
583
|
+
__TYPE__: "FieldContent";
|
|
584
|
+
} | {
|
|
585
|
+
type: "Date";
|
|
586
|
+
value: string;
|
|
587
|
+
__TYPE__: "FieldContent";
|
|
588
|
+
} | {
|
|
589
|
+
type: "Color";
|
|
590
|
+
value: string;
|
|
591
|
+
__TYPE__: "FieldContent";
|
|
592
|
+
} | ({
|
|
593
|
+
position: {
|
|
594
|
+
lat: number;
|
|
595
|
+
lng: number;
|
|
596
|
+
};
|
|
597
|
+
} & {
|
|
598
|
+
__TYPE__: "GeoPointContent";
|
|
599
|
+
}) | ({
|
|
600
|
+
origin: {
|
|
601
|
+
id: string;
|
|
602
|
+
url: string;
|
|
603
|
+
width: number;
|
|
604
|
+
height: number;
|
|
605
|
+
};
|
|
606
|
+
width: number;
|
|
607
|
+
height: number;
|
|
608
|
+
edit: {
|
|
609
|
+
zoom: number;
|
|
610
|
+
crop: {
|
|
611
|
+
x: number;
|
|
612
|
+
y: number;
|
|
613
|
+
};
|
|
614
|
+
background: string;
|
|
615
|
+
};
|
|
616
|
+
} & {
|
|
617
|
+
url?: string | undefined;
|
|
618
|
+
credits?: string | null | undefined;
|
|
619
|
+
alt?: string | null | undefined;
|
|
620
|
+
provider?: string | null | undefined;
|
|
621
|
+
} & {
|
|
622
|
+
thumbnails?: {
|
|
623
|
+
[x: string]: {
|
|
624
|
+
origin: {
|
|
625
|
+
id: string;
|
|
626
|
+
url: string;
|
|
627
|
+
width: number;
|
|
628
|
+
height: number;
|
|
629
|
+
};
|
|
630
|
+
width: number;
|
|
631
|
+
height: number;
|
|
632
|
+
edit: {
|
|
633
|
+
zoom: number;
|
|
634
|
+
crop: {
|
|
635
|
+
x: number;
|
|
636
|
+
y: number;
|
|
637
|
+
};
|
|
638
|
+
background: string;
|
|
600
639
|
};
|
|
601
640
|
} & {
|
|
602
|
-
|
|
603
|
-
|
|
641
|
+
url?: string | undefined;
|
|
642
|
+
credits?: string | null | undefined;
|
|
643
|
+
alt?: string | null | undefined;
|
|
644
|
+
provider?: string | null | undefined;
|
|
645
|
+
};
|
|
646
|
+
} | undefined;
|
|
647
|
+
} & {
|
|
648
|
+
__TYPE__: "ImageContent";
|
|
649
|
+
}) | {
|
|
650
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
651
|
+
value: string;
|
|
652
|
+
} | {
|
|
653
|
+
__TYPE__: "LinkContent";
|
|
654
|
+
value: ({
|
|
655
|
+
__TYPE__: "ImageLink";
|
|
656
|
+
} & {
|
|
657
|
+
id: string;
|
|
658
|
+
url: string;
|
|
659
|
+
height: string;
|
|
660
|
+
width: string;
|
|
661
|
+
size: string;
|
|
662
|
+
name: string;
|
|
663
|
+
kind: string;
|
|
664
|
+
} & {
|
|
665
|
+
date?: string | null | undefined;
|
|
666
|
+
}) | ({
|
|
667
|
+
id: string;
|
|
668
|
+
url: string;
|
|
669
|
+
name: string;
|
|
670
|
+
kind: string;
|
|
671
|
+
size: string;
|
|
672
|
+
} & {
|
|
673
|
+
date?: string | null | undefined;
|
|
674
|
+
} & {
|
|
675
|
+
__TYPE__: "FileLink";
|
|
676
|
+
} & {
|
|
677
|
+
size?: string | undefined;
|
|
678
|
+
}) | ({
|
|
679
|
+
__TYPE__: "DocumentLink";
|
|
680
|
+
} & {
|
|
681
|
+
id: string;
|
|
682
|
+
}) | ({
|
|
683
|
+
__TYPE__: "ExternalLink";
|
|
684
|
+
} & {
|
|
685
|
+
url: string;
|
|
686
|
+
} & {
|
|
687
|
+
kind?: "web" | undefined;
|
|
688
|
+
target?: string | null | undefined;
|
|
689
|
+
preview?: {
|
|
690
|
+
title?: string | undefined;
|
|
691
|
+
} | null | undefined;
|
|
692
|
+
});
|
|
693
|
+
} | {
|
|
694
|
+
__TYPE__: "StructuredTextContent";
|
|
695
|
+
value: (({
|
|
696
|
+
type: "image";
|
|
697
|
+
data: {
|
|
604
698
|
origin: {
|
|
605
699
|
id: string;
|
|
606
700
|
url: string;
|
|
@@ -623,39 +717,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
623
717
|
alt?: string | null | undefined;
|
|
624
718
|
provider?: string | null | undefined;
|
|
625
719
|
} & {
|
|
626
|
-
|
|
627
|
-
[x: string]: {
|
|
628
|
-
origin: {
|
|
629
|
-
id: string;
|
|
630
|
-
url: string;
|
|
631
|
-
width: number;
|
|
632
|
-
height: number;
|
|
633
|
-
};
|
|
634
|
-
width: number;
|
|
635
|
-
height: number;
|
|
636
|
-
edit: {
|
|
637
|
-
zoom: number;
|
|
638
|
-
crop: {
|
|
639
|
-
x: number;
|
|
640
|
-
y: number;
|
|
641
|
-
};
|
|
642
|
-
background: string;
|
|
643
|
-
};
|
|
644
|
-
} & {
|
|
645
|
-
url?: string | undefined;
|
|
646
|
-
credits?: string | null | undefined;
|
|
647
|
-
alt?: string | null | undefined;
|
|
648
|
-
provider?: string | null | undefined;
|
|
649
|
-
};
|
|
650
|
-
} | undefined;
|
|
651
|
-
} & {
|
|
652
|
-
__TYPE__: "ImageContent";
|
|
653
|
-
}) | {
|
|
654
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
655
|
-
value: string;
|
|
656
|
-
} | {
|
|
657
|
-
__TYPE__: "LinkContent";
|
|
658
|
-
value: ({
|
|
720
|
+
linkTo?: ({
|
|
659
721
|
__TYPE__: "ImageLink";
|
|
660
722
|
} & {
|
|
661
723
|
id: string;
|
|
@@ -693,15 +755,175 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
693
755
|
preview?: {
|
|
694
756
|
title?: string | undefined;
|
|
695
757
|
} | null | undefined;
|
|
696
|
-
});
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
758
|
+
}) | null | undefined;
|
|
759
|
+
};
|
|
760
|
+
} & {
|
|
761
|
+
label?: string | null | undefined;
|
|
762
|
+
direction?: string | null | undefined;
|
|
763
|
+
}) | ({
|
|
764
|
+
type: "embed";
|
|
765
|
+
data: {
|
|
766
|
+
embed_url: string;
|
|
767
|
+
type: string;
|
|
768
|
+
} & {
|
|
769
|
+
version?: string | number | null | undefined;
|
|
770
|
+
title?: string | null | undefined;
|
|
771
|
+
author_name?: string | null | undefined;
|
|
772
|
+
author_url?: string | null | undefined;
|
|
773
|
+
provider_name?: string | null | undefined;
|
|
774
|
+
provider_url?: string | null | undefined;
|
|
775
|
+
cache_age?: string | number | null | undefined;
|
|
776
|
+
thumbnail_url?: string | null | undefined;
|
|
777
|
+
thumbnail_width?: number | null | undefined;
|
|
778
|
+
thumbnail_height?: number | null | undefined;
|
|
779
|
+
html?: string | null | undefined;
|
|
780
|
+
} & {
|
|
781
|
+
__TYPE__: "EmbedContent";
|
|
782
|
+
all: unknown;
|
|
783
|
+
};
|
|
784
|
+
} & {
|
|
785
|
+
label?: string | null | undefined;
|
|
786
|
+
direction?: string | null | undefined;
|
|
787
|
+
}) | ({
|
|
788
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
789
|
+
content: {
|
|
790
|
+
text: string;
|
|
791
|
+
} & {
|
|
792
|
+
spans?: ({
|
|
793
|
+
data: ({
|
|
794
|
+
__TYPE__: "ImageLink";
|
|
795
|
+
} & {
|
|
796
|
+
id: string;
|
|
797
|
+
url: string;
|
|
798
|
+
height: string;
|
|
799
|
+
width: string;
|
|
800
|
+
size: string;
|
|
801
|
+
name: string;
|
|
802
|
+
kind: string;
|
|
803
|
+
} & {
|
|
804
|
+
date?: string | null | undefined;
|
|
805
|
+
}) | ({
|
|
806
|
+
id: string;
|
|
807
|
+
url: string;
|
|
808
|
+
name: string;
|
|
809
|
+
kind: string;
|
|
810
|
+
size: string;
|
|
811
|
+
} & {
|
|
812
|
+
date?: string | null | undefined;
|
|
813
|
+
} & {
|
|
814
|
+
__TYPE__: "FileLink";
|
|
815
|
+
} & {
|
|
816
|
+
size?: string | undefined;
|
|
817
|
+
}) | ({
|
|
818
|
+
__TYPE__: "DocumentLink";
|
|
819
|
+
} & {
|
|
820
|
+
id: string;
|
|
821
|
+
}) | ({
|
|
822
|
+
__TYPE__: "ExternalLink";
|
|
823
|
+
} & {
|
|
824
|
+
url: string;
|
|
825
|
+
} & {
|
|
826
|
+
kind?: "web" | undefined;
|
|
827
|
+
target?: string | null | undefined;
|
|
828
|
+
preview?: {
|
|
829
|
+
title?: string | undefined;
|
|
830
|
+
} | null | undefined;
|
|
831
|
+
});
|
|
832
|
+
start: number;
|
|
833
|
+
end: number;
|
|
834
|
+
type: "hyperlink";
|
|
835
|
+
} | {
|
|
836
|
+
data: string;
|
|
837
|
+
start: number;
|
|
838
|
+
end: number;
|
|
839
|
+
type: "label";
|
|
840
|
+
} | {
|
|
841
|
+
start: number;
|
|
842
|
+
end: number;
|
|
843
|
+
type: "em" | "strong" | "list-item";
|
|
844
|
+
})[] | undefined;
|
|
845
|
+
};
|
|
846
|
+
} & {
|
|
847
|
+
label?: string | undefined;
|
|
848
|
+
direction?: string | undefined;
|
|
849
|
+
}))[];
|
|
850
|
+
} | {
|
|
851
|
+
__TYPE__: "SeparatorContent";
|
|
852
|
+
} | {
|
|
853
|
+
__TYPE__: "UIDContent";
|
|
854
|
+
value: string;
|
|
855
|
+
} | {
|
|
856
|
+
__TYPE__: "SliceContentType";
|
|
857
|
+
value: {
|
|
858
|
+
key: string;
|
|
859
|
+
name: string;
|
|
860
|
+
maybeLabel: string | undefined;
|
|
861
|
+
widget: import("@prismicio/types-internal/lib/content").GroupContent | {
|
|
862
|
+
__TYPE__: "CompositeSliceContent";
|
|
863
|
+
nonRepeat: {
|
|
864
|
+
[x: string]: {
|
|
865
|
+
type: string;
|
|
866
|
+
__TYPE__: "EmptyContent";
|
|
867
|
+
} | {
|
|
868
|
+
__TYPE__: "BooleanContent";
|
|
869
|
+
value: boolean;
|
|
870
|
+
} | ({
|
|
871
|
+
embed_url: string;
|
|
872
|
+
type: string;
|
|
873
|
+
} & {
|
|
874
|
+
version?: string | number | null | undefined;
|
|
875
|
+
title?: string | null | undefined;
|
|
876
|
+
author_name?: string | null | undefined;
|
|
877
|
+
author_url?: string | null | undefined;
|
|
878
|
+
provider_name?: string | null | undefined;
|
|
879
|
+
provider_url?: string | null | undefined;
|
|
880
|
+
cache_age?: string | number | null | undefined;
|
|
881
|
+
thumbnail_url?: string | null | undefined;
|
|
882
|
+
thumbnail_width?: number | null | undefined;
|
|
883
|
+
thumbnail_height?: number | null | undefined;
|
|
884
|
+
html?: string | null | undefined;
|
|
885
|
+
} & {
|
|
886
|
+
__TYPE__: "EmbedContent";
|
|
887
|
+
all: unknown;
|
|
888
|
+
}) | {
|
|
889
|
+
type: "Text";
|
|
890
|
+
value: string;
|
|
891
|
+
__TYPE__: "FieldContent";
|
|
892
|
+
} | {
|
|
893
|
+
type: "Timestamp";
|
|
894
|
+
value: string;
|
|
895
|
+
__TYPE__: "FieldContent";
|
|
896
|
+
} | {
|
|
897
|
+
type: "Select";
|
|
898
|
+
value: string;
|
|
899
|
+
__TYPE__: "FieldContent";
|
|
900
|
+
} | {
|
|
901
|
+
type: "Range";
|
|
902
|
+
value: string;
|
|
903
|
+
__TYPE__: "FieldContent";
|
|
904
|
+
} | {
|
|
905
|
+
type: "Number";
|
|
906
|
+
value: string;
|
|
907
|
+
__TYPE__: "FieldContent";
|
|
908
|
+
} | {
|
|
909
|
+
type: "Date";
|
|
910
|
+
value: string;
|
|
911
|
+
__TYPE__: "FieldContent";
|
|
912
|
+
} | {
|
|
913
|
+
type: "Color";
|
|
914
|
+
value: string;
|
|
915
|
+
__TYPE__: "FieldContent";
|
|
916
|
+
} | ({
|
|
917
|
+
position: {
|
|
918
|
+
lat: number;
|
|
919
|
+
lng: number;
|
|
920
|
+
};
|
|
921
|
+
} & {
|
|
922
|
+
__TYPE__: "GeoPointContent";
|
|
923
|
+
}) | ({
|
|
924
|
+
origin: {
|
|
925
|
+
id: string;
|
|
926
|
+
url: string;
|
|
705
927
|
width: number;
|
|
706
928
|
height: number;
|
|
707
929
|
};
|
|
@@ -721,579 +943,39 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
721
943
|
alt?: string | null | undefined;
|
|
722
944
|
provider?: string | null | undefined;
|
|
723
945
|
} & {
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
kind?: "web" | undefined;
|
|
758
|
-
target?: string | null | undefined;
|
|
759
|
-
preview?: {
|
|
760
|
-
title?: string | undefined;
|
|
761
|
-
} | null | undefined;
|
|
762
|
-
}) | null | undefined;
|
|
763
|
-
};
|
|
764
|
-
} & {
|
|
765
|
-
label?: string | null | undefined;
|
|
766
|
-
direction?: string | null | undefined;
|
|
767
|
-
}) | ({
|
|
768
|
-
type: "embed";
|
|
769
|
-
data: {
|
|
770
|
-
embed_url: string;
|
|
771
|
-
type: string;
|
|
772
|
-
} & {
|
|
773
|
-
version?: string | number | null | undefined;
|
|
774
|
-
title?: string | null | undefined;
|
|
775
|
-
author_name?: string | null | undefined;
|
|
776
|
-
author_url?: string | null | undefined;
|
|
777
|
-
provider_name?: string | null | undefined;
|
|
778
|
-
provider_url?: string | null | undefined;
|
|
779
|
-
cache_age?: string | number | null | undefined;
|
|
780
|
-
thumbnail_url?: string | null | undefined;
|
|
781
|
-
thumbnail_width?: number | null | undefined;
|
|
782
|
-
thumbnail_height?: number | null | undefined;
|
|
783
|
-
html?: string | null | undefined;
|
|
784
|
-
} & {
|
|
785
|
-
__TYPE__: "EmbedContent";
|
|
786
|
-
all: unknown;
|
|
787
|
-
};
|
|
788
|
-
} & {
|
|
789
|
-
label?: string | null | undefined;
|
|
790
|
-
direction?: string | null | undefined;
|
|
791
|
-
}) | ({
|
|
792
|
-
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "o-list-item" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink";
|
|
793
|
-
content: {
|
|
794
|
-
text: string;
|
|
795
|
-
} & {
|
|
796
|
-
spans?: ({
|
|
797
|
-
data: ({
|
|
798
|
-
__TYPE__: "ImageLink";
|
|
799
|
-
} & {
|
|
800
|
-
id: string;
|
|
801
|
-
url: string;
|
|
802
|
-
height: string;
|
|
803
|
-
width: string;
|
|
804
|
-
size: string;
|
|
805
|
-
name: string;
|
|
806
|
-
kind: string;
|
|
807
|
-
} & {
|
|
808
|
-
date?: string | null | undefined;
|
|
809
|
-
}) | ({
|
|
810
|
-
id: string;
|
|
811
|
-
url: string;
|
|
812
|
-
name: string;
|
|
813
|
-
kind: string;
|
|
814
|
-
size: string;
|
|
815
|
-
} & {
|
|
816
|
-
date?: string | null | undefined;
|
|
817
|
-
} & {
|
|
818
|
-
__TYPE__: "FileLink";
|
|
819
|
-
} & {
|
|
820
|
-
size?: string | undefined;
|
|
821
|
-
}) | ({
|
|
822
|
-
__TYPE__: "DocumentLink";
|
|
823
|
-
} & {
|
|
824
|
-
id: string;
|
|
825
|
-
}) | ({
|
|
826
|
-
__TYPE__: "ExternalLink";
|
|
827
|
-
} & {
|
|
828
|
-
url: string;
|
|
829
|
-
} & {
|
|
830
|
-
kind?: "web" | undefined;
|
|
831
|
-
target?: string | null | undefined;
|
|
832
|
-
preview?: {
|
|
833
|
-
title?: string | undefined;
|
|
834
|
-
} | null | undefined;
|
|
835
|
-
});
|
|
836
|
-
start: number;
|
|
837
|
-
end: number;
|
|
838
|
-
type: "hyperlink";
|
|
839
|
-
} | {
|
|
840
|
-
data: string;
|
|
841
|
-
start: number;
|
|
842
|
-
end: number;
|
|
843
|
-
type: "label";
|
|
844
|
-
} | {
|
|
845
|
-
start: number;
|
|
846
|
-
end: number;
|
|
847
|
-
type: "em" | "strong" | "list-item";
|
|
848
|
-
})[] | undefined;
|
|
849
|
-
};
|
|
850
|
-
} & {
|
|
851
|
-
label?: string | undefined;
|
|
852
|
-
direction?: string | undefined;
|
|
853
|
-
}))[];
|
|
854
|
-
} | {
|
|
855
|
-
__TYPE__: "SeparatorContent";
|
|
856
|
-
}][];
|
|
857
|
-
}[];
|
|
858
|
-
} | {
|
|
859
|
-
type: string;
|
|
860
|
-
__TYPE__: "EmptyContent";
|
|
861
|
-
} | {
|
|
862
|
-
__TYPE__: "BooleanContent";
|
|
863
|
-
value: boolean;
|
|
864
|
-
} | ({
|
|
865
|
-
embed_url: string;
|
|
866
|
-
type: string;
|
|
867
|
-
} & {
|
|
868
|
-
version?: string | number | null | undefined;
|
|
869
|
-
title?: string | null | undefined;
|
|
870
|
-
author_name?: string | null | undefined;
|
|
871
|
-
author_url?: string | null | undefined;
|
|
872
|
-
provider_name?: string | null | undefined;
|
|
873
|
-
provider_url?: string | null | undefined;
|
|
874
|
-
cache_age?: string | number | null | undefined;
|
|
875
|
-
thumbnail_url?: string | null | undefined;
|
|
876
|
-
thumbnail_width?: number | null | undefined;
|
|
877
|
-
thumbnail_height?: number | null | undefined;
|
|
878
|
-
html?: string | null | undefined;
|
|
879
|
-
} & {
|
|
880
|
-
__TYPE__: "EmbedContent";
|
|
881
|
-
all: unknown;
|
|
882
|
-
}) | {
|
|
883
|
-
type: "Text";
|
|
884
|
-
value: string;
|
|
885
|
-
__TYPE__: "FieldContent";
|
|
886
|
-
} | {
|
|
887
|
-
type: "Timestamp";
|
|
888
|
-
value: string;
|
|
889
|
-
__TYPE__: "FieldContent";
|
|
890
|
-
} | {
|
|
891
|
-
type: "Select";
|
|
892
|
-
value: string;
|
|
893
|
-
__TYPE__: "FieldContent";
|
|
894
|
-
} | {
|
|
895
|
-
type: "Range";
|
|
896
|
-
value: string;
|
|
897
|
-
__TYPE__: "FieldContent";
|
|
898
|
-
} | {
|
|
899
|
-
type: "Number";
|
|
900
|
-
value: string;
|
|
901
|
-
__TYPE__: "FieldContent";
|
|
902
|
-
} | {
|
|
903
|
-
type: "Date";
|
|
904
|
-
value: string;
|
|
905
|
-
__TYPE__: "FieldContent";
|
|
906
|
-
} | {
|
|
907
|
-
type: "Color";
|
|
908
|
-
value: string;
|
|
909
|
-
__TYPE__: "FieldContent";
|
|
910
|
-
} | ({
|
|
911
|
-
position: {
|
|
912
|
-
lat: number;
|
|
913
|
-
lng: number;
|
|
914
|
-
};
|
|
915
|
-
} & {
|
|
916
|
-
__TYPE__: "GeoPointContent";
|
|
917
|
-
}) | ({
|
|
918
|
-
origin: {
|
|
919
|
-
id: string;
|
|
920
|
-
url: string;
|
|
921
|
-
width: number;
|
|
922
|
-
height: number;
|
|
923
|
-
};
|
|
924
|
-
width: number;
|
|
925
|
-
height: number;
|
|
926
|
-
edit: {
|
|
927
|
-
zoom: number;
|
|
928
|
-
crop: {
|
|
929
|
-
x: number;
|
|
930
|
-
y: number;
|
|
931
|
-
};
|
|
932
|
-
background: string;
|
|
933
|
-
};
|
|
934
|
-
} & {
|
|
935
|
-
url?: string | undefined;
|
|
936
|
-
credits?: string | null | undefined;
|
|
937
|
-
alt?: string | null | undefined;
|
|
938
|
-
provider?: string | null | undefined;
|
|
939
|
-
} & {
|
|
940
|
-
thumbnails?: {
|
|
941
|
-
[x: string]: {
|
|
942
|
-
origin: {
|
|
943
|
-
id: string;
|
|
944
|
-
url: string;
|
|
945
|
-
width: number;
|
|
946
|
-
height: number;
|
|
947
|
-
};
|
|
948
|
-
width: number;
|
|
949
|
-
height: number;
|
|
950
|
-
edit: {
|
|
951
|
-
zoom: number;
|
|
952
|
-
crop: {
|
|
953
|
-
x: number;
|
|
954
|
-
y: number;
|
|
955
|
-
};
|
|
956
|
-
background: string;
|
|
957
|
-
};
|
|
958
|
-
} & {
|
|
959
|
-
url?: string | undefined;
|
|
960
|
-
credits?: string | null | undefined;
|
|
961
|
-
alt?: string | null | undefined;
|
|
962
|
-
provider?: string | null | undefined;
|
|
963
|
-
};
|
|
964
|
-
} | undefined;
|
|
965
|
-
} & {
|
|
966
|
-
__TYPE__: "ImageContent";
|
|
967
|
-
}) | {
|
|
968
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
969
|
-
value: string;
|
|
970
|
-
} | {
|
|
971
|
-
__TYPE__: "LinkContent";
|
|
972
|
-
value: ({
|
|
973
|
-
__TYPE__: "ImageLink";
|
|
974
|
-
} & {
|
|
975
|
-
id: string;
|
|
976
|
-
url: string;
|
|
977
|
-
height: string;
|
|
978
|
-
width: string;
|
|
979
|
-
size: string;
|
|
980
|
-
name: string;
|
|
981
|
-
kind: string;
|
|
982
|
-
} & {
|
|
983
|
-
date?: string | null | undefined;
|
|
984
|
-
}) | ({
|
|
985
|
-
id: string;
|
|
986
|
-
url: string;
|
|
987
|
-
name: string;
|
|
988
|
-
kind: string;
|
|
989
|
-
size: string;
|
|
990
|
-
} & {
|
|
991
|
-
date?: string | null | undefined;
|
|
992
|
-
} & {
|
|
993
|
-
__TYPE__: "FileLink";
|
|
994
|
-
} & {
|
|
995
|
-
size?: string | undefined;
|
|
996
|
-
}) | ({
|
|
997
|
-
__TYPE__: "DocumentLink";
|
|
998
|
-
} & {
|
|
999
|
-
id: string;
|
|
1000
|
-
}) | ({
|
|
1001
|
-
__TYPE__: "ExternalLink";
|
|
1002
|
-
} & {
|
|
1003
|
-
url: string;
|
|
1004
|
-
} & {
|
|
1005
|
-
kind?: "web" | undefined;
|
|
1006
|
-
target?: string | null | undefined;
|
|
1007
|
-
preview?: {
|
|
1008
|
-
title?: string | undefined;
|
|
1009
|
-
} | null | undefined;
|
|
1010
|
-
});
|
|
1011
|
-
} | {
|
|
1012
|
-
__TYPE__: "StructuredTextContent";
|
|
1013
|
-
value: (({
|
|
1014
|
-
type: "image";
|
|
1015
|
-
data: {
|
|
1016
|
-
origin: {
|
|
1017
|
-
id: string;
|
|
1018
|
-
url: string;
|
|
1019
|
-
width: number;
|
|
1020
|
-
height: number;
|
|
1021
|
-
};
|
|
1022
|
-
width: number;
|
|
1023
|
-
height: number;
|
|
1024
|
-
edit: {
|
|
1025
|
-
zoom: number;
|
|
1026
|
-
crop: {
|
|
1027
|
-
x: number;
|
|
1028
|
-
y: number;
|
|
1029
|
-
};
|
|
1030
|
-
background: string;
|
|
1031
|
-
};
|
|
1032
|
-
} & {
|
|
1033
|
-
url?: string | undefined;
|
|
1034
|
-
credits?: string | null | undefined;
|
|
1035
|
-
alt?: string | null | undefined;
|
|
1036
|
-
provider?: string | null | undefined;
|
|
1037
|
-
} & {
|
|
1038
|
-
linkTo?: ({
|
|
1039
|
-
__TYPE__: "ImageLink";
|
|
1040
|
-
} & {
|
|
1041
|
-
id: string;
|
|
1042
|
-
url: string;
|
|
1043
|
-
height: string;
|
|
1044
|
-
width: string;
|
|
1045
|
-
size: string;
|
|
1046
|
-
name: string;
|
|
1047
|
-
kind: string;
|
|
1048
|
-
} & {
|
|
1049
|
-
date?: string | null | undefined;
|
|
1050
|
-
}) | ({
|
|
1051
|
-
id: string;
|
|
1052
|
-
url: string;
|
|
1053
|
-
name: string;
|
|
1054
|
-
kind: string;
|
|
1055
|
-
size: string;
|
|
1056
|
-
} & {
|
|
1057
|
-
date?: string | null | undefined;
|
|
1058
|
-
} & {
|
|
1059
|
-
__TYPE__: "FileLink";
|
|
1060
|
-
} & {
|
|
1061
|
-
size?: string | undefined;
|
|
1062
|
-
}) | ({
|
|
1063
|
-
__TYPE__: "DocumentLink";
|
|
1064
|
-
} & {
|
|
1065
|
-
id: string;
|
|
1066
|
-
}) | ({
|
|
1067
|
-
__TYPE__: "ExternalLink";
|
|
1068
|
-
} & {
|
|
1069
|
-
url: string;
|
|
1070
|
-
} & {
|
|
1071
|
-
kind?: "web" | undefined;
|
|
1072
|
-
target?: string | null | undefined;
|
|
1073
|
-
preview?: {
|
|
1074
|
-
title?: string | undefined;
|
|
1075
|
-
} | null | undefined;
|
|
1076
|
-
}) | null | undefined;
|
|
1077
|
-
};
|
|
1078
|
-
} & {
|
|
1079
|
-
label?: string | null | undefined;
|
|
1080
|
-
direction?: string | null | undefined;
|
|
1081
|
-
}) | ({
|
|
1082
|
-
type: "embed";
|
|
1083
|
-
data: {
|
|
1084
|
-
embed_url: string;
|
|
1085
|
-
type: string;
|
|
1086
|
-
} & {
|
|
1087
|
-
version?: string | number | null | undefined;
|
|
1088
|
-
title?: string | null | undefined;
|
|
1089
|
-
author_name?: string | null | undefined;
|
|
1090
|
-
author_url?: string | null | undefined;
|
|
1091
|
-
provider_name?: string | null | undefined;
|
|
1092
|
-
provider_url?: string | null | undefined;
|
|
1093
|
-
cache_age?: string | number | null | undefined;
|
|
1094
|
-
thumbnail_url?: string | null | undefined;
|
|
1095
|
-
thumbnail_width?: number | null | undefined;
|
|
1096
|
-
thumbnail_height?: number | null | undefined;
|
|
1097
|
-
html?: string | null | undefined;
|
|
1098
|
-
} & {
|
|
1099
|
-
__TYPE__: "EmbedContent";
|
|
1100
|
-
all: unknown;
|
|
1101
|
-
};
|
|
1102
|
-
} & {
|
|
1103
|
-
label?: string | null | undefined;
|
|
1104
|
-
direction?: string | null | undefined;
|
|
1105
|
-
}) | ({
|
|
1106
|
-
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "o-list-item" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink";
|
|
1107
|
-
content: {
|
|
1108
|
-
text: string;
|
|
1109
|
-
} & {
|
|
1110
|
-
spans?: ({
|
|
1111
|
-
data: ({
|
|
1112
|
-
__TYPE__: "ImageLink";
|
|
1113
|
-
} & {
|
|
1114
|
-
id: string;
|
|
1115
|
-
url: string;
|
|
1116
|
-
height: string;
|
|
1117
|
-
width: string;
|
|
1118
|
-
size: string;
|
|
1119
|
-
name: string;
|
|
1120
|
-
kind: string;
|
|
1121
|
-
} & {
|
|
1122
|
-
date?: string | null | undefined;
|
|
1123
|
-
}) | ({
|
|
1124
|
-
id: string;
|
|
1125
|
-
url: string;
|
|
1126
|
-
name: string;
|
|
1127
|
-
kind: string;
|
|
1128
|
-
size: string;
|
|
1129
|
-
} & {
|
|
1130
|
-
date?: string | null | undefined;
|
|
1131
|
-
} & {
|
|
1132
|
-
__TYPE__: "FileLink";
|
|
1133
|
-
} & {
|
|
1134
|
-
size?: string | undefined;
|
|
1135
|
-
}) | ({
|
|
1136
|
-
__TYPE__: "DocumentLink";
|
|
1137
|
-
} & {
|
|
1138
|
-
id: string;
|
|
1139
|
-
}) | ({
|
|
1140
|
-
__TYPE__: "ExternalLink";
|
|
1141
|
-
} & {
|
|
1142
|
-
url: string;
|
|
1143
|
-
} & {
|
|
1144
|
-
kind?: "web" | undefined;
|
|
1145
|
-
target?: string | null | undefined;
|
|
1146
|
-
preview?: {
|
|
1147
|
-
title?: string | undefined;
|
|
1148
|
-
} | null | undefined;
|
|
1149
|
-
});
|
|
1150
|
-
start: number;
|
|
1151
|
-
end: number;
|
|
1152
|
-
type: "hyperlink";
|
|
1153
|
-
} | {
|
|
1154
|
-
data: string;
|
|
1155
|
-
start: number;
|
|
1156
|
-
end: number;
|
|
1157
|
-
type: "label";
|
|
1158
|
-
} | {
|
|
1159
|
-
start: number;
|
|
1160
|
-
end: number;
|
|
1161
|
-
type: "em" | "strong" | "list-item";
|
|
1162
|
-
})[] | undefined;
|
|
1163
|
-
};
|
|
1164
|
-
} & {
|
|
1165
|
-
label?: string | undefined;
|
|
1166
|
-
direction?: string | undefined;
|
|
1167
|
-
}))[];
|
|
1168
|
-
} | {
|
|
1169
|
-
__TYPE__: "SeparatorContent";
|
|
1170
|
-
} | {
|
|
1171
|
-
__TYPE__: "UIDContent";
|
|
1172
|
-
value: string;
|
|
1173
|
-
} | {
|
|
1174
|
-
__TYPE__: "SliceContentType";
|
|
1175
|
-
value: {
|
|
1176
|
-
key: string;
|
|
1177
|
-
name: string;
|
|
1178
|
-
maybeLabel: string | undefined;
|
|
1179
|
-
widget: {
|
|
1180
|
-
__TYPE__: "CompositeSliceContent";
|
|
1181
|
-
nonRepeat: {
|
|
1182
|
-
[x: string]: {
|
|
1183
|
-
type: string;
|
|
1184
|
-
__TYPE__: "EmptyContent";
|
|
1185
|
-
} | {
|
|
1186
|
-
__TYPE__: "BooleanContent";
|
|
1187
|
-
value: boolean;
|
|
1188
|
-
} | ({
|
|
1189
|
-
embed_url: string;
|
|
1190
|
-
type: string;
|
|
1191
|
-
} & {
|
|
1192
|
-
version?: string | number | null | undefined;
|
|
1193
|
-
title?: string | null | undefined;
|
|
1194
|
-
author_name?: string | null | undefined;
|
|
1195
|
-
author_url?: string | null | undefined;
|
|
1196
|
-
provider_name?: string | null | undefined;
|
|
1197
|
-
provider_url?: string | null | undefined;
|
|
1198
|
-
cache_age?: string | number | null | undefined;
|
|
1199
|
-
thumbnail_url?: string | null | undefined;
|
|
1200
|
-
thumbnail_width?: number | null | undefined;
|
|
1201
|
-
thumbnail_height?: number | null | undefined;
|
|
1202
|
-
html?: string | null | undefined;
|
|
1203
|
-
} & {
|
|
1204
|
-
__TYPE__: "EmbedContent";
|
|
1205
|
-
all: unknown;
|
|
1206
|
-
}) | {
|
|
1207
|
-
type: "Text";
|
|
1208
|
-
value: string;
|
|
1209
|
-
__TYPE__: "FieldContent";
|
|
1210
|
-
} | {
|
|
1211
|
-
type: "Timestamp";
|
|
1212
|
-
value: string;
|
|
1213
|
-
__TYPE__: "FieldContent";
|
|
1214
|
-
} | {
|
|
1215
|
-
type: "Select";
|
|
1216
|
-
value: string;
|
|
1217
|
-
__TYPE__: "FieldContent";
|
|
1218
|
-
} | {
|
|
1219
|
-
type: "Range";
|
|
1220
|
-
value: string;
|
|
1221
|
-
__TYPE__: "FieldContent";
|
|
1222
|
-
} | {
|
|
1223
|
-
type: "Number";
|
|
1224
|
-
value: string;
|
|
1225
|
-
__TYPE__: "FieldContent";
|
|
1226
|
-
} | {
|
|
1227
|
-
type: "Date";
|
|
1228
|
-
value: string;
|
|
1229
|
-
__TYPE__: "FieldContent";
|
|
1230
|
-
} | {
|
|
1231
|
-
type: "Color";
|
|
1232
|
-
value: string;
|
|
1233
|
-
__TYPE__: "FieldContent";
|
|
1234
|
-
} | ({
|
|
1235
|
-
position: {
|
|
1236
|
-
lat: number;
|
|
1237
|
-
lng: number;
|
|
1238
|
-
};
|
|
1239
|
-
} & {
|
|
1240
|
-
__TYPE__: "GeoPointContent";
|
|
1241
|
-
}) | ({
|
|
1242
|
-
origin: {
|
|
1243
|
-
id: string;
|
|
1244
|
-
url: string;
|
|
1245
|
-
width: number;
|
|
1246
|
-
height: number;
|
|
1247
|
-
};
|
|
1248
|
-
width: number;
|
|
1249
|
-
height: number;
|
|
1250
|
-
edit: {
|
|
1251
|
-
zoom: number;
|
|
1252
|
-
crop: {
|
|
1253
|
-
x: number;
|
|
1254
|
-
y: number;
|
|
1255
|
-
};
|
|
1256
|
-
background: string;
|
|
1257
|
-
};
|
|
1258
|
-
} & {
|
|
1259
|
-
url?: string | undefined;
|
|
1260
|
-
credits?: string | null | undefined;
|
|
1261
|
-
alt?: string | null | undefined;
|
|
1262
|
-
provider?: string | null | undefined;
|
|
1263
|
-
} & {
|
|
1264
|
-
thumbnails?: {
|
|
1265
|
-
[x: string]: {
|
|
1266
|
-
origin: {
|
|
1267
|
-
id: string;
|
|
1268
|
-
url: string;
|
|
1269
|
-
width: number;
|
|
1270
|
-
height: number;
|
|
1271
|
-
};
|
|
1272
|
-
width: number;
|
|
1273
|
-
height: number;
|
|
1274
|
-
edit: {
|
|
1275
|
-
zoom: number;
|
|
1276
|
-
crop: {
|
|
1277
|
-
x: number;
|
|
1278
|
-
y: number;
|
|
1279
|
-
};
|
|
1280
|
-
background: string;
|
|
1281
|
-
};
|
|
1282
|
-
} & {
|
|
1283
|
-
url?: string | undefined;
|
|
1284
|
-
credits?: string | null | undefined;
|
|
1285
|
-
alt?: string | null | undefined;
|
|
1286
|
-
provider?: string | null | undefined;
|
|
1287
|
-
};
|
|
1288
|
-
} | undefined;
|
|
1289
|
-
} & {
|
|
1290
|
-
__TYPE__: "ImageContent";
|
|
1291
|
-
}) | {
|
|
1292
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1293
|
-
value: string;
|
|
1294
|
-
} | {
|
|
1295
|
-
__TYPE__: "LinkContent";
|
|
1296
|
-
value: ({
|
|
946
|
+
thumbnails?: {
|
|
947
|
+
[x: string]: {
|
|
948
|
+
origin: {
|
|
949
|
+
id: string;
|
|
950
|
+
url: string;
|
|
951
|
+
width: number;
|
|
952
|
+
height: number;
|
|
953
|
+
};
|
|
954
|
+
width: number;
|
|
955
|
+
height: number;
|
|
956
|
+
edit: {
|
|
957
|
+
zoom: number;
|
|
958
|
+
crop: {
|
|
959
|
+
x: number;
|
|
960
|
+
y: number;
|
|
961
|
+
};
|
|
962
|
+
background: string;
|
|
963
|
+
};
|
|
964
|
+
} & {
|
|
965
|
+
url?: string | undefined;
|
|
966
|
+
credits?: string | null | undefined;
|
|
967
|
+
alt?: string | null | undefined;
|
|
968
|
+
provider?: string | null | undefined;
|
|
969
|
+
};
|
|
970
|
+
} | undefined;
|
|
971
|
+
} & {
|
|
972
|
+
__TYPE__: "ImageContent";
|
|
973
|
+
}) | {
|
|
974
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
975
|
+
value: string;
|
|
976
|
+
} | {
|
|
977
|
+
__TYPE__: "LinkContent";
|
|
978
|
+
value: ({
|
|
1297
979
|
__TYPE__: "ImageLink";
|
|
1298
980
|
} & {
|
|
1299
981
|
id: string;
|
|
@@ -1427,7 +1109,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1427
1109
|
label?: string | null | undefined;
|
|
1428
1110
|
direction?: string | null | undefined;
|
|
1429
1111
|
}) | ({
|
|
1430
|
-
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "
|
|
1112
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
1431
1113
|
content: {
|
|
1432
1114
|
text: string;
|
|
1433
1115
|
} & {
|
|
@@ -1495,7 +1177,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1495
1177
|
};
|
|
1496
1178
|
repeat: {
|
|
1497
1179
|
__TYPE__: "GroupItemContent";
|
|
1498
|
-
value: [string, {
|
|
1180
|
+
value: [string, import("@prismicio/types-internal/lib/content").GroupContent | {
|
|
1499
1181
|
type: string;
|
|
1500
1182
|
__TYPE__: "EmptyContent";
|
|
1501
1183
|
} | {
|
|
@@ -1743,7 +1425,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1743
1425
|
label?: string | null | undefined;
|
|
1744
1426
|
direction?: string | null | undefined;
|
|
1745
1427
|
}) | ({
|
|
1746
|
-
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "
|
|
1428
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
1747
1429
|
content: {
|
|
1748
1430
|
text: string;
|
|
1749
1431
|
} & {
|
|
@@ -1813,7 +1495,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1813
1495
|
__TYPE__: "SharedSliceContent";
|
|
1814
1496
|
variation: string;
|
|
1815
1497
|
primary: {
|
|
1816
|
-
[x: string]: {
|
|
1498
|
+
[x: string]: import("@prismicio/types-internal/lib/content").GroupContent | {
|
|
1817
1499
|
type: string;
|
|
1818
1500
|
__TYPE__: "EmptyContent";
|
|
1819
1501
|
} | {
|
|
@@ -2061,7 +1743,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2061
1743
|
label?: string | null | undefined;
|
|
2062
1744
|
direction?: string | null | undefined;
|
|
2063
1745
|
}) | ({
|
|
2064
|
-
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "
|
|
1746
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
2065
1747
|
content: {
|
|
2066
1748
|
text: string;
|
|
2067
1749
|
} & {
|
|
@@ -2113,341 +1795,23 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2113
1795
|
start: number;
|
|
2114
1796
|
end: number;
|
|
2115
1797
|
type: "label";
|
|
2116
|
-
} | {
|
|
2117
|
-
start: number;
|
|
2118
|
-
end: number;
|
|
2119
|
-
type: "em" | "strong" | "list-item";
|
|
2120
|
-
})[] | undefined;
|
|
2121
|
-
};
|
|
2122
|
-
} & {
|
|
2123
|
-
label?: string | undefined;
|
|
2124
|
-
direction?: string | undefined;
|
|
2125
|
-
}))[];
|
|
2126
|
-
} | {
|
|
2127
|
-
__TYPE__: "SeparatorContent";
|
|
2128
|
-
} | {
|
|
2129
|
-
__TYPE__: "GroupContentType";
|
|
2130
|
-
value: {
|
|
2131
|
-
__TYPE__: "GroupItemContent";
|
|
2132
|
-
value: [string, {
|
|
2133
|
-
type: string;
|
|
2134
|
-
__TYPE__: "EmptyContent";
|
|
2135
|
-
} | {
|
|
2136
|
-
__TYPE__: "BooleanContent";
|
|
2137
|
-
value: boolean;
|
|
2138
|
-
} | ({
|
|
2139
|
-
embed_url: string;
|
|
2140
|
-
type: string;
|
|
2141
|
-
} & {
|
|
2142
|
-
version?: string | number | null | undefined;
|
|
2143
|
-
title?: string | null | undefined;
|
|
2144
|
-
author_name?: string | null | undefined;
|
|
2145
|
-
author_url?: string | null | undefined;
|
|
2146
|
-
provider_name?: string | null | undefined;
|
|
2147
|
-
provider_url?: string | null | undefined;
|
|
2148
|
-
cache_age?: string | number | null | undefined;
|
|
2149
|
-
thumbnail_url?: string | null | undefined;
|
|
2150
|
-
thumbnail_width?: number | null | undefined;
|
|
2151
|
-
thumbnail_height?: number | null | undefined;
|
|
2152
|
-
html?: string | null | undefined;
|
|
2153
|
-
} & {
|
|
2154
|
-
__TYPE__: "EmbedContent";
|
|
2155
|
-
all: unknown;
|
|
2156
|
-
}) | {
|
|
2157
|
-
type: "Text";
|
|
2158
|
-
value: string;
|
|
2159
|
-
__TYPE__: "FieldContent";
|
|
2160
|
-
} | {
|
|
2161
|
-
type: "Timestamp";
|
|
2162
|
-
value: string;
|
|
2163
|
-
__TYPE__: "FieldContent";
|
|
2164
|
-
} | {
|
|
2165
|
-
type: "Select";
|
|
2166
|
-
value: string;
|
|
2167
|
-
__TYPE__: "FieldContent";
|
|
2168
|
-
} | {
|
|
2169
|
-
type: "Range";
|
|
2170
|
-
value: string;
|
|
2171
|
-
__TYPE__: "FieldContent";
|
|
2172
|
-
} | {
|
|
2173
|
-
type: "Number";
|
|
2174
|
-
value: string;
|
|
2175
|
-
__TYPE__: "FieldContent";
|
|
2176
|
-
} | {
|
|
2177
|
-
type: "Date";
|
|
2178
|
-
value: string;
|
|
2179
|
-
__TYPE__: "FieldContent";
|
|
2180
|
-
} | {
|
|
2181
|
-
type: "Color";
|
|
2182
|
-
value: string;
|
|
2183
|
-
__TYPE__: "FieldContent";
|
|
2184
|
-
} | ({
|
|
2185
|
-
position: {
|
|
2186
|
-
lat: number;
|
|
2187
|
-
lng: number;
|
|
2188
|
-
};
|
|
2189
|
-
} & {
|
|
2190
|
-
__TYPE__: "GeoPointContent";
|
|
2191
|
-
}) | ({
|
|
2192
|
-
origin: {
|
|
2193
|
-
id: string;
|
|
2194
|
-
url: string;
|
|
2195
|
-
width: number;
|
|
2196
|
-
height: number;
|
|
2197
|
-
};
|
|
2198
|
-
width: number;
|
|
2199
|
-
height: number;
|
|
2200
|
-
edit: {
|
|
2201
|
-
zoom: number;
|
|
2202
|
-
crop: {
|
|
2203
|
-
x: number;
|
|
2204
|
-
y: number;
|
|
2205
|
-
};
|
|
2206
|
-
background: string;
|
|
2207
|
-
};
|
|
2208
|
-
} & {
|
|
2209
|
-
url?: string | undefined;
|
|
2210
|
-
credits?: string | null | undefined;
|
|
2211
|
-
alt?: string | null | undefined;
|
|
2212
|
-
provider?: string | null | undefined;
|
|
2213
|
-
} & {
|
|
2214
|
-
thumbnails?: {
|
|
2215
|
-
[x: string]: {
|
|
2216
|
-
origin: {
|
|
2217
|
-
id: string;
|
|
2218
|
-
url: string;
|
|
2219
|
-
width: number;
|
|
2220
|
-
height: number;
|
|
2221
|
-
};
|
|
2222
|
-
width: number;
|
|
2223
|
-
height: number;
|
|
2224
|
-
edit: {
|
|
2225
|
-
zoom: number;
|
|
2226
|
-
crop: {
|
|
2227
|
-
x: number;
|
|
2228
|
-
y: number;
|
|
2229
|
-
};
|
|
2230
|
-
background: string;
|
|
2231
|
-
};
|
|
2232
|
-
} & {
|
|
2233
|
-
url?: string | undefined;
|
|
2234
|
-
credits?: string | null | undefined;
|
|
2235
|
-
alt?: string | null | undefined;
|
|
2236
|
-
provider?: string | null | undefined;
|
|
2237
|
-
};
|
|
2238
|
-
} | undefined;
|
|
2239
|
-
} & {
|
|
2240
|
-
__TYPE__: "ImageContent";
|
|
2241
|
-
}) | {
|
|
2242
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
2243
|
-
value: string;
|
|
2244
|
-
} | {
|
|
2245
|
-
__TYPE__: "LinkContent";
|
|
2246
|
-
value: ({
|
|
2247
|
-
__TYPE__: "ImageLink";
|
|
2248
|
-
} & {
|
|
2249
|
-
id: string;
|
|
2250
|
-
url: string;
|
|
2251
|
-
height: string;
|
|
2252
|
-
width: string;
|
|
2253
|
-
size: string;
|
|
2254
|
-
name: string;
|
|
2255
|
-
kind: string;
|
|
2256
|
-
} & {
|
|
2257
|
-
date?: string | null | undefined;
|
|
2258
|
-
}) | ({
|
|
2259
|
-
id: string;
|
|
2260
|
-
url: string;
|
|
2261
|
-
name: string;
|
|
2262
|
-
kind: string;
|
|
2263
|
-
size: string;
|
|
2264
|
-
} & {
|
|
2265
|
-
date?: string | null | undefined;
|
|
2266
|
-
} & {
|
|
2267
|
-
__TYPE__: "FileLink";
|
|
2268
|
-
} & {
|
|
2269
|
-
size?: string | undefined;
|
|
2270
|
-
}) | ({
|
|
2271
|
-
__TYPE__: "DocumentLink";
|
|
2272
|
-
} & {
|
|
2273
|
-
id: string;
|
|
2274
|
-
}) | ({
|
|
2275
|
-
__TYPE__: "ExternalLink";
|
|
2276
|
-
} & {
|
|
2277
|
-
url: string;
|
|
2278
|
-
} & {
|
|
2279
|
-
kind?: "web" | undefined;
|
|
2280
|
-
target?: string | null | undefined;
|
|
2281
|
-
preview?: {
|
|
2282
|
-
title?: string | undefined;
|
|
2283
|
-
} | null | undefined;
|
|
2284
|
-
});
|
|
2285
|
-
} | {
|
|
2286
|
-
__TYPE__: "StructuredTextContent";
|
|
2287
|
-
value: (({
|
|
2288
|
-
type: "image";
|
|
2289
|
-
data: {
|
|
2290
|
-
origin: {
|
|
2291
|
-
id: string;
|
|
2292
|
-
url: string;
|
|
2293
|
-
width: number;
|
|
2294
|
-
height: number;
|
|
2295
|
-
};
|
|
2296
|
-
width: number;
|
|
2297
|
-
height: number;
|
|
2298
|
-
edit: {
|
|
2299
|
-
zoom: number;
|
|
2300
|
-
crop: {
|
|
2301
|
-
x: number;
|
|
2302
|
-
y: number;
|
|
2303
|
-
};
|
|
2304
|
-
background: string;
|
|
2305
|
-
};
|
|
2306
|
-
} & {
|
|
2307
|
-
url?: string | undefined;
|
|
2308
|
-
credits?: string | null | undefined;
|
|
2309
|
-
alt?: string | null | undefined;
|
|
2310
|
-
provider?: string | null | undefined;
|
|
2311
|
-
} & {
|
|
2312
|
-
linkTo?: ({
|
|
2313
|
-
__TYPE__: "ImageLink";
|
|
2314
|
-
} & {
|
|
2315
|
-
id: string;
|
|
2316
|
-
url: string;
|
|
2317
|
-
height: string;
|
|
2318
|
-
width: string;
|
|
2319
|
-
size: string;
|
|
2320
|
-
name: string;
|
|
2321
|
-
kind: string;
|
|
2322
|
-
} & {
|
|
2323
|
-
date?: string | null | undefined;
|
|
2324
|
-
}) | ({
|
|
2325
|
-
id: string;
|
|
2326
|
-
url: string;
|
|
2327
|
-
name: string;
|
|
2328
|
-
kind: string;
|
|
2329
|
-
size: string;
|
|
2330
|
-
} & {
|
|
2331
|
-
date?: string | null | undefined;
|
|
2332
|
-
} & {
|
|
2333
|
-
__TYPE__: "FileLink";
|
|
2334
|
-
} & {
|
|
2335
|
-
size?: string | undefined;
|
|
2336
|
-
}) | ({
|
|
2337
|
-
__TYPE__: "DocumentLink";
|
|
2338
|
-
} & {
|
|
2339
|
-
id: string;
|
|
2340
|
-
}) | ({
|
|
2341
|
-
__TYPE__: "ExternalLink";
|
|
2342
|
-
} & {
|
|
2343
|
-
url: string;
|
|
2344
|
-
} & {
|
|
2345
|
-
kind?: "web" | undefined;
|
|
2346
|
-
target?: string | null | undefined;
|
|
2347
|
-
preview?: {
|
|
2348
|
-
title?: string | undefined;
|
|
2349
|
-
} | null | undefined;
|
|
2350
|
-
}) | null | undefined;
|
|
2351
|
-
};
|
|
2352
|
-
} & {
|
|
2353
|
-
label?: string | null | undefined;
|
|
2354
|
-
direction?: string | null | undefined;
|
|
2355
|
-
}) | ({
|
|
2356
|
-
type: "embed";
|
|
2357
|
-
data: {
|
|
2358
|
-
embed_url: string;
|
|
2359
|
-
type: string;
|
|
2360
|
-
} & {
|
|
2361
|
-
version?: string | number | null | undefined;
|
|
2362
|
-
title?: string | null | undefined;
|
|
2363
|
-
author_name?: string | null | undefined;
|
|
2364
|
-
author_url?: string | null | undefined;
|
|
2365
|
-
provider_name?: string | null | undefined;
|
|
2366
|
-
provider_url?: string | null | undefined;
|
|
2367
|
-
cache_age?: string | number | null | undefined;
|
|
2368
|
-
thumbnail_url?: string | null | undefined;
|
|
2369
|
-
thumbnail_width?: number | null | undefined;
|
|
2370
|
-
thumbnail_height?: number | null | undefined;
|
|
2371
|
-
html?: string | null | undefined;
|
|
2372
|
-
} & {
|
|
2373
|
-
__TYPE__: "EmbedContent";
|
|
2374
|
-
all: unknown;
|
|
2375
|
-
};
|
|
2376
|
-
} & {
|
|
2377
|
-
label?: string | null | undefined;
|
|
2378
|
-
direction?: string | null | undefined;
|
|
2379
|
-
}) | ({
|
|
2380
|
-
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "o-list-item" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink";
|
|
2381
|
-
content: {
|
|
2382
|
-
text: string;
|
|
2383
|
-
} & {
|
|
2384
|
-
spans?: ({
|
|
2385
|
-
data: ({
|
|
2386
|
-
__TYPE__: "ImageLink";
|
|
2387
|
-
} & {
|
|
2388
|
-
id: string;
|
|
2389
|
-
url: string;
|
|
2390
|
-
height: string;
|
|
2391
|
-
width: string;
|
|
2392
|
-
size: string;
|
|
2393
|
-
name: string;
|
|
2394
|
-
kind: string;
|
|
2395
|
-
} & {
|
|
2396
|
-
date?: string | null | undefined;
|
|
2397
|
-
}) | ({
|
|
2398
|
-
id: string;
|
|
2399
|
-
url: string;
|
|
2400
|
-
name: string;
|
|
2401
|
-
kind: string;
|
|
2402
|
-
size: string;
|
|
2403
|
-
} & {
|
|
2404
|
-
date?: string | null | undefined;
|
|
2405
|
-
} & {
|
|
2406
|
-
__TYPE__: "FileLink";
|
|
2407
|
-
} & {
|
|
2408
|
-
size?: string | undefined;
|
|
2409
|
-
}) | ({
|
|
2410
|
-
__TYPE__: "DocumentLink";
|
|
2411
|
-
} & {
|
|
2412
|
-
id: string;
|
|
2413
|
-
}) | ({
|
|
2414
|
-
__TYPE__: "ExternalLink";
|
|
2415
|
-
} & {
|
|
2416
|
-
url: string;
|
|
2417
|
-
} & {
|
|
2418
|
-
kind?: "web" | undefined;
|
|
2419
|
-
target?: string | null | undefined;
|
|
2420
|
-
preview?: {
|
|
2421
|
-
title?: string | undefined;
|
|
2422
|
-
} | null | undefined;
|
|
2423
|
-
});
|
|
2424
|
-
start: number;
|
|
2425
|
-
end: number;
|
|
2426
|
-
type: "hyperlink";
|
|
2427
|
-
} | {
|
|
2428
|
-
data: string;
|
|
2429
|
-
start: number;
|
|
2430
|
-
end: number;
|
|
2431
|
-
type: "label";
|
|
2432
|
-
} | {
|
|
2433
|
-
start: number;
|
|
2434
|
-
end: number;
|
|
2435
|
-
type: "em" | "strong" | "list-item";
|
|
2436
|
-
})[] | undefined;
|
|
2437
|
-
};
|
|
2438
|
-
} & {
|
|
2439
|
-
label?: string | undefined;
|
|
2440
|
-
direction?: string | undefined;
|
|
2441
|
-
}))[];
|
|
2442
|
-
} | {
|
|
2443
|
-
__TYPE__: "SeparatorContent";
|
|
2444
|
-
}][];
|
|
2445
|
-
}[];
|
|
1798
|
+
} | {
|
|
1799
|
+
start: number;
|
|
1800
|
+
end: number;
|
|
1801
|
+
type: "em" | "strong" | "list-item";
|
|
1802
|
+
})[] | undefined;
|
|
1803
|
+
};
|
|
1804
|
+
} & {
|
|
1805
|
+
label?: string | undefined;
|
|
1806
|
+
direction?: string | undefined;
|
|
1807
|
+
}))[];
|
|
1808
|
+
} | {
|
|
1809
|
+
__TYPE__: "SeparatorContent";
|
|
2446
1810
|
};
|
|
2447
1811
|
};
|
|
2448
1812
|
items: {
|
|
2449
1813
|
__TYPE__: "GroupItemContent";
|
|
2450
|
-
value: [string, {
|
|
1814
|
+
value: [string, import("@prismicio/types-internal/lib/content").GroupContent | {
|
|
2451
1815
|
type: string;
|
|
2452
1816
|
__TYPE__: "EmptyContent";
|
|
2453
1817
|
} | {
|
|
@@ -2695,7 +2059,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2695
2059
|
label?: string | null | undefined;
|
|
2696
2060
|
direction?: string | null | undefined;
|
|
2697
2061
|
}) | ({
|
|
2698
|
-
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "
|
|
2062
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
2699
2063
|
content: {
|
|
2700
2064
|
text: string;
|
|
2701
2065
|
} & {
|
|
@@ -2936,262 +2300,12 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2936
2300
|
background: string;
|
|
2937
2301
|
};
|
|
2938
2302
|
} & {
|
|
2939
|
-
url?: string | undefined;
|
|
2940
|
-
credits?: string | null | undefined;
|
|
2941
|
-
alt?: string | null | undefined;
|
|
2942
|
-
provider?: string | null | undefined;
|
|
2943
|
-
} & {
|
|
2944
|
-
linkTo?: ({
|
|
2945
|
-
__TYPE__: "ImageLink";
|
|
2946
|
-
} & {
|
|
2947
|
-
id: string;
|
|
2948
|
-
url: string;
|
|
2949
|
-
height: string;
|
|
2950
|
-
width: string;
|
|
2951
|
-
size: string;
|
|
2952
|
-
name: string;
|
|
2953
|
-
kind: string;
|
|
2954
|
-
} & {
|
|
2955
|
-
date?: string | null | undefined;
|
|
2956
|
-
}) | ({
|
|
2957
|
-
id: string;
|
|
2958
|
-
url: string;
|
|
2959
|
-
name: string;
|
|
2960
|
-
kind: string;
|
|
2961
|
-
size: string;
|
|
2962
|
-
} & {
|
|
2963
|
-
date?: string | null | undefined;
|
|
2964
|
-
} & {
|
|
2965
|
-
__TYPE__: "FileLink";
|
|
2966
|
-
} & {
|
|
2967
|
-
size?: string | undefined;
|
|
2968
|
-
}) | ({
|
|
2969
|
-
__TYPE__: "DocumentLink";
|
|
2970
|
-
} & {
|
|
2971
|
-
id: string;
|
|
2972
|
-
}) | ({
|
|
2973
|
-
__TYPE__: "ExternalLink";
|
|
2974
|
-
} & {
|
|
2975
|
-
url: string;
|
|
2976
|
-
} & {
|
|
2977
|
-
kind?: "web" | undefined;
|
|
2978
|
-
target?: string | null | undefined;
|
|
2979
|
-
preview?: {
|
|
2980
|
-
title?: string | undefined;
|
|
2981
|
-
} | null | undefined;
|
|
2982
|
-
}) | null | undefined;
|
|
2983
|
-
};
|
|
2984
|
-
} & {
|
|
2985
|
-
label?: string | null | undefined;
|
|
2986
|
-
direction?: string | null | undefined;
|
|
2987
|
-
}) | ({
|
|
2988
|
-
type: "embed";
|
|
2989
|
-
data: {
|
|
2990
|
-
embed_url: string;
|
|
2991
|
-
type: string;
|
|
2992
|
-
} & {
|
|
2993
|
-
version?: string | number | null | undefined;
|
|
2994
|
-
title?: string | null | undefined;
|
|
2995
|
-
author_name?: string | null | undefined;
|
|
2996
|
-
author_url?: string | null | undefined;
|
|
2997
|
-
provider_name?: string | null | undefined;
|
|
2998
|
-
provider_url?: string | null | undefined;
|
|
2999
|
-
cache_age?: string | number | null | undefined;
|
|
3000
|
-
thumbnail_url?: string | null | undefined;
|
|
3001
|
-
thumbnail_width?: number | null | undefined;
|
|
3002
|
-
thumbnail_height?: number | null | undefined;
|
|
3003
|
-
html?: string | null | undefined;
|
|
3004
|
-
} & {
|
|
3005
|
-
__TYPE__: "EmbedContent";
|
|
3006
|
-
all: unknown;
|
|
3007
|
-
};
|
|
3008
|
-
} & {
|
|
3009
|
-
label?: string | null | undefined;
|
|
3010
|
-
direction?: string | null | undefined;
|
|
3011
|
-
}) | ({
|
|
3012
|
-
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "o-list-item" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink";
|
|
3013
|
-
content: {
|
|
3014
|
-
text: string;
|
|
3015
|
-
} & {
|
|
3016
|
-
spans?: ({
|
|
3017
|
-
data: ({
|
|
3018
|
-
__TYPE__: "ImageLink";
|
|
3019
|
-
} & {
|
|
3020
|
-
id: string;
|
|
3021
|
-
url: string;
|
|
3022
|
-
height: string;
|
|
3023
|
-
width: string;
|
|
3024
|
-
size: string;
|
|
3025
|
-
name: string;
|
|
3026
|
-
kind: string;
|
|
3027
|
-
} & {
|
|
3028
|
-
date?: string | null | undefined;
|
|
3029
|
-
}) | ({
|
|
3030
|
-
id: string;
|
|
3031
|
-
url: string;
|
|
3032
|
-
name: string;
|
|
3033
|
-
kind: string;
|
|
3034
|
-
size: string;
|
|
3035
|
-
} & {
|
|
3036
|
-
date?: string | null | undefined;
|
|
3037
|
-
} & {
|
|
3038
|
-
__TYPE__: "FileLink";
|
|
3039
|
-
} & {
|
|
3040
|
-
size?: string | undefined;
|
|
3041
|
-
}) | ({
|
|
3042
|
-
__TYPE__: "DocumentLink";
|
|
3043
|
-
} & {
|
|
3044
|
-
id: string;
|
|
3045
|
-
}) | ({
|
|
3046
|
-
__TYPE__: "ExternalLink";
|
|
3047
|
-
} & {
|
|
3048
|
-
url: string;
|
|
3049
|
-
} & {
|
|
3050
|
-
kind?: "web" | undefined;
|
|
3051
|
-
target?: string | null | undefined;
|
|
3052
|
-
preview?: {
|
|
3053
|
-
title?: string | undefined;
|
|
3054
|
-
} | null | undefined;
|
|
3055
|
-
});
|
|
3056
|
-
start: number;
|
|
3057
|
-
end: number;
|
|
3058
|
-
type: "hyperlink";
|
|
3059
|
-
} | {
|
|
3060
|
-
data: string;
|
|
3061
|
-
start: number;
|
|
3062
|
-
end: number;
|
|
3063
|
-
type: "label";
|
|
3064
|
-
} | {
|
|
3065
|
-
start: number;
|
|
3066
|
-
end: number;
|
|
3067
|
-
type: "em" | "strong" | "list-item";
|
|
3068
|
-
})[] | undefined;
|
|
3069
|
-
};
|
|
3070
|
-
} & {
|
|
3071
|
-
label?: string | undefined;
|
|
3072
|
-
direction?: string | undefined;
|
|
3073
|
-
}))[];
|
|
3074
|
-
} | {
|
|
3075
|
-
__TYPE__: "SeparatorContent";
|
|
3076
|
-
} | {
|
|
3077
|
-
__TYPE__: "GroupContentType";
|
|
3078
|
-
value: {
|
|
3079
|
-
__TYPE__: "GroupItemContent";
|
|
3080
|
-
value: [string, {
|
|
3081
|
-
type: string;
|
|
3082
|
-
__TYPE__: "EmptyContent";
|
|
3083
|
-
} | {
|
|
3084
|
-
__TYPE__: "BooleanContent";
|
|
3085
|
-
value: boolean;
|
|
3086
|
-
} | ({
|
|
3087
|
-
embed_url: string;
|
|
3088
|
-
type: string;
|
|
3089
|
-
} & {
|
|
3090
|
-
version?: string | number | null | undefined;
|
|
3091
|
-
title?: string | null | undefined;
|
|
3092
|
-
author_name?: string | null | undefined;
|
|
3093
|
-
author_url?: string | null | undefined;
|
|
3094
|
-
provider_name?: string | null | undefined;
|
|
3095
|
-
provider_url?: string | null | undefined;
|
|
3096
|
-
cache_age?: string | number | null | undefined;
|
|
3097
|
-
thumbnail_url?: string | null | undefined;
|
|
3098
|
-
thumbnail_width?: number | null | undefined;
|
|
3099
|
-
thumbnail_height?: number | null | undefined;
|
|
3100
|
-
html?: string | null | undefined;
|
|
3101
|
-
} & {
|
|
3102
|
-
__TYPE__: "EmbedContent";
|
|
3103
|
-
all: unknown;
|
|
3104
|
-
}) | {
|
|
3105
|
-
type: "Text";
|
|
3106
|
-
value: string;
|
|
3107
|
-
__TYPE__: "FieldContent";
|
|
3108
|
-
} | {
|
|
3109
|
-
type: "Timestamp";
|
|
3110
|
-
value: string;
|
|
3111
|
-
__TYPE__: "FieldContent";
|
|
3112
|
-
} | {
|
|
3113
|
-
type: "Select";
|
|
3114
|
-
value: string;
|
|
3115
|
-
__TYPE__: "FieldContent";
|
|
3116
|
-
} | {
|
|
3117
|
-
type: "Range";
|
|
3118
|
-
value: string;
|
|
3119
|
-
__TYPE__: "FieldContent";
|
|
3120
|
-
} | {
|
|
3121
|
-
type: "Number";
|
|
3122
|
-
value: string;
|
|
3123
|
-
__TYPE__: "FieldContent";
|
|
3124
|
-
} | {
|
|
3125
|
-
type: "Date";
|
|
3126
|
-
value: string;
|
|
3127
|
-
__TYPE__: "FieldContent";
|
|
3128
|
-
} | {
|
|
3129
|
-
type: "Color";
|
|
3130
|
-
value: string;
|
|
3131
|
-
__TYPE__: "FieldContent";
|
|
3132
|
-
} | ({
|
|
3133
|
-
position: {
|
|
3134
|
-
lat: number;
|
|
3135
|
-
lng: number;
|
|
3136
|
-
};
|
|
3137
|
-
} & {
|
|
3138
|
-
__TYPE__: "GeoPointContent";
|
|
3139
|
-
}) | ({
|
|
3140
|
-
origin: {
|
|
3141
|
-
id: string;
|
|
3142
|
-
url: string;
|
|
3143
|
-
width: number;
|
|
3144
|
-
height: number;
|
|
3145
|
-
};
|
|
3146
|
-
width: number;
|
|
3147
|
-
height: number;
|
|
3148
|
-
edit: {
|
|
3149
|
-
zoom: number;
|
|
3150
|
-
crop: {
|
|
3151
|
-
x: number;
|
|
3152
|
-
y: number;
|
|
3153
|
-
};
|
|
3154
|
-
background: string;
|
|
3155
|
-
};
|
|
3156
|
-
} & {
|
|
3157
|
-
url?: string | undefined;
|
|
3158
|
-
credits?: string | null | undefined;
|
|
3159
|
-
alt?: string | null | undefined;
|
|
3160
|
-
provider?: string | null | undefined;
|
|
3161
|
-
} & {
|
|
3162
|
-
thumbnails?: {
|
|
3163
|
-
[x: string]: {
|
|
3164
|
-
origin: {
|
|
3165
|
-
id: string;
|
|
3166
|
-
url: string;
|
|
3167
|
-
width: number;
|
|
3168
|
-
height: number;
|
|
3169
|
-
};
|
|
3170
|
-
width: number;
|
|
3171
|
-
height: number;
|
|
3172
|
-
edit: {
|
|
3173
|
-
zoom: number;
|
|
3174
|
-
crop: {
|
|
3175
|
-
x: number;
|
|
3176
|
-
y: number;
|
|
3177
|
-
};
|
|
3178
|
-
background: string;
|
|
3179
|
-
};
|
|
3180
|
-
} & {
|
|
3181
|
-
url?: string | undefined;
|
|
3182
|
-
credits?: string | null | undefined;
|
|
3183
|
-
alt?: string | null | undefined;
|
|
3184
|
-
provider?: string | null | undefined;
|
|
3185
|
-
};
|
|
3186
|
-
} | undefined;
|
|
2303
|
+
url?: string | undefined;
|
|
2304
|
+
credits?: string | null | undefined;
|
|
2305
|
+
alt?: string | null | undefined;
|
|
2306
|
+
provider?: string | null | undefined;
|
|
3187
2307
|
} & {
|
|
3188
|
-
|
|
3189
|
-
}) | {
|
|
3190
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
3191
|
-
value: string;
|
|
3192
|
-
} | {
|
|
3193
|
-
__TYPE__: "LinkContent";
|
|
3194
|
-
value: ({
|
|
2308
|
+
linkTo?: ({
|
|
3195
2309
|
__TYPE__: "ImageLink";
|
|
3196
2310
|
} & {
|
|
3197
2311
|
id: string;
|
|
@@ -3229,168 +2343,100 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3229
2343
|
preview?: {
|
|
3230
2344
|
title?: string | undefined;
|
|
3231
2345
|
} | null | undefined;
|
|
3232
|
-
});
|
|
3233
|
-
}
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
2346
|
+
}) | null | undefined;
|
|
2347
|
+
};
|
|
2348
|
+
} & {
|
|
2349
|
+
label?: string | null | undefined;
|
|
2350
|
+
direction?: string | null | undefined;
|
|
2351
|
+
}) | ({
|
|
2352
|
+
type: "embed";
|
|
2353
|
+
data: {
|
|
2354
|
+
embed_url: string;
|
|
2355
|
+
type: string;
|
|
2356
|
+
} & {
|
|
2357
|
+
version?: string | number | null | undefined;
|
|
2358
|
+
title?: string | null | undefined;
|
|
2359
|
+
author_name?: string | null | undefined;
|
|
2360
|
+
author_url?: string | null | undefined;
|
|
2361
|
+
provider_name?: string | null | undefined;
|
|
2362
|
+
provider_url?: string | null | undefined;
|
|
2363
|
+
cache_age?: string | number | null | undefined;
|
|
2364
|
+
thumbnail_url?: string | null | undefined;
|
|
2365
|
+
thumbnail_width?: number | null | undefined;
|
|
2366
|
+
thumbnail_height?: number | null | undefined;
|
|
2367
|
+
html?: string | null | undefined;
|
|
2368
|
+
} & {
|
|
2369
|
+
__TYPE__: "EmbedContent";
|
|
2370
|
+
all: unknown;
|
|
2371
|
+
};
|
|
2372
|
+
} & {
|
|
2373
|
+
label?: string | null | undefined;
|
|
2374
|
+
direction?: string | null | undefined;
|
|
2375
|
+
}) | ({
|
|
2376
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
2377
|
+
content: {
|
|
2378
|
+
text: string;
|
|
2379
|
+
} & {
|
|
2380
|
+
spans?: ({
|
|
2381
|
+
data: ({
|
|
2382
|
+
__TYPE__: "ImageLink";
|
|
3254
2383
|
} & {
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
2384
|
+
id: string;
|
|
2385
|
+
url: string;
|
|
2386
|
+
height: string;
|
|
2387
|
+
width: string;
|
|
2388
|
+
size: string;
|
|
2389
|
+
name: string;
|
|
2390
|
+
kind: string;
|
|
3259
2391
|
} & {
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
size: string;
|
|
3268
|
-
name: string;
|
|
3269
|
-
kind: string;
|
|
3270
|
-
} & {
|
|
3271
|
-
date?: string | null | undefined;
|
|
3272
|
-
}) | ({
|
|
3273
|
-
id: string;
|
|
3274
|
-
url: string;
|
|
3275
|
-
name: string;
|
|
3276
|
-
kind: string;
|
|
3277
|
-
size: string;
|
|
3278
|
-
} & {
|
|
3279
|
-
date?: string | null | undefined;
|
|
3280
|
-
} & {
|
|
3281
|
-
__TYPE__: "FileLink";
|
|
3282
|
-
} & {
|
|
3283
|
-
size?: string | undefined;
|
|
3284
|
-
}) | ({
|
|
3285
|
-
__TYPE__: "DocumentLink";
|
|
3286
|
-
} & {
|
|
3287
|
-
id: string;
|
|
3288
|
-
}) | ({
|
|
3289
|
-
__TYPE__: "ExternalLink";
|
|
3290
|
-
} & {
|
|
3291
|
-
url: string;
|
|
3292
|
-
} & {
|
|
3293
|
-
kind?: "web" | undefined;
|
|
3294
|
-
target?: string | null | undefined;
|
|
3295
|
-
preview?: {
|
|
3296
|
-
title?: string | undefined;
|
|
3297
|
-
} | null | undefined;
|
|
3298
|
-
}) | null | undefined;
|
|
3299
|
-
};
|
|
3300
|
-
} & {
|
|
3301
|
-
label?: string | null | undefined;
|
|
3302
|
-
direction?: string | null | undefined;
|
|
3303
|
-
}) | ({
|
|
3304
|
-
type: "embed";
|
|
3305
|
-
data: {
|
|
3306
|
-
embed_url: string;
|
|
3307
|
-
type: string;
|
|
2392
|
+
date?: string | null | undefined;
|
|
2393
|
+
}) | ({
|
|
2394
|
+
id: string;
|
|
2395
|
+
url: string;
|
|
2396
|
+
name: string;
|
|
2397
|
+
kind: string;
|
|
2398
|
+
size: string;
|
|
3308
2399
|
} & {
|
|
3309
|
-
|
|
3310
|
-
title?: string | null | undefined;
|
|
3311
|
-
author_name?: string | null | undefined;
|
|
3312
|
-
author_url?: string | null | undefined;
|
|
3313
|
-
provider_name?: string | null | undefined;
|
|
3314
|
-
provider_url?: string | null | undefined;
|
|
3315
|
-
cache_age?: string | number | null | undefined;
|
|
3316
|
-
thumbnail_url?: string | null | undefined;
|
|
3317
|
-
thumbnail_width?: number | null | undefined;
|
|
3318
|
-
thumbnail_height?: number | null | undefined;
|
|
3319
|
-
html?: string | null | undefined;
|
|
2400
|
+
date?: string | null | undefined;
|
|
3320
2401
|
} & {
|
|
3321
|
-
__TYPE__: "
|
|
3322
|
-
all: unknown;
|
|
3323
|
-
};
|
|
3324
|
-
} & {
|
|
3325
|
-
label?: string | null | undefined;
|
|
3326
|
-
direction?: string | null | undefined;
|
|
3327
|
-
}) | ({
|
|
3328
|
-
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "o-list-item" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink";
|
|
3329
|
-
content: {
|
|
3330
|
-
text: string;
|
|
2402
|
+
__TYPE__: "FileLink";
|
|
3331
2403
|
} & {
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
preview?: {
|
|
3369
|
-
title?: string | undefined;
|
|
3370
|
-
} | null | undefined;
|
|
3371
|
-
});
|
|
3372
|
-
start: number;
|
|
3373
|
-
end: number;
|
|
3374
|
-
type: "hyperlink";
|
|
3375
|
-
} | {
|
|
3376
|
-
data: string;
|
|
3377
|
-
start: number;
|
|
3378
|
-
end: number;
|
|
3379
|
-
type: "label";
|
|
3380
|
-
} | {
|
|
3381
|
-
start: number;
|
|
3382
|
-
end: number;
|
|
3383
|
-
type: "em" | "strong" | "list-item";
|
|
3384
|
-
})[] | undefined;
|
|
3385
|
-
};
|
|
3386
|
-
} & {
|
|
3387
|
-
label?: string | undefined;
|
|
3388
|
-
direction?: string | undefined;
|
|
3389
|
-
}))[];
|
|
3390
|
-
} | {
|
|
3391
|
-
__TYPE__: "SeparatorContent";
|
|
3392
|
-
}][];
|
|
3393
|
-
}[];
|
|
2404
|
+
size?: string | undefined;
|
|
2405
|
+
}) | ({
|
|
2406
|
+
__TYPE__: "DocumentLink";
|
|
2407
|
+
} & {
|
|
2408
|
+
id: string;
|
|
2409
|
+
}) | ({
|
|
2410
|
+
__TYPE__: "ExternalLink";
|
|
2411
|
+
} & {
|
|
2412
|
+
url: string;
|
|
2413
|
+
} & {
|
|
2414
|
+
kind?: "web" | undefined;
|
|
2415
|
+
target?: string | null | undefined;
|
|
2416
|
+
preview?: {
|
|
2417
|
+
title?: string | undefined;
|
|
2418
|
+
} | null | undefined;
|
|
2419
|
+
});
|
|
2420
|
+
start: number;
|
|
2421
|
+
end: number;
|
|
2422
|
+
type: "hyperlink";
|
|
2423
|
+
} | {
|
|
2424
|
+
data: string;
|
|
2425
|
+
start: number;
|
|
2426
|
+
end: number;
|
|
2427
|
+
type: "label";
|
|
2428
|
+
} | {
|
|
2429
|
+
start: number;
|
|
2430
|
+
end: number;
|
|
2431
|
+
type: "em" | "strong" | "list-item";
|
|
2432
|
+
})[] | undefined;
|
|
2433
|
+
};
|
|
2434
|
+
} & {
|
|
2435
|
+
label?: string | undefined;
|
|
2436
|
+
direction?: string | undefined;
|
|
2437
|
+
}))[];
|
|
2438
|
+
} | {
|
|
2439
|
+
__TYPE__: "SeparatorContent";
|
|
3394
2440
|
};
|
|
3395
2441
|
}[];
|
|
3396
2442
|
};
|