@prismicio/editor-fields 0.4.77-alpha.bump-types-internal.2 → 0.4.77
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/APIExplorer/components/APIExplorerContext.d.ts +46 -6
- package/dist/core/APIExplorer/components/Request/GetAllByEveryTagRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetAllByIDsRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetAllBySomeTagsRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetAllByTagRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetAllByTypeRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetAllByUIDsRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetByEveryTagRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetByIDRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetByIDsRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetBySomeTagsRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetByTagRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetByUIDsRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetFirstRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetTagsRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/MissingParameterError.d.ts +3 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/formatFilterSnippet.d.ts +2 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/index.d.ts +1 -1
- package/dist/core/APIExplorer/components/Request/components/RequestFormInput.d.ts +2 -1
- package/dist/core/APIExplorer/components/Request/components/RequestFormMultiInput.d.ts +7 -0
- package/dist/core/APIExplorer/components/Request/components/RequestTagFieldset.d.ts +5 -0
- package/dist/core/APIExplorer/components/Request/components/RequestTagsFieldset.d.ts +5 -0
- package/dist/core/APIExplorer/components/Request/components/index.d.ts +3 -0
- package/dist/core/APIExplorer/components/Request/createRequest.d.ts +8 -2
- package/dist/core/APIExplorer/components/Request/types.d.ts +17 -3
- package/dist/core/APIExplorer/hooks/useRequestRepositoryTags.d.ts +1 -0
- package/dist/core/APIExplorer/utils.d.ts +4 -1
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +18 -18
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +2 -2
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +2 -2
- package/dist/core/service/document.d.ts +50 -50
- package/dist/core/service/documentSearch.d.ts +15 -15
- package/dist/core/service/repository.d.ts +6 -6
- package/dist/fields/ImageField/useImageField.d.ts +2 -2
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +2 -2
- package/dist/fields/KeyTextField.d.ts +1 -1
- package/dist/fields/LinkField/Documents/documentsData.d.ts +5 -5
- package/dist/fields/RichTextField/RichTextField.d.ts +2 -0
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +2 -2
- package/dist/index.cjs.js +47 -47
- package/dist/index.es.js +20493 -19842
- package/package.json +4 -4
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/getFilterSnippet.d.ts +0 -2
|
@@ -4,19 +4,19 @@ import type { AuthStrategy } from "../../EditorConfig";
|
|
|
4
4
|
export declare const languageSchema: z.ZodEffects<z.ZodObject<{
|
|
5
5
|
id: z.ZodString;
|
|
6
6
|
name: z.ZodString;
|
|
7
|
-
is_master: z.
|
|
7
|
+
is_master: z.ZodDefault<z.ZodBoolean>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
id: string;
|
|
10
10
|
name: string;
|
|
11
|
-
is_master
|
|
11
|
+
is_master: boolean;
|
|
12
12
|
}, {
|
|
13
13
|
id: string;
|
|
14
14
|
name: string;
|
|
15
15
|
is_master?: boolean | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
isMaster?: boolean | undefined;
|
|
18
17
|
id: string;
|
|
19
18
|
label: string;
|
|
19
|
+
isMaster: boolean;
|
|
20
20
|
}, {
|
|
21
21
|
id: string;
|
|
22
22
|
name: string;
|
|
@@ -78,8 +78,8 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
78
78
|
uploadedAvatar?: string | undefined;
|
|
79
79
|
}>;
|
|
80
80
|
}>, "strip", z.ZodTypeAny, {
|
|
81
|
-
version_id: string;
|
|
82
81
|
tags: string[];
|
|
82
|
+
version_id: string;
|
|
83
83
|
last_modified_date: Date;
|
|
84
84
|
custom_type_label: string;
|
|
85
85
|
author: {
|
|
@@ -93,8 +93,8 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
93
93
|
preview_image?: string | undefined;
|
|
94
94
|
preview_summary?: string | undefined;
|
|
95
95
|
}, {
|
|
96
|
-
version_id: string;
|
|
97
96
|
tags: string[];
|
|
97
|
+
version_id: string;
|
|
98
98
|
last_modified_date: Date;
|
|
99
99
|
custom_type_label: string;
|
|
100
100
|
author: {
|
|
@@ -153,8 +153,8 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
153
153
|
uid?: string | undefined;
|
|
154
154
|
}>>;
|
|
155
155
|
}>, "strip", z.ZodTypeAny, {
|
|
156
|
-
version_id: string;
|
|
157
156
|
tags: string[];
|
|
157
|
+
version_id: string;
|
|
158
158
|
last_modified_date: Date;
|
|
159
159
|
summary?: string | undefined;
|
|
160
160
|
uid?: string | undefined;
|
|
@@ -165,8 +165,8 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
165
165
|
uid?: string | undefined;
|
|
166
166
|
} | undefined;
|
|
167
167
|
}, {
|
|
168
|
-
version_id: string;
|
|
169
168
|
tags: string[];
|
|
169
|
+
version_id: string;
|
|
170
170
|
last_modified_date: Date;
|
|
171
171
|
summary?: string | undefined;
|
|
172
172
|
uid?: string | undefined;
|
|
@@ -187,19 +187,19 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
187
187
|
language: z.ZodEffects<z.ZodObject<{
|
|
188
188
|
id: z.ZodString;
|
|
189
189
|
name: z.ZodString;
|
|
190
|
-
is_master: z.
|
|
190
|
+
is_master: z.ZodDefault<z.ZodBoolean>;
|
|
191
191
|
}, "strip", z.ZodTypeAny, {
|
|
192
192
|
id: string;
|
|
193
193
|
name: string;
|
|
194
|
-
is_master
|
|
194
|
+
is_master: boolean;
|
|
195
195
|
}, {
|
|
196
196
|
id: string;
|
|
197
197
|
name: string;
|
|
198
198
|
is_master?: boolean | undefined;
|
|
199
199
|
}>, {
|
|
200
|
-
isMaster?: boolean | undefined;
|
|
201
200
|
id: string;
|
|
202
201
|
label: string;
|
|
202
|
+
isMaster: boolean;
|
|
203
203
|
}, {
|
|
204
204
|
id: string;
|
|
205
205
|
name: string;
|
|
@@ -261,8 +261,8 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
261
261
|
uploadedAvatar?: string | undefined;
|
|
262
262
|
}>;
|
|
263
263
|
}>, "strip", z.ZodTypeAny, {
|
|
264
|
-
version_id: string;
|
|
265
264
|
tags: string[];
|
|
265
|
+
version_id: string;
|
|
266
266
|
last_modified_date: Date;
|
|
267
267
|
custom_type_label: string;
|
|
268
268
|
author: {
|
|
@@ -276,8 +276,8 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
276
276
|
preview_image?: string | undefined;
|
|
277
277
|
preview_summary?: string | undefined;
|
|
278
278
|
}, {
|
|
279
|
-
version_id: string;
|
|
280
279
|
tags: string[];
|
|
280
|
+
version_id: string;
|
|
281
281
|
last_modified_date: Date;
|
|
282
282
|
custom_type_label: string;
|
|
283
283
|
author: {
|
|
@@ -293,9 +293,9 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
293
293
|
}>>, "many">;
|
|
294
294
|
}, "strip", z.ZodTypeAny, {
|
|
295
295
|
language: {
|
|
296
|
-
isMaster?: boolean | undefined;
|
|
297
296
|
id: string;
|
|
298
297
|
label: string;
|
|
298
|
+
isMaster: boolean;
|
|
299
299
|
};
|
|
300
300
|
title: string;
|
|
301
301
|
id: string;
|
|
@@ -311,8 +311,8 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
311
311
|
} | {
|
|
312
312
|
status: "archived";
|
|
313
313
|
}) & {
|
|
314
|
-
version_id: string;
|
|
315
314
|
tags: string[];
|
|
315
|
+
version_id: string;
|
|
316
316
|
last_modified_date: Date;
|
|
317
317
|
custom_type_label: string;
|
|
318
318
|
author: {
|
|
@@ -345,8 +345,8 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
345
345
|
} | {
|
|
346
346
|
status: "archived";
|
|
347
347
|
}) & {
|
|
348
|
-
version_id: string;
|
|
349
348
|
tags: string[];
|
|
349
|
+
version_id: string;
|
|
350
350
|
last_modified_date: Date;
|
|
351
351
|
custom_type_label: string;
|
|
352
352
|
author: {
|
|
@@ -373,19 +373,19 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
373
373
|
language: z.ZodEffects<z.ZodObject<{
|
|
374
374
|
id: z.ZodString;
|
|
375
375
|
name: z.ZodString;
|
|
376
|
-
is_master: z.
|
|
376
|
+
is_master: z.ZodDefault<z.ZodBoolean>;
|
|
377
377
|
}, "strip", z.ZodTypeAny, {
|
|
378
378
|
id: string;
|
|
379
379
|
name: string;
|
|
380
|
-
is_master
|
|
380
|
+
is_master: boolean;
|
|
381
381
|
}, {
|
|
382
382
|
id: string;
|
|
383
383
|
name: string;
|
|
384
384
|
is_master?: boolean | undefined;
|
|
385
385
|
}>, {
|
|
386
|
-
isMaster?: boolean | undefined;
|
|
387
386
|
id: string;
|
|
388
387
|
label: string;
|
|
388
|
+
isMaster: boolean;
|
|
389
389
|
}, {
|
|
390
390
|
id: string;
|
|
391
391
|
name: string;
|
|
@@ -447,8 +447,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
447
447
|
uploadedAvatar?: string | undefined;
|
|
448
448
|
}>;
|
|
449
449
|
}>, "strip", z.ZodTypeAny, {
|
|
450
|
-
version_id: string;
|
|
451
450
|
tags: string[];
|
|
451
|
+
version_id: string;
|
|
452
452
|
last_modified_date: Date;
|
|
453
453
|
custom_type_label: string;
|
|
454
454
|
author: {
|
|
@@ -462,8 +462,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
462
462
|
preview_image?: string | undefined;
|
|
463
463
|
preview_summary?: string | undefined;
|
|
464
464
|
}, {
|
|
465
|
-
version_id: string;
|
|
466
465
|
tags: string[];
|
|
466
|
+
version_id: string;
|
|
467
467
|
last_modified_date: Date;
|
|
468
468
|
custom_type_label: string;
|
|
469
469
|
author: {
|
|
@@ -479,9 +479,9 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
479
479
|
}>>, "many">;
|
|
480
480
|
}, "strip", z.ZodTypeAny, {
|
|
481
481
|
language: {
|
|
482
|
-
isMaster?: boolean | undefined;
|
|
483
482
|
id: string;
|
|
484
483
|
label: string;
|
|
484
|
+
isMaster: boolean;
|
|
485
485
|
};
|
|
486
486
|
title: string;
|
|
487
487
|
id: string;
|
|
@@ -497,8 +497,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
497
497
|
} | {
|
|
498
498
|
status: "archived";
|
|
499
499
|
}) & {
|
|
500
|
-
version_id: string;
|
|
501
500
|
tags: string[];
|
|
501
|
+
version_id: string;
|
|
502
502
|
last_modified_date: Date;
|
|
503
503
|
custom_type_label: string;
|
|
504
504
|
author: {
|
|
@@ -531,8 +531,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
531
531
|
} | {
|
|
532
532
|
status: "archived";
|
|
533
533
|
}) & {
|
|
534
|
-
version_id: string;
|
|
535
534
|
tags: string[];
|
|
535
|
+
version_id: string;
|
|
536
536
|
last_modified_date: Date;
|
|
537
537
|
custom_type_label: string;
|
|
538
538
|
author: {
|
|
@@ -551,9 +551,9 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
551
551
|
}, "strip", z.ZodTypeAny, {
|
|
552
552
|
results: {
|
|
553
553
|
language: {
|
|
554
|
-
isMaster?: boolean | undefined;
|
|
555
554
|
id: string;
|
|
556
555
|
label: string;
|
|
556
|
+
isMaster: boolean;
|
|
557
557
|
};
|
|
558
558
|
title: string;
|
|
559
559
|
id: string;
|
|
@@ -569,8 +569,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
569
569
|
} | {
|
|
570
570
|
status: "archived";
|
|
571
571
|
}) & {
|
|
572
|
-
version_id: string;
|
|
573
572
|
tags: string[];
|
|
573
|
+
version_id: string;
|
|
574
574
|
last_modified_date: Date;
|
|
575
575
|
custom_type_label: string;
|
|
576
576
|
author: {
|
|
@@ -607,8 +607,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
607
607
|
} | {
|
|
608
608
|
status: "archived";
|
|
609
609
|
}) & {
|
|
610
|
-
version_id: string;
|
|
611
610
|
tags: string[];
|
|
611
|
+
version_id: string;
|
|
612
612
|
last_modified_date: Date;
|
|
613
613
|
custom_type_label: string;
|
|
614
614
|
author: {
|
|
@@ -677,8 +677,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
677
677
|
uid?: string | undefined;
|
|
678
678
|
}>>;
|
|
679
679
|
}>, "strip", z.ZodTypeAny, {
|
|
680
|
-
version_id: string;
|
|
681
680
|
tags: string[];
|
|
681
|
+
version_id: string;
|
|
682
682
|
last_modified_date: Date;
|
|
683
683
|
summary?: string | undefined;
|
|
684
684
|
uid?: string | undefined;
|
|
@@ -689,8 +689,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
689
689
|
uid?: string | undefined;
|
|
690
690
|
} | undefined;
|
|
691
691
|
}, {
|
|
692
|
-
version_id: string;
|
|
693
692
|
tags: string[];
|
|
693
|
+
version_id: string;
|
|
694
694
|
last_modified_date: Date;
|
|
695
695
|
summary?: string | undefined;
|
|
696
696
|
uid?: string | undefined;
|
|
@@ -717,8 +717,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
717
717
|
} | {
|
|
718
718
|
status: "archived";
|
|
719
719
|
}) & {
|
|
720
|
-
version_id: string;
|
|
721
720
|
tags: string[];
|
|
721
|
+
version_id: string;
|
|
722
722
|
last_modified_date: Date;
|
|
723
723
|
summary?: string | undefined;
|
|
724
724
|
uid?: string | undefined;
|
|
@@ -744,8 +744,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
744
744
|
} | {
|
|
745
745
|
status: "archived";
|
|
746
746
|
}) & {
|
|
747
|
-
version_id: string;
|
|
748
747
|
tags: string[];
|
|
748
|
+
version_id: string;
|
|
749
749
|
last_modified_date: Date;
|
|
750
750
|
summary?: string | undefined;
|
|
751
751
|
uid?: string | undefined;
|
|
@@ -774,8 +774,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
774
774
|
} | {
|
|
775
775
|
status: "archived";
|
|
776
776
|
}) & {
|
|
777
|
-
version_id: string;
|
|
778
777
|
tags: string[];
|
|
778
|
+
version_id: string;
|
|
779
779
|
last_modified_date: Date;
|
|
780
780
|
summary?: string | undefined;
|
|
781
781
|
uid?: string | undefined;
|
|
@@ -800,8 +800,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
800
800
|
} | {
|
|
801
801
|
status: "archived";
|
|
802
802
|
}) & {
|
|
803
|
-
version_id: string;
|
|
804
803
|
tags: string[];
|
|
804
|
+
version_id: string;
|
|
805
805
|
last_modified_date: Date;
|
|
806
806
|
summary?: string | undefined;
|
|
807
807
|
uid?: string | undefined;
|
|
@@ -866,8 +866,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
866
866
|
uid?: string | undefined;
|
|
867
867
|
}>>;
|
|
868
868
|
}>, "strip", z.ZodTypeAny, {
|
|
869
|
-
version_id: string;
|
|
870
869
|
tags: string[];
|
|
870
|
+
version_id: string;
|
|
871
871
|
last_modified_date: Date;
|
|
872
872
|
summary?: string | undefined;
|
|
873
873
|
uid?: string | undefined;
|
|
@@ -878,8 +878,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
878
878
|
uid?: string | undefined;
|
|
879
879
|
} | undefined;
|
|
880
880
|
}, {
|
|
881
|
-
version_id: string;
|
|
882
881
|
tags: string[];
|
|
882
|
+
version_id: string;
|
|
883
883
|
last_modified_date: Date;
|
|
884
884
|
summary?: string | undefined;
|
|
885
885
|
uid?: string | undefined;
|
|
@@ -906,8 +906,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
906
906
|
} | {
|
|
907
907
|
status: "archived";
|
|
908
908
|
}) & {
|
|
909
|
-
version_id: string;
|
|
910
909
|
tags: string[];
|
|
910
|
+
version_id: string;
|
|
911
911
|
last_modified_date: Date;
|
|
912
912
|
summary?: string | undefined;
|
|
913
913
|
uid?: string | undefined;
|
|
@@ -933,8 +933,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
933
933
|
} | {
|
|
934
934
|
status: "archived";
|
|
935
935
|
}) & {
|
|
936
|
-
version_id: string;
|
|
937
936
|
tags: string[];
|
|
937
|
+
version_id: string;
|
|
938
938
|
last_modified_date: Date;
|
|
939
939
|
summary?: string | undefined;
|
|
940
940
|
uid?: string | undefined;
|
|
@@ -963,8 +963,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
963
963
|
} | {
|
|
964
964
|
status: "archived";
|
|
965
965
|
}) & {
|
|
966
|
-
version_id: string;
|
|
967
966
|
tags: string[];
|
|
967
|
+
version_id: string;
|
|
968
968
|
last_modified_date: Date;
|
|
969
969
|
summary?: string | undefined;
|
|
970
970
|
uid?: string | undefined;
|
|
@@ -989,8 +989,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
989
989
|
} | {
|
|
990
990
|
status: "archived";
|
|
991
991
|
}) & {
|
|
992
|
-
version_id: string;
|
|
993
992
|
tags: string[];
|
|
993
|
+
version_id: string;
|
|
994
994
|
last_modified_date: Date;
|
|
995
995
|
summary?: string | undefined;
|
|
996
996
|
uid?: string | undefined;
|
|
@@ -1021,8 +1021,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
1021
1021
|
} | {
|
|
1022
1022
|
status: "archived";
|
|
1023
1023
|
}) & {
|
|
1024
|
-
version_id: string;
|
|
1025
1024
|
tags: string[];
|
|
1025
|
+
version_id: string;
|
|
1026
1026
|
last_modified_date: Date;
|
|
1027
1027
|
summary?: string | undefined;
|
|
1028
1028
|
uid?: string | undefined;
|
|
@@ -1049,8 +1049,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
1049
1049
|
} | {
|
|
1050
1050
|
status: "archived";
|
|
1051
1051
|
}) & {
|
|
1052
|
-
version_id: string;
|
|
1053
1052
|
tags: string[];
|
|
1053
|
+
version_id: string;
|
|
1054
1054
|
last_modified_date: Date;
|
|
1055
1055
|
summary?: string | undefined;
|
|
1056
1056
|
uid?: string | undefined;
|
|
@@ -7655,9 +7655,9 @@ export declare function invalidateDocumentListData(queryClient: QueryClient): Pr
|
|
|
7655
7655
|
export declare function useDocumentList(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
|
|
7656
7656
|
results: {
|
|
7657
7657
|
language: {
|
|
7658
|
-
isMaster?: boolean | undefined;
|
|
7659
7658
|
id: string;
|
|
7660
7659
|
label: string;
|
|
7660
|
+
isMaster: boolean;
|
|
7661
7661
|
};
|
|
7662
7662
|
title: string;
|
|
7663
7663
|
id: string;
|
|
@@ -7673,8 +7673,8 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
|
|
|
7673
7673
|
} | {
|
|
7674
7674
|
status: "archived";
|
|
7675
7675
|
}) & {
|
|
7676
|
-
version_id: string;
|
|
7677
7676
|
tags: string[];
|
|
7677
|
+
version_id: string;
|
|
7678
7678
|
last_modified_date: Date;
|
|
7679
7679
|
custom_type_label: string;
|
|
7680
7680
|
author: {
|
|
@@ -7695,9 +7695,9 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
|
|
|
7695
7695
|
export declare function getDocumentListOptions(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
|
|
7696
7696
|
results: {
|
|
7697
7697
|
language: {
|
|
7698
|
-
isMaster?: boolean | undefined;
|
|
7699
7698
|
id: string;
|
|
7700
7699
|
label: string;
|
|
7700
|
+
isMaster: boolean;
|
|
7701
7701
|
};
|
|
7702
7702
|
title: string;
|
|
7703
7703
|
id: string;
|
|
@@ -7713,8 +7713,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7713
7713
|
} | {
|
|
7714
7714
|
status: "archived";
|
|
7715
7715
|
}) & {
|
|
7716
|
-
version_id: string;
|
|
7717
7716
|
tags: string[];
|
|
7717
|
+
version_id: string;
|
|
7718
7718
|
last_modified_date: Date;
|
|
7719
7719
|
custom_type_label: string;
|
|
7720
7720
|
author: {
|
|
@@ -7734,9 +7734,9 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7734
7734
|
}, Error, {
|
|
7735
7735
|
results: {
|
|
7736
7736
|
language: {
|
|
7737
|
-
isMaster?: boolean | undefined;
|
|
7738
7737
|
id: string;
|
|
7739
7738
|
label: string;
|
|
7739
|
+
isMaster: boolean;
|
|
7740
7740
|
};
|
|
7741
7741
|
title: string;
|
|
7742
7742
|
id: string;
|
|
@@ -7752,8 +7752,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7752
7752
|
} | {
|
|
7753
7753
|
status: "archived";
|
|
7754
7754
|
}) & {
|
|
7755
|
-
version_id: string;
|
|
7756
7755
|
tags: string[];
|
|
7756
|
+
version_id: string;
|
|
7757
7757
|
last_modified_date: Date;
|
|
7758
7758
|
custom_type_label: string;
|
|
7759
7759
|
author: {
|
|
@@ -7774,9 +7774,9 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7774
7774
|
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
7775
7775
|
results: {
|
|
7776
7776
|
language: {
|
|
7777
|
-
isMaster?: boolean | undefined;
|
|
7778
7777
|
id: string;
|
|
7779
7778
|
label: string;
|
|
7779
|
+
isMaster: boolean;
|
|
7780
7780
|
};
|
|
7781
7781
|
title: string;
|
|
7782
7782
|
id: string;
|
|
@@ -7792,8 +7792,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7792
7792
|
} | {
|
|
7793
7793
|
status: "archived";
|
|
7794
7794
|
}) & {
|
|
7795
|
-
version_id: string;
|
|
7796
7795
|
tags: string[];
|
|
7796
|
+
version_id: string;
|
|
7797
7797
|
last_modified_date: Date;
|
|
7798
7798
|
custom_type_label: string;
|
|
7799
7799
|
author: {
|
|
@@ -7815,9 +7815,9 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7815
7815
|
queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<readonly ["documents", "list", GetDocumentListArgs], {
|
|
7816
7816
|
results: {
|
|
7817
7817
|
language: {
|
|
7818
|
-
isMaster?: boolean | undefined;
|
|
7819
7818
|
id: string;
|
|
7820
7819
|
label: string;
|
|
7820
|
+
isMaster: boolean;
|
|
7821
7821
|
};
|
|
7822
7822
|
title: string;
|
|
7823
7823
|
id: string;
|
|
@@ -7833,8 +7833,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7833
7833
|
} | {
|
|
7834
7834
|
status: "archived";
|
|
7835
7835
|
}) & {
|
|
7836
|
-
version_id: string;
|
|
7837
7836
|
tags: string[];
|
|
7837
|
+
version_id: string;
|
|
7838
7838
|
last_modified_date: Date;
|
|
7839
7839
|
custom_type_label: string;
|
|
7840
7840
|
author: {
|
|
@@ -21,9 +21,9 @@ interface SearchDocumentsArgs {
|
|
|
21
21
|
export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
22
22
|
results: {
|
|
23
23
|
language: {
|
|
24
|
-
isMaster?: boolean | undefined;
|
|
25
24
|
id: string;
|
|
26
25
|
label: string;
|
|
26
|
+
isMaster: boolean;
|
|
27
27
|
};
|
|
28
28
|
title: string;
|
|
29
29
|
id: string;
|
|
@@ -39,8 +39,8 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
|
39
39
|
} | {
|
|
40
40
|
status: "archived";
|
|
41
41
|
}) & {
|
|
42
|
-
version_id: string;
|
|
43
42
|
tags: string[];
|
|
43
|
+
version_id: string;
|
|
44
44
|
last_modified_date: Date;
|
|
45
45
|
custom_type_label: string;
|
|
46
46
|
author: {
|
|
@@ -72,8 +72,8 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
|
72
72
|
} | {
|
|
73
73
|
status: "archived";
|
|
74
74
|
}) & {
|
|
75
|
-
version_id: string;
|
|
76
75
|
tags: string[];
|
|
76
|
+
version_id: string;
|
|
77
77
|
last_modified_date: Date;
|
|
78
78
|
summary?: string | undefined;
|
|
79
79
|
uid?: string | undefined;
|
|
@@ -102,9 +102,9 @@ interface SearchDocumentsQueryOptionsArgs {
|
|
|
102
102
|
export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
|
|
103
103
|
results: {
|
|
104
104
|
language: {
|
|
105
|
-
isMaster?: boolean | undefined;
|
|
106
105
|
id: string;
|
|
107
106
|
label: string;
|
|
107
|
+
isMaster: boolean;
|
|
108
108
|
};
|
|
109
109
|
title: string;
|
|
110
110
|
id: string;
|
|
@@ -120,8 +120,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
120
120
|
} | {
|
|
121
121
|
status: "archived";
|
|
122
122
|
}) & {
|
|
123
|
-
version_id: string;
|
|
124
123
|
tags: string[];
|
|
124
|
+
version_id: string;
|
|
125
125
|
last_modified_date: Date;
|
|
126
126
|
custom_type_label: string;
|
|
127
127
|
author: {
|
|
@@ -153,8 +153,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
153
153
|
} | {
|
|
154
154
|
status: "archived";
|
|
155
155
|
}) & {
|
|
156
|
-
version_id: string;
|
|
157
156
|
tags: string[];
|
|
157
|
+
version_id: string;
|
|
158
158
|
last_modified_date: Date;
|
|
159
159
|
summary?: string | undefined;
|
|
160
160
|
uid?: string | undefined;
|
|
@@ -169,9 +169,9 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
169
169
|
}, Error, {
|
|
170
170
|
results: {
|
|
171
171
|
language: {
|
|
172
|
-
isMaster?: boolean | undefined;
|
|
173
172
|
id: string;
|
|
174
173
|
label: string;
|
|
174
|
+
isMaster: boolean;
|
|
175
175
|
};
|
|
176
176
|
title: string;
|
|
177
177
|
id: string;
|
|
@@ -187,8 +187,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
187
187
|
} | {
|
|
188
188
|
status: "archived";
|
|
189
189
|
}) & {
|
|
190
|
-
version_id: string;
|
|
191
190
|
tags: string[];
|
|
191
|
+
version_id: string;
|
|
192
192
|
last_modified_date: Date;
|
|
193
193
|
custom_type_label: string;
|
|
194
194
|
author: {
|
|
@@ -220,8 +220,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
220
220
|
} | {
|
|
221
221
|
status: "archived";
|
|
222
222
|
}) & {
|
|
223
|
-
version_id: string;
|
|
224
223
|
tags: string[];
|
|
224
|
+
version_id: string;
|
|
225
225
|
last_modified_date: Date;
|
|
226
226
|
summary?: string | undefined;
|
|
227
227
|
uid?: string | undefined;
|
|
@@ -252,9 +252,9 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
252
252
|
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
253
253
|
results: {
|
|
254
254
|
language: {
|
|
255
|
-
isMaster?: boolean | undefined;
|
|
256
255
|
id: string;
|
|
257
256
|
label: string;
|
|
257
|
+
isMaster: boolean;
|
|
258
258
|
};
|
|
259
259
|
title: string;
|
|
260
260
|
id: string;
|
|
@@ -270,8 +270,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
270
270
|
} | {
|
|
271
271
|
status: "archived";
|
|
272
272
|
}) & {
|
|
273
|
-
version_id: string;
|
|
274
273
|
tags: string[];
|
|
274
|
+
version_id: string;
|
|
275
275
|
last_modified_date: Date;
|
|
276
276
|
custom_type_label: string;
|
|
277
277
|
author: {
|
|
@@ -303,8 +303,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
303
303
|
} | {
|
|
304
304
|
status: "archived";
|
|
305
305
|
}) & {
|
|
306
|
-
version_id: string;
|
|
307
306
|
tags: string[];
|
|
307
|
+
version_id: string;
|
|
308
308
|
last_modified_date: Date;
|
|
309
309
|
summary?: string | undefined;
|
|
310
310
|
uid?: string | undefined;
|
|
@@ -336,9 +336,9 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
336
336
|
}], {
|
|
337
337
|
results: {
|
|
338
338
|
language: {
|
|
339
|
-
isMaster?: boolean | undefined;
|
|
340
339
|
id: string;
|
|
341
340
|
label: string;
|
|
341
|
+
isMaster: boolean;
|
|
342
342
|
};
|
|
343
343
|
title: string;
|
|
344
344
|
id: string;
|
|
@@ -354,8 +354,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
354
354
|
} | {
|
|
355
355
|
status: "archived";
|
|
356
356
|
}) & {
|
|
357
|
-
version_id: string;
|
|
358
357
|
tags: string[];
|
|
358
|
+
version_id: string;
|
|
359
359
|
last_modified_date: Date;
|
|
360
360
|
custom_type_label: string;
|
|
361
361
|
author: {
|
|
@@ -387,8 +387,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
387
387
|
} | {
|
|
388
388
|
status: "archived";
|
|
389
389
|
}) & {
|
|
390
|
-
version_id: string;
|
|
391
390
|
tags: string[];
|
|
391
|
+
version_id: string;
|
|
392
392
|
last_modified_date: Date;
|
|
393
393
|
summary?: string | undefined;
|
|
394
394
|
uid?: string | undefined;
|
|
@@ -35,27 +35,27 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
35
35
|
languages: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
36
36
|
id: z.ZodString;
|
|
37
37
|
name: z.ZodString;
|
|
38
|
-
is_master: z.
|
|
38
|
+
is_master: z.ZodDefault<z.ZodBoolean>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
id: string;
|
|
41
41
|
name: string;
|
|
42
|
-
is_master
|
|
42
|
+
is_master: boolean;
|
|
43
43
|
}, {
|
|
44
44
|
id: string;
|
|
45
45
|
name: string;
|
|
46
46
|
is_master?: boolean | undefined;
|
|
47
47
|
}>, {
|
|
48
|
-
isMaster?: boolean | undefined;
|
|
49
48
|
id: string;
|
|
50
49
|
label: string;
|
|
50
|
+
isMaster: boolean;
|
|
51
51
|
}, {
|
|
52
52
|
id: string;
|
|
53
53
|
name: string;
|
|
54
54
|
is_master?: boolean | undefined;
|
|
55
55
|
}>, "many">, {
|
|
56
|
-
isMaster?: boolean | undefined;
|
|
57
56
|
id: string;
|
|
58
57
|
label: string;
|
|
58
|
+
isMaster: boolean;
|
|
59
59
|
}[], {
|
|
60
60
|
id: string;
|
|
61
61
|
name: string;
|
|
@@ -109,9 +109,9 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
109
109
|
lastname?: string | undefined;
|
|
110
110
|
}[];
|
|
111
111
|
languages: {
|
|
112
|
-
isMaster?: boolean | undefined;
|
|
113
112
|
id: string;
|
|
114
113
|
label: string;
|
|
114
|
+
isMaster: boolean;
|
|
115
115
|
}[];
|
|
116
116
|
quotas: {
|
|
117
117
|
slicemachineEnabled: boolean;
|
|
@@ -160,9 +160,9 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
160
160
|
lastname?: string | undefined;
|
|
161
161
|
}[];
|
|
162
162
|
languages: {
|
|
163
|
-
isMaster?: boolean | undefined;
|
|
164
163
|
id: string;
|
|
165
164
|
label: string;
|
|
165
|
+
isMaster: boolean;
|
|
166
166
|
}[];
|
|
167
167
|
quotas: {
|
|
168
168
|
slicemachineEnabled: boolean;
|
|
@@ -90,8 +90,6 @@ export declare function useImageField(props: useImageFieldProps): {
|
|
|
90
90
|
uploadImage: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<{
|
|
91
91
|
url: string;
|
|
92
92
|
id: string;
|
|
93
|
-
size: number;
|
|
94
|
-
kind: string;
|
|
95
93
|
tags: {
|
|
96
94
|
id: string;
|
|
97
95
|
name: string;
|
|
@@ -100,6 +98,8 @@ export declare function useImageField(props: useImageFieldProps): {
|
|
|
100
98
|
count: number;
|
|
101
99
|
uploader_id?: string | undefined;
|
|
102
100
|
}[];
|
|
101
|
+
size: number;
|
|
102
|
+
kind: string;
|
|
103
103
|
last_modified: number;
|
|
104
104
|
filename: string;
|
|
105
105
|
notes?: string | undefined;
|