@prismicio/editor-fields 0.4.74 → 0.4.75-alpha.support-new-cr-model.1
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 +10 -10
- package/dist/core/APIExplorer/components/Request/components/RequestFormSelect.d.ts +1 -1
- package/dist/core/APIExplorer/components/Request/createRequest.d.ts +6 -7
- package/dist/core/APIExplorer/constants.d.ts +1 -0
- package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +1 -1
- package/dist/core/APIExplorer/utils.d.ts +3 -0
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +76 -76
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +8 -8
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +8 -8
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
- package/dist/core/document.d.ts +1 -1
- package/dist/core/service/customType.d.ts +153 -32
- package/dist/core/service/document.d.ts +146 -146
- package/dist/core/service/documentSearch.d.ts +37 -37
- package/dist/core/service/onboarding.d.ts +3 -3
- package/dist/core/service/repository.d.ts +6 -6
- package/dist/core/service/role.d.ts +64 -64
- package/dist/core/service/user.d.ts +8 -8
- package/dist/fields/ImageField/useImageField.d.ts +8 -8
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +8 -8
- package/dist/fields/LinkField/Documents/documentsData.d.ts +12 -12
- package/dist/fields/LinkField/LinkField.d.ts +1 -1
- package/dist/fields/LinkField/useLinkField.d.ts +1 -1
- package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +8 -8
- package/dist/index.cjs.js +50 -61
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +15514 -15410
- package/dist/slices/utils.d.ts +5 -5
- package/package.json +5 -5
|
@@ -66,16 +66,16 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
66
66
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
68
|
id?: string | undefined;
|
|
69
|
-
email?: string | undefined;
|
|
70
|
-
uploadedAvatar?: string | undefined;
|
|
71
69
|
first_name?: string | undefined;
|
|
72
70
|
last_name?: string | undefined;
|
|
73
|
-
}, {
|
|
74
|
-
id?: string | undefined;
|
|
75
71
|
email?: string | undefined;
|
|
76
72
|
uploadedAvatar?: string | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
id?: string | undefined;
|
|
77
75
|
first_name?: string | undefined;
|
|
78
76
|
last_name?: string | undefined;
|
|
77
|
+
email?: string | undefined;
|
|
78
|
+
uploadedAvatar?: string | undefined;
|
|
79
79
|
}>;
|
|
80
80
|
}>, "strip", z.ZodTypeAny, {
|
|
81
81
|
tags: string[];
|
|
@@ -84,13 +84,13 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
84
84
|
custom_type_label: string;
|
|
85
85
|
author: {
|
|
86
86
|
id?: string | undefined;
|
|
87
|
-
email?: string | undefined;
|
|
88
|
-
uploadedAvatar?: string | undefined;
|
|
89
87
|
first_name?: string | undefined;
|
|
90
88
|
last_name?: string | undefined;
|
|
89
|
+
email?: string | undefined;
|
|
90
|
+
uploadedAvatar?: string | undefined;
|
|
91
91
|
};
|
|
92
|
-
uid?: string | undefined;
|
|
93
92
|
preview_image?: string | undefined;
|
|
93
|
+
uid?: string | undefined;
|
|
94
94
|
preview_summary?: string | undefined;
|
|
95
95
|
}, {
|
|
96
96
|
tags: string[];
|
|
@@ -99,13 +99,13 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
99
99
|
custom_type_label: string;
|
|
100
100
|
author: {
|
|
101
101
|
id?: string | undefined;
|
|
102
|
-
email?: string | undefined;
|
|
103
|
-
uploadedAvatar?: string | undefined;
|
|
104
102
|
first_name?: string | undefined;
|
|
105
103
|
last_name?: string | undefined;
|
|
104
|
+
email?: string | undefined;
|
|
105
|
+
uploadedAvatar?: string | undefined;
|
|
106
106
|
};
|
|
107
|
-
uid?: string | undefined;
|
|
108
107
|
preview_image?: string | undefined;
|
|
108
|
+
uid?: string | undefined;
|
|
109
109
|
preview_summary?: string | undefined;
|
|
110
110
|
}>>;
|
|
111
111
|
declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
@@ -156,10 +156,10 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
156
156
|
tags: string[];
|
|
157
157
|
version_id: string;
|
|
158
158
|
last_modified_date: Date;
|
|
159
|
+
custom_type_id?: string | undefined;
|
|
160
|
+
preview_image?: string | undefined;
|
|
159
161
|
uid?: string | undefined;
|
|
160
162
|
summary?: string | undefined;
|
|
161
|
-
preview_image?: string | undefined;
|
|
162
|
-
custom_type_id?: string | undefined;
|
|
163
163
|
author_ids?: string[] | undefined;
|
|
164
164
|
highlights?: {
|
|
165
165
|
uid?: string | undefined;
|
|
@@ -168,10 +168,10 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
168
168
|
tags: string[];
|
|
169
169
|
version_id: string;
|
|
170
170
|
last_modified_date: Date;
|
|
171
|
+
custom_type_id?: string | undefined;
|
|
172
|
+
preview_image?: string | undefined;
|
|
171
173
|
uid?: string | undefined;
|
|
172
174
|
summary?: string | undefined;
|
|
173
|
-
preview_image?: string | undefined;
|
|
174
|
-
custom_type_id?: string | undefined;
|
|
175
175
|
author_ids?: string[] | undefined;
|
|
176
176
|
highlights?: {
|
|
177
177
|
uid?: string | undefined;
|
|
@@ -249,16 +249,16 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
249
249
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
251
|
id?: string | undefined;
|
|
252
|
-
email?: string | undefined;
|
|
253
|
-
uploadedAvatar?: string | undefined;
|
|
254
252
|
first_name?: string | undefined;
|
|
255
253
|
last_name?: string | undefined;
|
|
256
|
-
}, {
|
|
257
|
-
id?: string | undefined;
|
|
258
254
|
email?: string | undefined;
|
|
259
255
|
uploadedAvatar?: string | undefined;
|
|
256
|
+
}, {
|
|
257
|
+
id?: string | undefined;
|
|
260
258
|
first_name?: string | undefined;
|
|
261
259
|
last_name?: string | undefined;
|
|
260
|
+
email?: string | undefined;
|
|
261
|
+
uploadedAvatar?: string | undefined;
|
|
262
262
|
}>;
|
|
263
263
|
}>, "strip", z.ZodTypeAny, {
|
|
264
264
|
tags: string[];
|
|
@@ -267,13 +267,13 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
267
267
|
custom_type_label: string;
|
|
268
268
|
author: {
|
|
269
269
|
id?: string | undefined;
|
|
270
|
-
email?: string | undefined;
|
|
271
|
-
uploadedAvatar?: string | undefined;
|
|
272
270
|
first_name?: string | undefined;
|
|
273
271
|
last_name?: string | undefined;
|
|
272
|
+
email?: string | undefined;
|
|
273
|
+
uploadedAvatar?: string | undefined;
|
|
274
274
|
};
|
|
275
|
-
uid?: string | undefined;
|
|
276
275
|
preview_image?: string | undefined;
|
|
276
|
+
uid?: string | undefined;
|
|
277
277
|
preview_summary?: string | undefined;
|
|
278
278
|
}, {
|
|
279
279
|
tags: string[];
|
|
@@ -282,25 +282,25 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
282
282
|
custom_type_label: string;
|
|
283
283
|
author: {
|
|
284
284
|
id?: string | undefined;
|
|
285
|
-
email?: string | undefined;
|
|
286
|
-
uploadedAvatar?: string | undefined;
|
|
287
285
|
first_name?: string | undefined;
|
|
288
286
|
last_name?: string | undefined;
|
|
287
|
+
email?: string | undefined;
|
|
288
|
+
uploadedAvatar?: string | undefined;
|
|
289
289
|
};
|
|
290
|
-
uid?: string | undefined;
|
|
291
290
|
preview_image?: string | undefined;
|
|
291
|
+
uid?: string | undefined;
|
|
292
292
|
preview_summary?: string | undefined;
|
|
293
293
|
}>>, "many">;
|
|
294
294
|
}, "strip", z.ZodTypeAny, {
|
|
295
295
|
id: string;
|
|
296
296
|
title: string;
|
|
297
|
+
custom_type_id: string;
|
|
298
|
+
group_lang_id: string;
|
|
297
299
|
language: {
|
|
298
300
|
isMaster?: boolean | undefined;
|
|
299
301
|
id: string;
|
|
300
302
|
label: string;
|
|
301
303
|
};
|
|
302
|
-
custom_type_id: string;
|
|
303
|
-
group_lang_id: string;
|
|
304
304
|
versions: (({
|
|
305
305
|
status: "unclassified";
|
|
306
306
|
} | {
|
|
@@ -317,24 +317,24 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
317
317
|
custom_type_label: string;
|
|
318
318
|
author: {
|
|
319
319
|
id?: string | undefined;
|
|
320
|
-
email?: string | undefined;
|
|
321
|
-
uploadedAvatar?: string | undefined;
|
|
322
320
|
first_name?: string | undefined;
|
|
323
321
|
last_name?: string | undefined;
|
|
322
|
+
email?: string | undefined;
|
|
323
|
+
uploadedAvatar?: string | undefined;
|
|
324
324
|
};
|
|
325
|
-
uid?: string | undefined;
|
|
326
325
|
preview_image?: string | undefined;
|
|
326
|
+
uid?: string | undefined;
|
|
327
327
|
preview_summary?: string | undefined;
|
|
328
328
|
})[];
|
|
329
329
|
}, {
|
|
330
330
|
id: string;
|
|
331
|
+
custom_type_id: string;
|
|
332
|
+
group_lang_id: string;
|
|
331
333
|
language: {
|
|
332
334
|
id: string;
|
|
333
335
|
name: string;
|
|
334
336
|
is_master?: boolean | undefined;
|
|
335
337
|
};
|
|
336
|
-
custom_type_id: string;
|
|
337
|
-
group_lang_id: string;
|
|
338
338
|
versions: (({
|
|
339
339
|
status: "unclassified";
|
|
340
340
|
} | {
|
|
@@ -351,13 +351,13 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
351
351
|
custom_type_label: string;
|
|
352
352
|
author: {
|
|
353
353
|
id?: string | undefined;
|
|
354
|
-
email?: string | undefined;
|
|
355
|
-
uploadedAvatar?: string | undefined;
|
|
356
354
|
first_name?: string | undefined;
|
|
357
355
|
last_name?: string | undefined;
|
|
356
|
+
email?: string | undefined;
|
|
357
|
+
uploadedAvatar?: string | undefined;
|
|
358
358
|
};
|
|
359
|
-
uid?: string | undefined;
|
|
360
359
|
preview_image?: string | undefined;
|
|
360
|
+
uid?: string | undefined;
|
|
361
361
|
preview_summary?: string | undefined;
|
|
362
362
|
})[];
|
|
363
363
|
title?: string | null | undefined;
|
|
@@ -435,16 +435,16 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
435
435
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
436
436
|
}, "strip", z.ZodTypeAny, {
|
|
437
437
|
id?: string | undefined;
|
|
438
|
-
email?: string | undefined;
|
|
439
|
-
uploadedAvatar?: string | undefined;
|
|
440
438
|
first_name?: string | undefined;
|
|
441
439
|
last_name?: string | undefined;
|
|
442
|
-
}, {
|
|
443
|
-
id?: string | undefined;
|
|
444
440
|
email?: string | undefined;
|
|
445
441
|
uploadedAvatar?: string | undefined;
|
|
442
|
+
}, {
|
|
443
|
+
id?: string | undefined;
|
|
446
444
|
first_name?: string | undefined;
|
|
447
445
|
last_name?: string | undefined;
|
|
446
|
+
email?: string | undefined;
|
|
447
|
+
uploadedAvatar?: string | undefined;
|
|
448
448
|
}>;
|
|
449
449
|
}>, "strip", z.ZodTypeAny, {
|
|
450
450
|
tags: string[];
|
|
@@ -453,13 +453,13 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
453
453
|
custom_type_label: string;
|
|
454
454
|
author: {
|
|
455
455
|
id?: string | undefined;
|
|
456
|
-
email?: string | undefined;
|
|
457
|
-
uploadedAvatar?: string | undefined;
|
|
458
456
|
first_name?: string | undefined;
|
|
459
457
|
last_name?: string | undefined;
|
|
458
|
+
email?: string | undefined;
|
|
459
|
+
uploadedAvatar?: string | undefined;
|
|
460
460
|
};
|
|
461
|
-
uid?: string | undefined;
|
|
462
461
|
preview_image?: string | undefined;
|
|
462
|
+
uid?: string | undefined;
|
|
463
463
|
preview_summary?: string | undefined;
|
|
464
464
|
}, {
|
|
465
465
|
tags: string[];
|
|
@@ -468,25 +468,25 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
468
468
|
custom_type_label: string;
|
|
469
469
|
author: {
|
|
470
470
|
id?: string | undefined;
|
|
471
|
-
email?: string | undefined;
|
|
472
|
-
uploadedAvatar?: string | undefined;
|
|
473
471
|
first_name?: string | undefined;
|
|
474
472
|
last_name?: string | undefined;
|
|
473
|
+
email?: string | undefined;
|
|
474
|
+
uploadedAvatar?: string | undefined;
|
|
475
475
|
};
|
|
476
|
-
uid?: string | undefined;
|
|
477
476
|
preview_image?: string | undefined;
|
|
477
|
+
uid?: string | undefined;
|
|
478
478
|
preview_summary?: string | undefined;
|
|
479
479
|
}>>, "many">;
|
|
480
480
|
}, "strip", z.ZodTypeAny, {
|
|
481
481
|
id: string;
|
|
482
482
|
title: string;
|
|
483
|
+
custom_type_id: string;
|
|
484
|
+
group_lang_id: string;
|
|
483
485
|
language: {
|
|
484
486
|
isMaster?: boolean | undefined;
|
|
485
487
|
id: string;
|
|
486
488
|
label: string;
|
|
487
489
|
};
|
|
488
|
-
custom_type_id: string;
|
|
489
|
-
group_lang_id: string;
|
|
490
490
|
versions: (({
|
|
491
491
|
status: "unclassified";
|
|
492
492
|
} | {
|
|
@@ -503,24 +503,24 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
503
503
|
custom_type_label: string;
|
|
504
504
|
author: {
|
|
505
505
|
id?: string | undefined;
|
|
506
|
-
email?: string | undefined;
|
|
507
|
-
uploadedAvatar?: string | undefined;
|
|
508
506
|
first_name?: string | undefined;
|
|
509
507
|
last_name?: string | undefined;
|
|
508
|
+
email?: string | undefined;
|
|
509
|
+
uploadedAvatar?: string | undefined;
|
|
510
510
|
};
|
|
511
|
-
uid?: string | undefined;
|
|
512
511
|
preview_image?: string | undefined;
|
|
512
|
+
uid?: string | undefined;
|
|
513
513
|
preview_summary?: string | undefined;
|
|
514
514
|
})[];
|
|
515
515
|
}, {
|
|
516
516
|
id: string;
|
|
517
|
+
custom_type_id: string;
|
|
518
|
+
group_lang_id: string;
|
|
517
519
|
language: {
|
|
518
520
|
id: string;
|
|
519
521
|
name: string;
|
|
520
522
|
is_master?: boolean | undefined;
|
|
521
523
|
};
|
|
522
|
-
custom_type_id: string;
|
|
523
|
-
group_lang_id: string;
|
|
524
524
|
versions: (({
|
|
525
525
|
status: "unclassified";
|
|
526
526
|
} | {
|
|
@@ -537,28 +537,29 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
537
537
|
custom_type_label: string;
|
|
538
538
|
author: {
|
|
539
539
|
id?: string | undefined;
|
|
540
|
-
email?: string | undefined;
|
|
541
|
-
uploadedAvatar?: string | undefined;
|
|
542
540
|
first_name?: string | undefined;
|
|
543
541
|
last_name?: string | undefined;
|
|
542
|
+
email?: string | undefined;
|
|
543
|
+
uploadedAvatar?: string | undefined;
|
|
544
544
|
};
|
|
545
|
-
uid?: string | undefined;
|
|
546
545
|
preview_image?: string | undefined;
|
|
546
|
+
uid?: string | undefined;
|
|
547
547
|
preview_summary?: string | undefined;
|
|
548
548
|
})[];
|
|
549
549
|
title?: string | null | undefined;
|
|
550
550
|
}>, "many">;
|
|
551
551
|
}, "strip", z.ZodTypeAny, {
|
|
552
|
+
total: number;
|
|
552
553
|
results: {
|
|
553
554
|
id: string;
|
|
554
555
|
title: string;
|
|
556
|
+
custom_type_id: string;
|
|
557
|
+
group_lang_id: string;
|
|
555
558
|
language: {
|
|
556
559
|
isMaster?: boolean | undefined;
|
|
557
560
|
id: string;
|
|
558
561
|
label: string;
|
|
559
562
|
};
|
|
560
|
-
custom_type_id: string;
|
|
561
|
-
group_lang_id: string;
|
|
562
563
|
versions: (({
|
|
563
564
|
status: "unclassified";
|
|
564
565
|
} | {
|
|
@@ -575,28 +576,28 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
575
576
|
custom_type_label: string;
|
|
576
577
|
author: {
|
|
577
578
|
id?: string | undefined;
|
|
578
|
-
email?: string | undefined;
|
|
579
|
-
uploadedAvatar?: string | undefined;
|
|
580
579
|
first_name?: string | undefined;
|
|
581
580
|
last_name?: string | undefined;
|
|
581
|
+
email?: string | undefined;
|
|
582
|
+
uploadedAvatar?: string | undefined;
|
|
582
583
|
};
|
|
583
|
-
uid?: string | undefined;
|
|
584
584
|
preview_image?: string | undefined;
|
|
585
|
+
uid?: string | undefined;
|
|
585
586
|
preview_summary?: string | undefined;
|
|
586
587
|
})[];
|
|
587
588
|
}[];
|
|
588
|
-
total: number;
|
|
589
589
|
cursor?: string | undefined;
|
|
590
590
|
}, {
|
|
591
|
+
total: number;
|
|
591
592
|
results: {
|
|
592
593
|
id: string;
|
|
594
|
+
custom_type_id: string;
|
|
595
|
+
group_lang_id: string;
|
|
593
596
|
language: {
|
|
594
597
|
id: string;
|
|
595
598
|
name: string;
|
|
596
599
|
is_master?: boolean | undefined;
|
|
597
600
|
};
|
|
598
|
-
custom_type_id: string;
|
|
599
|
-
group_lang_id: string;
|
|
600
601
|
versions: (({
|
|
601
602
|
status: "unclassified";
|
|
602
603
|
} | {
|
|
@@ -613,18 +614,17 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
613
614
|
custom_type_label: string;
|
|
614
615
|
author: {
|
|
615
616
|
id?: string | undefined;
|
|
616
|
-
email?: string | undefined;
|
|
617
|
-
uploadedAvatar?: string | undefined;
|
|
618
617
|
first_name?: string | undefined;
|
|
619
618
|
last_name?: string | undefined;
|
|
619
|
+
email?: string | undefined;
|
|
620
|
+
uploadedAvatar?: string | undefined;
|
|
620
621
|
};
|
|
621
|
-
uid?: string | undefined;
|
|
622
622
|
preview_image?: string | undefined;
|
|
623
|
+
uid?: string | undefined;
|
|
623
624
|
preview_summary?: string | undefined;
|
|
624
625
|
})[];
|
|
625
626
|
title?: string | null | undefined;
|
|
626
627
|
}[];
|
|
627
|
-
total: number;
|
|
628
628
|
cursor?: string | undefined;
|
|
629
629
|
}>;
|
|
630
630
|
declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -680,10 +680,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
680
680
|
tags: string[];
|
|
681
681
|
version_id: string;
|
|
682
682
|
last_modified_date: Date;
|
|
683
|
+
custom_type_id?: string | undefined;
|
|
684
|
+
preview_image?: string | undefined;
|
|
683
685
|
uid?: string | undefined;
|
|
684
686
|
summary?: string | undefined;
|
|
685
|
-
preview_image?: string | undefined;
|
|
686
|
-
custom_type_id?: string | undefined;
|
|
687
687
|
author_ids?: string[] | undefined;
|
|
688
688
|
highlights?: {
|
|
689
689
|
uid?: string | undefined;
|
|
@@ -692,10 +692,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
692
692
|
tags: string[];
|
|
693
693
|
version_id: string;
|
|
694
694
|
last_modified_date: Date;
|
|
695
|
+
custom_type_id?: string | undefined;
|
|
696
|
+
preview_image?: string | undefined;
|
|
695
697
|
uid?: string | undefined;
|
|
696
698
|
summary?: string | undefined;
|
|
697
|
-
preview_image?: string | undefined;
|
|
698
|
-
custom_type_id?: string | undefined;
|
|
699
699
|
author_ids?: string[] | undefined;
|
|
700
700
|
highlights?: {
|
|
701
701
|
uid?: string | undefined;
|
|
@@ -720,10 +720,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
720
720
|
tags: string[];
|
|
721
721
|
version_id: string;
|
|
722
722
|
last_modified_date: Date;
|
|
723
|
+
custom_type_id?: string | undefined;
|
|
724
|
+
preview_image?: string | undefined;
|
|
723
725
|
uid?: string | undefined;
|
|
724
726
|
summary?: string | undefined;
|
|
725
|
-
preview_image?: string | undefined;
|
|
726
|
-
custom_type_id?: string | undefined;
|
|
727
727
|
author_ids?: string[] | undefined;
|
|
728
728
|
highlights?: {
|
|
729
729
|
uid?: string | undefined;
|
|
@@ -747,10 +747,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
747
747
|
tags: string[];
|
|
748
748
|
version_id: string;
|
|
749
749
|
last_modified_date: Date;
|
|
750
|
+
custom_type_id?: string | undefined;
|
|
751
|
+
preview_image?: string | undefined;
|
|
750
752
|
uid?: string | undefined;
|
|
751
753
|
summary?: string | undefined;
|
|
752
|
-
preview_image?: string | undefined;
|
|
753
|
-
custom_type_id?: string | undefined;
|
|
754
754
|
author_ids?: string[] | undefined;
|
|
755
755
|
highlights?: {
|
|
756
756
|
uid?: string | undefined;
|
|
@@ -777,10 +777,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
777
777
|
tags: string[];
|
|
778
778
|
version_id: string;
|
|
779
779
|
last_modified_date: Date;
|
|
780
|
+
custom_type_id?: string | undefined;
|
|
781
|
+
preview_image?: string | undefined;
|
|
780
782
|
uid?: string | undefined;
|
|
781
783
|
summary?: string | undefined;
|
|
782
|
-
preview_image?: string | undefined;
|
|
783
|
-
custom_type_id?: string | undefined;
|
|
784
784
|
author_ids?: string[] | undefined;
|
|
785
785
|
highlights?: {
|
|
786
786
|
uid?: string | undefined;
|
|
@@ -803,10 +803,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
803
803
|
tags: string[];
|
|
804
804
|
version_id: string;
|
|
805
805
|
last_modified_date: Date;
|
|
806
|
+
custom_type_id?: string | undefined;
|
|
807
|
+
preview_image?: string | undefined;
|
|
806
808
|
uid?: string | undefined;
|
|
807
809
|
summary?: string | undefined;
|
|
808
|
-
preview_image?: string | undefined;
|
|
809
|
-
custom_type_id?: string | undefined;
|
|
810
810
|
author_ids?: string[] | undefined;
|
|
811
811
|
highlights?: {
|
|
812
812
|
uid?: string | undefined;
|
|
@@ -869,10 +869,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
869
869
|
tags: string[];
|
|
870
870
|
version_id: string;
|
|
871
871
|
last_modified_date: Date;
|
|
872
|
+
custom_type_id?: string | undefined;
|
|
873
|
+
preview_image?: string | undefined;
|
|
872
874
|
uid?: string | undefined;
|
|
873
875
|
summary?: string | undefined;
|
|
874
|
-
preview_image?: string | undefined;
|
|
875
|
-
custom_type_id?: string | undefined;
|
|
876
876
|
author_ids?: string[] | undefined;
|
|
877
877
|
highlights?: {
|
|
878
878
|
uid?: string | undefined;
|
|
@@ -881,10 +881,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
881
881
|
tags: string[];
|
|
882
882
|
version_id: string;
|
|
883
883
|
last_modified_date: Date;
|
|
884
|
+
custom_type_id?: string | undefined;
|
|
885
|
+
preview_image?: string | undefined;
|
|
884
886
|
uid?: string | undefined;
|
|
885
887
|
summary?: string | undefined;
|
|
886
|
-
preview_image?: string | undefined;
|
|
887
|
-
custom_type_id?: string | undefined;
|
|
888
888
|
author_ids?: string[] | undefined;
|
|
889
889
|
highlights?: {
|
|
890
890
|
uid?: string | undefined;
|
|
@@ -909,10 +909,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
909
909
|
tags: string[];
|
|
910
910
|
version_id: string;
|
|
911
911
|
last_modified_date: Date;
|
|
912
|
+
custom_type_id?: string | undefined;
|
|
913
|
+
preview_image?: string | undefined;
|
|
912
914
|
uid?: string | undefined;
|
|
913
915
|
summary?: string | undefined;
|
|
914
|
-
preview_image?: string | undefined;
|
|
915
|
-
custom_type_id?: string | undefined;
|
|
916
916
|
author_ids?: string[] | undefined;
|
|
917
917
|
highlights?: {
|
|
918
918
|
uid?: string | undefined;
|
|
@@ -936,10 +936,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
936
936
|
tags: string[];
|
|
937
937
|
version_id: string;
|
|
938
938
|
last_modified_date: Date;
|
|
939
|
+
custom_type_id?: string | undefined;
|
|
940
|
+
preview_image?: string | undefined;
|
|
939
941
|
uid?: string | undefined;
|
|
940
942
|
summary?: string | undefined;
|
|
941
|
-
preview_image?: string | undefined;
|
|
942
|
-
custom_type_id?: string | undefined;
|
|
943
943
|
author_ids?: string[] | undefined;
|
|
944
944
|
highlights?: {
|
|
945
945
|
uid?: string | undefined;
|
|
@@ -966,10 +966,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
966
966
|
tags: string[];
|
|
967
967
|
version_id: string;
|
|
968
968
|
last_modified_date: Date;
|
|
969
|
+
custom_type_id?: string | undefined;
|
|
970
|
+
preview_image?: string | undefined;
|
|
969
971
|
uid?: string | undefined;
|
|
970
972
|
summary?: string | undefined;
|
|
971
|
-
preview_image?: string | undefined;
|
|
972
|
-
custom_type_id?: string | undefined;
|
|
973
973
|
author_ids?: string[] | undefined;
|
|
974
974
|
highlights?: {
|
|
975
975
|
uid?: string | undefined;
|
|
@@ -992,10 +992,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
992
992
|
tags: string[];
|
|
993
993
|
version_id: string;
|
|
994
994
|
last_modified_date: Date;
|
|
995
|
+
custom_type_id?: string | undefined;
|
|
996
|
+
preview_image?: string | undefined;
|
|
995
997
|
uid?: string | undefined;
|
|
996
998
|
summary?: string | undefined;
|
|
997
|
-
preview_image?: string | undefined;
|
|
998
|
-
custom_type_id?: string | undefined;
|
|
999
999
|
author_ids?: string[] | undefined;
|
|
1000
1000
|
highlights?: {
|
|
1001
1001
|
uid?: string | undefined;
|
|
@@ -1024,10 +1024,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
1024
1024
|
tags: string[];
|
|
1025
1025
|
version_id: string;
|
|
1026
1026
|
last_modified_date: Date;
|
|
1027
|
+
custom_type_id?: string | undefined;
|
|
1028
|
+
preview_image?: string | undefined;
|
|
1027
1029
|
uid?: string | undefined;
|
|
1028
1030
|
summary?: string | undefined;
|
|
1029
|
-
preview_image?: string | undefined;
|
|
1030
|
-
custom_type_id?: string | undefined;
|
|
1031
1031
|
author_ids?: string[] | undefined;
|
|
1032
1032
|
highlights?: {
|
|
1033
1033
|
uid?: string | undefined;
|
|
@@ -1052,10 +1052,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
1052
1052
|
tags: string[];
|
|
1053
1053
|
version_id: string;
|
|
1054
1054
|
last_modified_date: Date;
|
|
1055
|
+
custom_type_id?: string | undefined;
|
|
1056
|
+
preview_image?: string | undefined;
|
|
1055
1057
|
uid?: string | undefined;
|
|
1056
1058
|
summary?: string | undefined;
|
|
1057
|
-
preview_image?: string | undefined;
|
|
1058
|
-
custom_type_id?: string | undefined;
|
|
1059
1059
|
author_ids?: string[] | undefined;
|
|
1060
1060
|
highlights?: {
|
|
1061
1061
|
uid?: string | undefined;
|
|
@@ -1389,7 +1389,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1389
1389
|
label?: string | null | undefined;
|
|
1390
1390
|
direction?: string | null | undefined;
|
|
1391
1391
|
}) | ({
|
|
1392
|
-
type: "
|
|
1392
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1393
1393
|
content: {
|
|
1394
1394
|
text: string;
|
|
1395
1395
|
} & {
|
|
@@ -1554,7 +1554,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1554
1554
|
label?: string | null | undefined;
|
|
1555
1555
|
direction?: string | null | undefined;
|
|
1556
1556
|
}) | ({
|
|
1557
|
-
type: "
|
|
1557
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1558
1558
|
content: {
|
|
1559
1559
|
text: string;
|
|
1560
1560
|
} & {
|
|
@@ -1990,7 +1990,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1990
1990
|
label?: string | null | undefined;
|
|
1991
1991
|
direction?: string | null | undefined;
|
|
1992
1992
|
}) | ({
|
|
1993
|
-
type: "
|
|
1993
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1994
1994
|
content: {
|
|
1995
1995
|
text: string;
|
|
1996
1996
|
} & {
|
|
@@ -2155,7 +2155,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2155
2155
|
label?: string | null | undefined;
|
|
2156
2156
|
direction?: string | null | undefined;
|
|
2157
2157
|
}) | ({
|
|
2158
|
-
type: "
|
|
2158
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2159
2159
|
content: {
|
|
2160
2160
|
text: string;
|
|
2161
2161
|
} & {
|
|
@@ -2583,7 +2583,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2583
2583
|
label?: string | null | undefined;
|
|
2584
2584
|
direction?: string | null | undefined;
|
|
2585
2585
|
}) | ({
|
|
2586
|
-
type: "
|
|
2586
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2587
2587
|
content: {
|
|
2588
2588
|
text: string;
|
|
2589
2589
|
} & {
|
|
@@ -2745,7 +2745,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2745
2745
|
label?: string | null | undefined;
|
|
2746
2746
|
direction?: string | null | undefined;
|
|
2747
2747
|
}) | ({
|
|
2748
|
-
type: "
|
|
2748
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2749
2749
|
content: {
|
|
2750
2750
|
text: string;
|
|
2751
2751
|
} & {
|
|
@@ -3175,7 +3175,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3175
3175
|
label?: string | null | undefined;
|
|
3176
3176
|
direction?: string | null | undefined;
|
|
3177
3177
|
}) | ({
|
|
3178
|
-
type: "
|
|
3178
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3179
3179
|
content: {
|
|
3180
3180
|
text: string;
|
|
3181
3181
|
} & {
|
|
@@ -3340,7 +3340,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3340
3340
|
label?: string | null | undefined;
|
|
3341
3341
|
direction?: string | null | undefined;
|
|
3342
3342
|
}) | ({
|
|
3343
|
-
type: "
|
|
3343
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3344
3344
|
content: {
|
|
3345
3345
|
text: string;
|
|
3346
3346
|
} & {
|
|
@@ -3768,7 +3768,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3768
3768
|
label?: string | null | undefined;
|
|
3769
3769
|
direction?: string | null | undefined;
|
|
3770
3770
|
}) | ({
|
|
3771
|
-
type: "
|
|
3771
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3772
3772
|
content: {
|
|
3773
3773
|
text: string;
|
|
3774
3774
|
} & {
|
|
@@ -3930,7 +3930,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3930
3930
|
label?: string | null | undefined;
|
|
3931
3931
|
direction?: string | null | undefined;
|
|
3932
3932
|
}) | ({
|
|
3933
|
-
type: "
|
|
3933
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3934
3934
|
content: {
|
|
3935
3935
|
text: string;
|
|
3936
3936
|
} & {
|
|
@@ -4356,7 +4356,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
4356
4356
|
label?: string | null | undefined;
|
|
4357
4357
|
direction?: string | null | undefined;
|
|
4358
4358
|
}) | ({
|
|
4359
|
-
type: "
|
|
4359
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4360
4360
|
content: {
|
|
4361
4361
|
text: string;
|
|
4362
4362
|
} & {
|
|
@@ -4521,7 +4521,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
4521
4521
|
label?: string | null | undefined;
|
|
4522
4522
|
direction?: string | null | undefined;
|
|
4523
4523
|
}) | ({
|
|
4524
|
-
type: "
|
|
4524
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4525
4525
|
content: {
|
|
4526
4526
|
text: string;
|
|
4527
4527
|
} & {
|
|
@@ -4956,7 +4956,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4956
4956
|
label?: string | null | undefined;
|
|
4957
4957
|
direction?: string | null | undefined;
|
|
4958
4958
|
}) | ({
|
|
4959
|
-
type: "
|
|
4959
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4960
4960
|
content: {
|
|
4961
4961
|
text: string;
|
|
4962
4962
|
} & {
|
|
@@ -5121,7 +5121,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5121
5121
|
label?: string | null | undefined;
|
|
5122
5122
|
direction?: string | null | undefined;
|
|
5123
5123
|
}) | ({
|
|
5124
|
-
type: "
|
|
5124
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5125
5125
|
content: {
|
|
5126
5126
|
text: string;
|
|
5127
5127
|
} & {
|
|
@@ -5549,7 +5549,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5549
5549
|
label?: string | null | undefined;
|
|
5550
5550
|
direction?: string | null | undefined;
|
|
5551
5551
|
}) | ({
|
|
5552
|
-
type: "
|
|
5552
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5553
5553
|
content: {
|
|
5554
5554
|
text: string;
|
|
5555
5555
|
} & {
|
|
@@ -5714,7 +5714,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5714
5714
|
label?: string | null | undefined;
|
|
5715
5715
|
direction?: string | null | undefined;
|
|
5716
5716
|
}) | ({
|
|
5717
|
-
type: "
|
|
5717
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5718
5718
|
content: {
|
|
5719
5719
|
text: string;
|
|
5720
5720
|
} & {
|
|
@@ -6144,7 +6144,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6144
6144
|
label?: string | null | undefined;
|
|
6145
6145
|
direction?: string | null | undefined;
|
|
6146
6146
|
}) | ({
|
|
6147
|
-
type: "
|
|
6147
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6148
6148
|
content: {
|
|
6149
6149
|
text: string;
|
|
6150
6150
|
} & {
|
|
@@ -6309,7 +6309,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6309
6309
|
label?: string | null | undefined;
|
|
6310
6310
|
direction?: string | null | undefined;
|
|
6311
6311
|
}) | ({
|
|
6312
|
-
type: "
|
|
6312
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6313
6313
|
content: {
|
|
6314
6314
|
text: string;
|
|
6315
6315
|
} & {
|
|
@@ -6737,7 +6737,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6737
6737
|
label?: string | null | undefined;
|
|
6738
6738
|
direction?: string | null | undefined;
|
|
6739
6739
|
}) | ({
|
|
6740
|
-
type: "
|
|
6740
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6741
6741
|
content: {
|
|
6742
6742
|
text: string;
|
|
6743
6743
|
} & {
|
|
@@ -6902,7 +6902,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6902
6902
|
label?: string | null | undefined;
|
|
6903
6903
|
direction?: string | null | undefined;
|
|
6904
6904
|
}) | ({
|
|
6905
|
-
type: "
|
|
6905
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6906
6906
|
content: {
|
|
6907
6907
|
text: string;
|
|
6908
6908
|
} & {
|
|
@@ -7328,7 +7328,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
7328
7328
|
label?: string | null | undefined;
|
|
7329
7329
|
direction?: string | null | undefined;
|
|
7330
7330
|
}) | ({
|
|
7331
|
-
type: "
|
|
7331
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
7332
7332
|
content: {
|
|
7333
7333
|
text: string;
|
|
7334
7334
|
} & {
|
|
@@ -7493,7 +7493,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
7493
7493
|
label?: string | null | undefined;
|
|
7494
7494
|
direction?: string | null | undefined;
|
|
7495
7495
|
}) | ({
|
|
7496
|
-
type: "
|
|
7496
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
7497
7497
|
content: {
|
|
7498
7498
|
text: string;
|
|
7499
7499
|
} & {
|
|
@@ -7653,16 +7653,17 @@ type UpdateDocumentFunction = (document: DocumentMeta, page: GetDocumentListSche
|
|
|
7653
7653
|
export declare function updateDocumentListData(queryClient: QueryClient, updateFunction: UpdateDocumentFunction): void;
|
|
7654
7654
|
export declare function invalidateDocumentListData(queryClient: QueryClient): Promise<void>;
|
|
7655
7655
|
export declare function useDocumentList(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
|
|
7656
|
+
total: number;
|
|
7656
7657
|
results: {
|
|
7657
7658
|
id: string;
|
|
7658
7659
|
title: string;
|
|
7660
|
+
custom_type_id: string;
|
|
7661
|
+
group_lang_id: string;
|
|
7659
7662
|
language: {
|
|
7660
7663
|
isMaster?: boolean | undefined;
|
|
7661
7664
|
id: string;
|
|
7662
7665
|
label: string;
|
|
7663
7666
|
};
|
|
7664
|
-
custom_type_id: string;
|
|
7665
|
-
group_lang_id: string;
|
|
7666
7667
|
versions: (({
|
|
7667
7668
|
status: "unclassified";
|
|
7668
7669
|
} | {
|
|
@@ -7679,30 +7680,30 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
|
|
|
7679
7680
|
custom_type_label: string;
|
|
7680
7681
|
author: {
|
|
7681
7682
|
id?: string | undefined;
|
|
7682
|
-
email?: string | undefined;
|
|
7683
|
-
uploadedAvatar?: string | undefined;
|
|
7684
7683
|
first_name?: string | undefined;
|
|
7685
7684
|
last_name?: string | undefined;
|
|
7685
|
+
email?: string | undefined;
|
|
7686
|
+
uploadedAvatar?: string | undefined;
|
|
7686
7687
|
};
|
|
7687
|
-
uid?: string | undefined;
|
|
7688
7688
|
preview_image?: string | undefined;
|
|
7689
|
+
uid?: string | undefined;
|
|
7689
7690
|
preview_summary?: string | undefined;
|
|
7690
7691
|
})[];
|
|
7691
7692
|
}[];
|
|
7692
|
-
total: number;
|
|
7693
7693
|
cursor?: string | undefined;
|
|
7694
7694
|
}, Error>;
|
|
7695
7695
|
export declare function getDocumentListOptions(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
|
|
7696
|
+
total: number;
|
|
7696
7697
|
results: {
|
|
7697
7698
|
id: string;
|
|
7698
7699
|
title: string;
|
|
7700
|
+
custom_type_id: string;
|
|
7701
|
+
group_lang_id: string;
|
|
7699
7702
|
language: {
|
|
7700
7703
|
isMaster?: boolean | undefined;
|
|
7701
7704
|
id: string;
|
|
7702
7705
|
label: string;
|
|
7703
7706
|
};
|
|
7704
|
-
custom_type_id: string;
|
|
7705
|
-
group_lang_id: string;
|
|
7706
7707
|
versions: (({
|
|
7707
7708
|
status: "unclassified";
|
|
7708
7709
|
} | {
|
|
@@ -7719,29 +7720,29 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7719
7720
|
custom_type_label: string;
|
|
7720
7721
|
author: {
|
|
7721
7722
|
id?: string | undefined;
|
|
7722
|
-
email?: string | undefined;
|
|
7723
|
-
uploadedAvatar?: string | undefined;
|
|
7724
7723
|
first_name?: string | undefined;
|
|
7725
7724
|
last_name?: string | undefined;
|
|
7725
|
+
email?: string | undefined;
|
|
7726
|
+
uploadedAvatar?: string | undefined;
|
|
7726
7727
|
};
|
|
7727
|
-
uid?: string | undefined;
|
|
7728
7728
|
preview_image?: string | undefined;
|
|
7729
|
+
uid?: string | undefined;
|
|
7729
7730
|
preview_summary?: string | undefined;
|
|
7730
7731
|
})[];
|
|
7731
7732
|
}[];
|
|
7732
|
-
total: number;
|
|
7733
7733
|
cursor?: string | undefined;
|
|
7734
7734
|
}, Error, {
|
|
7735
|
+
total: number;
|
|
7735
7736
|
results: {
|
|
7736
7737
|
id: string;
|
|
7737
7738
|
title: string;
|
|
7739
|
+
custom_type_id: string;
|
|
7740
|
+
group_lang_id: string;
|
|
7738
7741
|
language: {
|
|
7739
7742
|
isMaster?: boolean | undefined;
|
|
7740
7743
|
id: string;
|
|
7741
7744
|
label: string;
|
|
7742
7745
|
};
|
|
7743
|
-
custom_type_id: string;
|
|
7744
|
-
group_lang_id: string;
|
|
7745
7746
|
versions: (({
|
|
7746
7747
|
status: "unclassified";
|
|
7747
7748
|
} | {
|
|
@@ -7758,30 +7759,30 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7758
7759
|
custom_type_label: string;
|
|
7759
7760
|
author: {
|
|
7760
7761
|
id?: string | undefined;
|
|
7761
|
-
email?: string | undefined;
|
|
7762
|
-
uploadedAvatar?: string | undefined;
|
|
7763
7762
|
first_name?: string | undefined;
|
|
7764
7763
|
last_name?: string | undefined;
|
|
7764
|
+
email?: string | undefined;
|
|
7765
|
+
uploadedAvatar?: string | undefined;
|
|
7765
7766
|
};
|
|
7766
|
-
uid?: string | undefined;
|
|
7767
7767
|
preview_image?: string | undefined;
|
|
7768
|
+
uid?: string | undefined;
|
|
7768
7769
|
preview_summary?: string | undefined;
|
|
7769
7770
|
})[];
|
|
7770
7771
|
}[];
|
|
7771
|
-
total: number;
|
|
7772
7772
|
cursor?: string | undefined;
|
|
7773
7773
|
}, readonly ["documents", "list", GetDocumentListArgs]> & {
|
|
7774
7774
|
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
7775
|
+
total: number;
|
|
7775
7776
|
results: {
|
|
7776
7777
|
id: string;
|
|
7777
7778
|
title: string;
|
|
7779
|
+
custom_type_id: string;
|
|
7780
|
+
group_lang_id: string;
|
|
7778
7781
|
language: {
|
|
7779
7782
|
isMaster?: boolean | undefined;
|
|
7780
7783
|
id: string;
|
|
7781
7784
|
label: string;
|
|
7782
7785
|
};
|
|
7783
|
-
custom_type_id: string;
|
|
7784
|
-
group_lang_id: string;
|
|
7785
7786
|
versions: (({
|
|
7786
7787
|
status: "unclassified";
|
|
7787
7788
|
} | {
|
|
@@ -7798,31 +7799,31 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7798
7799
|
custom_type_label: string;
|
|
7799
7800
|
author: {
|
|
7800
7801
|
id?: string | undefined;
|
|
7801
|
-
email?: string | undefined;
|
|
7802
|
-
uploadedAvatar?: string | undefined;
|
|
7803
7802
|
first_name?: string | undefined;
|
|
7804
7803
|
last_name?: string | undefined;
|
|
7804
|
+
email?: string | undefined;
|
|
7805
|
+
uploadedAvatar?: string | undefined;
|
|
7805
7806
|
};
|
|
7806
|
-
uid?: string | undefined;
|
|
7807
7807
|
preview_image?: string | undefined;
|
|
7808
|
+
uid?: string | undefined;
|
|
7808
7809
|
preview_summary?: string | undefined;
|
|
7809
7810
|
})[];
|
|
7810
7811
|
}[];
|
|
7811
|
-
total: number;
|
|
7812
7812
|
cursor?: string | undefined;
|
|
7813
7813
|
}> | undefined;
|
|
7814
7814
|
} & {
|
|
7815
7815
|
queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<readonly ["documents", "list", GetDocumentListArgs], {
|
|
7816
|
+
total: number;
|
|
7816
7817
|
results: {
|
|
7817
7818
|
id: string;
|
|
7818
7819
|
title: string;
|
|
7820
|
+
custom_type_id: string;
|
|
7821
|
+
group_lang_id: string;
|
|
7819
7822
|
language: {
|
|
7820
7823
|
isMaster?: boolean | undefined;
|
|
7821
7824
|
id: string;
|
|
7822
7825
|
label: string;
|
|
7823
7826
|
};
|
|
7824
|
-
custom_type_id: string;
|
|
7825
|
-
group_lang_id: string;
|
|
7826
7827
|
versions: (({
|
|
7827
7828
|
status: "unclassified";
|
|
7828
7829
|
} | {
|
|
@@ -7839,17 +7840,16 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7839
7840
|
custom_type_label: string;
|
|
7840
7841
|
author: {
|
|
7841
7842
|
id?: string | undefined;
|
|
7842
|
-
email?: string | undefined;
|
|
7843
|
-
uploadedAvatar?: string | undefined;
|
|
7844
7843
|
first_name?: string | undefined;
|
|
7845
7844
|
last_name?: string | undefined;
|
|
7845
|
+
email?: string | undefined;
|
|
7846
|
+
uploadedAvatar?: string | undefined;
|
|
7846
7847
|
};
|
|
7847
|
-
uid?: string | undefined;
|
|
7848
7848
|
preview_image?: string | undefined;
|
|
7849
|
+
uid?: string | undefined;
|
|
7849
7850
|
preview_summary?: string | undefined;
|
|
7850
7851
|
})[];
|
|
7851
7852
|
}[];
|
|
7852
|
-
total: number;
|
|
7853
7853
|
cursor?: string | undefined;
|
|
7854
7854
|
}>;
|
|
7855
7855
|
};
|