@prismicio/editor-fields 0.4.77-alpha.bump-types-internal.1 → 0.4.77-alpha.bump-types-internal.3
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 +48 -8
- 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/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 +36 -36
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +4 -4
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +4 -4
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +9 -9
- package/dist/core/service/document.d.ts +100 -100
- package/dist/core/service/documentSearch.d.ts +25 -25
- package/dist/core/service/repository.d.ts +18 -18
- package/dist/fields/ImageField/useImageField.d.ts +4 -4
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +4 -4
- package/dist/fields/KeyTextField.d.ts +1 -1
- package/dist/fields/LinkField/Documents/documentsData.d.ts +9 -9
- package/dist/fields/RichTextField/RichTextField.d.ts +2 -0
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +4 -4
- package/dist/fields/RichTextField/extensions/extensions.d.ts +1 -1
- package/dist/index.cjs.js +47 -47
- package/dist/index.es.js +21080 -20488
- package/package.json +5 -5
|
@@ -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;
|
|
@@ -65,26 +65,26 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
65
65
|
email: z.ZodOptional<z.ZodString>;
|
|
66
66
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
email?: string | undefined;
|
|
69
68
|
id?: string | undefined;
|
|
69
|
+
email?: string | undefined;
|
|
70
70
|
first_name?: string | undefined;
|
|
71
71
|
last_name?: string | undefined;
|
|
72
72
|
uploadedAvatar?: string | undefined;
|
|
73
73
|
}, {
|
|
74
|
-
email?: string | undefined;
|
|
75
74
|
id?: string | undefined;
|
|
75
|
+
email?: string | undefined;
|
|
76
76
|
first_name?: string | undefined;
|
|
77
77
|
last_name?: string | undefined;
|
|
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: {
|
|
86
|
-
email?: string | undefined;
|
|
87
86
|
id?: string | undefined;
|
|
87
|
+
email?: string | undefined;
|
|
88
88
|
first_name?: string | undefined;
|
|
89
89
|
last_name?: string | undefined;
|
|
90
90
|
uploadedAvatar?: string | undefined;
|
|
@@ -93,13 +93,13 @@ 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: {
|
|
101
|
-
email?: string | undefined;
|
|
102
101
|
id?: string | undefined;
|
|
102
|
+
email?: string | undefined;
|
|
103
103
|
first_name?: string | undefined;
|
|
104
104
|
last_name?: string | undefined;
|
|
105
105
|
uploadedAvatar?: string | undefined;
|
|
@@ -153,11 +153,11 @@ 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
|
-
summary?: string | undefined;
|
|
160
159
|
uid?: string | undefined;
|
|
160
|
+
summary?: string | undefined;
|
|
161
161
|
preview_image?: string | undefined;
|
|
162
162
|
custom_type_id?: string | undefined;
|
|
163
163
|
author_ids?: string[] | undefined;
|
|
@@ -165,11 +165,11 @@ 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
|
-
summary?: string | undefined;
|
|
172
171
|
uid?: string | undefined;
|
|
172
|
+
summary?: string | undefined;
|
|
173
173
|
preview_image?: string | undefined;
|
|
174
174
|
custom_type_id?: string | undefined;
|
|
175
175
|
author_ids?: 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;
|
|
@@ -248,26 +248,26 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
248
248
|
email: z.ZodOptional<z.ZodString>;
|
|
249
249
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
|
-
email?: string | undefined;
|
|
252
251
|
id?: string | undefined;
|
|
252
|
+
email?: string | undefined;
|
|
253
253
|
first_name?: string | undefined;
|
|
254
254
|
last_name?: string | undefined;
|
|
255
255
|
uploadedAvatar?: string | undefined;
|
|
256
256
|
}, {
|
|
257
|
-
email?: string | undefined;
|
|
258
257
|
id?: string | undefined;
|
|
258
|
+
email?: string | undefined;
|
|
259
259
|
first_name?: string | undefined;
|
|
260
260
|
last_name?: string | undefined;
|
|
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: {
|
|
269
|
-
email?: string | undefined;
|
|
270
269
|
id?: string | undefined;
|
|
270
|
+
email?: string | undefined;
|
|
271
271
|
first_name?: string | undefined;
|
|
272
272
|
last_name?: string | undefined;
|
|
273
273
|
uploadedAvatar?: string | undefined;
|
|
@@ -276,13 +276,13 @@ 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: {
|
|
284
|
-
email?: string | undefined;
|
|
285
284
|
id?: string | undefined;
|
|
285
|
+
email?: string | undefined;
|
|
286
286
|
first_name?: string | undefined;
|
|
287
287
|
last_name?: string | undefined;
|
|
288
288
|
uploadedAvatar?: string | undefined;
|
|
@@ -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,13 +311,13 @@ 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: {
|
|
319
|
-
email?: string | undefined;
|
|
320
319
|
id?: string | undefined;
|
|
320
|
+
email?: string | undefined;
|
|
321
321
|
first_name?: string | undefined;
|
|
322
322
|
last_name?: string | undefined;
|
|
323
323
|
uploadedAvatar?: string | undefined;
|
|
@@ -345,13 +345,13 @@ 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: {
|
|
353
|
-
email?: string | undefined;
|
|
354
353
|
id?: string | undefined;
|
|
354
|
+
email?: string | undefined;
|
|
355
355
|
first_name?: string | undefined;
|
|
356
356
|
last_name?: string | undefined;
|
|
357
357
|
uploadedAvatar?: string | undefined;
|
|
@@ -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;
|
|
@@ -434,26 +434,26 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
434
434
|
email: z.ZodOptional<z.ZodString>;
|
|
435
435
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
436
436
|
}, "strip", z.ZodTypeAny, {
|
|
437
|
-
email?: string | undefined;
|
|
438
437
|
id?: string | undefined;
|
|
438
|
+
email?: string | undefined;
|
|
439
439
|
first_name?: string | undefined;
|
|
440
440
|
last_name?: string | undefined;
|
|
441
441
|
uploadedAvatar?: string | undefined;
|
|
442
442
|
}, {
|
|
443
|
-
email?: string | undefined;
|
|
444
443
|
id?: string | undefined;
|
|
444
|
+
email?: string | undefined;
|
|
445
445
|
first_name?: string | undefined;
|
|
446
446
|
last_name?: string | undefined;
|
|
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: {
|
|
455
|
-
email?: string | undefined;
|
|
456
455
|
id?: string | undefined;
|
|
456
|
+
email?: string | undefined;
|
|
457
457
|
first_name?: string | undefined;
|
|
458
458
|
last_name?: string | undefined;
|
|
459
459
|
uploadedAvatar?: string | undefined;
|
|
@@ -462,13 +462,13 @@ 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: {
|
|
470
|
-
email?: string | undefined;
|
|
471
470
|
id?: string | undefined;
|
|
471
|
+
email?: string | undefined;
|
|
472
472
|
first_name?: string | undefined;
|
|
473
473
|
last_name?: string | undefined;
|
|
474
474
|
uploadedAvatar?: string | undefined;
|
|
@@ -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,13 +497,13 @@ 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: {
|
|
505
|
-
email?: string | undefined;
|
|
506
505
|
id?: string | undefined;
|
|
506
|
+
email?: string | undefined;
|
|
507
507
|
first_name?: string | undefined;
|
|
508
508
|
last_name?: string | undefined;
|
|
509
509
|
uploadedAvatar?: string | undefined;
|
|
@@ -531,13 +531,13 @@ 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: {
|
|
539
|
-
email?: string | undefined;
|
|
540
539
|
id?: string | undefined;
|
|
540
|
+
email?: string | undefined;
|
|
541
541
|
first_name?: string | undefined;
|
|
542
542
|
last_name?: string | undefined;
|
|
543
543
|
uploadedAvatar?: string | undefined;
|
|
@@ -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,13 +569,13 @@ 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: {
|
|
577
|
-
email?: string | undefined;
|
|
578
577
|
id?: string | undefined;
|
|
578
|
+
email?: string | undefined;
|
|
579
579
|
first_name?: string | undefined;
|
|
580
580
|
last_name?: string | undefined;
|
|
581
581
|
uploadedAvatar?: string | undefined;
|
|
@@ -607,13 +607,13 @@ 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: {
|
|
615
|
-
email?: string | undefined;
|
|
616
615
|
id?: string | undefined;
|
|
616
|
+
email?: string | undefined;
|
|
617
617
|
first_name?: string | undefined;
|
|
618
618
|
last_name?: string | undefined;
|
|
619
619
|
uploadedAvatar?: string | undefined;
|
|
@@ -677,11 +677,11 @@ 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
|
-
summary?: string | undefined;
|
|
684
683
|
uid?: string | undefined;
|
|
684
|
+
summary?: string | undefined;
|
|
685
685
|
preview_image?: string | undefined;
|
|
686
686
|
custom_type_id?: string | undefined;
|
|
687
687
|
author_ids?: string[] | undefined;
|
|
@@ -689,11 +689,11 @@ 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
|
-
summary?: string | undefined;
|
|
696
695
|
uid?: string | undefined;
|
|
696
|
+
summary?: string | undefined;
|
|
697
697
|
preview_image?: string | undefined;
|
|
698
698
|
custom_type_id?: string | undefined;
|
|
699
699
|
author_ids?: string[] | undefined;
|
|
@@ -717,11 +717,11 @@ 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
|
-
summary?: string | undefined;
|
|
724
723
|
uid?: string | undefined;
|
|
724
|
+
summary?: string | undefined;
|
|
725
725
|
preview_image?: string | undefined;
|
|
726
726
|
custom_type_id?: string | undefined;
|
|
727
727
|
author_ids?: string[] | undefined;
|
|
@@ -744,11 +744,11 @@ 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
|
-
summary?: string | undefined;
|
|
751
750
|
uid?: string | undefined;
|
|
751
|
+
summary?: string | undefined;
|
|
752
752
|
preview_image?: string | undefined;
|
|
753
753
|
custom_type_id?: string | undefined;
|
|
754
754
|
author_ids?: string[] | undefined;
|
|
@@ -774,11 +774,11 @@ 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
|
-
summary?: string | undefined;
|
|
781
780
|
uid?: string | undefined;
|
|
781
|
+
summary?: string | undefined;
|
|
782
782
|
preview_image?: string | undefined;
|
|
783
783
|
custom_type_id?: string | undefined;
|
|
784
784
|
author_ids?: string[] | undefined;
|
|
@@ -800,11 +800,11 @@ 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
|
-
summary?: string | undefined;
|
|
807
806
|
uid?: string | undefined;
|
|
807
|
+
summary?: string | undefined;
|
|
808
808
|
preview_image?: string | undefined;
|
|
809
809
|
custom_type_id?: string | undefined;
|
|
810
810
|
author_ids?: string[] | undefined;
|
|
@@ -866,11 +866,11 @@ 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
|
-
summary?: string | undefined;
|
|
873
872
|
uid?: string | undefined;
|
|
873
|
+
summary?: string | undefined;
|
|
874
874
|
preview_image?: string | undefined;
|
|
875
875
|
custom_type_id?: string | undefined;
|
|
876
876
|
author_ids?: string[] | undefined;
|
|
@@ -878,11 +878,11 @@ 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
|
-
summary?: string | undefined;
|
|
885
884
|
uid?: string | undefined;
|
|
885
|
+
summary?: string | undefined;
|
|
886
886
|
preview_image?: string | undefined;
|
|
887
887
|
custom_type_id?: string | undefined;
|
|
888
888
|
author_ids?: string[] | undefined;
|
|
@@ -906,11 +906,11 @@ 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
|
-
summary?: string | undefined;
|
|
913
912
|
uid?: string | undefined;
|
|
913
|
+
summary?: string | undefined;
|
|
914
914
|
preview_image?: string | undefined;
|
|
915
915
|
custom_type_id?: string | undefined;
|
|
916
916
|
author_ids?: string[] | undefined;
|
|
@@ -933,11 +933,11 @@ 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
|
-
summary?: string | undefined;
|
|
940
939
|
uid?: string | undefined;
|
|
940
|
+
summary?: string | undefined;
|
|
941
941
|
preview_image?: string | undefined;
|
|
942
942
|
custom_type_id?: string | undefined;
|
|
943
943
|
author_ids?: string[] | undefined;
|
|
@@ -963,11 +963,11 @@ 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
|
-
summary?: string | undefined;
|
|
970
969
|
uid?: string | undefined;
|
|
970
|
+
summary?: string | undefined;
|
|
971
971
|
preview_image?: string | undefined;
|
|
972
972
|
custom_type_id?: string | undefined;
|
|
973
973
|
author_ids?: string[] | undefined;
|
|
@@ -989,11 +989,11 @@ 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
|
-
summary?: string | undefined;
|
|
996
995
|
uid?: string | undefined;
|
|
996
|
+
summary?: string | undefined;
|
|
997
997
|
preview_image?: string | undefined;
|
|
998
998
|
custom_type_id?: string | undefined;
|
|
999
999
|
author_ids?: string[] | undefined;
|
|
@@ -1021,11 +1021,11 @@ 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
|
-
summary?: string | undefined;
|
|
1028
1027
|
uid?: string | undefined;
|
|
1028
|
+
summary?: string | undefined;
|
|
1029
1029
|
preview_image?: string | undefined;
|
|
1030
1030
|
custom_type_id?: string | undefined;
|
|
1031
1031
|
author_ids?: string[] | undefined;
|
|
@@ -1049,11 +1049,11 @@ 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
|
-
summary?: string | undefined;
|
|
1056
1055
|
uid?: string | undefined;
|
|
1056
|
+
summary?: string | undefined;
|
|
1057
1057
|
preview_image?: string | undefined;
|
|
1058
1058
|
custom_type_id?: string | undefined;
|
|
1059
1059
|
author_ids?: string[] | undefined;
|
|
@@ -1460,7 +1460,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1460
1460
|
content: ({
|
|
1461
1461
|
key: string;
|
|
1462
1462
|
} & {
|
|
1463
|
-
type: "
|
|
1463
|
+
type: "tableHeader" | "tableCell";
|
|
1464
1464
|
content: {
|
|
1465
1465
|
__TYPE__: "StructuredTextContent";
|
|
1466
1466
|
value: (({
|
|
@@ -2061,7 +2061,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2061
2061
|
content: ({
|
|
2062
2062
|
key: string;
|
|
2063
2063
|
} & {
|
|
2064
|
-
type: "
|
|
2064
|
+
type: "tableHeader" | "tableCell";
|
|
2065
2065
|
content: {
|
|
2066
2066
|
__TYPE__: "StructuredTextContent";
|
|
2067
2067
|
value: (({
|
|
@@ -2654,7 +2654,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2654
2654
|
content: ({
|
|
2655
2655
|
key: string;
|
|
2656
2656
|
} & {
|
|
2657
|
-
type: "
|
|
2657
|
+
type: "tableHeader" | "tableCell";
|
|
2658
2658
|
content: {
|
|
2659
2659
|
__TYPE__: "StructuredTextContent";
|
|
2660
2660
|
value: (({
|
|
@@ -3246,7 +3246,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3246
3246
|
content: ({
|
|
3247
3247
|
key: string;
|
|
3248
3248
|
} & {
|
|
3249
|
-
type: "
|
|
3249
|
+
type: "tableHeader" | "tableCell";
|
|
3250
3250
|
content: {
|
|
3251
3251
|
__TYPE__: "StructuredTextContent";
|
|
3252
3252
|
value: (({
|
|
@@ -3839,7 +3839,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3839
3839
|
content: ({
|
|
3840
3840
|
key: string;
|
|
3841
3841
|
} & {
|
|
3842
|
-
type: "
|
|
3842
|
+
type: "tableHeader" | "tableCell";
|
|
3843
3843
|
content: {
|
|
3844
3844
|
__TYPE__: "StructuredTextContent";
|
|
3845
3845
|
value: (({
|
|
@@ -4427,7 +4427,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
4427
4427
|
content: ({
|
|
4428
4428
|
key: string;
|
|
4429
4429
|
} & {
|
|
4430
|
-
type: "
|
|
4430
|
+
type: "tableHeader" | "tableCell";
|
|
4431
4431
|
content: {
|
|
4432
4432
|
__TYPE__: "StructuredTextContent";
|
|
4433
4433
|
value: (({
|
|
@@ -5027,7 +5027,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5027
5027
|
content: ({
|
|
5028
5028
|
key: string;
|
|
5029
5029
|
} & {
|
|
5030
|
-
type: "
|
|
5030
|
+
type: "tableHeader" | "tableCell";
|
|
5031
5031
|
content: {
|
|
5032
5032
|
__TYPE__: "StructuredTextContent";
|
|
5033
5033
|
value: (({
|
|
@@ -5620,7 +5620,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5620
5620
|
content: ({
|
|
5621
5621
|
key: string;
|
|
5622
5622
|
} & {
|
|
5623
|
-
type: "
|
|
5623
|
+
type: "tableHeader" | "tableCell";
|
|
5624
5624
|
content: {
|
|
5625
5625
|
__TYPE__: "StructuredTextContent";
|
|
5626
5626
|
value: (({
|
|
@@ -6215,7 +6215,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6215
6215
|
content: ({
|
|
6216
6216
|
key: string;
|
|
6217
6217
|
} & {
|
|
6218
|
-
type: "
|
|
6218
|
+
type: "tableHeader" | "tableCell";
|
|
6219
6219
|
content: {
|
|
6220
6220
|
__TYPE__: "StructuredTextContent";
|
|
6221
6221
|
value: (({
|
|
@@ -6808,7 +6808,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6808
6808
|
content: ({
|
|
6809
6809
|
key: string;
|
|
6810
6810
|
} & {
|
|
6811
|
-
type: "
|
|
6811
|
+
type: "tableHeader" | "tableCell";
|
|
6812
6812
|
content: {
|
|
6813
6813
|
__TYPE__: "StructuredTextContent";
|
|
6814
6814
|
value: (({
|
|
@@ -7399,7 +7399,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
7399
7399
|
content: ({
|
|
7400
7400
|
key: string;
|
|
7401
7401
|
} & {
|
|
7402
|
-
type: "
|
|
7402
|
+
type: "tableHeader" | "tableCell";
|
|
7403
7403
|
content: {
|
|
7404
7404
|
__TYPE__: "StructuredTextContent";
|
|
7405
7405
|
value: (({
|
|
@@ -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,13 +7673,13 @@ 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: {
|
|
7681
|
-
email?: string | undefined;
|
|
7682
7681
|
id?: string | undefined;
|
|
7682
|
+
email?: string | undefined;
|
|
7683
7683
|
first_name?: string | undefined;
|
|
7684
7684
|
last_name?: string | undefined;
|
|
7685
7685
|
uploadedAvatar?: string | undefined;
|
|
@@ -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,13 +7713,13 @@ 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: {
|
|
7721
|
-
email?: string | undefined;
|
|
7722
7721
|
id?: string | undefined;
|
|
7722
|
+
email?: string | undefined;
|
|
7723
7723
|
first_name?: string | undefined;
|
|
7724
7724
|
last_name?: string | undefined;
|
|
7725
7725
|
uploadedAvatar?: string | undefined;
|
|
@@ -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,13 +7752,13 @@ 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: {
|
|
7760
|
-
email?: string | undefined;
|
|
7761
7760
|
id?: string | undefined;
|
|
7761
|
+
email?: string | undefined;
|
|
7762
7762
|
first_name?: string | undefined;
|
|
7763
7763
|
last_name?: string | undefined;
|
|
7764
7764
|
uploadedAvatar?: string | undefined;
|
|
@@ -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,13 +7792,13 @@ 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: {
|
|
7800
|
-
email?: string | undefined;
|
|
7801
7800
|
id?: string | undefined;
|
|
7801
|
+
email?: string | undefined;
|
|
7802
7802
|
first_name?: string | undefined;
|
|
7803
7803
|
last_name?: string | undefined;
|
|
7804
7804
|
uploadedAvatar?: string | undefined;
|
|
@@ -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,13 +7833,13 @@ 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: {
|
|
7841
|
-
email?: string | undefined;
|
|
7842
7841
|
id?: string | undefined;
|
|
7842
|
+
email?: string | undefined;
|
|
7843
7843
|
first_name?: string | undefined;
|
|
7844
7844
|
last_name?: string | undefined;
|
|
7845
7845
|
uploadedAvatar?: string | undefined;
|