@prismicio/editor-fields 0.4.62-alpha.jp-table-render-default-layout.0 → 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/hooks/mediaLibraryData.d.ts +45 -45
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +5 -5
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +5 -5
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
- package/dist/core/service/customType.d.ts +18 -18
- package/dist/core/service/document.d.ts +1323 -870
- package/dist/core/service/documentSearch.d.ts +15 -15
- package/dist/core/service/role.d.ts +0 -1
- package/dist/fields/ImageField/useImageField.d.ts +5 -5
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +5 -5
- package/dist/fields/LinkField/Documents/documentsData.d.ts +6 -6
- package/dist/fields/RichTextField/RichTextField.d.ts +4 -5
- package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +5 -5
- package/dist/fields/RichTextField/models/helpers/NodeUtils.d.ts +1 -1
- package/dist/fields/RichTextField/types.d.ts +9 -5
- package/dist/index.cjs.js +53 -53
- package/dist/index.es.js +12425 -12360
- package/dist/slices/utils.d.ts +94 -70
- package/package.json +5 -5
|
@@ -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
|
} & {
|
|
@@ -1434,78 +1434,102 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1434
1434
|
__TYPE__: "TableContent";
|
|
1435
1435
|
content: {
|
|
1436
1436
|
type: "tableRow";
|
|
1437
|
-
content:
|
|
1438
|
-
type: "tableHeader";
|
|
1437
|
+
content: {
|
|
1438
|
+
type: "tableCell" | "tableHeader";
|
|
1439
1439
|
content: {
|
|
1440
1440
|
__TYPE__: "StructuredTextContent";
|
|
1441
|
-
value: ({
|
|
1442
|
-
type: "image"
|
|
1443
|
-
|
|
1444
|
-
|
|
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
|
+
};
|
|
1445
1460
|
} & {
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
} |
|
|
1488
|
-
data: string;
|
|
1489
|
-
start: number;
|
|
1490
|
-
end: number;
|
|
1491
|
-
type: "label";
|
|
1492
|
-
} | {
|
|
1493
|
-
start: number;
|
|
1494
|
-
end: number;
|
|
1495
|
-
type: "strong" | "em" | "list-item";
|
|
1496
|
-
})[] | undefined;
|
|
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;
|
|
1497
1503
|
};
|
|
1498
1504
|
} & {
|
|
1499
|
-
label?: string | undefined;
|
|
1500
|
-
direction?: string | undefined;
|
|
1501
|
-
})
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
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";
|
|
1509
1533
|
content: {
|
|
1510
1534
|
text: string;
|
|
1511
1535
|
} & {
|
|
@@ -1564,9 +1588,9 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1564
1588
|
} & {
|
|
1565
1589
|
label?: string | undefined;
|
|
1566
1590
|
direction?: string | undefined;
|
|
1567
|
-
})[];
|
|
1591
|
+
}))[];
|
|
1568
1592
|
};
|
|
1569
|
-
}
|
|
1593
|
+
}[];
|
|
1570
1594
|
}[];
|
|
1571
1595
|
} | {
|
|
1572
1596
|
__TYPE__: "RepeatableContent";
|
|
@@ -1939,7 +1963,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1939
1963
|
label?: string | null | undefined;
|
|
1940
1964
|
direction?: string | null | undefined;
|
|
1941
1965
|
}) | ({
|
|
1942
|
-
type: "
|
|
1966
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1943
1967
|
content: {
|
|
1944
1968
|
text: string;
|
|
1945
1969
|
} & {
|
|
@@ -2005,12 +2029,102 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2005
2029
|
__TYPE__: "TableContent";
|
|
2006
2030
|
content: {
|
|
2007
2031
|
type: "tableRow";
|
|
2008
|
-
content:
|
|
2009
|
-
type: "tableHeader";
|
|
2032
|
+
content: {
|
|
2033
|
+
type: "tableCell" | "tableHeader";
|
|
2010
2034
|
content: {
|
|
2011
2035
|
__TYPE__: "StructuredTextContent";
|
|
2012
|
-
value: ({
|
|
2013
|
-
type: "image"
|
|
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";
|
|
2014
2128
|
content: {
|
|
2015
2129
|
text: string;
|
|
2016
2130
|
} & {
|
|
@@ -2069,75 +2183,9 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2069
2183
|
} & {
|
|
2070
2184
|
label?: string | undefined;
|
|
2071
2185
|
direction?: string | undefined;
|
|
2072
|
-
})[];
|
|
2186
|
+
}))[];
|
|
2073
2187
|
};
|
|
2074
|
-
}
|
|
2075
|
-
type: "tableCell";
|
|
2076
|
-
content: {
|
|
2077
|
-
__TYPE__: "StructuredTextContent";
|
|
2078
|
-
value: ({
|
|
2079
|
-
type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2080
|
-
content: {
|
|
2081
|
-
text: string;
|
|
2082
|
-
} & {
|
|
2083
|
-
spans?: ({
|
|
2084
|
-
data: ({
|
|
2085
|
-
__TYPE__: "ImageLink";
|
|
2086
|
-
} & {
|
|
2087
|
-
kind: "image";
|
|
2088
|
-
id: string;
|
|
2089
|
-
url: string;
|
|
2090
|
-
height: string;
|
|
2091
|
-
width: string;
|
|
2092
|
-
size: string;
|
|
2093
|
-
name: string;
|
|
2094
|
-
} & {
|
|
2095
|
-
date?: string | null | undefined;
|
|
2096
|
-
}) | ({
|
|
2097
|
-
__TYPE__: "FileLink";
|
|
2098
|
-
} & {
|
|
2099
|
-
kind: "file";
|
|
2100
|
-
id: string;
|
|
2101
|
-
url: string;
|
|
2102
|
-
name: string;
|
|
2103
|
-
size: string;
|
|
2104
|
-
} & {
|
|
2105
|
-
date?: string | null | undefined;
|
|
2106
|
-
}) | ({
|
|
2107
|
-
__TYPE__: "DocumentLink";
|
|
2108
|
-
} & {
|
|
2109
|
-
id: string;
|
|
2110
|
-
}) | ({
|
|
2111
|
-
__TYPE__: "ExternalLink";
|
|
2112
|
-
} & {
|
|
2113
|
-
url: string;
|
|
2114
|
-
} & {
|
|
2115
|
-
kind?: "web" | undefined;
|
|
2116
|
-
target?: string | null | undefined;
|
|
2117
|
-
preview?: {
|
|
2118
|
-
title?: string | undefined;
|
|
2119
|
-
} | null | undefined;
|
|
2120
|
-
});
|
|
2121
|
-
start: number;
|
|
2122
|
-
end: number;
|
|
2123
|
-
type: "hyperlink";
|
|
2124
|
-
} | {
|
|
2125
|
-
data: string;
|
|
2126
|
-
start: number;
|
|
2127
|
-
end: number;
|
|
2128
|
-
type: "label";
|
|
2129
|
-
} | {
|
|
2130
|
-
start: number;
|
|
2131
|
-
end: number;
|
|
2132
|
-
type: "strong" | "em" | "list-item";
|
|
2133
|
-
})[] | undefined;
|
|
2134
|
-
};
|
|
2135
|
-
} & {
|
|
2136
|
-
label?: string | undefined;
|
|
2137
|
-
direction?: string | undefined;
|
|
2138
|
-
})[];
|
|
2139
|
-
};
|
|
2140
|
-
})[];
|
|
2188
|
+
}[];
|
|
2141
2189
|
}[];
|
|
2142
2190
|
} | {
|
|
2143
2191
|
__TYPE__: "RepeatableContent";
|
|
@@ -2502,7 +2550,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2502
2550
|
label?: string | null | undefined;
|
|
2503
2551
|
direction?: string | null | undefined;
|
|
2504
2552
|
}) | ({
|
|
2505
|
-
type: "
|
|
2553
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2506
2554
|
content: {
|
|
2507
2555
|
text: string;
|
|
2508
2556
|
} & {
|
|
@@ -2568,78 +2616,99 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2568
2616
|
__TYPE__: "TableContent";
|
|
2569
2617
|
content: {
|
|
2570
2618
|
type: "tableRow";
|
|
2571
|
-
content:
|
|
2572
|
-
type: "tableHeader";
|
|
2619
|
+
content: {
|
|
2620
|
+
type: "tableCell" | "tableHeader";
|
|
2573
2621
|
content: {
|
|
2574
2622
|
__TYPE__: "StructuredTextContent";
|
|
2575
|
-
value: ({
|
|
2576
|
-
type: "image"
|
|
2577
|
-
|
|
2578
|
-
|
|
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
|
+
};
|
|
2579
2639
|
} & {
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
} |
|
|
2622
|
-
data: string;
|
|
2623
|
-
start: number;
|
|
2624
|
-
end: number;
|
|
2625
|
-
type: "label";
|
|
2626
|
-
} | {
|
|
2627
|
-
start: number;
|
|
2628
|
-
end: number;
|
|
2629
|
-
type: "strong" | "em" | "list-item";
|
|
2630
|
-
})[] | undefined;
|
|
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;
|
|
2631
2682
|
};
|
|
2632
2683
|
} & {
|
|
2633
|
-
label?: string | undefined;
|
|
2634
|
-
direction?: string | undefined;
|
|
2635
|
-
})
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
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";
|
|
2643
2712
|
content: {
|
|
2644
2713
|
text: string;
|
|
2645
2714
|
} & {
|
|
@@ -2698,9 +2767,9 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2698
2767
|
} & {
|
|
2699
2768
|
label?: string | undefined;
|
|
2700
2769
|
direction?: string | undefined;
|
|
2701
|
-
})[];
|
|
2770
|
+
}))[];
|
|
2702
2771
|
};
|
|
2703
|
-
}
|
|
2772
|
+
}[];
|
|
2704
2773
|
}[];
|
|
2705
2774
|
} | {
|
|
2706
2775
|
__TYPE__: "RepeatableContent";
|
|
@@ -3067,7 +3136,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3067
3136
|
label?: string | null | undefined;
|
|
3068
3137
|
direction?: string | null | undefined;
|
|
3069
3138
|
}) | ({
|
|
3070
|
-
type: "
|
|
3139
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3071
3140
|
content: {
|
|
3072
3141
|
text: string;
|
|
3073
3142
|
} & {
|
|
@@ -3133,78 +3202,102 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3133
3202
|
__TYPE__: "TableContent";
|
|
3134
3203
|
content: {
|
|
3135
3204
|
type: "tableRow";
|
|
3136
|
-
content:
|
|
3137
|
-
type: "tableHeader";
|
|
3205
|
+
content: {
|
|
3206
|
+
type: "tableCell" | "tableHeader";
|
|
3138
3207
|
content: {
|
|
3139
3208
|
__TYPE__: "StructuredTextContent";
|
|
3140
|
-
value: ({
|
|
3141
|
-
type: "image"
|
|
3142
|
-
|
|
3143
|
-
|
|
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
|
+
};
|
|
3144
3228
|
} & {
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
} |
|
|
3187
|
-
data: string;
|
|
3188
|
-
start: number;
|
|
3189
|
-
end: number;
|
|
3190
|
-
type: "label";
|
|
3191
|
-
} | {
|
|
3192
|
-
start: number;
|
|
3193
|
-
end: number;
|
|
3194
|
-
type: "strong" | "em" | "list-item";
|
|
3195
|
-
})[] | undefined;
|
|
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;
|
|
3196
3271
|
};
|
|
3197
3272
|
} & {
|
|
3198
|
-
label?: string | undefined;
|
|
3199
|
-
direction?: string | undefined;
|
|
3200
|
-
})
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
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";
|
|
3208
3301
|
content: {
|
|
3209
3302
|
text: string;
|
|
3210
3303
|
} & {
|
|
@@ -3263,9 +3356,9 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3263
3356
|
} & {
|
|
3264
3357
|
label?: string | undefined;
|
|
3265
3358
|
direction?: string | undefined;
|
|
3266
|
-
})[];
|
|
3359
|
+
}))[];
|
|
3267
3360
|
};
|
|
3268
|
-
}
|
|
3361
|
+
}[];
|
|
3269
3362
|
}[];
|
|
3270
3363
|
} | {
|
|
3271
3364
|
__TYPE__: "RepeatableContent";
|
|
@@ -3630,7 +3723,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3630
3723
|
label?: string | null | undefined;
|
|
3631
3724
|
direction?: string | null | undefined;
|
|
3632
3725
|
}) | ({
|
|
3633
|
-
type: "
|
|
3726
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3634
3727
|
content: {
|
|
3635
3728
|
text: string;
|
|
3636
3729
|
} & {
|
|
@@ -3696,78 +3789,99 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3696
3789
|
__TYPE__: "TableContent";
|
|
3697
3790
|
content: {
|
|
3698
3791
|
type: "tableRow";
|
|
3699
|
-
content:
|
|
3700
|
-
type: "tableHeader";
|
|
3792
|
+
content: {
|
|
3793
|
+
type: "tableCell" | "tableHeader";
|
|
3701
3794
|
content: {
|
|
3702
3795
|
__TYPE__: "StructuredTextContent";
|
|
3703
|
-
value: ({
|
|
3704
|
-
type: "image"
|
|
3705
|
-
|
|
3706
|
-
|
|
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
|
+
};
|
|
3707
3812
|
} & {
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
} |
|
|
3750
|
-
data: string;
|
|
3751
|
-
start: number;
|
|
3752
|
-
end: number;
|
|
3753
|
-
type: "label";
|
|
3754
|
-
} | {
|
|
3755
|
-
start: number;
|
|
3756
|
-
end: number;
|
|
3757
|
-
type: "strong" | "em" | "list-item";
|
|
3758
|
-
})[] | undefined;
|
|
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;
|
|
3759
3855
|
};
|
|
3760
3856
|
} & {
|
|
3761
|
-
label?: string | undefined;
|
|
3762
|
-
direction?: string | undefined;
|
|
3763
|
-
})
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
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";
|
|
3771
3885
|
content: {
|
|
3772
3886
|
text: string;
|
|
3773
3887
|
} & {
|
|
@@ -3826,9 +3940,9 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3826
3940
|
} & {
|
|
3827
3941
|
label?: string | undefined;
|
|
3828
3942
|
direction?: string | undefined;
|
|
3829
|
-
})[];
|
|
3943
|
+
}))[];
|
|
3830
3944
|
};
|
|
3831
|
-
}
|
|
3945
|
+
}[];
|
|
3832
3946
|
}[];
|
|
3833
3947
|
} | {
|
|
3834
3948
|
__TYPE__: "RepeatableContent";
|
|
@@ -4191,7 +4305,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
4191
4305
|
label?: string | null | undefined;
|
|
4192
4306
|
direction?: string | null | undefined;
|
|
4193
4307
|
}) | ({
|
|
4194
|
-
type: "
|
|
4308
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
4195
4309
|
content: {
|
|
4196
4310
|
text: string;
|
|
4197
4311
|
} & {
|
|
@@ -4257,78 +4371,102 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
4257
4371
|
__TYPE__: "TableContent";
|
|
4258
4372
|
content: {
|
|
4259
4373
|
type: "tableRow";
|
|
4260
|
-
content:
|
|
4261
|
-
type: "tableHeader";
|
|
4374
|
+
content: {
|
|
4375
|
+
type: "tableCell" | "tableHeader";
|
|
4262
4376
|
content: {
|
|
4263
4377
|
__TYPE__: "StructuredTextContent";
|
|
4264
|
-
value: ({
|
|
4265
|
-
type: "image"
|
|
4266
|
-
|
|
4267
|
-
|
|
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
|
+
};
|
|
4268
4397
|
} & {
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
} |
|
|
4311
|
-
data: string;
|
|
4312
|
-
start: number;
|
|
4313
|
-
end: number;
|
|
4314
|
-
type: "label";
|
|
4315
|
-
} | {
|
|
4316
|
-
start: number;
|
|
4317
|
-
end: number;
|
|
4318
|
-
type: "strong" | "em" | "list-item";
|
|
4319
|
-
})[] | undefined;
|
|
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;
|
|
4320
4440
|
};
|
|
4321
4441
|
} & {
|
|
4322
|
-
label?: string | undefined;
|
|
4323
|
-
direction?: string | undefined;
|
|
4324
|
-
})
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
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";
|
|
4332
4470
|
content: {
|
|
4333
4471
|
text: string;
|
|
4334
4472
|
} & {
|
|
@@ -4387,9 +4525,9 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
4387
4525
|
} & {
|
|
4388
4526
|
label?: string | undefined;
|
|
4389
4527
|
direction?: string | undefined;
|
|
4390
|
-
})[];
|
|
4528
|
+
}))[];
|
|
4391
4529
|
};
|
|
4392
|
-
}
|
|
4530
|
+
}[];
|
|
4393
4531
|
}[];
|
|
4394
4532
|
} | {
|
|
4395
4533
|
__TYPE__: "RepeatableContent";
|
|
@@ -4474,7 +4612,6 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
4474
4612
|
}[];
|
|
4475
4613
|
};
|
|
4476
4614
|
}, unknown>;
|
|
4477
|
-
export declare function makeGetDocumentsQueryString(searchDocumentParams: SearchDocumentParams): string;
|
|
4478
4615
|
export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
4479
4616
|
key: string;
|
|
4480
4617
|
name: string;
|
|
@@ -4762,7 +4899,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4762
4899
|
label?: string | null | undefined;
|
|
4763
4900
|
direction?: string | null | undefined;
|
|
4764
4901
|
}) | ({
|
|
4765
|
-
type: "
|
|
4902
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
4766
4903
|
content: {
|
|
4767
4904
|
text: string;
|
|
4768
4905
|
} & {
|
|
@@ -4828,78 +4965,102 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4828
4965
|
__TYPE__: "TableContent";
|
|
4829
4966
|
content: {
|
|
4830
4967
|
type: "tableRow";
|
|
4831
|
-
content:
|
|
4832
|
-
type: "tableHeader";
|
|
4968
|
+
content: {
|
|
4969
|
+
type: "tableCell" | "tableHeader";
|
|
4833
4970
|
content: {
|
|
4834
4971
|
__TYPE__: "StructuredTextContent";
|
|
4835
|
-
value: ({
|
|
4836
|
-
type: "image"
|
|
4837
|
-
|
|
4838
|
-
|
|
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
|
+
};
|
|
4839
4991
|
} & {
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
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
|
-
data: string;
|
|
4883
|
-
start: number;
|
|
4884
|
-
end: number;
|
|
4885
|
-
type: "label";
|
|
4886
|
-
} | {
|
|
4887
|
-
start: number;
|
|
4888
|
-
end: number;
|
|
4889
|
-
type: "strong" | "em" | "list-item";
|
|
4890
|
-
})[] | undefined;
|
|
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;
|
|
4891
5034
|
};
|
|
4892
5035
|
} & {
|
|
4893
|
-
label?: string | undefined;
|
|
4894
|
-
direction?: string | undefined;
|
|
4895
|
-
})
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
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";
|
|
4903
5064
|
content: {
|
|
4904
5065
|
text: string;
|
|
4905
5066
|
} & {
|
|
@@ -4958,9 +5119,9 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4958
5119
|
} & {
|
|
4959
5120
|
label?: string | undefined;
|
|
4960
5121
|
direction?: string | undefined;
|
|
4961
|
-
})[];
|
|
5122
|
+
}))[];
|
|
4962
5123
|
};
|
|
4963
|
-
}
|
|
5124
|
+
}[];
|
|
4964
5125
|
}[];
|
|
4965
5126
|
} | {
|
|
4966
5127
|
__TYPE__: "RepeatableContent";
|
|
@@ -5325,7 +5486,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5325
5486
|
label?: string | null | undefined;
|
|
5326
5487
|
direction?: string | null | undefined;
|
|
5327
5488
|
}) | ({
|
|
5328
|
-
type: "
|
|
5489
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5329
5490
|
content: {
|
|
5330
5491
|
text: string;
|
|
5331
5492
|
} & {
|
|
@@ -5391,12 +5552,102 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5391
5552
|
__TYPE__: "TableContent";
|
|
5392
5553
|
content: {
|
|
5393
5554
|
type: "tableRow";
|
|
5394
|
-
content:
|
|
5395
|
-
type: "tableHeader";
|
|
5555
|
+
content: {
|
|
5556
|
+
type: "tableCell" | "tableHeader";
|
|
5396
5557
|
content: {
|
|
5397
5558
|
__TYPE__: "StructuredTextContent";
|
|
5398
|
-
value: ({
|
|
5399
|
-
type: "image"
|
|
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";
|
|
5400
5651
|
content: {
|
|
5401
5652
|
text: string;
|
|
5402
5653
|
} & {
|
|
@@ -5455,75 +5706,9 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5455
5706
|
} & {
|
|
5456
5707
|
label?: string | undefined;
|
|
5457
5708
|
direction?: string | undefined;
|
|
5458
|
-
})[];
|
|
5709
|
+
}))[];
|
|
5459
5710
|
};
|
|
5460
|
-
}
|
|
5461
|
-
type: "tableCell";
|
|
5462
|
-
content: {
|
|
5463
|
-
__TYPE__: "StructuredTextContent";
|
|
5464
|
-
value: ({
|
|
5465
|
-
type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5466
|
-
content: {
|
|
5467
|
-
text: string;
|
|
5468
|
-
} & {
|
|
5469
|
-
spans?: ({
|
|
5470
|
-
data: ({
|
|
5471
|
-
__TYPE__: "ImageLink";
|
|
5472
|
-
} & {
|
|
5473
|
-
kind: "image";
|
|
5474
|
-
id: string;
|
|
5475
|
-
url: string;
|
|
5476
|
-
height: string;
|
|
5477
|
-
width: string;
|
|
5478
|
-
size: string;
|
|
5479
|
-
name: string;
|
|
5480
|
-
} & {
|
|
5481
|
-
date?: string | null | undefined;
|
|
5482
|
-
}) | ({
|
|
5483
|
-
__TYPE__: "FileLink";
|
|
5484
|
-
} & {
|
|
5485
|
-
kind: "file";
|
|
5486
|
-
id: string;
|
|
5487
|
-
url: string;
|
|
5488
|
-
name: string;
|
|
5489
|
-
size: string;
|
|
5490
|
-
} & {
|
|
5491
|
-
date?: string | null | undefined;
|
|
5492
|
-
}) | ({
|
|
5493
|
-
__TYPE__: "DocumentLink";
|
|
5494
|
-
} & {
|
|
5495
|
-
id: string;
|
|
5496
|
-
}) | ({
|
|
5497
|
-
__TYPE__: "ExternalLink";
|
|
5498
|
-
} & {
|
|
5499
|
-
url: string;
|
|
5500
|
-
} & {
|
|
5501
|
-
kind?: "web" | undefined;
|
|
5502
|
-
target?: string | null | undefined;
|
|
5503
|
-
preview?: {
|
|
5504
|
-
title?: string | undefined;
|
|
5505
|
-
} | null | undefined;
|
|
5506
|
-
});
|
|
5507
|
-
start: number;
|
|
5508
|
-
end: number;
|
|
5509
|
-
type: "hyperlink";
|
|
5510
|
-
} | {
|
|
5511
|
-
data: string;
|
|
5512
|
-
start: number;
|
|
5513
|
-
end: number;
|
|
5514
|
-
type: "label";
|
|
5515
|
-
} | {
|
|
5516
|
-
start: number;
|
|
5517
|
-
end: number;
|
|
5518
|
-
type: "strong" | "em" | "list-item";
|
|
5519
|
-
})[] | undefined;
|
|
5520
|
-
};
|
|
5521
|
-
} & {
|
|
5522
|
-
label?: string | undefined;
|
|
5523
|
-
direction?: string | undefined;
|
|
5524
|
-
})[];
|
|
5525
|
-
};
|
|
5526
|
-
})[];
|
|
5711
|
+
}[];
|
|
5527
5712
|
}[];
|
|
5528
5713
|
} | {
|
|
5529
5714
|
__TYPE__: "RepeatableContent";
|
|
@@ -5890,7 +6075,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5890
6075
|
label?: string | null | undefined;
|
|
5891
6076
|
direction?: string | null | undefined;
|
|
5892
6077
|
}) | ({
|
|
5893
|
-
type: "
|
|
6078
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5894
6079
|
content: {
|
|
5895
6080
|
text: string;
|
|
5896
6081
|
} & {
|
|
@@ -5956,78 +6141,102 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5956
6141
|
__TYPE__: "TableContent";
|
|
5957
6142
|
content: {
|
|
5958
6143
|
type: "tableRow";
|
|
5959
|
-
content:
|
|
5960
|
-
type: "tableHeader";
|
|
6144
|
+
content: {
|
|
6145
|
+
type: "tableCell" | "tableHeader";
|
|
5961
6146
|
content: {
|
|
5962
6147
|
__TYPE__: "StructuredTextContent";
|
|
5963
|
-
value: ({
|
|
5964
|
-
type: "image"
|
|
5965
|
-
|
|
5966
|
-
|
|
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
|
+
};
|
|
5967
6167
|
} & {
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
|
|
6007
|
-
|
|
6008
|
-
|
|
6009
|
-
} |
|
|
6010
|
-
data: string;
|
|
6011
|
-
start: number;
|
|
6012
|
-
end: number;
|
|
6013
|
-
type: "label";
|
|
6014
|
-
} | {
|
|
6015
|
-
start: number;
|
|
6016
|
-
end: number;
|
|
6017
|
-
type: "strong" | "em" | "list-item";
|
|
6018
|
-
})[] | undefined;
|
|
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;
|
|
6019
6210
|
};
|
|
6020
6211
|
} & {
|
|
6021
|
-
label?: string | undefined;
|
|
6022
|
-
direction?: string | undefined;
|
|
6023
|
-
})
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
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";
|
|
6031
6240
|
content: {
|
|
6032
6241
|
text: string;
|
|
6033
6242
|
} & {
|
|
@@ -6086,9 +6295,9 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6086
6295
|
} & {
|
|
6087
6296
|
label?: string | undefined;
|
|
6088
6297
|
direction?: string | undefined;
|
|
6089
|
-
})[];
|
|
6298
|
+
}))[];
|
|
6090
6299
|
};
|
|
6091
|
-
}
|
|
6300
|
+
}[];
|
|
6092
6301
|
}[];
|
|
6093
6302
|
} | {
|
|
6094
6303
|
__TYPE__: "RepeatableContent";
|
|
@@ -6453,7 +6662,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6453
6662
|
label?: string | null | undefined;
|
|
6454
6663
|
direction?: string | null | undefined;
|
|
6455
6664
|
}) | ({
|
|
6456
|
-
type: "
|
|
6665
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
6457
6666
|
content: {
|
|
6458
6667
|
text: string;
|
|
6459
6668
|
} & {
|
|
@@ -6519,12 +6728,102 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6519
6728
|
__TYPE__: "TableContent";
|
|
6520
6729
|
content: {
|
|
6521
6730
|
type: "tableRow";
|
|
6522
|
-
content:
|
|
6523
|
-
type: "tableHeader";
|
|
6731
|
+
content: {
|
|
6732
|
+
type: "tableCell" | "tableHeader";
|
|
6524
6733
|
content: {
|
|
6525
6734
|
__TYPE__: "StructuredTextContent";
|
|
6526
|
-
value: ({
|
|
6527
|
-
type: "image"
|
|
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";
|
|
6528
6827
|
content: {
|
|
6529
6828
|
text: string;
|
|
6530
6829
|
} & {
|
|
@@ -6583,119 +6882,53 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6583
6882
|
} & {
|
|
6584
6883
|
label?: string | undefined;
|
|
6585
6884
|
direction?: string | undefined;
|
|
6586
|
-
})[];
|
|
6885
|
+
}))[];
|
|
6587
6886
|
};
|
|
6588
|
-
}
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
} | null | undefined;
|
|
6634
|
-
});
|
|
6635
|
-
start: number;
|
|
6636
|
-
end: number;
|
|
6637
|
-
type: "hyperlink";
|
|
6638
|
-
} | {
|
|
6639
|
-
data: string;
|
|
6640
|
-
start: number;
|
|
6641
|
-
end: number;
|
|
6642
|
-
type: "label";
|
|
6643
|
-
} | {
|
|
6644
|
-
start: number;
|
|
6645
|
-
end: number;
|
|
6646
|
-
type: "strong" | "em" | "list-item";
|
|
6647
|
-
})[] | undefined;
|
|
6648
|
-
};
|
|
6649
|
-
} & {
|
|
6650
|
-
label?: string | undefined;
|
|
6651
|
-
direction?: string | undefined;
|
|
6652
|
-
})[];
|
|
6653
|
-
};
|
|
6654
|
-
})[];
|
|
6655
|
-
}[];
|
|
6656
|
-
} | {
|
|
6657
|
-
__TYPE__: "RepeatableContent";
|
|
6658
|
-
type: "Link";
|
|
6659
|
-
value: ({
|
|
6660
|
-
key: string;
|
|
6661
|
-
} & {
|
|
6662
|
-
__TYPE__: "LinkContent";
|
|
6663
|
-
value: ({
|
|
6664
|
-
__TYPE__: "ImageLink";
|
|
6665
|
-
} & ((({
|
|
6666
|
-
kind: "image";
|
|
6667
|
-
id: string;
|
|
6668
|
-
url: string;
|
|
6669
|
-
height: string;
|
|
6670
|
-
width: string;
|
|
6671
|
-
size: string;
|
|
6672
|
-
name: string;
|
|
6673
|
-
} & {
|
|
6674
|
-
date?: string | null | undefined;
|
|
6675
|
-
}) | {
|
|
6676
|
-
kind: "image";
|
|
6677
|
-
}) & {
|
|
6678
|
-
text?: string | undefined;
|
|
6679
|
-
variant?: string | undefined;
|
|
6680
|
-
})) | ({
|
|
6681
|
-
__TYPE__: "FileLink";
|
|
6682
|
-
} & ((({
|
|
6683
|
-
kind: "file";
|
|
6684
|
-
id: string;
|
|
6685
|
-
url: string;
|
|
6686
|
-
name: string;
|
|
6687
|
-
size: string;
|
|
6688
|
-
} & {
|
|
6689
|
-
date?: string | null | undefined;
|
|
6690
|
-
}) | {
|
|
6691
|
-
kind: "file";
|
|
6692
|
-
}) & {
|
|
6693
|
-
text?: string | undefined;
|
|
6694
|
-
variant?: string | undefined;
|
|
6695
|
-
})) | ({
|
|
6696
|
-
__TYPE__: "DocumentLink";
|
|
6697
|
-
} & (({
|
|
6698
|
-
id: string;
|
|
6887
|
+
}[];
|
|
6888
|
+
}[];
|
|
6889
|
+
} | {
|
|
6890
|
+
__TYPE__: "RepeatableContent";
|
|
6891
|
+
type: "Link";
|
|
6892
|
+
value: ({
|
|
6893
|
+
key: string;
|
|
6894
|
+
} & {
|
|
6895
|
+
__TYPE__: "LinkContent";
|
|
6896
|
+
value: ({
|
|
6897
|
+
__TYPE__: "ImageLink";
|
|
6898
|
+
} & ((({
|
|
6899
|
+
kind: "image";
|
|
6900
|
+
id: string;
|
|
6901
|
+
url: string;
|
|
6902
|
+
height: string;
|
|
6903
|
+
width: string;
|
|
6904
|
+
size: string;
|
|
6905
|
+
name: string;
|
|
6906
|
+
} & {
|
|
6907
|
+
date?: string | null | undefined;
|
|
6908
|
+
}) | {
|
|
6909
|
+
kind: "image";
|
|
6910
|
+
}) & {
|
|
6911
|
+
text?: string | undefined;
|
|
6912
|
+
variant?: string | undefined;
|
|
6913
|
+
})) | ({
|
|
6914
|
+
__TYPE__: "FileLink";
|
|
6915
|
+
} & ((({
|
|
6916
|
+
kind: "file";
|
|
6917
|
+
id: string;
|
|
6918
|
+
url: string;
|
|
6919
|
+
name: string;
|
|
6920
|
+
size: string;
|
|
6921
|
+
} & {
|
|
6922
|
+
date?: string | null | undefined;
|
|
6923
|
+
}) | {
|
|
6924
|
+
kind: "file";
|
|
6925
|
+
}) & {
|
|
6926
|
+
text?: string | undefined;
|
|
6927
|
+
variant?: string | undefined;
|
|
6928
|
+
})) | ({
|
|
6929
|
+
__TYPE__: "DocumentLink";
|
|
6930
|
+
} & (({
|
|
6931
|
+
id: string;
|
|
6699
6932
|
} | {
|
|
6700
6933
|
kind: "document";
|
|
6701
6934
|
}) & {
|
|
@@ -7014,7 +7247,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
7014
7247
|
label?: string | null | undefined;
|
|
7015
7248
|
direction?: string | null | undefined;
|
|
7016
7249
|
}) | ({
|
|
7017
|
-
type: "
|
|
7250
|
+
type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
7018
7251
|
content: {
|
|
7019
7252
|
text: string;
|
|
7020
7253
|
} & {
|
|
@@ -7080,78 +7313,102 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
7080
7313
|
__TYPE__: "TableContent";
|
|
7081
7314
|
content: {
|
|
7082
7315
|
type: "tableRow";
|
|
7083
|
-
content:
|
|
7084
|
-
type: "tableHeader";
|
|
7316
|
+
content: {
|
|
7317
|
+
type: "tableCell" | "tableHeader";
|
|
7085
7318
|
content: {
|
|
7086
7319
|
__TYPE__: "StructuredTextContent";
|
|
7087
|
-
value: ({
|
|
7088
|
-
type: "image"
|
|
7089
|
-
|
|
7090
|
-
|
|
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
|
+
};
|
|
7091
7339
|
} & {
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
} |
|
|
7134
|
-
data: string;
|
|
7135
|
-
start: number;
|
|
7136
|
-
end: number;
|
|
7137
|
-
type: "label";
|
|
7138
|
-
} | {
|
|
7139
|
-
start: number;
|
|
7140
|
-
end: number;
|
|
7141
|
-
type: "strong" | "em" | "list-item";
|
|
7142
|
-
})[] | undefined;
|
|
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;
|
|
7143
7382
|
};
|
|
7144
7383
|
} & {
|
|
7145
|
-
label?: string | undefined;
|
|
7146
|
-
direction?: string | undefined;
|
|
7147
|
-
})
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
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";
|
|
7155
7412
|
content: {
|
|
7156
7413
|
text: string;
|
|
7157
7414
|
} & {
|
|
@@ -7210,9 +7467,9 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
7210
7467
|
} & {
|
|
7211
7468
|
label?: string | undefined;
|
|
7212
7469
|
direction?: string | undefined;
|
|
7213
|
-
})[];
|
|
7470
|
+
}))[];
|
|
7214
7471
|
};
|
|
7215
|
-
}
|
|
7472
|
+
}[];
|
|
7216
7473
|
}[];
|
|
7217
7474
|
} | {
|
|
7218
7475
|
__TYPE__: "RepeatableContent";
|
|
@@ -7308,4 +7565,200 @@ export declare const documentKeys: {
|
|
|
7308
7565
|
type UpdateDocumentFunction = (document: DocumentMeta, page: GetDocumentListSchema) => DocumentMeta | undefined;
|
|
7309
7566
|
export declare function updateDocumentListData(queryClient: QueryClient, updateFunction: UpdateDocumentFunction): void;
|
|
7310
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
|
+
};
|
|
7311
7764
|
export {};
|