@prismicio/editor-fields 0.4.61 → 0.4.62-alpha.jp-table-render-default-layout.2
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/core/MediaLibrary/components/MediaLibraryDropzone.d.ts +3 -2
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +45 -45
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +33 -0
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +5 -5
- package/dist/core/MediaLibrary/index.d.ts +0 -1
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
- package/dist/core/service/customType.d.ts +84 -18
- package/dist/core/service/document.d.ts +2111 -140
- package/dist/core/service/documentSearch.d.ts +15 -15
- package/dist/core/service/role.d.ts +0 -1
- package/dist/fields/ImageField/Components/ImageFieldCard.d.ts +1 -1
- package/dist/fields/ImageField/Components/ImageFieldDropZone.d.ts +9 -0
- package/dist/fields/ImageField/useImageField.d.ts +30 -0
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +37 -0
- package/dist/fields/LinkField/Documents/documentsData.d.ts +6 -6
- package/dist/fields/RichTextField/RichTextField.d.ts +5 -5
- package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/Bold/BoldModel.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +30 -0
- package/dist/fields/RichTextField/extensions/Italic/ItalicModel.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/Label/LabelModel.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/Link/LinkModel.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/Table/Table.d.ts +2 -0
- package/dist/fields/RichTextField/extensions/extensions.d.ts +4 -3
- package/dist/fields/RichTextField/models/EditorExtension.d.ts +34 -20
- package/dist/fields/RichTextField/models/RichTextConfig.d.ts +3 -2
- package/dist/fields/RichTextField/models/helpers/NodeUtils.d.ts +1 -1
- package/dist/fields/RichTextField/types.d.ts +41 -0
- package/dist/fields/TableField/TableField.d.ts +12 -0
- package/dist/fields/TableField/index.d.ts +1 -0
- package/dist/fields/utils.d.ts +2 -2
- package/dist/index.cjs.js +56 -53
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +30026 -25413
- package/dist/slices/utils.d.ts +163 -1
- package/package.json +9 -5
- package/dist/constants/localStorage.d.ts +0 -1
- package/dist/core/MediaLibrary/components/NewMediaLibraryFeaturesBanner.d.ts +0 -6
- package/dist/fields/RichTextField/extensions/Image/ImageLinkControl.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type QueryClient } from "@tanstack/react-query";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import type { AuthStrategy } from "../../EditorConfig";
|
|
4
4
|
export declare const languageSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -75,8 +75,8 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
75
75
|
uploadedAvatar?: string | undefined;
|
|
76
76
|
}>;
|
|
77
77
|
}>, "strip", z.ZodTypeAny, {
|
|
78
|
-
tags: string[];
|
|
79
78
|
version_id: string;
|
|
79
|
+
tags: string[];
|
|
80
80
|
last_modified_date: Date;
|
|
81
81
|
custom_type_label: string;
|
|
82
82
|
author: {
|
|
@@ -89,8 +89,8 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
89
89
|
uid?: string | undefined;
|
|
90
90
|
preview_summary?: string | undefined;
|
|
91
91
|
}, {
|
|
92
|
-
tags: string[];
|
|
93
92
|
version_id: string;
|
|
93
|
+
tags: string[];
|
|
94
94
|
last_modified_date: Date;
|
|
95
95
|
custom_type_label: string;
|
|
96
96
|
author: {
|
|
@@ -148,25 +148,25 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
148
148
|
uid?: string | undefined;
|
|
149
149
|
}>>;
|
|
150
150
|
}>, "strip", z.ZodTypeAny, {
|
|
151
|
-
tags: string[];
|
|
152
151
|
version_id: string;
|
|
152
|
+
tags: string[];
|
|
153
153
|
last_modified_date: Date;
|
|
154
|
+
summary?: string | undefined;
|
|
154
155
|
preview_image?: string | undefined;
|
|
155
156
|
uid?: string | undefined;
|
|
156
157
|
custom_type_id?: string | undefined;
|
|
157
|
-
summary?: string | undefined;
|
|
158
158
|
author_ids?: string[] | undefined;
|
|
159
159
|
highlights?: {
|
|
160
160
|
uid?: string | undefined;
|
|
161
161
|
} | undefined;
|
|
162
162
|
}, {
|
|
163
|
-
tags: string[];
|
|
164
163
|
version_id: string;
|
|
164
|
+
tags: string[];
|
|
165
165
|
last_modified_date: Date;
|
|
166
|
+
summary?: string | undefined;
|
|
166
167
|
preview_image?: string | undefined;
|
|
167
168
|
uid?: string | undefined;
|
|
168
169
|
custom_type_id?: string | undefined;
|
|
169
|
-
summary?: string | undefined;
|
|
170
170
|
author_ids?: string[] | undefined;
|
|
171
171
|
highlights?: {
|
|
172
172
|
uid?: string | undefined;
|
|
@@ -253,8 +253,8 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
253
253
|
uploadedAvatar?: string | undefined;
|
|
254
254
|
}>;
|
|
255
255
|
}>, "strip", z.ZodTypeAny, {
|
|
256
|
-
tags: string[];
|
|
257
256
|
version_id: string;
|
|
257
|
+
tags: string[];
|
|
258
258
|
last_modified_date: Date;
|
|
259
259
|
custom_type_label: string;
|
|
260
260
|
author: {
|
|
@@ -267,8 +267,8 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
267
267
|
uid?: string | undefined;
|
|
268
268
|
preview_summary?: string | undefined;
|
|
269
269
|
}, {
|
|
270
|
-
tags: string[];
|
|
271
270
|
version_id: string;
|
|
271
|
+
tags: string[];
|
|
272
272
|
last_modified_date: Date;
|
|
273
273
|
custom_type_label: string;
|
|
274
274
|
author: {
|
|
@@ -301,8 +301,8 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
301
301
|
} | {
|
|
302
302
|
status: "archived";
|
|
303
303
|
}) & {
|
|
304
|
-
tags: string[];
|
|
305
304
|
version_id: string;
|
|
305
|
+
tags: string[];
|
|
306
306
|
last_modified_date: Date;
|
|
307
307
|
custom_type_label: string;
|
|
308
308
|
author: {
|
|
@@ -334,8 +334,8 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
334
334
|
} | {
|
|
335
335
|
status: "archived";
|
|
336
336
|
}) & {
|
|
337
|
-
tags: string[];
|
|
338
337
|
version_id: string;
|
|
338
|
+
tags: string[];
|
|
339
339
|
last_modified_date: Date;
|
|
340
340
|
custom_type_label: string;
|
|
341
341
|
author: {
|
|
@@ -432,8 +432,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
432
432
|
uploadedAvatar?: string | undefined;
|
|
433
433
|
}>;
|
|
434
434
|
}>, "strip", z.ZodTypeAny, {
|
|
435
|
-
tags: string[];
|
|
436
435
|
version_id: string;
|
|
436
|
+
tags: string[];
|
|
437
437
|
last_modified_date: Date;
|
|
438
438
|
custom_type_label: string;
|
|
439
439
|
author: {
|
|
@@ -446,8 +446,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
446
446
|
uid?: string | undefined;
|
|
447
447
|
preview_summary?: string | undefined;
|
|
448
448
|
}, {
|
|
449
|
-
tags: string[];
|
|
450
449
|
version_id: string;
|
|
450
|
+
tags: string[];
|
|
451
451
|
last_modified_date: Date;
|
|
452
452
|
custom_type_label: string;
|
|
453
453
|
author: {
|
|
@@ -480,8 +480,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
480
480
|
} | {
|
|
481
481
|
status: "archived";
|
|
482
482
|
}) & {
|
|
483
|
-
tags: string[];
|
|
484
483
|
version_id: string;
|
|
484
|
+
tags: string[];
|
|
485
485
|
last_modified_date: Date;
|
|
486
486
|
custom_type_label: string;
|
|
487
487
|
author: {
|
|
@@ -513,8 +513,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
513
513
|
} | {
|
|
514
514
|
status: "archived";
|
|
515
515
|
}) & {
|
|
516
|
-
tags: string[];
|
|
517
516
|
version_id: string;
|
|
517
|
+
tags: string[];
|
|
518
518
|
last_modified_date: Date;
|
|
519
519
|
custom_type_label: string;
|
|
520
520
|
author: {
|
|
@@ -551,8 +551,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
551
551
|
} | {
|
|
552
552
|
status: "archived";
|
|
553
553
|
}) & {
|
|
554
|
-
tags: string[];
|
|
555
554
|
version_id: string;
|
|
555
|
+
tags: string[];
|
|
556
556
|
last_modified_date: Date;
|
|
557
557
|
custom_type_label: string;
|
|
558
558
|
author: {
|
|
@@ -588,8 +588,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
588
588
|
} | {
|
|
589
589
|
status: "archived";
|
|
590
590
|
}) & {
|
|
591
|
-
tags: string[];
|
|
592
591
|
version_id: string;
|
|
592
|
+
tags: string[];
|
|
593
593
|
last_modified_date: Date;
|
|
594
594
|
custom_type_label: string;
|
|
595
595
|
author: {
|
|
@@ -656,25 +656,25 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
656
656
|
uid?: string | undefined;
|
|
657
657
|
}>>;
|
|
658
658
|
}>, "strip", z.ZodTypeAny, {
|
|
659
|
-
tags: string[];
|
|
660
659
|
version_id: string;
|
|
660
|
+
tags: string[];
|
|
661
661
|
last_modified_date: Date;
|
|
662
|
+
summary?: string | undefined;
|
|
662
663
|
preview_image?: string | undefined;
|
|
663
664
|
uid?: string | undefined;
|
|
664
665
|
custom_type_id?: string | undefined;
|
|
665
|
-
summary?: string | undefined;
|
|
666
666
|
author_ids?: string[] | undefined;
|
|
667
667
|
highlights?: {
|
|
668
668
|
uid?: string | undefined;
|
|
669
669
|
} | undefined;
|
|
670
670
|
}, {
|
|
671
|
-
tags: string[];
|
|
672
671
|
version_id: string;
|
|
672
|
+
tags: string[];
|
|
673
673
|
last_modified_date: Date;
|
|
674
|
+
summary?: string | undefined;
|
|
674
675
|
preview_image?: string | undefined;
|
|
675
676
|
uid?: string | undefined;
|
|
676
677
|
custom_type_id?: string | undefined;
|
|
677
|
-
summary?: string | undefined;
|
|
678
678
|
author_ids?: string[] | undefined;
|
|
679
679
|
highlights?: {
|
|
680
680
|
uid?: string | undefined;
|
|
@@ -696,13 +696,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
696
696
|
} | {
|
|
697
697
|
status: "archived";
|
|
698
698
|
}) & {
|
|
699
|
-
tags: string[];
|
|
700
699
|
version_id: string;
|
|
700
|
+
tags: string[];
|
|
701
701
|
last_modified_date: Date;
|
|
702
|
+
summary?: string | undefined;
|
|
702
703
|
preview_image?: string | undefined;
|
|
703
704
|
uid?: string | undefined;
|
|
704
705
|
custom_type_id?: string | undefined;
|
|
705
|
-
summary?: string | undefined;
|
|
706
706
|
author_ids?: string[] | undefined;
|
|
707
707
|
highlights?: {
|
|
708
708
|
uid?: string | undefined;
|
|
@@ -723,13 +723,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
723
723
|
} | {
|
|
724
724
|
status: "archived";
|
|
725
725
|
}) & {
|
|
726
|
-
tags: string[];
|
|
727
726
|
version_id: string;
|
|
727
|
+
tags: string[];
|
|
728
728
|
last_modified_date: Date;
|
|
729
|
+
summary?: string | undefined;
|
|
729
730
|
preview_image?: string | undefined;
|
|
730
731
|
uid?: string | undefined;
|
|
731
732
|
custom_type_id?: string | undefined;
|
|
732
|
-
summary?: string | undefined;
|
|
733
733
|
author_ids?: string[] | undefined;
|
|
734
734
|
highlights?: {
|
|
735
735
|
uid?: string | undefined;
|
|
@@ -753,13 +753,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
753
753
|
} | {
|
|
754
754
|
status: "archived";
|
|
755
755
|
}) & {
|
|
756
|
-
tags: string[];
|
|
757
756
|
version_id: string;
|
|
757
|
+
tags: string[];
|
|
758
758
|
last_modified_date: Date;
|
|
759
|
+
summary?: string | undefined;
|
|
759
760
|
preview_image?: string | undefined;
|
|
760
761
|
uid?: string | undefined;
|
|
761
762
|
custom_type_id?: string | undefined;
|
|
762
|
-
summary?: string | undefined;
|
|
763
763
|
author_ids?: string[] | undefined;
|
|
764
764
|
highlights?: {
|
|
765
765
|
uid?: string | undefined;
|
|
@@ -779,13 +779,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
779
779
|
} | {
|
|
780
780
|
status: "archived";
|
|
781
781
|
}) & {
|
|
782
|
-
tags: string[];
|
|
783
782
|
version_id: string;
|
|
783
|
+
tags: string[];
|
|
784
784
|
last_modified_date: Date;
|
|
785
|
+
summary?: string | undefined;
|
|
785
786
|
preview_image?: string | undefined;
|
|
786
787
|
uid?: string | undefined;
|
|
787
788
|
custom_type_id?: string | undefined;
|
|
788
|
-
summary?: string | undefined;
|
|
789
789
|
author_ids?: string[] | undefined;
|
|
790
790
|
highlights?: {
|
|
791
791
|
uid?: string | undefined;
|
|
@@ -845,25 +845,25 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
845
845
|
uid?: string | undefined;
|
|
846
846
|
}>>;
|
|
847
847
|
}>, "strip", z.ZodTypeAny, {
|
|
848
|
-
tags: string[];
|
|
849
848
|
version_id: string;
|
|
849
|
+
tags: string[];
|
|
850
850
|
last_modified_date: Date;
|
|
851
|
+
summary?: string | undefined;
|
|
851
852
|
preview_image?: string | undefined;
|
|
852
853
|
uid?: string | undefined;
|
|
853
854
|
custom_type_id?: string | undefined;
|
|
854
|
-
summary?: string | undefined;
|
|
855
855
|
author_ids?: string[] | undefined;
|
|
856
856
|
highlights?: {
|
|
857
857
|
uid?: string | undefined;
|
|
858
858
|
} | undefined;
|
|
859
859
|
}, {
|
|
860
|
-
tags: string[];
|
|
861
860
|
version_id: string;
|
|
861
|
+
tags: string[];
|
|
862
862
|
last_modified_date: Date;
|
|
863
|
+
summary?: string | undefined;
|
|
863
864
|
preview_image?: string | undefined;
|
|
864
865
|
uid?: string | undefined;
|
|
865
866
|
custom_type_id?: string | undefined;
|
|
866
|
-
summary?: string | undefined;
|
|
867
867
|
author_ids?: string[] | undefined;
|
|
868
868
|
highlights?: {
|
|
869
869
|
uid?: string | undefined;
|
|
@@ -885,13 +885,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
885
885
|
} | {
|
|
886
886
|
status: "archived";
|
|
887
887
|
}) & {
|
|
888
|
-
tags: string[];
|
|
889
888
|
version_id: string;
|
|
889
|
+
tags: string[];
|
|
890
890
|
last_modified_date: Date;
|
|
891
|
+
summary?: string | undefined;
|
|
891
892
|
preview_image?: string | undefined;
|
|
892
893
|
uid?: string | undefined;
|
|
893
894
|
custom_type_id?: string | undefined;
|
|
894
|
-
summary?: string | undefined;
|
|
895
895
|
author_ids?: string[] | undefined;
|
|
896
896
|
highlights?: {
|
|
897
897
|
uid?: string | undefined;
|
|
@@ -912,13 +912,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
912
912
|
} | {
|
|
913
913
|
status: "archived";
|
|
914
914
|
}) & {
|
|
915
|
-
tags: string[];
|
|
916
915
|
version_id: string;
|
|
916
|
+
tags: string[];
|
|
917
917
|
last_modified_date: Date;
|
|
918
|
+
summary?: string | undefined;
|
|
918
919
|
preview_image?: string | undefined;
|
|
919
920
|
uid?: string | undefined;
|
|
920
921
|
custom_type_id?: string | undefined;
|
|
921
|
-
summary?: string | undefined;
|
|
922
922
|
author_ids?: string[] | undefined;
|
|
923
923
|
highlights?: {
|
|
924
924
|
uid?: string | undefined;
|
|
@@ -942,13 +942,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
942
942
|
} | {
|
|
943
943
|
status: "archived";
|
|
944
944
|
}) & {
|
|
945
|
-
tags: string[];
|
|
946
945
|
version_id: string;
|
|
946
|
+
tags: string[];
|
|
947
947
|
last_modified_date: Date;
|
|
948
|
+
summary?: string | undefined;
|
|
948
949
|
preview_image?: string | undefined;
|
|
949
950
|
uid?: string | undefined;
|
|
950
951
|
custom_type_id?: string | undefined;
|
|
951
|
-
summary?: string | undefined;
|
|
952
952
|
author_ids?: string[] | undefined;
|
|
953
953
|
highlights?: {
|
|
954
954
|
uid?: string | undefined;
|
|
@@ -968,13 +968,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
968
968
|
} | {
|
|
969
969
|
status: "archived";
|
|
970
970
|
}) & {
|
|
971
|
-
tags: string[];
|
|
972
971
|
version_id: string;
|
|
972
|
+
tags: string[];
|
|
973
973
|
last_modified_date: Date;
|
|
974
|
+
summary?: string | undefined;
|
|
974
975
|
preview_image?: string | undefined;
|
|
975
976
|
uid?: string | undefined;
|
|
976
977
|
custom_type_id?: string | undefined;
|
|
977
|
-
summary?: string | undefined;
|
|
978
978
|
author_ids?: string[] | undefined;
|
|
979
979
|
highlights?: {
|
|
980
980
|
uid?: string | undefined;
|
|
@@ -1000,13 +1000,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
1000
1000
|
} | {
|
|
1001
1001
|
status: "archived";
|
|
1002
1002
|
}) & {
|
|
1003
|
-
tags: string[];
|
|
1004
1003
|
version_id: string;
|
|
1004
|
+
tags: string[];
|
|
1005
1005
|
last_modified_date: Date;
|
|
1006
|
+
summary?: string | undefined;
|
|
1006
1007
|
preview_image?: string | undefined;
|
|
1007
1008
|
uid?: string | undefined;
|
|
1008
1009
|
custom_type_id?: string | undefined;
|
|
1009
|
-
summary?: string | undefined;
|
|
1010
1010
|
author_ids?: string[] | undefined;
|
|
1011
1011
|
highlights?: {
|
|
1012
1012
|
uid?: string | undefined;
|
|
@@ -1028,13 +1028,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
1028
1028
|
} | {
|
|
1029
1029
|
status: "archived";
|
|
1030
1030
|
}) & {
|
|
1031
|
-
tags: string[];
|
|
1032
1031
|
version_id: string;
|
|
1032
|
+
tags: string[];
|
|
1033
1033
|
last_modified_date: Date;
|
|
1034
|
+
summary?: string | undefined;
|
|
1034
1035
|
preview_image?: string | undefined;
|
|
1035
1036
|
uid?: string | undefined;
|
|
1036
1037
|
custom_type_id?: string | undefined;
|
|
1037
|
-
summary?: string | undefined;
|
|
1038
1038
|
author_ids?: string[] | undefined;
|
|
1039
1039
|
highlights?: {
|
|
1040
1040
|
uid?: string | undefined;
|
|
@@ -1051,7 +1051,6 @@ export type DocumentMeta = z.TypeOf<typeof documentMetaSchema>;
|
|
|
1051
1051
|
export type DocumentSearchMeta = z.TypeOf<typeof documentSearchDocumentSchema>;
|
|
1052
1052
|
export type DocumentVersion = z.TypeOf<typeof documentVersionSchema>;
|
|
1053
1053
|
export type DocumentStatus = DocumentVersion["status"];
|
|
1054
|
-
export declare function getDocuments(baseUrl: URL, authStrategy: AuthStrategy, queryString: string, limit?: number, cursor?: string): Promise<GetDocumentListSchema>;
|
|
1055
1054
|
export interface GetDocumentListArgs {
|
|
1056
1055
|
baseUrl: URL;
|
|
1057
1056
|
authStrategy: AuthStrategy;
|
|
@@ -1066,6 +1065,7 @@ export interface GetDocumentListArgs {
|
|
|
1066
1065
|
customTypes?: string[];
|
|
1067
1066
|
tags?: string[];
|
|
1068
1067
|
term?: string;
|
|
1068
|
+
uids?: string[];
|
|
1069
1069
|
}
|
|
1070
1070
|
export declare function getDocumentList(args: GetDocumentListArgs): Promise<GetDocumentListSchema>;
|
|
1071
1071
|
export declare function searchFullTextDocuments(baseUrl: URL, authStrategy: AuthStrategy, queryString: string, options?: Pick<RequestInit, "signal">): Promise<DocumentFullTextSearchApi>;
|
|
@@ -1368,7 +1368,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1368
1368
|
label?: string | null | undefined;
|
|
1369
1369
|
direction?: string | null | undefined;
|
|
1370
1370
|
}) | ({
|
|
1371
|
-
type: "
|
|
1371
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1372
1372
|
content: {
|
|
1373
1373
|
text: string;
|
|
1374
1374
|
} & {
|
|
@@ -1430,6 +1430,168 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1430
1430
|
}))[];
|
|
1431
1431
|
} | {
|
|
1432
1432
|
__TYPE__: "SeparatorContent";
|
|
1433
|
+
} | {
|
|
1434
|
+
__TYPE__: "TableContent";
|
|
1435
|
+
content: {
|
|
1436
|
+
type: "tableRow";
|
|
1437
|
+
content: {
|
|
1438
|
+
type: "tableCell" | "tableHeader";
|
|
1439
|
+
content: {
|
|
1440
|
+
__TYPE__: "StructuredTextContent";
|
|
1441
|
+
value: (({
|
|
1442
|
+
type: "image";
|
|
1443
|
+
data: {
|
|
1444
|
+
origin: {
|
|
1445
|
+
id: string;
|
|
1446
|
+
url: string;
|
|
1447
|
+
width: number;
|
|
1448
|
+
height: number;
|
|
1449
|
+
};
|
|
1450
|
+
width: number;
|
|
1451
|
+
height: number;
|
|
1452
|
+
edit: {
|
|
1453
|
+
zoom: number;
|
|
1454
|
+
crop: {
|
|
1455
|
+
x: number;
|
|
1456
|
+
y: number;
|
|
1457
|
+
};
|
|
1458
|
+
background: string;
|
|
1459
|
+
};
|
|
1460
|
+
} & {
|
|
1461
|
+
url?: string | undefined;
|
|
1462
|
+
credits?: string | null | undefined;
|
|
1463
|
+
alt?: string | null | undefined;
|
|
1464
|
+
provider?: string | null | undefined;
|
|
1465
|
+
} & {
|
|
1466
|
+
linkTo?: ({
|
|
1467
|
+
__TYPE__: "ImageLink";
|
|
1468
|
+
} & {
|
|
1469
|
+
kind: "image";
|
|
1470
|
+
id: string;
|
|
1471
|
+
url: string;
|
|
1472
|
+
height: string;
|
|
1473
|
+
width: string;
|
|
1474
|
+
size: string;
|
|
1475
|
+
name: string;
|
|
1476
|
+
} & {
|
|
1477
|
+
date?: string | null | undefined;
|
|
1478
|
+
}) | ({
|
|
1479
|
+
__TYPE__: "FileLink";
|
|
1480
|
+
} & {
|
|
1481
|
+
kind: "file";
|
|
1482
|
+
id: string;
|
|
1483
|
+
url: string;
|
|
1484
|
+
name: string;
|
|
1485
|
+
size: string;
|
|
1486
|
+
} & {
|
|
1487
|
+
date?: string | null | undefined;
|
|
1488
|
+
}) | ({
|
|
1489
|
+
__TYPE__: "DocumentLink";
|
|
1490
|
+
} & {
|
|
1491
|
+
id: string;
|
|
1492
|
+
}) | ({
|
|
1493
|
+
__TYPE__: "ExternalLink";
|
|
1494
|
+
} & {
|
|
1495
|
+
url: string;
|
|
1496
|
+
} & {
|
|
1497
|
+
kind?: "web" | undefined;
|
|
1498
|
+
target?: string | null | undefined;
|
|
1499
|
+
preview?: {
|
|
1500
|
+
title?: string | undefined;
|
|
1501
|
+
} | null | undefined;
|
|
1502
|
+
}) | null | undefined;
|
|
1503
|
+
};
|
|
1504
|
+
} & {
|
|
1505
|
+
label?: string | null | undefined;
|
|
1506
|
+
direction?: string | null | undefined;
|
|
1507
|
+
}) | ({
|
|
1508
|
+
type: "embed";
|
|
1509
|
+
data: {
|
|
1510
|
+
embed_url: string;
|
|
1511
|
+
type: string;
|
|
1512
|
+
} & {
|
|
1513
|
+
version?: string | number | null | undefined;
|
|
1514
|
+
title?: string | null | undefined;
|
|
1515
|
+
author_name?: string | null | undefined;
|
|
1516
|
+
author_url?: string | null | undefined;
|
|
1517
|
+
provider_name?: string | null | undefined;
|
|
1518
|
+
provider_url?: string | null | undefined;
|
|
1519
|
+
cache_age?: string | number | null | undefined;
|
|
1520
|
+
thumbnail_url?: string | null | undefined;
|
|
1521
|
+
thumbnail_width?: number | null | undefined;
|
|
1522
|
+
thumbnail_height?: number | null | undefined;
|
|
1523
|
+
html?: string | null | undefined;
|
|
1524
|
+
} & {
|
|
1525
|
+
__TYPE__: "EmbedContent";
|
|
1526
|
+
all: unknown;
|
|
1527
|
+
};
|
|
1528
|
+
} & {
|
|
1529
|
+
label?: string | null | undefined;
|
|
1530
|
+
direction?: string | null | undefined;
|
|
1531
|
+
}) | ({
|
|
1532
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1533
|
+
content: {
|
|
1534
|
+
text: string;
|
|
1535
|
+
} & {
|
|
1536
|
+
spans?: ({
|
|
1537
|
+
data: ({
|
|
1538
|
+
__TYPE__: "ImageLink";
|
|
1539
|
+
} & {
|
|
1540
|
+
kind: "image";
|
|
1541
|
+
id: string;
|
|
1542
|
+
url: string;
|
|
1543
|
+
height: string;
|
|
1544
|
+
width: string;
|
|
1545
|
+
size: string;
|
|
1546
|
+
name: string;
|
|
1547
|
+
} & {
|
|
1548
|
+
date?: string | null | undefined;
|
|
1549
|
+
}) | ({
|
|
1550
|
+
__TYPE__: "FileLink";
|
|
1551
|
+
} & {
|
|
1552
|
+
kind: "file";
|
|
1553
|
+
id: string;
|
|
1554
|
+
url: string;
|
|
1555
|
+
name: string;
|
|
1556
|
+
size: string;
|
|
1557
|
+
} & {
|
|
1558
|
+
date?: string | null | undefined;
|
|
1559
|
+
}) | ({
|
|
1560
|
+
__TYPE__: "DocumentLink";
|
|
1561
|
+
} & {
|
|
1562
|
+
id: string;
|
|
1563
|
+
}) | ({
|
|
1564
|
+
__TYPE__: "ExternalLink";
|
|
1565
|
+
} & {
|
|
1566
|
+
url: string;
|
|
1567
|
+
} & {
|
|
1568
|
+
kind?: "web" | undefined;
|
|
1569
|
+
target?: string | null | undefined;
|
|
1570
|
+
preview?: {
|
|
1571
|
+
title?: string | undefined;
|
|
1572
|
+
} | null | undefined;
|
|
1573
|
+
});
|
|
1574
|
+
start: number;
|
|
1575
|
+
end: number;
|
|
1576
|
+
type: "hyperlink";
|
|
1577
|
+
} | {
|
|
1578
|
+
data: string;
|
|
1579
|
+
start: number;
|
|
1580
|
+
end: number;
|
|
1581
|
+
type: "label";
|
|
1582
|
+
} | {
|
|
1583
|
+
start: number;
|
|
1584
|
+
end: number;
|
|
1585
|
+
type: "strong" | "em" | "list-item";
|
|
1586
|
+
})[] | undefined;
|
|
1587
|
+
};
|
|
1588
|
+
} & {
|
|
1589
|
+
label?: string | undefined;
|
|
1590
|
+
direction?: string | undefined;
|
|
1591
|
+
}))[];
|
|
1592
|
+
};
|
|
1593
|
+
}[];
|
|
1594
|
+
}[];
|
|
1433
1595
|
} | {
|
|
1434
1596
|
__TYPE__: "RepeatableContent";
|
|
1435
1597
|
type: "Link";
|
|
@@ -1801,7 +1963,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1801
1963
|
label?: string | null | undefined;
|
|
1802
1964
|
direction?: string | null | undefined;
|
|
1803
1965
|
}) | ({
|
|
1804
|
-
type: "
|
|
1966
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1805
1967
|
content: {
|
|
1806
1968
|
text: string;
|
|
1807
1969
|
} & {
|
|
@@ -1863,6 +2025,168 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1863
2025
|
}))[];
|
|
1864
2026
|
} | {
|
|
1865
2027
|
__TYPE__: "SeparatorContent";
|
|
2028
|
+
} | {
|
|
2029
|
+
__TYPE__: "TableContent";
|
|
2030
|
+
content: {
|
|
2031
|
+
type: "tableRow";
|
|
2032
|
+
content: {
|
|
2033
|
+
type: "tableCell" | "tableHeader";
|
|
2034
|
+
content: {
|
|
2035
|
+
__TYPE__: "StructuredTextContent";
|
|
2036
|
+
value: (({
|
|
2037
|
+
type: "image";
|
|
2038
|
+
data: {
|
|
2039
|
+
origin: {
|
|
2040
|
+
id: string;
|
|
2041
|
+
url: string;
|
|
2042
|
+
width: number;
|
|
2043
|
+
height: number;
|
|
2044
|
+
};
|
|
2045
|
+
width: number;
|
|
2046
|
+
height: number;
|
|
2047
|
+
edit: {
|
|
2048
|
+
zoom: number;
|
|
2049
|
+
crop: {
|
|
2050
|
+
x: number;
|
|
2051
|
+
y: number;
|
|
2052
|
+
};
|
|
2053
|
+
background: string;
|
|
2054
|
+
};
|
|
2055
|
+
} & {
|
|
2056
|
+
url?: string | undefined;
|
|
2057
|
+
credits?: string | null | undefined;
|
|
2058
|
+
alt?: string | null | undefined;
|
|
2059
|
+
provider?: string | null | undefined;
|
|
2060
|
+
} & {
|
|
2061
|
+
linkTo?: ({
|
|
2062
|
+
__TYPE__: "ImageLink";
|
|
2063
|
+
} & {
|
|
2064
|
+
kind: "image";
|
|
2065
|
+
id: string;
|
|
2066
|
+
url: string;
|
|
2067
|
+
height: string;
|
|
2068
|
+
width: string;
|
|
2069
|
+
size: string;
|
|
2070
|
+
name: string;
|
|
2071
|
+
} & {
|
|
2072
|
+
date?: string | null | undefined;
|
|
2073
|
+
}) | ({
|
|
2074
|
+
__TYPE__: "FileLink";
|
|
2075
|
+
} & {
|
|
2076
|
+
kind: "file";
|
|
2077
|
+
id: string;
|
|
2078
|
+
url: string;
|
|
2079
|
+
name: string;
|
|
2080
|
+
size: string;
|
|
2081
|
+
} & {
|
|
2082
|
+
date?: string | null | undefined;
|
|
2083
|
+
}) | ({
|
|
2084
|
+
__TYPE__: "DocumentLink";
|
|
2085
|
+
} & {
|
|
2086
|
+
id: string;
|
|
2087
|
+
}) | ({
|
|
2088
|
+
__TYPE__: "ExternalLink";
|
|
2089
|
+
} & {
|
|
2090
|
+
url: string;
|
|
2091
|
+
} & {
|
|
2092
|
+
kind?: "web" | undefined;
|
|
2093
|
+
target?: string | null | undefined;
|
|
2094
|
+
preview?: {
|
|
2095
|
+
title?: string | undefined;
|
|
2096
|
+
} | null | undefined;
|
|
2097
|
+
}) | null | undefined;
|
|
2098
|
+
};
|
|
2099
|
+
} & {
|
|
2100
|
+
label?: string | null | undefined;
|
|
2101
|
+
direction?: string | null | undefined;
|
|
2102
|
+
}) | ({
|
|
2103
|
+
type: "embed";
|
|
2104
|
+
data: {
|
|
2105
|
+
embed_url: string;
|
|
2106
|
+
type: string;
|
|
2107
|
+
} & {
|
|
2108
|
+
version?: string | number | null | undefined;
|
|
2109
|
+
title?: string | null | undefined;
|
|
2110
|
+
author_name?: string | null | undefined;
|
|
2111
|
+
author_url?: string | null | undefined;
|
|
2112
|
+
provider_name?: string | null | undefined;
|
|
2113
|
+
provider_url?: string | null | undefined;
|
|
2114
|
+
cache_age?: string | number | null | undefined;
|
|
2115
|
+
thumbnail_url?: string | null | undefined;
|
|
2116
|
+
thumbnail_width?: number | null | undefined;
|
|
2117
|
+
thumbnail_height?: number | null | undefined;
|
|
2118
|
+
html?: string | null | undefined;
|
|
2119
|
+
} & {
|
|
2120
|
+
__TYPE__: "EmbedContent";
|
|
2121
|
+
all: unknown;
|
|
2122
|
+
};
|
|
2123
|
+
} & {
|
|
2124
|
+
label?: string | null | undefined;
|
|
2125
|
+
direction?: string | null | undefined;
|
|
2126
|
+
}) | ({
|
|
2127
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2128
|
+
content: {
|
|
2129
|
+
text: string;
|
|
2130
|
+
} & {
|
|
2131
|
+
spans?: ({
|
|
2132
|
+
data: ({
|
|
2133
|
+
__TYPE__: "ImageLink";
|
|
2134
|
+
} & {
|
|
2135
|
+
kind: "image";
|
|
2136
|
+
id: string;
|
|
2137
|
+
url: string;
|
|
2138
|
+
height: string;
|
|
2139
|
+
width: string;
|
|
2140
|
+
size: string;
|
|
2141
|
+
name: string;
|
|
2142
|
+
} & {
|
|
2143
|
+
date?: string | null | undefined;
|
|
2144
|
+
}) | ({
|
|
2145
|
+
__TYPE__: "FileLink";
|
|
2146
|
+
} & {
|
|
2147
|
+
kind: "file";
|
|
2148
|
+
id: string;
|
|
2149
|
+
url: string;
|
|
2150
|
+
name: string;
|
|
2151
|
+
size: string;
|
|
2152
|
+
} & {
|
|
2153
|
+
date?: string | null | undefined;
|
|
2154
|
+
}) | ({
|
|
2155
|
+
__TYPE__: "DocumentLink";
|
|
2156
|
+
} & {
|
|
2157
|
+
id: string;
|
|
2158
|
+
}) | ({
|
|
2159
|
+
__TYPE__: "ExternalLink";
|
|
2160
|
+
} & {
|
|
2161
|
+
url: string;
|
|
2162
|
+
} & {
|
|
2163
|
+
kind?: "web" | undefined;
|
|
2164
|
+
target?: string | null | undefined;
|
|
2165
|
+
preview?: {
|
|
2166
|
+
title?: string | undefined;
|
|
2167
|
+
} | null | undefined;
|
|
2168
|
+
});
|
|
2169
|
+
start: number;
|
|
2170
|
+
end: number;
|
|
2171
|
+
type: "hyperlink";
|
|
2172
|
+
} | {
|
|
2173
|
+
data: string;
|
|
2174
|
+
start: number;
|
|
2175
|
+
end: number;
|
|
2176
|
+
type: "label";
|
|
2177
|
+
} | {
|
|
2178
|
+
start: number;
|
|
2179
|
+
end: number;
|
|
2180
|
+
type: "strong" | "em" | "list-item";
|
|
2181
|
+
})[] | undefined;
|
|
2182
|
+
};
|
|
2183
|
+
} & {
|
|
2184
|
+
label?: string | undefined;
|
|
2185
|
+
direction?: string | undefined;
|
|
2186
|
+
}))[];
|
|
2187
|
+
};
|
|
2188
|
+
}[];
|
|
2189
|
+
}[];
|
|
1866
2190
|
} | {
|
|
1867
2191
|
__TYPE__: "RepeatableContent";
|
|
1868
2192
|
type: "Link";
|
|
@@ -2226,7 +2550,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2226
2550
|
label?: string | null | undefined;
|
|
2227
2551
|
direction?: string | null | undefined;
|
|
2228
2552
|
}) | ({
|
|
2229
|
-
type: "
|
|
2553
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2230
2554
|
content: {
|
|
2231
2555
|
text: string;
|
|
2232
2556
|
} & {
|
|
@@ -2288,6 +2612,165 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2288
2612
|
}))[];
|
|
2289
2613
|
} | {
|
|
2290
2614
|
__TYPE__: "SeparatorContent";
|
|
2615
|
+
} | {
|
|
2616
|
+
__TYPE__: "TableContent";
|
|
2617
|
+
content: {
|
|
2618
|
+
type: "tableRow";
|
|
2619
|
+
content: {
|
|
2620
|
+
type: "tableCell" | "tableHeader";
|
|
2621
|
+
content: {
|
|
2622
|
+
__TYPE__: "StructuredTextContent";
|
|
2623
|
+
value: (({
|
|
2624
|
+
type: "image";
|
|
2625
|
+
data: {
|
|
2626
|
+
origin: {
|
|
2627
|
+
id: string;
|
|
2628
|
+
url: string;
|
|
2629
|
+
width: number;
|
|
2630
|
+
height: number;
|
|
2631
|
+
};
|
|
2632
|
+
width: number;
|
|
2633
|
+
height: number;
|
|
2634
|
+
edit: {
|
|
2635
|
+
zoom: number;
|
|
2636
|
+
crop: any;
|
|
2637
|
+
background: string;
|
|
2638
|
+
};
|
|
2639
|
+
} & {
|
|
2640
|
+
url?: string | undefined;
|
|
2641
|
+
credits?: string | null | undefined;
|
|
2642
|
+
alt?: string | null | undefined;
|
|
2643
|
+
provider?: string | null | undefined;
|
|
2644
|
+
} & {
|
|
2645
|
+
linkTo?: ({
|
|
2646
|
+
__TYPE__: "ImageLink";
|
|
2647
|
+
} & {
|
|
2648
|
+
kind: "image";
|
|
2649
|
+
id: string;
|
|
2650
|
+
url: string;
|
|
2651
|
+
height: string;
|
|
2652
|
+
width: string;
|
|
2653
|
+
size: string;
|
|
2654
|
+
name: string;
|
|
2655
|
+
} & {
|
|
2656
|
+
date?: string | null | undefined;
|
|
2657
|
+
}) | ({
|
|
2658
|
+
__TYPE__: "FileLink";
|
|
2659
|
+
} & {
|
|
2660
|
+
kind: "file";
|
|
2661
|
+
id: string;
|
|
2662
|
+
url: string;
|
|
2663
|
+
name: string;
|
|
2664
|
+
size: string;
|
|
2665
|
+
} & {
|
|
2666
|
+
date?: string | null | undefined;
|
|
2667
|
+
}) | ({
|
|
2668
|
+
__TYPE__: "DocumentLink";
|
|
2669
|
+
} & {
|
|
2670
|
+
id: string;
|
|
2671
|
+
}) | ({
|
|
2672
|
+
__TYPE__: "ExternalLink";
|
|
2673
|
+
} & {
|
|
2674
|
+
url: string;
|
|
2675
|
+
} & {
|
|
2676
|
+
kind?: "web" | undefined;
|
|
2677
|
+
target?: string | null | undefined;
|
|
2678
|
+
preview?: {
|
|
2679
|
+
title?: string | undefined;
|
|
2680
|
+
} | null | undefined;
|
|
2681
|
+
}) | null | undefined;
|
|
2682
|
+
};
|
|
2683
|
+
} & {
|
|
2684
|
+
label?: string | null | undefined;
|
|
2685
|
+
direction?: string | null | undefined;
|
|
2686
|
+
}) | ({
|
|
2687
|
+
type: "embed";
|
|
2688
|
+
data: {
|
|
2689
|
+
embed_url: string;
|
|
2690
|
+
type: string;
|
|
2691
|
+
} & {
|
|
2692
|
+
version?: string | number | null | undefined;
|
|
2693
|
+
title?: string | null | undefined;
|
|
2694
|
+
author_name?: string | null | undefined;
|
|
2695
|
+
author_url?: string | null | undefined;
|
|
2696
|
+
provider_name?: string | null | undefined;
|
|
2697
|
+
provider_url?: string | null | undefined;
|
|
2698
|
+
cache_age?: string | number | null | undefined;
|
|
2699
|
+
thumbnail_url?: string | null | undefined;
|
|
2700
|
+
thumbnail_width?: number | null | undefined;
|
|
2701
|
+
thumbnail_height?: number | null | undefined;
|
|
2702
|
+
html?: string | null | undefined;
|
|
2703
|
+
} & {
|
|
2704
|
+
__TYPE__: "EmbedContent";
|
|
2705
|
+
all: unknown;
|
|
2706
|
+
};
|
|
2707
|
+
} & {
|
|
2708
|
+
label?: string | null | undefined;
|
|
2709
|
+
direction?: string | null | undefined;
|
|
2710
|
+
}) | ({
|
|
2711
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2712
|
+
content: {
|
|
2713
|
+
text: string;
|
|
2714
|
+
} & {
|
|
2715
|
+
spans?: ({
|
|
2716
|
+
data: ({
|
|
2717
|
+
__TYPE__: "ImageLink";
|
|
2718
|
+
} & {
|
|
2719
|
+
kind: "image";
|
|
2720
|
+
id: string;
|
|
2721
|
+
url: string;
|
|
2722
|
+
height: string;
|
|
2723
|
+
width: string;
|
|
2724
|
+
size: string;
|
|
2725
|
+
name: string;
|
|
2726
|
+
} & {
|
|
2727
|
+
date?: string | null | undefined;
|
|
2728
|
+
}) | ({
|
|
2729
|
+
__TYPE__: "FileLink";
|
|
2730
|
+
} & {
|
|
2731
|
+
kind: "file";
|
|
2732
|
+
id: string;
|
|
2733
|
+
url: string;
|
|
2734
|
+
name: string;
|
|
2735
|
+
size: string;
|
|
2736
|
+
} & {
|
|
2737
|
+
date?: string | null | undefined;
|
|
2738
|
+
}) | ({
|
|
2739
|
+
__TYPE__: "DocumentLink";
|
|
2740
|
+
} & {
|
|
2741
|
+
id: string;
|
|
2742
|
+
}) | ({
|
|
2743
|
+
__TYPE__: "ExternalLink";
|
|
2744
|
+
} & {
|
|
2745
|
+
url: string;
|
|
2746
|
+
} & {
|
|
2747
|
+
kind?: "web" | undefined;
|
|
2748
|
+
target?: string | null | undefined;
|
|
2749
|
+
preview?: {
|
|
2750
|
+
title?: string | undefined;
|
|
2751
|
+
} | null | undefined;
|
|
2752
|
+
});
|
|
2753
|
+
start: number;
|
|
2754
|
+
end: number;
|
|
2755
|
+
type: "hyperlink";
|
|
2756
|
+
} | {
|
|
2757
|
+
data: string;
|
|
2758
|
+
start: number;
|
|
2759
|
+
end: number;
|
|
2760
|
+
type: "label";
|
|
2761
|
+
} | {
|
|
2762
|
+
start: number;
|
|
2763
|
+
end: number;
|
|
2764
|
+
type: "strong" | "em" | "list-item";
|
|
2765
|
+
})[] | undefined;
|
|
2766
|
+
};
|
|
2767
|
+
} & {
|
|
2768
|
+
label?: string | undefined;
|
|
2769
|
+
direction?: string | undefined;
|
|
2770
|
+
}))[];
|
|
2771
|
+
};
|
|
2772
|
+
}[];
|
|
2773
|
+
}[];
|
|
2291
2774
|
} | {
|
|
2292
2775
|
__TYPE__: "RepeatableContent";
|
|
2293
2776
|
type: "Link";
|
|
@@ -2653,7 +3136,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2653
3136
|
label?: string | null | undefined;
|
|
2654
3137
|
direction?: string | null | undefined;
|
|
2655
3138
|
}) | ({
|
|
2656
|
-
type: "
|
|
3139
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2657
3140
|
content: {
|
|
2658
3141
|
text: string;
|
|
2659
3142
|
} & {
|
|
@@ -2715,6 +3198,168 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2715
3198
|
}))[];
|
|
2716
3199
|
} | {
|
|
2717
3200
|
__TYPE__: "SeparatorContent";
|
|
3201
|
+
} | {
|
|
3202
|
+
__TYPE__: "TableContent";
|
|
3203
|
+
content: {
|
|
3204
|
+
type: "tableRow";
|
|
3205
|
+
content: {
|
|
3206
|
+
type: "tableCell" | "tableHeader";
|
|
3207
|
+
content: {
|
|
3208
|
+
__TYPE__: "StructuredTextContent";
|
|
3209
|
+
value: (({
|
|
3210
|
+
type: "image";
|
|
3211
|
+
data: {
|
|
3212
|
+
origin: {
|
|
3213
|
+
id: string;
|
|
3214
|
+
url: string;
|
|
3215
|
+
width: number;
|
|
3216
|
+
height: number;
|
|
3217
|
+
};
|
|
3218
|
+
width: number;
|
|
3219
|
+
height: number;
|
|
3220
|
+
edit: {
|
|
3221
|
+
zoom: number;
|
|
3222
|
+
crop: {
|
|
3223
|
+
x: number;
|
|
3224
|
+
y: number;
|
|
3225
|
+
};
|
|
3226
|
+
background: string;
|
|
3227
|
+
};
|
|
3228
|
+
} & {
|
|
3229
|
+
url?: string | undefined;
|
|
3230
|
+
credits?: string | null | undefined;
|
|
3231
|
+
alt?: string | null | undefined;
|
|
3232
|
+
provider?: string | null | undefined;
|
|
3233
|
+
} & {
|
|
3234
|
+
linkTo?: ({
|
|
3235
|
+
__TYPE__: "ImageLink";
|
|
3236
|
+
} & {
|
|
3237
|
+
kind: "image";
|
|
3238
|
+
id: string;
|
|
3239
|
+
url: string;
|
|
3240
|
+
height: string;
|
|
3241
|
+
width: string;
|
|
3242
|
+
size: string;
|
|
3243
|
+
name: string;
|
|
3244
|
+
} & {
|
|
3245
|
+
date?: string | null | undefined;
|
|
3246
|
+
}) | ({
|
|
3247
|
+
__TYPE__: "FileLink";
|
|
3248
|
+
} & {
|
|
3249
|
+
kind: "file";
|
|
3250
|
+
id: string;
|
|
3251
|
+
url: string;
|
|
3252
|
+
name: string;
|
|
3253
|
+
size: string;
|
|
3254
|
+
} & {
|
|
3255
|
+
date?: string | null | undefined;
|
|
3256
|
+
}) | ({
|
|
3257
|
+
__TYPE__: "DocumentLink";
|
|
3258
|
+
} & {
|
|
3259
|
+
id: string;
|
|
3260
|
+
}) | ({
|
|
3261
|
+
__TYPE__: "ExternalLink";
|
|
3262
|
+
} & {
|
|
3263
|
+
url: string;
|
|
3264
|
+
} & {
|
|
3265
|
+
kind?: "web" | undefined;
|
|
3266
|
+
target?: string | null | undefined;
|
|
3267
|
+
preview?: {
|
|
3268
|
+
title?: string | undefined;
|
|
3269
|
+
} | null | undefined;
|
|
3270
|
+
}) | null | undefined;
|
|
3271
|
+
};
|
|
3272
|
+
} & {
|
|
3273
|
+
label?: string | null | undefined;
|
|
3274
|
+
direction?: string | null | undefined;
|
|
3275
|
+
}) | ({
|
|
3276
|
+
type: "embed";
|
|
3277
|
+
data: {
|
|
3278
|
+
embed_url: string;
|
|
3279
|
+
type: string;
|
|
3280
|
+
} & {
|
|
3281
|
+
version?: string | number | null | undefined;
|
|
3282
|
+
title?: string | null | undefined;
|
|
3283
|
+
author_name?: string | null | undefined;
|
|
3284
|
+
author_url?: string | null | undefined;
|
|
3285
|
+
provider_name?: string | null | undefined;
|
|
3286
|
+
provider_url?: string | null | undefined;
|
|
3287
|
+
cache_age?: string | number | null | undefined;
|
|
3288
|
+
thumbnail_url?: string | null | undefined;
|
|
3289
|
+
thumbnail_width?: number | null | undefined;
|
|
3290
|
+
thumbnail_height?: number | null | undefined;
|
|
3291
|
+
html?: string | null | undefined;
|
|
3292
|
+
} & {
|
|
3293
|
+
__TYPE__: "EmbedContent";
|
|
3294
|
+
all: unknown;
|
|
3295
|
+
};
|
|
3296
|
+
} & {
|
|
3297
|
+
label?: string | null | undefined;
|
|
3298
|
+
direction?: string | null | undefined;
|
|
3299
|
+
}) | ({
|
|
3300
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3301
|
+
content: {
|
|
3302
|
+
text: string;
|
|
3303
|
+
} & {
|
|
3304
|
+
spans?: ({
|
|
3305
|
+
data: ({
|
|
3306
|
+
__TYPE__: "ImageLink";
|
|
3307
|
+
} & {
|
|
3308
|
+
kind: "image";
|
|
3309
|
+
id: string;
|
|
3310
|
+
url: string;
|
|
3311
|
+
height: string;
|
|
3312
|
+
width: string;
|
|
3313
|
+
size: string;
|
|
3314
|
+
name: string;
|
|
3315
|
+
} & {
|
|
3316
|
+
date?: string | null | undefined;
|
|
3317
|
+
}) | ({
|
|
3318
|
+
__TYPE__: "FileLink";
|
|
3319
|
+
} & {
|
|
3320
|
+
kind: "file";
|
|
3321
|
+
id: string;
|
|
3322
|
+
url: string;
|
|
3323
|
+
name: string;
|
|
3324
|
+
size: string;
|
|
3325
|
+
} & {
|
|
3326
|
+
date?: string | null | undefined;
|
|
3327
|
+
}) | ({
|
|
3328
|
+
__TYPE__: "DocumentLink";
|
|
3329
|
+
} & {
|
|
3330
|
+
id: string;
|
|
3331
|
+
}) | ({
|
|
3332
|
+
__TYPE__: "ExternalLink";
|
|
3333
|
+
} & {
|
|
3334
|
+
url: string;
|
|
3335
|
+
} & {
|
|
3336
|
+
kind?: "web" | undefined;
|
|
3337
|
+
target?: string | null | undefined;
|
|
3338
|
+
preview?: {
|
|
3339
|
+
title?: string | undefined;
|
|
3340
|
+
} | null | undefined;
|
|
3341
|
+
});
|
|
3342
|
+
start: number;
|
|
3343
|
+
end: number;
|
|
3344
|
+
type: "hyperlink";
|
|
3345
|
+
} | {
|
|
3346
|
+
data: string;
|
|
3347
|
+
start: number;
|
|
3348
|
+
end: number;
|
|
3349
|
+
type: "label";
|
|
3350
|
+
} | {
|
|
3351
|
+
start: number;
|
|
3352
|
+
end: number;
|
|
3353
|
+
type: "strong" | "em" | "list-item";
|
|
3354
|
+
})[] | undefined;
|
|
3355
|
+
};
|
|
3356
|
+
} & {
|
|
3357
|
+
label?: string | undefined;
|
|
3358
|
+
direction?: string | undefined;
|
|
3359
|
+
}))[];
|
|
3360
|
+
};
|
|
3361
|
+
}[];
|
|
3362
|
+
}[];
|
|
2718
3363
|
} | {
|
|
2719
3364
|
__TYPE__: "RepeatableContent";
|
|
2720
3365
|
type: "Link";
|
|
@@ -3078,7 +3723,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3078
3723
|
label?: string | null | undefined;
|
|
3079
3724
|
direction?: string | null | undefined;
|
|
3080
3725
|
}) | ({
|
|
3081
|
-
type: "
|
|
3726
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3082
3727
|
content: {
|
|
3083
3728
|
text: string;
|
|
3084
3729
|
} & {
|
|
@@ -3140,6 +3785,165 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3140
3785
|
}))[];
|
|
3141
3786
|
} | {
|
|
3142
3787
|
__TYPE__: "SeparatorContent";
|
|
3788
|
+
} | {
|
|
3789
|
+
__TYPE__: "TableContent";
|
|
3790
|
+
content: {
|
|
3791
|
+
type: "tableRow";
|
|
3792
|
+
content: {
|
|
3793
|
+
type: "tableCell" | "tableHeader";
|
|
3794
|
+
content: {
|
|
3795
|
+
__TYPE__: "StructuredTextContent";
|
|
3796
|
+
value: (({
|
|
3797
|
+
type: "image";
|
|
3798
|
+
data: {
|
|
3799
|
+
origin: {
|
|
3800
|
+
id: string;
|
|
3801
|
+
url: string;
|
|
3802
|
+
width: number;
|
|
3803
|
+
height: number;
|
|
3804
|
+
};
|
|
3805
|
+
width: number;
|
|
3806
|
+
height: number;
|
|
3807
|
+
edit: {
|
|
3808
|
+
zoom: number;
|
|
3809
|
+
crop: any;
|
|
3810
|
+
background: string;
|
|
3811
|
+
};
|
|
3812
|
+
} & {
|
|
3813
|
+
url?: string | undefined;
|
|
3814
|
+
credits?: string | null | undefined;
|
|
3815
|
+
alt?: string | null | undefined;
|
|
3816
|
+
provider?: string | null | undefined;
|
|
3817
|
+
} & {
|
|
3818
|
+
linkTo?: ({
|
|
3819
|
+
__TYPE__: "ImageLink";
|
|
3820
|
+
} & {
|
|
3821
|
+
kind: "image";
|
|
3822
|
+
id: string;
|
|
3823
|
+
url: string;
|
|
3824
|
+
height: string;
|
|
3825
|
+
width: string;
|
|
3826
|
+
size: string;
|
|
3827
|
+
name: string;
|
|
3828
|
+
} & {
|
|
3829
|
+
date?: string | null | undefined;
|
|
3830
|
+
}) | ({
|
|
3831
|
+
__TYPE__: "FileLink";
|
|
3832
|
+
} & {
|
|
3833
|
+
kind: "file";
|
|
3834
|
+
id: string;
|
|
3835
|
+
url: string;
|
|
3836
|
+
name: string;
|
|
3837
|
+
size: string;
|
|
3838
|
+
} & {
|
|
3839
|
+
date?: string | null | undefined;
|
|
3840
|
+
}) | ({
|
|
3841
|
+
__TYPE__: "DocumentLink";
|
|
3842
|
+
} & {
|
|
3843
|
+
id: string;
|
|
3844
|
+
}) | ({
|
|
3845
|
+
__TYPE__: "ExternalLink";
|
|
3846
|
+
} & {
|
|
3847
|
+
url: string;
|
|
3848
|
+
} & {
|
|
3849
|
+
kind?: "web" | undefined;
|
|
3850
|
+
target?: string | null | undefined;
|
|
3851
|
+
preview?: {
|
|
3852
|
+
title?: string | undefined;
|
|
3853
|
+
} | null | undefined;
|
|
3854
|
+
}) | null | undefined;
|
|
3855
|
+
};
|
|
3856
|
+
} & {
|
|
3857
|
+
label?: string | null | undefined;
|
|
3858
|
+
direction?: string | null | undefined;
|
|
3859
|
+
}) | ({
|
|
3860
|
+
type: "embed";
|
|
3861
|
+
data: {
|
|
3862
|
+
embed_url: string;
|
|
3863
|
+
type: string;
|
|
3864
|
+
} & {
|
|
3865
|
+
version?: string | number | null | undefined;
|
|
3866
|
+
title?: string | null | undefined;
|
|
3867
|
+
author_name?: string | null | undefined;
|
|
3868
|
+
author_url?: string | null | undefined;
|
|
3869
|
+
provider_name?: string | null | undefined;
|
|
3870
|
+
provider_url?: string | null | undefined;
|
|
3871
|
+
cache_age?: string | number | null | undefined;
|
|
3872
|
+
thumbnail_url?: string | null | undefined;
|
|
3873
|
+
thumbnail_width?: number | null | undefined;
|
|
3874
|
+
thumbnail_height?: number | null | undefined;
|
|
3875
|
+
html?: string | null | undefined;
|
|
3876
|
+
} & {
|
|
3877
|
+
__TYPE__: "EmbedContent";
|
|
3878
|
+
all: unknown;
|
|
3879
|
+
};
|
|
3880
|
+
} & {
|
|
3881
|
+
label?: string | null | undefined;
|
|
3882
|
+
direction?: string | null | undefined;
|
|
3883
|
+
}) | ({
|
|
3884
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3885
|
+
content: {
|
|
3886
|
+
text: string;
|
|
3887
|
+
} & {
|
|
3888
|
+
spans?: ({
|
|
3889
|
+
data: ({
|
|
3890
|
+
__TYPE__: "ImageLink";
|
|
3891
|
+
} & {
|
|
3892
|
+
kind: "image";
|
|
3893
|
+
id: string;
|
|
3894
|
+
url: string;
|
|
3895
|
+
height: string;
|
|
3896
|
+
width: string;
|
|
3897
|
+
size: string;
|
|
3898
|
+
name: string;
|
|
3899
|
+
} & {
|
|
3900
|
+
date?: string | null | undefined;
|
|
3901
|
+
}) | ({
|
|
3902
|
+
__TYPE__: "FileLink";
|
|
3903
|
+
} & {
|
|
3904
|
+
kind: "file";
|
|
3905
|
+
id: string;
|
|
3906
|
+
url: string;
|
|
3907
|
+
name: string;
|
|
3908
|
+
size: string;
|
|
3909
|
+
} & {
|
|
3910
|
+
date?: string | null | undefined;
|
|
3911
|
+
}) | ({
|
|
3912
|
+
__TYPE__: "DocumentLink";
|
|
3913
|
+
} & {
|
|
3914
|
+
id: string;
|
|
3915
|
+
}) | ({
|
|
3916
|
+
__TYPE__: "ExternalLink";
|
|
3917
|
+
} & {
|
|
3918
|
+
url: string;
|
|
3919
|
+
} & {
|
|
3920
|
+
kind?: "web" | undefined;
|
|
3921
|
+
target?: string | null | undefined;
|
|
3922
|
+
preview?: {
|
|
3923
|
+
title?: string | undefined;
|
|
3924
|
+
} | null | undefined;
|
|
3925
|
+
});
|
|
3926
|
+
start: number;
|
|
3927
|
+
end: number;
|
|
3928
|
+
type: "hyperlink";
|
|
3929
|
+
} | {
|
|
3930
|
+
data: string;
|
|
3931
|
+
start: number;
|
|
3932
|
+
end: number;
|
|
3933
|
+
type: "label";
|
|
3934
|
+
} | {
|
|
3935
|
+
start: number;
|
|
3936
|
+
end: number;
|
|
3937
|
+
type: "strong" | "em" | "list-item";
|
|
3938
|
+
})[] | undefined;
|
|
3939
|
+
};
|
|
3940
|
+
} & {
|
|
3941
|
+
label?: string | undefined;
|
|
3942
|
+
direction?: string | undefined;
|
|
3943
|
+
}))[];
|
|
3944
|
+
};
|
|
3945
|
+
}[];
|
|
3946
|
+
}[];
|
|
3143
3947
|
} | {
|
|
3144
3948
|
__TYPE__: "RepeatableContent";
|
|
3145
3949
|
type: "Link";
|
|
@@ -3501,7 +4305,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3501
4305
|
label?: string | null | undefined;
|
|
3502
4306
|
direction?: string | null | undefined;
|
|
3503
4307
|
}) | ({
|
|
3504
|
-
type: "
|
|
4308
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3505
4309
|
content: {
|
|
3506
4310
|
text: string;
|
|
3507
4311
|
} & {
|
|
@@ -3564,44 +4368,206 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3564
4368
|
} | {
|
|
3565
4369
|
__TYPE__: "SeparatorContent";
|
|
3566
4370
|
} | {
|
|
3567
|
-
__TYPE__: "
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
4371
|
+
__TYPE__: "TableContent";
|
|
4372
|
+
content: {
|
|
4373
|
+
type: "tableRow";
|
|
4374
|
+
content: {
|
|
4375
|
+
type: "tableCell" | "tableHeader";
|
|
4376
|
+
content: {
|
|
4377
|
+
__TYPE__: "StructuredTextContent";
|
|
4378
|
+
value: (({
|
|
4379
|
+
type: "image";
|
|
4380
|
+
data: {
|
|
4381
|
+
origin: {
|
|
4382
|
+
id: string;
|
|
4383
|
+
url: string;
|
|
4384
|
+
width: number;
|
|
4385
|
+
height: number;
|
|
4386
|
+
};
|
|
4387
|
+
width: number;
|
|
4388
|
+
height: number;
|
|
4389
|
+
edit: {
|
|
4390
|
+
zoom: number;
|
|
4391
|
+
crop: {
|
|
4392
|
+
x: number;
|
|
4393
|
+
y: number;
|
|
4394
|
+
};
|
|
4395
|
+
background: string;
|
|
4396
|
+
};
|
|
4397
|
+
} & {
|
|
4398
|
+
url?: string | undefined;
|
|
4399
|
+
credits?: string | null | undefined;
|
|
4400
|
+
alt?: string | null | undefined;
|
|
4401
|
+
provider?: string | null | undefined;
|
|
4402
|
+
} & {
|
|
4403
|
+
linkTo?: ({
|
|
4404
|
+
__TYPE__: "ImageLink";
|
|
4405
|
+
} & {
|
|
4406
|
+
kind: "image";
|
|
4407
|
+
id: string;
|
|
4408
|
+
url: string;
|
|
4409
|
+
height: string;
|
|
4410
|
+
width: string;
|
|
4411
|
+
size: string;
|
|
4412
|
+
name: string;
|
|
4413
|
+
} & {
|
|
4414
|
+
date?: string | null | undefined;
|
|
4415
|
+
}) | ({
|
|
4416
|
+
__TYPE__: "FileLink";
|
|
4417
|
+
} & {
|
|
4418
|
+
kind: "file";
|
|
4419
|
+
id: string;
|
|
4420
|
+
url: string;
|
|
4421
|
+
name: string;
|
|
4422
|
+
size: string;
|
|
4423
|
+
} & {
|
|
4424
|
+
date?: string | null | undefined;
|
|
4425
|
+
}) | ({
|
|
4426
|
+
__TYPE__: "DocumentLink";
|
|
4427
|
+
} & {
|
|
4428
|
+
id: string;
|
|
4429
|
+
}) | ({
|
|
4430
|
+
__TYPE__: "ExternalLink";
|
|
4431
|
+
} & {
|
|
4432
|
+
url: string;
|
|
4433
|
+
} & {
|
|
4434
|
+
kind?: "web" | undefined;
|
|
4435
|
+
target?: string | null | undefined;
|
|
4436
|
+
preview?: {
|
|
4437
|
+
title?: string | undefined;
|
|
4438
|
+
} | null | undefined;
|
|
4439
|
+
}) | null | undefined;
|
|
4440
|
+
};
|
|
4441
|
+
} & {
|
|
4442
|
+
label?: string | null | undefined;
|
|
4443
|
+
direction?: string | null | undefined;
|
|
4444
|
+
}) | ({
|
|
4445
|
+
type: "embed";
|
|
4446
|
+
data: {
|
|
4447
|
+
embed_url: string;
|
|
4448
|
+
type: string;
|
|
4449
|
+
} & {
|
|
4450
|
+
version?: string | number | null | undefined;
|
|
4451
|
+
title?: string | null | undefined;
|
|
4452
|
+
author_name?: string | null | undefined;
|
|
4453
|
+
author_url?: string | null | undefined;
|
|
4454
|
+
provider_name?: string | null | undefined;
|
|
4455
|
+
provider_url?: string | null | undefined;
|
|
4456
|
+
cache_age?: string | number | null | undefined;
|
|
4457
|
+
thumbnail_url?: string | null | undefined;
|
|
4458
|
+
thumbnail_width?: number | null | undefined;
|
|
4459
|
+
thumbnail_height?: number | null | undefined;
|
|
4460
|
+
html?: string | null | undefined;
|
|
4461
|
+
} & {
|
|
4462
|
+
__TYPE__: "EmbedContent";
|
|
4463
|
+
all: unknown;
|
|
4464
|
+
};
|
|
4465
|
+
} & {
|
|
4466
|
+
label?: string | null | undefined;
|
|
4467
|
+
direction?: string | null | undefined;
|
|
4468
|
+
}) | ({
|
|
4469
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
4470
|
+
content: {
|
|
4471
|
+
text: string;
|
|
4472
|
+
} & {
|
|
4473
|
+
spans?: ({
|
|
4474
|
+
data: ({
|
|
4475
|
+
__TYPE__: "ImageLink";
|
|
4476
|
+
} & {
|
|
4477
|
+
kind: "image";
|
|
4478
|
+
id: string;
|
|
4479
|
+
url: string;
|
|
4480
|
+
height: string;
|
|
4481
|
+
width: string;
|
|
4482
|
+
size: string;
|
|
4483
|
+
name: string;
|
|
4484
|
+
} & {
|
|
4485
|
+
date?: string | null | undefined;
|
|
4486
|
+
}) | ({
|
|
4487
|
+
__TYPE__: "FileLink";
|
|
4488
|
+
} & {
|
|
4489
|
+
kind: "file";
|
|
4490
|
+
id: string;
|
|
4491
|
+
url: string;
|
|
4492
|
+
name: string;
|
|
4493
|
+
size: string;
|
|
4494
|
+
} & {
|
|
4495
|
+
date?: string | null | undefined;
|
|
4496
|
+
}) | ({
|
|
4497
|
+
__TYPE__: "DocumentLink";
|
|
4498
|
+
} & {
|
|
4499
|
+
id: string;
|
|
4500
|
+
}) | ({
|
|
4501
|
+
__TYPE__: "ExternalLink";
|
|
4502
|
+
} & {
|
|
4503
|
+
url: string;
|
|
4504
|
+
} & {
|
|
4505
|
+
kind?: "web" | undefined;
|
|
4506
|
+
target?: string | null | undefined;
|
|
4507
|
+
preview?: {
|
|
4508
|
+
title?: string | undefined;
|
|
4509
|
+
} | null | undefined;
|
|
4510
|
+
});
|
|
4511
|
+
start: number;
|
|
4512
|
+
end: number;
|
|
4513
|
+
type: "hyperlink";
|
|
4514
|
+
} | {
|
|
4515
|
+
data: string;
|
|
4516
|
+
start: number;
|
|
4517
|
+
end: number;
|
|
4518
|
+
type: "label";
|
|
4519
|
+
} | {
|
|
4520
|
+
start: number;
|
|
4521
|
+
end: number;
|
|
4522
|
+
type: "strong" | "em" | "list-item";
|
|
4523
|
+
})[] | undefined;
|
|
4524
|
+
};
|
|
4525
|
+
} & {
|
|
4526
|
+
label?: string | undefined;
|
|
4527
|
+
direction?: string | undefined;
|
|
4528
|
+
}))[];
|
|
4529
|
+
};
|
|
4530
|
+
}[];
|
|
4531
|
+
}[];
|
|
4532
|
+
} | {
|
|
4533
|
+
__TYPE__: "RepeatableContent";
|
|
4534
|
+
type: "Link";
|
|
4535
|
+
value: ({
|
|
4536
|
+
key: string;
|
|
4537
|
+
} & {
|
|
4538
|
+
__TYPE__: "LinkContent";
|
|
4539
|
+
value: ({
|
|
4540
|
+
__TYPE__: "ImageLink";
|
|
4541
|
+
} & ((({
|
|
4542
|
+
kind: "image";
|
|
4543
|
+
id: string;
|
|
4544
|
+
url: string;
|
|
4545
|
+
height: string;
|
|
4546
|
+
width: string;
|
|
4547
|
+
size: string;
|
|
4548
|
+
name: string;
|
|
4549
|
+
} & {
|
|
4550
|
+
date?: string | null | undefined;
|
|
4551
|
+
}) | {
|
|
4552
|
+
kind: "image";
|
|
4553
|
+
}) & {
|
|
4554
|
+
text?: string | undefined;
|
|
4555
|
+
variant?: string | undefined;
|
|
4556
|
+
})) | ({
|
|
4557
|
+
__TYPE__: "FileLink";
|
|
4558
|
+
} & ((({
|
|
4559
|
+
kind: "file";
|
|
4560
|
+
id: string;
|
|
4561
|
+
url: string;
|
|
4562
|
+
name: string;
|
|
4563
|
+
size: string;
|
|
4564
|
+
} & {
|
|
4565
|
+
date?: string | null | undefined;
|
|
4566
|
+
}) | {
|
|
4567
|
+
kind: "file";
|
|
4568
|
+
}) & {
|
|
4569
|
+
text?: string | undefined;
|
|
4570
|
+
variant?: string | undefined;
|
|
3605
4571
|
})) | ({
|
|
3606
4572
|
__TYPE__: "DocumentLink";
|
|
3607
4573
|
} & (({
|
|
@@ -3646,7 +4612,6 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3646
4612
|
}[];
|
|
3647
4613
|
};
|
|
3648
4614
|
}, unknown>;
|
|
3649
|
-
export declare function makeGetDocumentsQueryString(searchDocumentParams: SearchDocumentParams): string;
|
|
3650
4615
|
export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
3651
4616
|
key: string;
|
|
3652
4617
|
name: string;
|
|
@@ -3934,7 +4899,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3934
4899
|
label?: string | null | undefined;
|
|
3935
4900
|
direction?: string | null | undefined;
|
|
3936
4901
|
}) | ({
|
|
3937
|
-
type: "
|
|
4902
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3938
4903
|
content: {
|
|
3939
4904
|
text: string;
|
|
3940
4905
|
} & {
|
|
@@ -3996,6 +4961,168 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3996
4961
|
}))[];
|
|
3997
4962
|
} | {
|
|
3998
4963
|
__TYPE__: "SeparatorContent";
|
|
4964
|
+
} | {
|
|
4965
|
+
__TYPE__: "TableContent";
|
|
4966
|
+
content: {
|
|
4967
|
+
type: "tableRow";
|
|
4968
|
+
content: {
|
|
4969
|
+
type: "tableCell" | "tableHeader";
|
|
4970
|
+
content: {
|
|
4971
|
+
__TYPE__: "StructuredTextContent";
|
|
4972
|
+
value: (({
|
|
4973
|
+
type: "image";
|
|
4974
|
+
data: {
|
|
4975
|
+
origin: {
|
|
4976
|
+
id: string;
|
|
4977
|
+
url: string;
|
|
4978
|
+
width: number;
|
|
4979
|
+
height: number;
|
|
4980
|
+
};
|
|
4981
|
+
width: number;
|
|
4982
|
+
height: number;
|
|
4983
|
+
edit: {
|
|
4984
|
+
zoom: number;
|
|
4985
|
+
crop: {
|
|
4986
|
+
x: number;
|
|
4987
|
+
y: number;
|
|
4988
|
+
};
|
|
4989
|
+
background: string;
|
|
4990
|
+
};
|
|
4991
|
+
} & {
|
|
4992
|
+
url?: string | undefined;
|
|
4993
|
+
credits?: string | null | undefined;
|
|
4994
|
+
alt?: string | null | undefined;
|
|
4995
|
+
provider?: string | null | undefined;
|
|
4996
|
+
} & {
|
|
4997
|
+
linkTo?: ({
|
|
4998
|
+
__TYPE__: "ImageLink";
|
|
4999
|
+
} & {
|
|
5000
|
+
kind: "image";
|
|
5001
|
+
id: string;
|
|
5002
|
+
url: string;
|
|
5003
|
+
height: string;
|
|
5004
|
+
width: string;
|
|
5005
|
+
size: string;
|
|
5006
|
+
name: string;
|
|
5007
|
+
} & {
|
|
5008
|
+
date?: string | null | undefined;
|
|
5009
|
+
}) | ({
|
|
5010
|
+
__TYPE__: "FileLink";
|
|
5011
|
+
} & {
|
|
5012
|
+
kind: "file";
|
|
5013
|
+
id: string;
|
|
5014
|
+
url: string;
|
|
5015
|
+
name: string;
|
|
5016
|
+
size: string;
|
|
5017
|
+
} & {
|
|
5018
|
+
date?: string | null | undefined;
|
|
5019
|
+
}) | ({
|
|
5020
|
+
__TYPE__: "DocumentLink";
|
|
5021
|
+
} & {
|
|
5022
|
+
id: string;
|
|
5023
|
+
}) | ({
|
|
5024
|
+
__TYPE__: "ExternalLink";
|
|
5025
|
+
} & {
|
|
5026
|
+
url: string;
|
|
5027
|
+
} & {
|
|
5028
|
+
kind?: "web" | undefined;
|
|
5029
|
+
target?: string | null | undefined;
|
|
5030
|
+
preview?: {
|
|
5031
|
+
title?: string | undefined;
|
|
5032
|
+
} | null | undefined;
|
|
5033
|
+
}) | null | undefined;
|
|
5034
|
+
};
|
|
5035
|
+
} & {
|
|
5036
|
+
label?: string | null | undefined;
|
|
5037
|
+
direction?: string | null | undefined;
|
|
5038
|
+
}) | ({
|
|
5039
|
+
type: "embed";
|
|
5040
|
+
data: {
|
|
5041
|
+
embed_url: string;
|
|
5042
|
+
type: string;
|
|
5043
|
+
} & {
|
|
5044
|
+
version?: string | number | null | undefined;
|
|
5045
|
+
title?: string | null | undefined;
|
|
5046
|
+
author_name?: string | null | undefined;
|
|
5047
|
+
author_url?: string | null | undefined;
|
|
5048
|
+
provider_name?: string | null | undefined;
|
|
5049
|
+
provider_url?: string | null | undefined;
|
|
5050
|
+
cache_age?: string | number | null | undefined;
|
|
5051
|
+
thumbnail_url?: string | null | undefined;
|
|
5052
|
+
thumbnail_width?: number | null | undefined;
|
|
5053
|
+
thumbnail_height?: number | null | undefined;
|
|
5054
|
+
html?: string | null | undefined;
|
|
5055
|
+
} & {
|
|
5056
|
+
__TYPE__: "EmbedContent";
|
|
5057
|
+
all: unknown;
|
|
5058
|
+
};
|
|
5059
|
+
} & {
|
|
5060
|
+
label?: string | null | undefined;
|
|
5061
|
+
direction?: string | null | undefined;
|
|
5062
|
+
}) | ({
|
|
5063
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5064
|
+
content: {
|
|
5065
|
+
text: string;
|
|
5066
|
+
} & {
|
|
5067
|
+
spans?: ({
|
|
5068
|
+
data: ({
|
|
5069
|
+
__TYPE__: "ImageLink";
|
|
5070
|
+
} & {
|
|
5071
|
+
kind: "image";
|
|
5072
|
+
id: string;
|
|
5073
|
+
url: string;
|
|
5074
|
+
height: string;
|
|
5075
|
+
width: string;
|
|
5076
|
+
size: string;
|
|
5077
|
+
name: string;
|
|
5078
|
+
} & {
|
|
5079
|
+
date?: string | null | undefined;
|
|
5080
|
+
}) | ({
|
|
5081
|
+
__TYPE__: "FileLink";
|
|
5082
|
+
} & {
|
|
5083
|
+
kind: "file";
|
|
5084
|
+
id: string;
|
|
5085
|
+
url: string;
|
|
5086
|
+
name: string;
|
|
5087
|
+
size: string;
|
|
5088
|
+
} & {
|
|
5089
|
+
date?: string | null | undefined;
|
|
5090
|
+
}) | ({
|
|
5091
|
+
__TYPE__: "DocumentLink";
|
|
5092
|
+
} & {
|
|
5093
|
+
id: string;
|
|
5094
|
+
}) | ({
|
|
5095
|
+
__TYPE__: "ExternalLink";
|
|
5096
|
+
} & {
|
|
5097
|
+
url: string;
|
|
5098
|
+
} & {
|
|
5099
|
+
kind?: "web" | undefined;
|
|
5100
|
+
target?: string | null | undefined;
|
|
5101
|
+
preview?: {
|
|
5102
|
+
title?: string | undefined;
|
|
5103
|
+
} | null | undefined;
|
|
5104
|
+
});
|
|
5105
|
+
start: number;
|
|
5106
|
+
end: number;
|
|
5107
|
+
type: "hyperlink";
|
|
5108
|
+
} | {
|
|
5109
|
+
data: string;
|
|
5110
|
+
start: number;
|
|
5111
|
+
end: number;
|
|
5112
|
+
type: "label";
|
|
5113
|
+
} | {
|
|
5114
|
+
start: number;
|
|
5115
|
+
end: number;
|
|
5116
|
+
type: "strong" | "em" | "list-item";
|
|
5117
|
+
})[] | undefined;
|
|
5118
|
+
};
|
|
5119
|
+
} & {
|
|
5120
|
+
label?: string | undefined;
|
|
5121
|
+
direction?: string | undefined;
|
|
5122
|
+
}))[];
|
|
5123
|
+
};
|
|
5124
|
+
}[];
|
|
5125
|
+
}[];
|
|
3999
5126
|
} | {
|
|
4000
5127
|
__TYPE__: "RepeatableContent";
|
|
4001
5128
|
type: "Link";
|
|
@@ -4359,7 +5486,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4359
5486
|
label?: string | null | undefined;
|
|
4360
5487
|
direction?: string | null | undefined;
|
|
4361
5488
|
}) | ({
|
|
4362
|
-
type: "
|
|
5489
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
4363
5490
|
content: {
|
|
4364
5491
|
text: string;
|
|
4365
5492
|
} & {
|
|
@@ -4421,6 +5548,168 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4421
5548
|
}))[];
|
|
4422
5549
|
} | {
|
|
4423
5550
|
__TYPE__: "SeparatorContent";
|
|
5551
|
+
} | {
|
|
5552
|
+
__TYPE__: "TableContent";
|
|
5553
|
+
content: {
|
|
5554
|
+
type: "tableRow";
|
|
5555
|
+
content: {
|
|
5556
|
+
type: "tableCell" | "tableHeader";
|
|
5557
|
+
content: {
|
|
5558
|
+
__TYPE__: "StructuredTextContent";
|
|
5559
|
+
value: (({
|
|
5560
|
+
type: "image";
|
|
5561
|
+
data: {
|
|
5562
|
+
origin: {
|
|
5563
|
+
id: string;
|
|
5564
|
+
url: string;
|
|
5565
|
+
width: number;
|
|
5566
|
+
height: number;
|
|
5567
|
+
};
|
|
5568
|
+
width: number;
|
|
5569
|
+
height: number;
|
|
5570
|
+
edit: {
|
|
5571
|
+
zoom: number;
|
|
5572
|
+
crop: {
|
|
5573
|
+
x: number;
|
|
5574
|
+
y: number;
|
|
5575
|
+
};
|
|
5576
|
+
background: string;
|
|
5577
|
+
};
|
|
5578
|
+
} & {
|
|
5579
|
+
url?: string | undefined;
|
|
5580
|
+
credits?: string | null | undefined;
|
|
5581
|
+
alt?: string | null | undefined;
|
|
5582
|
+
provider?: string | null | undefined;
|
|
5583
|
+
} & {
|
|
5584
|
+
linkTo?: ({
|
|
5585
|
+
__TYPE__: "ImageLink";
|
|
5586
|
+
} & {
|
|
5587
|
+
kind: "image";
|
|
5588
|
+
id: string;
|
|
5589
|
+
url: string;
|
|
5590
|
+
height: string;
|
|
5591
|
+
width: string;
|
|
5592
|
+
size: string;
|
|
5593
|
+
name: string;
|
|
5594
|
+
} & {
|
|
5595
|
+
date?: string | null | undefined;
|
|
5596
|
+
}) | ({
|
|
5597
|
+
__TYPE__: "FileLink";
|
|
5598
|
+
} & {
|
|
5599
|
+
kind: "file";
|
|
5600
|
+
id: string;
|
|
5601
|
+
url: string;
|
|
5602
|
+
name: string;
|
|
5603
|
+
size: string;
|
|
5604
|
+
} & {
|
|
5605
|
+
date?: string | null | undefined;
|
|
5606
|
+
}) | ({
|
|
5607
|
+
__TYPE__: "DocumentLink";
|
|
5608
|
+
} & {
|
|
5609
|
+
id: string;
|
|
5610
|
+
}) | ({
|
|
5611
|
+
__TYPE__: "ExternalLink";
|
|
5612
|
+
} & {
|
|
5613
|
+
url: string;
|
|
5614
|
+
} & {
|
|
5615
|
+
kind?: "web" | undefined;
|
|
5616
|
+
target?: string | null | undefined;
|
|
5617
|
+
preview?: {
|
|
5618
|
+
title?: string | undefined;
|
|
5619
|
+
} | null | undefined;
|
|
5620
|
+
}) | null | undefined;
|
|
5621
|
+
};
|
|
5622
|
+
} & {
|
|
5623
|
+
label?: string | null | undefined;
|
|
5624
|
+
direction?: string | null | undefined;
|
|
5625
|
+
}) | ({
|
|
5626
|
+
type: "embed";
|
|
5627
|
+
data: {
|
|
5628
|
+
embed_url: string;
|
|
5629
|
+
type: string;
|
|
5630
|
+
} & {
|
|
5631
|
+
version?: string | number | null | undefined;
|
|
5632
|
+
title?: string | null | undefined;
|
|
5633
|
+
author_name?: string | null | undefined;
|
|
5634
|
+
author_url?: string | null | undefined;
|
|
5635
|
+
provider_name?: string | null | undefined;
|
|
5636
|
+
provider_url?: string | null | undefined;
|
|
5637
|
+
cache_age?: string | number | null | undefined;
|
|
5638
|
+
thumbnail_url?: string | null | undefined;
|
|
5639
|
+
thumbnail_width?: number | null | undefined;
|
|
5640
|
+
thumbnail_height?: number | null | undefined;
|
|
5641
|
+
html?: string | null | undefined;
|
|
5642
|
+
} & {
|
|
5643
|
+
__TYPE__: "EmbedContent";
|
|
5644
|
+
all: unknown;
|
|
5645
|
+
};
|
|
5646
|
+
} & {
|
|
5647
|
+
label?: string | null | undefined;
|
|
5648
|
+
direction?: string | null | undefined;
|
|
5649
|
+
}) | ({
|
|
5650
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5651
|
+
content: {
|
|
5652
|
+
text: string;
|
|
5653
|
+
} & {
|
|
5654
|
+
spans?: ({
|
|
5655
|
+
data: ({
|
|
5656
|
+
__TYPE__: "ImageLink";
|
|
5657
|
+
} & {
|
|
5658
|
+
kind: "image";
|
|
5659
|
+
id: string;
|
|
5660
|
+
url: string;
|
|
5661
|
+
height: string;
|
|
5662
|
+
width: string;
|
|
5663
|
+
size: string;
|
|
5664
|
+
name: string;
|
|
5665
|
+
} & {
|
|
5666
|
+
date?: string | null | undefined;
|
|
5667
|
+
}) | ({
|
|
5668
|
+
__TYPE__: "FileLink";
|
|
5669
|
+
} & {
|
|
5670
|
+
kind: "file";
|
|
5671
|
+
id: string;
|
|
5672
|
+
url: string;
|
|
5673
|
+
name: string;
|
|
5674
|
+
size: string;
|
|
5675
|
+
} & {
|
|
5676
|
+
date?: string | null | undefined;
|
|
5677
|
+
}) | ({
|
|
5678
|
+
__TYPE__: "DocumentLink";
|
|
5679
|
+
} & {
|
|
5680
|
+
id: string;
|
|
5681
|
+
}) | ({
|
|
5682
|
+
__TYPE__: "ExternalLink";
|
|
5683
|
+
} & {
|
|
5684
|
+
url: string;
|
|
5685
|
+
} & {
|
|
5686
|
+
kind?: "web" | undefined;
|
|
5687
|
+
target?: string | null | undefined;
|
|
5688
|
+
preview?: {
|
|
5689
|
+
title?: string | undefined;
|
|
5690
|
+
} | null | undefined;
|
|
5691
|
+
});
|
|
5692
|
+
start: number;
|
|
5693
|
+
end: number;
|
|
5694
|
+
type: "hyperlink";
|
|
5695
|
+
} | {
|
|
5696
|
+
data: string;
|
|
5697
|
+
start: number;
|
|
5698
|
+
end: number;
|
|
5699
|
+
type: "label";
|
|
5700
|
+
} | {
|
|
5701
|
+
start: number;
|
|
5702
|
+
end: number;
|
|
5703
|
+
type: "strong" | "em" | "list-item";
|
|
5704
|
+
})[] | undefined;
|
|
5705
|
+
};
|
|
5706
|
+
} & {
|
|
5707
|
+
label?: string | undefined;
|
|
5708
|
+
direction?: string | undefined;
|
|
5709
|
+
}))[];
|
|
5710
|
+
};
|
|
5711
|
+
}[];
|
|
5712
|
+
}[];
|
|
4424
5713
|
} | {
|
|
4425
5714
|
__TYPE__: "RepeatableContent";
|
|
4426
5715
|
type: "Link";
|
|
@@ -4786,7 +6075,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4786
6075
|
label?: string | null | undefined;
|
|
4787
6076
|
direction?: string | null | undefined;
|
|
4788
6077
|
}) | ({
|
|
4789
|
-
type: "
|
|
6078
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
4790
6079
|
content: {
|
|
4791
6080
|
text: string;
|
|
4792
6081
|
} & {
|
|
@@ -4849,50 +6138,212 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4849
6138
|
} | {
|
|
4850
6139
|
__TYPE__: "SeparatorContent";
|
|
4851
6140
|
} | {
|
|
4852
|
-
__TYPE__: "
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
6141
|
+
__TYPE__: "TableContent";
|
|
6142
|
+
content: {
|
|
6143
|
+
type: "tableRow";
|
|
6144
|
+
content: {
|
|
6145
|
+
type: "tableCell" | "tableHeader";
|
|
6146
|
+
content: {
|
|
6147
|
+
__TYPE__: "StructuredTextContent";
|
|
6148
|
+
value: (({
|
|
6149
|
+
type: "image";
|
|
6150
|
+
data: {
|
|
6151
|
+
origin: {
|
|
6152
|
+
id: string;
|
|
6153
|
+
url: string;
|
|
6154
|
+
width: number;
|
|
6155
|
+
height: number;
|
|
6156
|
+
};
|
|
6157
|
+
width: number;
|
|
6158
|
+
height: number;
|
|
6159
|
+
edit: {
|
|
6160
|
+
zoom: number;
|
|
6161
|
+
crop: {
|
|
6162
|
+
x: number;
|
|
6163
|
+
y: number;
|
|
6164
|
+
};
|
|
6165
|
+
background: string;
|
|
6166
|
+
};
|
|
6167
|
+
} & {
|
|
6168
|
+
url?: string | undefined;
|
|
6169
|
+
credits?: string | null | undefined;
|
|
6170
|
+
alt?: string | null | undefined;
|
|
6171
|
+
provider?: string | null | undefined;
|
|
6172
|
+
} & {
|
|
6173
|
+
linkTo?: ({
|
|
6174
|
+
__TYPE__: "ImageLink";
|
|
6175
|
+
} & {
|
|
6176
|
+
kind: "image";
|
|
6177
|
+
id: string;
|
|
6178
|
+
url: string;
|
|
6179
|
+
height: string;
|
|
6180
|
+
width: string;
|
|
6181
|
+
size: string;
|
|
6182
|
+
name: string;
|
|
6183
|
+
} & {
|
|
6184
|
+
date?: string | null | undefined;
|
|
6185
|
+
}) | ({
|
|
6186
|
+
__TYPE__: "FileLink";
|
|
6187
|
+
} & {
|
|
6188
|
+
kind: "file";
|
|
6189
|
+
id: string;
|
|
6190
|
+
url: string;
|
|
6191
|
+
name: string;
|
|
6192
|
+
size: string;
|
|
6193
|
+
} & {
|
|
6194
|
+
date?: string | null | undefined;
|
|
6195
|
+
}) | ({
|
|
6196
|
+
__TYPE__: "DocumentLink";
|
|
6197
|
+
} & {
|
|
6198
|
+
id: string;
|
|
6199
|
+
}) | ({
|
|
6200
|
+
__TYPE__: "ExternalLink";
|
|
6201
|
+
} & {
|
|
6202
|
+
url: string;
|
|
6203
|
+
} & {
|
|
6204
|
+
kind?: "web" | undefined;
|
|
6205
|
+
target?: string | null | undefined;
|
|
6206
|
+
preview?: {
|
|
6207
|
+
title?: string | undefined;
|
|
6208
|
+
} | null | undefined;
|
|
6209
|
+
}) | null | undefined;
|
|
6210
|
+
};
|
|
6211
|
+
} & {
|
|
6212
|
+
label?: string | null | undefined;
|
|
6213
|
+
direction?: string | null | undefined;
|
|
6214
|
+
}) | ({
|
|
6215
|
+
type: "embed";
|
|
6216
|
+
data: {
|
|
6217
|
+
embed_url: string;
|
|
6218
|
+
type: string;
|
|
6219
|
+
} & {
|
|
6220
|
+
version?: string | number | null | undefined;
|
|
6221
|
+
title?: string | null | undefined;
|
|
6222
|
+
author_name?: string | null | undefined;
|
|
6223
|
+
author_url?: string | null | undefined;
|
|
6224
|
+
provider_name?: string | null | undefined;
|
|
6225
|
+
provider_url?: string | null | undefined;
|
|
6226
|
+
cache_age?: string | number | null | undefined;
|
|
6227
|
+
thumbnail_url?: string | null | undefined;
|
|
6228
|
+
thumbnail_width?: number | null | undefined;
|
|
6229
|
+
thumbnail_height?: number | null | undefined;
|
|
6230
|
+
html?: string | null | undefined;
|
|
6231
|
+
} & {
|
|
6232
|
+
__TYPE__: "EmbedContent";
|
|
6233
|
+
all: unknown;
|
|
6234
|
+
};
|
|
6235
|
+
} & {
|
|
6236
|
+
label?: string | null | undefined;
|
|
6237
|
+
direction?: string | null | undefined;
|
|
6238
|
+
}) | ({
|
|
6239
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
6240
|
+
content: {
|
|
6241
|
+
text: string;
|
|
6242
|
+
} & {
|
|
6243
|
+
spans?: ({
|
|
6244
|
+
data: ({
|
|
6245
|
+
__TYPE__: "ImageLink";
|
|
6246
|
+
} & {
|
|
6247
|
+
kind: "image";
|
|
6248
|
+
id: string;
|
|
6249
|
+
url: string;
|
|
6250
|
+
height: string;
|
|
6251
|
+
width: string;
|
|
6252
|
+
size: string;
|
|
6253
|
+
name: string;
|
|
6254
|
+
} & {
|
|
6255
|
+
date?: string | null | undefined;
|
|
6256
|
+
}) | ({
|
|
6257
|
+
__TYPE__: "FileLink";
|
|
6258
|
+
} & {
|
|
6259
|
+
kind: "file";
|
|
6260
|
+
id: string;
|
|
6261
|
+
url: string;
|
|
6262
|
+
name: string;
|
|
6263
|
+
size: string;
|
|
6264
|
+
} & {
|
|
6265
|
+
date?: string | null | undefined;
|
|
6266
|
+
}) | ({
|
|
6267
|
+
__TYPE__: "DocumentLink";
|
|
6268
|
+
} & {
|
|
6269
|
+
id: string;
|
|
6270
|
+
}) | ({
|
|
6271
|
+
__TYPE__: "ExternalLink";
|
|
6272
|
+
} & {
|
|
6273
|
+
url: string;
|
|
6274
|
+
} & {
|
|
6275
|
+
kind?: "web" | undefined;
|
|
6276
|
+
target?: string | null | undefined;
|
|
6277
|
+
preview?: {
|
|
6278
|
+
title?: string | undefined;
|
|
6279
|
+
} | null | undefined;
|
|
6280
|
+
});
|
|
6281
|
+
start: number;
|
|
6282
|
+
end: number;
|
|
6283
|
+
type: "hyperlink";
|
|
6284
|
+
} | {
|
|
6285
|
+
data: string;
|
|
6286
|
+
start: number;
|
|
6287
|
+
end: number;
|
|
6288
|
+
type: "label";
|
|
6289
|
+
} | {
|
|
6290
|
+
start: number;
|
|
6291
|
+
end: number;
|
|
6292
|
+
type: "strong" | "em" | "list-item";
|
|
6293
|
+
})[] | undefined;
|
|
6294
|
+
};
|
|
6295
|
+
} & {
|
|
6296
|
+
label?: string | undefined;
|
|
6297
|
+
direction?: string | undefined;
|
|
6298
|
+
}))[];
|
|
6299
|
+
};
|
|
6300
|
+
}[];
|
|
6301
|
+
}[];
|
|
6302
|
+
} | {
|
|
6303
|
+
__TYPE__: "RepeatableContent";
|
|
6304
|
+
type: "Link";
|
|
6305
|
+
value: ({
|
|
6306
|
+
key: string;
|
|
6307
|
+
} & {
|
|
6308
|
+
__TYPE__: "LinkContent";
|
|
6309
|
+
value: ({
|
|
6310
|
+
__TYPE__: "ImageLink";
|
|
6311
|
+
} & ((({
|
|
6312
|
+
kind: "image";
|
|
6313
|
+
id: string;
|
|
6314
|
+
url: string;
|
|
6315
|
+
height: string;
|
|
6316
|
+
width: string;
|
|
6317
|
+
size: string;
|
|
6318
|
+
name: string;
|
|
6319
|
+
} & {
|
|
6320
|
+
date?: string | null | undefined;
|
|
6321
|
+
}) | {
|
|
6322
|
+
kind: "image";
|
|
6323
|
+
}) & {
|
|
6324
|
+
text?: string | undefined;
|
|
6325
|
+
variant?: string | undefined;
|
|
6326
|
+
})) | ({
|
|
6327
|
+
__TYPE__: "FileLink";
|
|
6328
|
+
} & ((({
|
|
6329
|
+
kind: "file";
|
|
6330
|
+
id: string;
|
|
6331
|
+
url: string;
|
|
6332
|
+
name: string;
|
|
6333
|
+
size: string;
|
|
6334
|
+
} & {
|
|
6335
|
+
date?: string | null | undefined;
|
|
6336
|
+
}) | {
|
|
6337
|
+
kind: "file";
|
|
6338
|
+
}) & {
|
|
6339
|
+
text?: string | undefined;
|
|
6340
|
+
variant?: string | undefined;
|
|
6341
|
+
})) | ({
|
|
6342
|
+
__TYPE__: "DocumentLink";
|
|
6343
|
+
} & (({
|
|
6344
|
+
id: string;
|
|
6345
|
+
} | {
|
|
6346
|
+
kind: "document";
|
|
4896
6347
|
}) & {
|
|
4897
6348
|
text?: string | undefined;
|
|
4898
6349
|
variant?: string | undefined;
|
|
@@ -5211,7 +6662,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5211
6662
|
label?: string | null | undefined;
|
|
5212
6663
|
direction?: string | null | undefined;
|
|
5213
6664
|
}) | ({
|
|
5214
|
-
type: "
|
|
6665
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5215
6666
|
content: {
|
|
5216
6667
|
text: string;
|
|
5217
6668
|
} & {
|
|
@@ -5273,6 +6724,168 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5273
6724
|
}))[];
|
|
5274
6725
|
} | {
|
|
5275
6726
|
__TYPE__: "SeparatorContent";
|
|
6727
|
+
} | {
|
|
6728
|
+
__TYPE__: "TableContent";
|
|
6729
|
+
content: {
|
|
6730
|
+
type: "tableRow";
|
|
6731
|
+
content: {
|
|
6732
|
+
type: "tableCell" | "tableHeader";
|
|
6733
|
+
content: {
|
|
6734
|
+
__TYPE__: "StructuredTextContent";
|
|
6735
|
+
value: (({
|
|
6736
|
+
type: "image";
|
|
6737
|
+
data: {
|
|
6738
|
+
origin: {
|
|
6739
|
+
id: string;
|
|
6740
|
+
url: string;
|
|
6741
|
+
width: number;
|
|
6742
|
+
height: number;
|
|
6743
|
+
};
|
|
6744
|
+
width: number;
|
|
6745
|
+
height: number;
|
|
6746
|
+
edit: {
|
|
6747
|
+
zoom: number;
|
|
6748
|
+
crop: {
|
|
6749
|
+
x: number;
|
|
6750
|
+
y: number;
|
|
6751
|
+
};
|
|
6752
|
+
background: string;
|
|
6753
|
+
};
|
|
6754
|
+
} & {
|
|
6755
|
+
url?: string | undefined;
|
|
6756
|
+
credits?: string | null | undefined;
|
|
6757
|
+
alt?: string | null | undefined;
|
|
6758
|
+
provider?: string | null | undefined;
|
|
6759
|
+
} & {
|
|
6760
|
+
linkTo?: ({
|
|
6761
|
+
__TYPE__: "ImageLink";
|
|
6762
|
+
} & {
|
|
6763
|
+
kind: "image";
|
|
6764
|
+
id: string;
|
|
6765
|
+
url: string;
|
|
6766
|
+
height: string;
|
|
6767
|
+
width: string;
|
|
6768
|
+
size: string;
|
|
6769
|
+
name: string;
|
|
6770
|
+
} & {
|
|
6771
|
+
date?: string | null | undefined;
|
|
6772
|
+
}) | ({
|
|
6773
|
+
__TYPE__: "FileLink";
|
|
6774
|
+
} & {
|
|
6775
|
+
kind: "file";
|
|
6776
|
+
id: string;
|
|
6777
|
+
url: string;
|
|
6778
|
+
name: string;
|
|
6779
|
+
size: string;
|
|
6780
|
+
} & {
|
|
6781
|
+
date?: string | null | undefined;
|
|
6782
|
+
}) | ({
|
|
6783
|
+
__TYPE__: "DocumentLink";
|
|
6784
|
+
} & {
|
|
6785
|
+
id: string;
|
|
6786
|
+
}) | ({
|
|
6787
|
+
__TYPE__: "ExternalLink";
|
|
6788
|
+
} & {
|
|
6789
|
+
url: string;
|
|
6790
|
+
} & {
|
|
6791
|
+
kind?: "web" | undefined;
|
|
6792
|
+
target?: string | null | undefined;
|
|
6793
|
+
preview?: {
|
|
6794
|
+
title?: string | undefined;
|
|
6795
|
+
} | null | undefined;
|
|
6796
|
+
}) | null | undefined;
|
|
6797
|
+
};
|
|
6798
|
+
} & {
|
|
6799
|
+
label?: string | null | undefined;
|
|
6800
|
+
direction?: string | null | undefined;
|
|
6801
|
+
}) | ({
|
|
6802
|
+
type: "embed";
|
|
6803
|
+
data: {
|
|
6804
|
+
embed_url: string;
|
|
6805
|
+
type: string;
|
|
6806
|
+
} & {
|
|
6807
|
+
version?: string | number | null | undefined;
|
|
6808
|
+
title?: string | null | undefined;
|
|
6809
|
+
author_name?: string | null | undefined;
|
|
6810
|
+
author_url?: string | null | undefined;
|
|
6811
|
+
provider_name?: string | null | undefined;
|
|
6812
|
+
provider_url?: string | null | undefined;
|
|
6813
|
+
cache_age?: string | number | null | undefined;
|
|
6814
|
+
thumbnail_url?: string | null | undefined;
|
|
6815
|
+
thumbnail_width?: number | null | undefined;
|
|
6816
|
+
thumbnail_height?: number | null | undefined;
|
|
6817
|
+
html?: string | null | undefined;
|
|
6818
|
+
} & {
|
|
6819
|
+
__TYPE__: "EmbedContent";
|
|
6820
|
+
all: unknown;
|
|
6821
|
+
};
|
|
6822
|
+
} & {
|
|
6823
|
+
label?: string | null | undefined;
|
|
6824
|
+
direction?: string | null | undefined;
|
|
6825
|
+
}) | ({
|
|
6826
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
6827
|
+
content: {
|
|
6828
|
+
text: string;
|
|
6829
|
+
} & {
|
|
6830
|
+
spans?: ({
|
|
6831
|
+
data: ({
|
|
6832
|
+
__TYPE__: "ImageLink";
|
|
6833
|
+
} & {
|
|
6834
|
+
kind: "image";
|
|
6835
|
+
id: string;
|
|
6836
|
+
url: string;
|
|
6837
|
+
height: string;
|
|
6838
|
+
width: string;
|
|
6839
|
+
size: string;
|
|
6840
|
+
name: string;
|
|
6841
|
+
} & {
|
|
6842
|
+
date?: string | null | undefined;
|
|
6843
|
+
}) | ({
|
|
6844
|
+
__TYPE__: "FileLink";
|
|
6845
|
+
} & {
|
|
6846
|
+
kind: "file";
|
|
6847
|
+
id: string;
|
|
6848
|
+
url: string;
|
|
6849
|
+
name: string;
|
|
6850
|
+
size: string;
|
|
6851
|
+
} & {
|
|
6852
|
+
date?: string | null | undefined;
|
|
6853
|
+
}) | ({
|
|
6854
|
+
__TYPE__: "DocumentLink";
|
|
6855
|
+
} & {
|
|
6856
|
+
id: string;
|
|
6857
|
+
}) | ({
|
|
6858
|
+
__TYPE__: "ExternalLink";
|
|
6859
|
+
} & {
|
|
6860
|
+
url: string;
|
|
6861
|
+
} & {
|
|
6862
|
+
kind?: "web" | undefined;
|
|
6863
|
+
target?: string | null | undefined;
|
|
6864
|
+
preview?: {
|
|
6865
|
+
title?: string | undefined;
|
|
6866
|
+
} | null | undefined;
|
|
6867
|
+
});
|
|
6868
|
+
start: number;
|
|
6869
|
+
end: number;
|
|
6870
|
+
type: "hyperlink";
|
|
6871
|
+
} | {
|
|
6872
|
+
data: string;
|
|
6873
|
+
start: number;
|
|
6874
|
+
end: number;
|
|
6875
|
+
type: "label";
|
|
6876
|
+
} | {
|
|
6877
|
+
start: number;
|
|
6878
|
+
end: number;
|
|
6879
|
+
type: "strong" | "em" | "list-item";
|
|
6880
|
+
})[] | undefined;
|
|
6881
|
+
};
|
|
6882
|
+
} & {
|
|
6883
|
+
label?: string | undefined;
|
|
6884
|
+
direction?: string | undefined;
|
|
6885
|
+
}))[];
|
|
6886
|
+
};
|
|
6887
|
+
}[];
|
|
6888
|
+
}[];
|
|
5276
6889
|
} | {
|
|
5277
6890
|
__TYPE__: "RepeatableContent";
|
|
5278
6891
|
type: "Link";
|
|
@@ -5634,7 +7247,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5634
7247
|
label?: string | null | undefined;
|
|
5635
7248
|
direction?: string | null | undefined;
|
|
5636
7249
|
}) | ({
|
|
5637
|
-
type: "
|
|
7250
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5638
7251
|
content: {
|
|
5639
7252
|
text: string;
|
|
5640
7253
|
} & {
|
|
@@ -5696,6 +7309,168 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5696
7309
|
}))[];
|
|
5697
7310
|
} | {
|
|
5698
7311
|
__TYPE__: "SeparatorContent";
|
|
7312
|
+
} | {
|
|
7313
|
+
__TYPE__: "TableContent";
|
|
7314
|
+
content: {
|
|
7315
|
+
type: "tableRow";
|
|
7316
|
+
content: {
|
|
7317
|
+
type: "tableCell" | "tableHeader";
|
|
7318
|
+
content: {
|
|
7319
|
+
__TYPE__: "StructuredTextContent";
|
|
7320
|
+
value: (({
|
|
7321
|
+
type: "image";
|
|
7322
|
+
data: {
|
|
7323
|
+
origin: {
|
|
7324
|
+
id: string;
|
|
7325
|
+
url: string;
|
|
7326
|
+
width: number;
|
|
7327
|
+
height: number;
|
|
7328
|
+
};
|
|
7329
|
+
width: number;
|
|
7330
|
+
height: number;
|
|
7331
|
+
edit: {
|
|
7332
|
+
zoom: number;
|
|
7333
|
+
crop: {
|
|
7334
|
+
x: number;
|
|
7335
|
+
y: number;
|
|
7336
|
+
};
|
|
7337
|
+
background: string;
|
|
7338
|
+
};
|
|
7339
|
+
} & {
|
|
7340
|
+
url?: string | undefined;
|
|
7341
|
+
credits?: string | null | undefined;
|
|
7342
|
+
alt?: string | null | undefined;
|
|
7343
|
+
provider?: string | null | undefined;
|
|
7344
|
+
} & {
|
|
7345
|
+
linkTo?: ({
|
|
7346
|
+
__TYPE__: "ImageLink";
|
|
7347
|
+
} & {
|
|
7348
|
+
kind: "image";
|
|
7349
|
+
id: string;
|
|
7350
|
+
url: string;
|
|
7351
|
+
height: string;
|
|
7352
|
+
width: string;
|
|
7353
|
+
size: string;
|
|
7354
|
+
name: string;
|
|
7355
|
+
} & {
|
|
7356
|
+
date?: string | null | undefined;
|
|
7357
|
+
}) | ({
|
|
7358
|
+
__TYPE__: "FileLink";
|
|
7359
|
+
} & {
|
|
7360
|
+
kind: "file";
|
|
7361
|
+
id: string;
|
|
7362
|
+
url: string;
|
|
7363
|
+
name: string;
|
|
7364
|
+
size: string;
|
|
7365
|
+
} & {
|
|
7366
|
+
date?: string | null | undefined;
|
|
7367
|
+
}) | ({
|
|
7368
|
+
__TYPE__: "DocumentLink";
|
|
7369
|
+
} & {
|
|
7370
|
+
id: string;
|
|
7371
|
+
}) | ({
|
|
7372
|
+
__TYPE__: "ExternalLink";
|
|
7373
|
+
} & {
|
|
7374
|
+
url: string;
|
|
7375
|
+
} & {
|
|
7376
|
+
kind?: "web" | undefined;
|
|
7377
|
+
target?: string | null | undefined;
|
|
7378
|
+
preview?: {
|
|
7379
|
+
title?: string | undefined;
|
|
7380
|
+
} | null | undefined;
|
|
7381
|
+
}) | null | undefined;
|
|
7382
|
+
};
|
|
7383
|
+
} & {
|
|
7384
|
+
label?: string | null | undefined;
|
|
7385
|
+
direction?: string | null | undefined;
|
|
7386
|
+
}) | ({
|
|
7387
|
+
type: "embed";
|
|
7388
|
+
data: {
|
|
7389
|
+
embed_url: string;
|
|
7390
|
+
type: string;
|
|
7391
|
+
} & {
|
|
7392
|
+
version?: string | number | null | undefined;
|
|
7393
|
+
title?: string | null | undefined;
|
|
7394
|
+
author_name?: string | null | undefined;
|
|
7395
|
+
author_url?: string | null | undefined;
|
|
7396
|
+
provider_name?: string | null | undefined;
|
|
7397
|
+
provider_url?: string | null | undefined;
|
|
7398
|
+
cache_age?: string | number | null | undefined;
|
|
7399
|
+
thumbnail_url?: string | null | undefined;
|
|
7400
|
+
thumbnail_width?: number | null | undefined;
|
|
7401
|
+
thumbnail_height?: number | null | undefined;
|
|
7402
|
+
html?: string | null | undefined;
|
|
7403
|
+
} & {
|
|
7404
|
+
__TYPE__: "EmbedContent";
|
|
7405
|
+
all: unknown;
|
|
7406
|
+
};
|
|
7407
|
+
} & {
|
|
7408
|
+
label?: string | null | undefined;
|
|
7409
|
+
direction?: string | null | undefined;
|
|
7410
|
+
}) | ({
|
|
7411
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
7412
|
+
content: {
|
|
7413
|
+
text: string;
|
|
7414
|
+
} & {
|
|
7415
|
+
spans?: ({
|
|
7416
|
+
data: ({
|
|
7417
|
+
__TYPE__: "ImageLink";
|
|
7418
|
+
} & {
|
|
7419
|
+
kind: "image";
|
|
7420
|
+
id: string;
|
|
7421
|
+
url: string;
|
|
7422
|
+
height: string;
|
|
7423
|
+
width: string;
|
|
7424
|
+
size: string;
|
|
7425
|
+
name: string;
|
|
7426
|
+
} & {
|
|
7427
|
+
date?: string | null | undefined;
|
|
7428
|
+
}) | ({
|
|
7429
|
+
__TYPE__: "FileLink";
|
|
7430
|
+
} & {
|
|
7431
|
+
kind: "file";
|
|
7432
|
+
id: string;
|
|
7433
|
+
url: string;
|
|
7434
|
+
name: string;
|
|
7435
|
+
size: string;
|
|
7436
|
+
} & {
|
|
7437
|
+
date?: string | null | undefined;
|
|
7438
|
+
}) | ({
|
|
7439
|
+
__TYPE__: "DocumentLink";
|
|
7440
|
+
} & {
|
|
7441
|
+
id: string;
|
|
7442
|
+
}) | ({
|
|
7443
|
+
__TYPE__: "ExternalLink";
|
|
7444
|
+
} & {
|
|
7445
|
+
url: string;
|
|
7446
|
+
} & {
|
|
7447
|
+
kind?: "web" | undefined;
|
|
7448
|
+
target?: string | null | undefined;
|
|
7449
|
+
preview?: {
|
|
7450
|
+
title?: string | undefined;
|
|
7451
|
+
} | null | undefined;
|
|
7452
|
+
});
|
|
7453
|
+
start: number;
|
|
7454
|
+
end: number;
|
|
7455
|
+
type: "hyperlink";
|
|
7456
|
+
} | {
|
|
7457
|
+
data: string;
|
|
7458
|
+
start: number;
|
|
7459
|
+
end: number;
|
|
7460
|
+
type: "label";
|
|
7461
|
+
} | {
|
|
7462
|
+
start: number;
|
|
7463
|
+
end: number;
|
|
7464
|
+
type: "strong" | "em" | "list-item";
|
|
7465
|
+
})[] | undefined;
|
|
7466
|
+
};
|
|
7467
|
+
} & {
|
|
7468
|
+
label?: string | undefined;
|
|
7469
|
+
direction?: string | undefined;
|
|
7470
|
+
}))[];
|
|
7471
|
+
};
|
|
7472
|
+
}[];
|
|
7473
|
+
}[];
|
|
5699
7474
|
} | {
|
|
5700
7475
|
__TYPE__: "RepeatableContent";
|
|
5701
7476
|
type: "Link";
|
|
@@ -5790,4 +7565,200 @@ export declare const documentKeys: {
|
|
|
5790
7565
|
type UpdateDocumentFunction = (document: DocumentMeta, page: GetDocumentListSchema) => DocumentMeta | undefined;
|
|
5791
7566
|
export declare function updateDocumentListData(queryClient: QueryClient, updateFunction: UpdateDocumentFunction): void;
|
|
5792
7567
|
export declare function invalidateDocumentListData(queryClient: QueryClient): Promise<void>;
|
|
7568
|
+
export declare function useDocumentList(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
|
|
7569
|
+
total: number;
|
|
7570
|
+
results: {
|
|
7571
|
+
id: string;
|
|
7572
|
+
title: string;
|
|
7573
|
+
custom_type_id: string;
|
|
7574
|
+
group_lang_id: string;
|
|
7575
|
+
language: {
|
|
7576
|
+
isMaster?: boolean | undefined;
|
|
7577
|
+
id: string;
|
|
7578
|
+
label: string;
|
|
7579
|
+
};
|
|
7580
|
+
versions: (({
|
|
7581
|
+
status: "unclassified";
|
|
7582
|
+
} | {
|
|
7583
|
+
status: "published";
|
|
7584
|
+
} | {
|
|
7585
|
+
status: "release";
|
|
7586
|
+
release_id: string;
|
|
7587
|
+
} | {
|
|
7588
|
+
status: "archived";
|
|
7589
|
+
}) & {
|
|
7590
|
+
version_id: string;
|
|
7591
|
+
tags: string[];
|
|
7592
|
+
last_modified_date: Date;
|
|
7593
|
+
custom_type_label: string;
|
|
7594
|
+
author: {
|
|
7595
|
+
first_name?: string | undefined;
|
|
7596
|
+
last_name?: string | undefined;
|
|
7597
|
+
email?: string | undefined;
|
|
7598
|
+
uploadedAvatar?: string | undefined;
|
|
7599
|
+
};
|
|
7600
|
+
preview_image?: string | undefined;
|
|
7601
|
+
uid?: string | undefined;
|
|
7602
|
+
preview_summary?: string | undefined;
|
|
7603
|
+
})[];
|
|
7604
|
+
}[];
|
|
7605
|
+
cursor?: string | undefined;
|
|
7606
|
+
}, Error>;
|
|
7607
|
+
export declare function getDocumentListOptions(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
|
|
7608
|
+
total: number;
|
|
7609
|
+
results: {
|
|
7610
|
+
id: string;
|
|
7611
|
+
title: string;
|
|
7612
|
+
custom_type_id: string;
|
|
7613
|
+
group_lang_id: string;
|
|
7614
|
+
language: {
|
|
7615
|
+
isMaster?: boolean | undefined;
|
|
7616
|
+
id: string;
|
|
7617
|
+
label: string;
|
|
7618
|
+
};
|
|
7619
|
+
versions: (({
|
|
7620
|
+
status: "unclassified";
|
|
7621
|
+
} | {
|
|
7622
|
+
status: "published";
|
|
7623
|
+
} | {
|
|
7624
|
+
status: "release";
|
|
7625
|
+
release_id: string;
|
|
7626
|
+
} | {
|
|
7627
|
+
status: "archived";
|
|
7628
|
+
}) & {
|
|
7629
|
+
version_id: string;
|
|
7630
|
+
tags: string[];
|
|
7631
|
+
last_modified_date: Date;
|
|
7632
|
+
custom_type_label: string;
|
|
7633
|
+
author: {
|
|
7634
|
+
first_name?: string | undefined;
|
|
7635
|
+
last_name?: string | undefined;
|
|
7636
|
+
email?: string | undefined;
|
|
7637
|
+
uploadedAvatar?: string | undefined;
|
|
7638
|
+
};
|
|
7639
|
+
preview_image?: string | undefined;
|
|
7640
|
+
uid?: string | undefined;
|
|
7641
|
+
preview_summary?: string | undefined;
|
|
7642
|
+
})[];
|
|
7643
|
+
}[];
|
|
7644
|
+
cursor?: string | undefined;
|
|
7645
|
+
}, Error, {
|
|
7646
|
+
total: number;
|
|
7647
|
+
results: {
|
|
7648
|
+
id: string;
|
|
7649
|
+
title: string;
|
|
7650
|
+
custom_type_id: string;
|
|
7651
|
+
group_lang_id: string;
|
|
7652
|
+
language: {
|
|
7653
|
+
isMaster?: boolean | undefined;
|
|
7654
|
+
id: string;
|
|
7655
|
+
label: string;
|
|
7656
|
+
};
|
|
7657
|
+
versions: (({
|
|
7658
|
+
status: "unclassified";
|
|
7659
|
+
} | {
|
|
7660
|
+
status: "published";
|
|
7661
|
+
} | {
|
|
7662
|
+
status: "release";
|
|
7663
|
+
release_id: string;
|
|
7664
|
+
} | {
|
|
7665
|
+
status: "archived";
|
|
7666
|
+
}) & {
|
|
7667
|
+
version_id: string;
|
|
7668
|
+
tags: string[];
|
|
7669
|
+
last_modified_date: Date;
|
|
7670
|
+
custom_type_label: string;
|
|
7671
|
+
author: {
|
|
7672
|
+
first_name?: string | undefined;
|
|
7673
|
+
last_name?: string | undefined;
|
|
7674
|
+
email?: string | undefined;
|
|
7675
|
+
uploadedAvatar?: string | undefined;
|
|
7676
|
+
};
|
|
7677
|
+
preview_image?: string | undefined;
|
|
7678
|
+
uid?: string | undefined;
|
|
7679
|
+
preview_summary?: string | undefined;
|
|
7680
|
+
})[];
|
|
7681
|
+
}[];
|
|
7682
|
+
cursor?: string | undefined;
|
|
7683
|
+
}, readonly ["documents", "list", GetDocumentListArgs]> & {
|
|
7684
|
+
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
7685
|
+
total: number;
|
|
7686
|
+
results: {
|
|
7687
|
+
id: string;
|
|
7688
|
+
title: string;
|
|
7689
|
+
custom_type_id: string;
|
|
7690
|
+
group_lang_id: string;
|
|
7691
|
+
language: {
|
|
7692
|
+
isMaster?: boolean | undefined;
|
|
7693
|
+
id: string;
|
|
7694
|
+
label: string;
|
|
7695
|
+
};
|
|
7696
|
+
versions: (({
|
|
7697
|
+
status: "unclassified";
|
|
7698
|
+
} | {
|
|
7699
|
+
status: "published";
|
|
7700
|
+
} | {
|
|
7701
|
+
status: "release";
|
|
7702
|
+
release_id: string;
|
|
7703
|
+
} | {
|
|
7704
|
+
status: "archived";
|
|
7705
|
+
}) & {
|
|
7706
|
+
version_id: string;
|
|
7707
|
+
tags: string[];
|
|
7708
|
+
last_modified_date: Date;
|
|
7709
|
+
custom_type_label: string;
|
|
7710
|
+
author: {
|
|
7711
|
+
first_name?: string | undefined;
|
|
7712
|
+
last_name?: string | undefined;
|
|
7713
|
+
email?: string | undefined;
|
|
7714
|
+
uploadedAvatar?: string | undefined;
|
|
7715
|
+
};
|
|
7716
|
+
preview_image?: string | undefined;
|
|
7717
|
+
uid?: string | undefined;
|
|
7718
|
+
preview_summary?: string | undefined;
|
|
7719
|
+
})[];
|
|
7720
|
+
}[];
|
|
7721
|
+
cursor?: string | undefined;
|
|
7722
|
+
}> | undefined;
|
|
7723
|
+
} & {
|
|
7724
|
+
queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<readonly ["documents", "list", GetDocumentListArgs], {
|
|
7725
|
+
total: number;
|
|
7726
|
+
results: {
|
|
7727
|
+
id: string;
|
|
7728
|
+
title: string;
|
|
7729
|
+
custom_type_id: string;
|
|
7730
|
+
group_lang_id: string;
|
|
7731
|
+
language: {
|
|
7732
|
+
isMaster?: boolean | undefined;
|
|
7733
|
+
id: string;
|
|
7734
|
+
label: string;
|
|
7735
|
+
};
|
|
7736
|
+
versions: (({
|
|
7737
|
+
status: "unclassified";
|
|
7738
|
+
} | {
|
|
7739
|
+
status: "published";
|
|
7740
|
+
} | {
|
|
7741
|
+
status: "release";
|
|
7742
|
+
release_id: string;
|
|
7743
|
+
} | {
|
|
7744
|
+
status: "archived";
|
|
7745
|
+
}) & {
|
|
7746
|
+
version_id: string;
|
|
7747
|
+
tags: string[];
|
|
7748
|
+
last_modified_date: Date;
|
|
7749
|
+
custom_type_label: string;
|
|
7750
|
+
author: {
|
|
7751
|
+
first_name?: string | undefined;
|
|
7752
|
+
last_name?: string | undefined;
|
|
7753
|
+
email?: string | undefined;
|
|
7754
|
+
uploadedAvatar?: string | undefined;
|
|
7755
|
+
};
|
|
7756
|
+
preview_image?: string | undefined;
|
|
7757
|
+
uid?: string | undefined;
|
|
7758
|
+
preview_summary?: string | undefined;
|
|
7759
|
+
})[];
|
|
7760
|
+
}[];
|
|
7761
|
+
cursor?: string | undefined;
|
|
7762
|
+
}>;
|
|
7763
|
+
};
|
|
5793
7764
|
export {};
|