@prismicio/editor-fields 0.4.75-alpha.support-new-cr-model.1 → 0.4.76-alpha.tree-view-component.0
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 +38 -14
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigDialog.d.ts +10 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigPathInput.d.ts +9 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/RequestFiltersFieldset.d.ts +5 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/getFilterSnippet.d.ts +2 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/index.d.ts +3 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/types.d.ts +34 -0
- package/dist/core/APIExplorer/components/Request/components/RequestRefFieldset.d.ts +1 -1
- package/dist/core/APIExplorer/components/Request/components/index.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/createRequest.d.ts +3 -1
- package/dist/core/APIExplorer/components/Request/index.d.ts +1 -1
- package/dist/core/APIExplorer/components/Request/types.d.ts +1 -1
- package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +1 -1
- package/dist/core/APIExplorer/utils.d.ts +3 -2
- package/dist/core/DeferredBarChart.d.ts +3 -0
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +93 -93
- package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +9 -9
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +9 -9
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
- package/dist/core/service/customType.d.ts +20 -20
- package/dist/core/service/document.d.ts +174 -174
- package/dist/core/service/documentSearch.d.ts +60 -60
- package/dist/core/service/repository.d.ts +20 -12
- package/dist/core/service/user.d.ts +5 -5
- package/dist/fields/ImageField/useImageField.d.ts +9 -9
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +9 -9
- package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
- package/dist/fields/LinkField/Documents/documentsData.d.ts +19 -19
- package/dist/fields/LinkField/LinkField.d.ts +1 -1
- package/dist/fields/LinkField/useLinkField.d.ts +1 -1
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +9 -9
- package/dist/index.cjs.js +90 -90
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +21324 -20621
- package/package.json +4 -4
|
@@ -65,47 +65,47 @@ 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;
|
|
68
69
|
id?: string | undefined;
|
|
69
70
|
first_name?: string | undefined;
|
|
70
71
|
last_name?: string | undefined;
|
|
71
|
-
email?: string | undefined;
|
|
72
72
|
uploadedAvatar?: string | undefined;
|
|
73
73
|
}, {
|
|
74
|
+
email?: string | undefined;
|
|
74
75
|
id?: string | undefined;
|
|
75
76
|
first_name?: string | undefined;
|
|
76
77
|
last_name?: string | undefined;
|
|
77
|
-
email?: string | undefined;
|
|
78
78
|
uploadedAvatar?: string | undefined;
|
|
79
79
|
}>;
|
|
80
80
|
}>, "strip", z.ZodTypeAny, {
|
|
81
|
-
tags: string[];
|
|
82
81
|
version_id: string;
|
|
82
|
+
tags: string[];
|
|
83
83
|
last_modified_date: Date;
|
|
84
84
|
custom_type_label: string;
|
|
85
85
|
author: {
|
|
86
|
+
email?: string | undefined;
|
|
86
87
|
id?: string | undefined;
|
|
87
88
|
first_name?: string | undefined;
|
|
88
89
|
last_name?: string | undefined;
|
|
89
|
-
email?: string | undefined;
|
|
90
90
|
uploadedAvatar?: string | undefined;
|
|
91
91
|
};
|
|
92
|
-
preview_image?: string | undefined;
|
|
93
92
|
uid?: string | undefined;
|
|
93
|
+
preview_image?: string | undefined;
|
|
94
94
|
preview_summary?: string | undefined;
|
|
95
95
|
}, {
|
|
96
|
-
tags: string[];
|
|
97
96
|
version_id: string;
|
|
97
|
+
tags: string[];
|
|
98
98
|
last_modified_date: Date;
|
|
99
99
|
custom_type_label: string;
|
|
100
100
|
author: {
|
|
101
|
+
email?: string | undefined;
|
|
101
102
|
id?: string | undefined;
|
|
102
103
|
first_name?: string | undefined;
|
|
103
104
|
last_name?: string | undefined;
|
|
104
|
-
email?: string | undefined;
|
|
105
105
|
uploadedAvatar?: string | undefined;
|
|
106
106
|
};
|
|
107
|
-
preview_image?: string | undefined;
|
|
108
107
|
uid?: string | undefined;
|
|
108
|
+
preview_image?: string | undefined;
|
|
109
109
|
preview_summary?: string | undefined;
|
|
110
110
|
}>>;
|
|
111
111
|
declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
@@ -153,25 +153,25 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
153
153
|
uid?: string | undefined;
|
|
154
154
|
}>>;
|
|
155
155
|
}>, "strip", z.ZodTypeAny, {
|
|
156
|
-
tags: string[];
|
|
157
156
|
version_id: string;
|
|
157
|
+
tags: string[];
|
|
158
158
|
last_modified_date: Date;
|
|
159
|
-
custom_type_id?: string | undefined;
|
|
160
|
-
preview_image?: string | undefined;
|
|
161
|
-
uid?: string | undefined;
|
|
162
159
|
summary?: string | undefined;
|
|
160
|
+
uid?: 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;
|
|
166
166
|
} | undefined;
|
|
167
167
|
}, {
|
|
168
|
-
tags: string[];
|
|
169
168
|
version_id: string;
|
|
169
|
+
tags: string[];
|
|
170
170
|
last_modified_date: Date;
|
|
171
|
-
custom_type_id?: string | undefined;
|
|
172
|
-
preview_image?: string | undefined;
|
|
173
|
-
uid?: string | undefined;
|
|
174
171
|
summary?: string | undefined;
|
|
172
|
+
uid?: 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;
|
|
@@ -248,59 +248,59 @@ 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;
|
|
251
252
|
id?: string | undefined;
|
|
252
253
|
first_name?: string | undefined;
|
|
253
254
|
last_name?: string | undefined;
|
|
254
|
-
email?: string | undefined;
|
|
255
255
|
uploadedAvatar?: string | undefined;
|
|
256
256
|
}, {
|
|
257
|
+
email?: string | undefined;
|
|
257
258
|
id?: string | undefined;
|
|
258
259
|
first_name?: string | undefined;
|
|
259
260
|
last_name?: string | undefined;
|
|
260
|
-
email?: string | undefined;
|
|
261
261
|
uploadedAvatar?: string | undefined;
|
|
262
262
|
}>;
|
|
263
263
|
}>, "strip", z.ZodTypeAny, {
|
|
264
|
-
tags: string[];
|
|
265
264
|
version_id: string;
|
|
265
|
+
tags: string[];
|
|
266
266
|
last_modified_date: Date;
|
|
267
267
|
custom_type_label: string;
|
|
268
268
|
author: {
|
|
269
|
+
email?: string | undefined;
|
|
269
270
|
id?: string | undefined;
|
|
270
271
|
first_name?: string | undefined;
|
|
271
272
|
last_name?: string | undefined;
|
|
272
|
-
email?: string | undefined;
|
|
273
273
|
uploadedAvatar?: string | undefined;
|
|
274
274
|
};
|
|
275
|
-
preview_image?: string | undefined;
|
|
276
275
|
uid?: string | undefined;
|
|
276
|
+
preview_image?: string | undefined;
|
|
277
277
|
preview_summary?: string | undefined;
|
|
278
278
|
}, {
|
|
279
|
-
tags: string[];
|
|
280
279
|
version_id: string;
|
|
280
|
+
tags: string[];
|
|
281
281
|
last_modified_date: Date;
|
|
282
282
|
custom_type_label: string;
|
|
283
283
|
author: {
|
|
284
|
+
email?: string | undefined;
|
|
284
285
|
id?: string | undefined;
|
|
285
286
|
first_name?: string | undefined;
|
|
286
287
|
last_name?: string | undefined;
|
|
287
|
-
email?: string | undefined;
|
|
288
288
|
uploadedAvatar?: string | undefined;
|
|
289
289
|
};
|
|
290
|
-
preview_image?: string | undefined;
|
|
291
290
|
uid?: string | undefined;
|
|
291
|
+
preview_image?: string | undefined;
|
|
292
292
|
preview_summary?: string | undefined;
|
|
293
293
|
}>>, "many">;
|
|
294
294
|
}, "strip", z.ZodTypeAny, {
|
|
295
|
-
id: string;
|
|
296
|
-
title: string;
|
|
297
|
-
custom_type_id: string;
|
|
298
|
-
group_lang_id: string;
|
|
299
295
|
language: {
|
|
300
296
|
isMaster?: boolean | undefined;
|
|
301
297
|
id: string;
|
|
302
298
|
label: string;
|
|
303
299
|
};
|
|
300
|
+
title: string;
|
|
301
|
+
id: string;
|
|
302
|
+
custom_type_id: string;
|
|
303
|
+
group_lang_id: string;
|
|
304
304
|
versions: (({
|
|
305
305
|
status: "unclassified";
|
|
306
306
|
} | {
|
|
@@ -311,30 +311,30 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
311
311
|
} | {
|
|
312
312
|
status: "archived";
|
|
313
313
|
}) & {
|
|
314
|
-
tags: string[];
|
|
315
314
|
version_id: string;
|
|
315
|
+
tags: string[];
|
|
316
316
|
last_modified_date: Date;
|
|
317
317
|
custom_type_label: string;
|
|
318
318
|
author: {
|
|
319
|
+
email?: string | undefined;
|
|
319
320
|
id?: string | undefined;
|
|
320
321
|
first_name?: string | undefined;
|
|
321
322
|
last_name?: string | undefined;
|
|
322
|
-
email?: string | undefined;
|
|
323
323
|
uploadedAvatar?: string | undefined;
|
|
324
324
|
};
|
|
325
|
-
preview_image?: string | undefined;
|
|
326
325
|
uid?: string | undefined;
|
|
326
|
+
preview_image?: string | undefined;
|
|
327
327
|
preview_summary?: string | undefined;
|
|
328
328
|
})[];
|
|
329
329
|
}, {
|
|
330
|
-
id: string;
|
|
331
|
-
custom_type_id: string;
|
|
332
|
-
group_lang_id: string;
|
|
333
330
|
language: {
|
|
334
331
|
id: string;
|
|
335
332
|
name: string;
|
|
336
333
|
is_master?: boolean | undefined;
|
|
337
334
|
};
|
|
335
|
+
id: string;
|
|
336
|
+
custom_type_id: string;
|
|
337
|
+
group_lang_id: string;
|
|
338
338
|
versions: (({
|
|
339
339
|
status: "unclassified";
|
|
340
340
|
} | {
|
|
@@ -345,19 +345,19 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
345
345
|
} | {
|
|
346
346
|
status: "archived";
|
|
347
347
|
}) & {
|
|
348
|
-
tags: string[];
|
|
349
348
|
version_id: string;
|
|
349
|
+
tags: string[];
|
|
350
350
|
last_modified_date: Date;
|
|
351
351
|
custom_type_label: string;
|
|
352
352
|
author: {
|
|
353
|
+
email?: string | undefined;
|
|
353
354
|
id?: string | undefined;
|
|
354
355
|
first_name?: string | undefined;
|
|
355
356
|
last_name?: string | undefined;
|
|
356
|
-
email?: string | undefined;
|
|
357
357
|
uploadedAvatar?: string | undefined;
|
|
358
358
|
};
|
|
359
|
-
preview_image?: string | undefined;
|
|
360
359
|
uid?: string | undefined;
|
|
360
|
+
preview_image?: string | undefined;
|
|
361
361
|
preview_summary?: string | undefined;
|
|
362
362
|
})[];
|
|
363
363
|
title?: string | null | undefined;
|
|
@@ -434,59 +434,59 @@ 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;
|
|
437
438
|
id?: string | undefined;
|
|
438
439
|
first_name?: string | undefined;
|
|
439
440
|
last_name?: string | undefined;
|
|
440
|
-
email?: string | undefined;
|
|
441
441
|
uploadedAvatar?: string | undefined;
|
|
442
442
|
}, {
|
|
443
|
+
email?: string | undefined;
|
|
443
444
|
id?: string | undefined;
|
|
444
445
|
first_name?: string | undefined;
|
|
445
446
|
last_name?: string | undefined;
|
|
446
|
-
email?: string | undefined;
|
|
447
447
|
uploadedAvatar?: string | undefined;
|
|
448
448
|
}>;
|
|
449
449
|
}>, "strip", z.ZodTypeAny, {
|
|
450
|
-
tags: string[];
|
|
451
450
|
version_id: string;
|
|
451
|
+
tags: string[];
|
|
452
452
|
last_modified_date: Date;
|
|
453
453
|
custom_type_label: string;
|
|
454
454
|
author: {
|
|
455
|
+
email?: string | undefined;
|
|
455
456
|
id?: string | undefined;
|
|
456
457
|
first_name?: string | undefined;
|
|
457
458
|
last_name?: string | undefined;
|
|
458
|
-
email?: string | undefined;
|
|
459
459
|
uploadedAvatar?: string | undefined;
|
|
460
460
|
};
|
|
461
|
-
preview_image?: string | undefined;
|
|
462
461
|
uid?: string | undefined;
|
|
462
|
+
preview_image?: string | undefined;
|
|
463
463
|
preview_summary?: string | undefined;
|
|
464
464
|
}, {
|
|
465
|
-
tags: string[];
|
|
466
465
|
version_id: string;
|
|
466
|
+
tags: string[];
|
|
467
467
|
last_modified_date: Date;
|
|
468
468
|
custom_type_label: string;
|
|
469
469
|
author: {
|
|
470
|
+
email?: string | undefined;
|
|
470
471
|
id?: string | undefined;
|
|
471
472
|
first_name?: string | undefined;
|
|
472
473
|
last_name?: string | undefined;
|
|
473
|
-
email?: string | undefined;
|
|
474
474
|
uploadedAvatar?: string | undefined;
|
|
475
475
|
};
|
|
476
|
-
preview_image?: string | undefined;
|
|
477
476
|
uid?: string | undefined;
|
|
477
|
+
preview_image?: string | undefined;
|
|
478
478
|
preview_summary?: string | undefined;
|
|
479
479
|
}>>, "many">;
|
|
480
480
|
}, "strip", z.ZodTypeAny, {
|
|
481
|
-
id: string;
|
|
482
|
-
title: string;
|
|
483
|
-
custom_type_id: string;
|
|
484
|
-
group_lang_id: string;
|
|
485
481
|
language: {
|
|
486
482
|
isMaster?: boolean | undefined;
|
|
487
483
|
id: string;
|
|
488
484
|
label: string;
|
|
489
485
|
};
|
|
486
|
+
title: string;
|
|
487
|
+
id: string;
|
|
488
|
+
custom_type_id: string;
|
|
489
|
+
group_lang_id: string;
|
|
490
490
|
versions: (({
|
|
491
491
|
status: "unclassified";
|
|
492
492
|
} | {
|
|
@@ -497,30 +497,30 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
497
497
|
} | {
|
|
498
498
|
status: "archived";
|
|
499
499
|
}) & {
|
|
500
|
-
tags: string[];
|
|
501
500
|
version_id: string;
|
|
501
|
+
tags: string[];
|
|
502
502
|
last_modified_date: Date;
|
|
503
503
|
custom_type_label: string;
|
|
504
504
|
author: {
|
|
505
|
+
email?: string | undefined;
|
|
505
506
|
id?: string | undefined;
|
|
506
507
|
first_name?: string | undefined;
|
|
507
508
|
last_name?: string | undefined;
|
|
508
|
-
email?: string | undefined;
|
|
509
509
|
uploadedAvatar?: string | undefined;
|
|
510
510
|
};
|
|
511
|
-
preview_image?: string | undefined;
|
|
512
511
|
uid?: string | undefined;
|
|
512
|
+
preview_image?: string | undefined;
|
|
513
513
|
preview_summary?: string | undefined;
|
|
514
514
|
})[];
|
|
515
515
|
}, {
|
|
516
|
-
id: string;
|
|
517
|
-
custom_type_id: string;
|
|
518
|
-
group_lang_id: string;
|
|
519
516
|
language: {
|
|
520
517
|
id: string;
|
|
521
518
|
name: string;
|
|
522
519
|
is_master?: boolean | undefined;
|
|
523
520
|
};
|
|
521
|
+
id: string;
|
|
522
|
+
custom_type_id: string;
|
|
523
|
+
group_lang_id: string;
|
|
524
524
|
versions: (({
|
|
525
525
|
status: "unclassified";
|
|
526
526
|
} | {
|
|
@@ -531,35 +531,34 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
531
531
|
} | {
|
|
532
532
|
status: "archived";
|
|
533
533
|
}) & {
|
|
534
|
-
tags: string[];
|
|
535
534
|
version_id: string;
|
|
535
|
+
tags: string[];
|
|
536
536
|
last_modified_date: Date;
|
|
537
537
|
custom_type_label: string;
|
|
538
538
|
author: {
|
|
539
|
+
email?: string | undefined;
|
|
539
540
|
id?: string | undefined;
|
|
540
541
|
first_name?: string | undefined;
|
|
541
542
|
last_name?: string | undefined;
|
|
542
|
-
email?: string | undefined;
|
|
543
543
|
uploadedAvatar?: string | undefined;
|
|
544
544
|
};
|
|
545
|
-
preview_image?: string | undefined;
|
|
546
545
|
uid?: string | undefined;
|
|
546
|
+
preview_image?: 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;
|
|
553
552
|
results: {
|
|
554
|
-
id: string;
|
|
555
|
-
title: string;
|
|
556
|
-
custom_type_id: string;
|
|
557
|
-
group_lang_id: string;
|
|
558
553
|
language: {
|
|
559
554
|
isMaster?: boolean | undefined;
|
|
560
555
|
id: string;
|
|
561
556
|
label: string;
|
|
562
557
|
};
|
|
558
|
+
title: string;
|
|
559
|
+
id: string;
|
|
560
|
+
custom_type_id: string;
|
|
561
|
+
group_lang_id: string;
|
|
563
562
|
versions: (({
|
|
564
563
|
status: "unclassified";
|
|
565
564
|
} | {
|
|
@@ -570,34 +569,34 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
570
569
|
} | {
|
|
571
570
|
status: "archived";
|
|
572
571
|
}) & {
|
|
573
|
-
tags: string[];
|
|
574
572
|
version_id: string;
|
|
573
|
+
tags: string[];
|
|
575
574
|
last_modified_date: Date;
|
|
576
575
|
custom_type_label: string;
|
|
577
576
|
author: {
|
|
577
|
+
email?: string | undefined;
|
|
578
578
|
id?: string | undefined;
|
|
579
579
|
first_name?: string | undefined;
|
|
580
580
|
last_name?: string | undefined;
|
|
581
|
-
email?: string | undefined;
|
|
582
581
|
uploadedAvatar?: string | undefined;
|
|
583
582
|
};
|
|
584
|
-
preview_image?: string | undefined;
|
|
585
583
|
uid?: string | undefined;
|
|
584
|
+
preview_image?: string | undefined;
|
|
586
585
|
preview_summary?: string | undefined;
|
|
587
586
|
})[];
|
|
588
587
|
}[];
|
|
588
|
+
total: number;
|
|
589
589
|
cursor?: string | undefined;
|
|
590
590
|
}, {
|
|
591
|
-
total: number;
|
|
592
591
|
results: {
|
|
593
|
-
id: string;
|
|
594
|
-
custom_type_id: string;
|
|
595
|
-
group_lang_id: string;
|
|
596
592
|
language: {
|
|
597
593
|
id: string;
|
|
598
594
|
name: string;
|
|
599
595
|
is_master?: boolean | undefined;
|
|
600
596
|
};
|
|
597
|
+
id: string;
|
|
598
|
+
custom_type_id: string;
|
|
599
|
+
group_lang_id: string;
|
|
601
600
|
versions: (({
|
|
602
601
|
status: "unclassified";
|
|
603
602
|
} | {
|
|
@@ -608,23 +607,24 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
608
607
|
} | {
|
|
609
608
|
status: "archived";
|
|
610
609
|
}) & {
|
|
611
|
-
tags: string[];
|
|
612
610
|
version_id: string;
|
|
611
|
+
tags: string[];
|
|
613
612
|
last_modified_date: Date;
|
|
614
613
|
custom_type_label: string;
|
|
615
614
|
author: {
|
|
615
|
+
email?: string | undefined;
|
|
616
616
|
id?: string | undefined;
|
|
617
617
|
first_name?: string | undefined;
|
|
618
618
|
last_name?: string | undefined;
|
|
619
|
-
email?: string | undefined;
|
|
620
619
|
uploadedAvatar?: string | undefined;
|
|
621
620
|
};
|
|
622
|
-
preview_image?: string | undefined;
|
|
623
621
|
uid?: string | undefined;
|
|
622
|
+
preview_image?: string | undefined;
|
|
624
623
|
preview_summary?: string | undefined;
|
|
625
624
|
})[];
|
|
626
625
|
title?: string | null | undefined;
|
|
627
626
|
}[];
|
|
627
|
+
total: number;
|
|
628
628
|
cursor?: string | undefined;
|
|
629
629
|
}>;
|
|
630
630
|
declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -677,25 +677,25 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
677
677
|
uid?: string | undefined;
|
|
678
678
|
}>>;
|
|
679
679
|
}>, "strip", z.ZodTypeAny, {
|
|
680
|
-
tags: string[];
|
|
681
680
|
version_id: string;
|
|
681
|
+
tags: string[];
|
|
682
682
|
last_modified_date: Date;
|
|
683
|
-
custom_type_id?: string | undefined;
|
|
684
|
-
preview_image?: string | undefined;
|
|
685
|
-
uid?: string | undefined;
|
|
686
683
|
summary?: string | undefined;
|
|
684
|
+
uid?: 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;
|
|
690
690
|
} | undefined;
|
|
691
691
|
}, {
|
|
692
|
-
tags: string[];
|
|
693
692
|
version_id: string;
|
|
693
|
+
tags: string[];
|
|
694
694
|
last_modified_date: Date;
|
|
695
|
-
custom_type_id?: string | undefined;
|
|
696
|
-
preview_image?: string | undefined;
|
|
697
|
-
uid?: string | undefined;
|
|
698
695
|
summary?: string | undefined;
|
|
696
|
+
uid?: 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;
|
|
@@ -703,8 +703,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
703
703
|
}>>, "many">;
|
|
704
704
|
locale_id: z.ZodOptional<z.ZodString>;
|
|
705
705
|
}, "strip", z.ZodTypeAny, {
|
|
706
|
-
id: string;
|
|
707
706
|
title: string;
|
|
707
|
+
id: string;
|
|
708
708
|
custom_type_id: string;
|
|
709
709
|
group_lang_id: string;
|
|
710
710
|
interesting_versions: (({
|
|
@@ -717,13 +717,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
717
717
|
} | {
|
|
718
718
|
status: "archived";
|
|
719
719
|
}) & {
|
|
720
|
-
tags: string[];
|
|
721
720
|
version_id: string;
|
|
721
|
+
tags: string[];
|
|
722
722
|
last_modified_date: Date;
|
|
723
|
-
custom_type_id?: string | undefined;
|
|
724
|
-
preview_image?: string | undefined;
|
|
725
|
-
uid?: string | undefined;
|
|
726
723
|
summary?: string | undefined;
|
|
724
|
+
uid?: 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;
|
|
@@ -744,13 +744,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
744
744
|
} | {
|
|
745
745
|
status: "archived";
|
|
746
746
|
}) & {
|
|
747
|
-
tags: string[];
|
|
748
747
|
version_id: string;
|
|
748
|
+
tags: string[];
|
|
749
749
|
last_modified_date: Date;
|
|
750
|
-
custom_type_id?: string | undefined;
|
|
751
|
-
preview_image?: string | undefined;
|
|
752
|
-
uid?: string | undefined;
|
|
753
750
|
summary?: string | undefined;
|
|
751
|
+
uid?: 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;
|
|
@@ -759,8 +759,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
759
759
|
title?: string | null | undefined;
|
|
760
760
|
locale_id?: string | undefined;
|
|
761
761
|
}>, {
|
|
762
|
-
id: string;
|
|
763
762
|
title: string;
|
|
763
|
+
id: string;
|
|
764
764
|
custom_type_id: string;
|
|
765
765
|
group_lang_id: string;
|
|
766
766
|
locale_id?: string | undefined;
|
|
@@ -774,13 +774,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
774
774
|
} | {
|
|
775
775
|
status: "archived";
|
|
776
776
|
}) & {
|
|
777
|
-
tags: string[];
|
|
778
777
|
version_id: string;
|
|
778
|
+
tags: string[];
|
|
779
779
|
last_modified_date: Date;
|
|
780
|
-
custom_type_id?: string | undefined;
|
|
781
|
-
preview_image?: string | undefined;
|
|
782
|
-
uid?: string | undefined;
|
|
783
780
|
summary?: string | undefined;
|
|
781
|
+
uid?: 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;
|
|
@@ -800,13 +800,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
800
800
|
} | {
|
|
801
801
|
status: "archived";
|
|
802
802
|
}) & {
|
|
803
|
-
tags: string[];
|
|
804
803
|
version_id: string;
|
|
804
|
+
tags: string[];
|
|
805
805
|
last_modified_date: Date;
|
|
806
|
-
custom_type_id?: string | undefined;
|
|
807
|
-
preview_image?: string | undefined;
|
|
808
|
-
uid?: string | undefined;
|
|
809
806
|
summary?: string | undefined;
|
|
807
|
+
uid?: 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;
|
|
@@ -866,25 +866,25 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
866
866
|
uid?: string | undefined;
|
|
867
867
|
}>>;
|
|
868
868
|
}>, "strip", z.ZodTypeAny, {
|
|
869
|
-
tags: string[];
|
|
870
869
|
version_id: string;
|
|
870
|
+
tags: string[];
|
|
871
871
|
last_modified_date: Date;
|
|
872
|
-
custom_type_id?: string | undefined;
|
|
873
|
-
preview_image?: string | undefined;
|
|
874
|
-
uid?: string | undefined;
|
|
875
872
|
summary?: string | undefined;
|
|
873
|
+
uid?: 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;
|
|
879
879
|
} | undefined;
|
|
880
880
|
}, {
|
|
881
|
-
tags: string[];
|
|
882
881
|
version_id: string;
|
|
882
|
+
tags: string[];
|
|
883
883
|
last_modified_date: Date;
|
|
884
|
-
custom_type_id?: string | undefined;
|
|
885
|
-
preview_image?: string | undefined;
|
|
886
|
-
uid?: string | undefined;
|
|
887
884
|
summary?: string | undefined;
|
|
885
|
+
uid?: 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;
|
|
@@ -892,8 +892,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
892
892
|
}>>, "many">;
|
|
893
893
|
locale_id: z.ZodOptional<z.ZodString>;
|
|
894
894
|
}, "strip", z.ZodTypeAny, {
|
|
895
|
-
id: string;
|
|
896
895
|
title: string;
|
|
896
|
+
id: string;
|
|
897
897
|
custom_type_id: string;
|
|
898
898
|
group_lang_id: string;
|
|
899
899
|
interesting_versions: (({
|
|
@@ -906,13 +906,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
906
906
|
} | {
|
|
907
907
|
status: "archived";
|
|
908
908
|
}) & {
|
|
909
|
-
tags: string[];
|
|
910
909
|
version_id: string;
|
|
910
|
+
tags: string[];
|
|
911
911
|
last_modified_date: Date;
|
|
912
|
-
custom_type_id?: string | undefined;
|
|
913
|
-
preview_image?: string | undefined;
|
|
914
|
-
uid?: string | undefined;
|
|
915
912
|
summary?: string | undefined;
|
|
913
|
+
uid?: 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;
|
|
@@ -933,13 +933,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
933
933
|
} | {
|
|
934
934
|
status: "archived";
|
|
935
935
|
}) & {
|
|
936
|
-
tags: string[];
|
|
937
936
|
version_id: string;
|
|
937
|
+
tags: string[];
|
|
938
938
|
last_modified_date: Date;
|
|
939
|
-
custom_type_id?: string | undefined;
|
|
940
|
-
preview_image?: string | undefined;
|
|
941
|
-
uid?: string | undefined;
|
|
942
939
|
summary?: string | undefined;
|
|
940
|
+
uid?: 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;
|
|
@@ -948,8 +948,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
948
948
|
title?: string | null | undefined;
|
|
949
949
|
locale_id?: string | undefined;
|
|
950
950
|
}>, {
|
|
951
|
-
id: string;
|
|
952
951
|
title: string;
|
|
952
|
+
id: string;
|
|
953
953
|
custom_type_id: string;
|
|
954
954
|
group_lang_id: string;
|
|
955
955
|
locale_id?: string | undefined;
|
|
@@ -963,13 +963,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
963
963
|
} | {
|
|
964
964
|
status: "archived";
|
|
965
965
|
}) & {
|
|
966
|
-
tags: string[];
|
|
967
966
|
version_id: string;
|
|
967
|
+
tags: string[];
|
|
968
968
|
last_modified_date: Date;
|
|
969
|
-
custom_type_id?: string | undefined;
|
|
970
|
-
preview_image?: string | undefined;
|
|
971
|
-
uid?: string | undefined;
|
|
972
969
|
summary?: string | undefined;
|
|
970
|
+
uid?: 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;
|
|
@@ -989,13 +989,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
989
989
|
} | {
|
|
990
990
|
status: "archived";
|
|
991
991
|
}) & {
|
|
992
|
-
tags: string[];
|
|
993
992
|
version_id: string;
|
|
993
|
+
tags: string[];
|
|
994
994
|
last_modified_date: Date;
|
|
995
|
-
custom_type_id?: string | undefined;
|
|
996
|
-
preview_image?: string | undefined;
|
|
997
|
-
uid?: string | undefined;
|
|
998
995
|
summary?: string | undefined;
|
|
996
|
+
uid?: 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;
|
|
@@ -1006,8 +1006,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
1006
1006
|
}>, "many">;
|
|
1007
1007
|
}, "strip", z.ZodTypeAny, {
|
|
1008
1008
|
results: {
|
|
1009
|
-
id: string;
|
|
1010
1009
|
title: string;
|
|
1010
|
+
id: string;
|
|
1011
1011
|
custom_type_id: string;
|
|
1012
1012
|
group_lang_id: string;
|
|
1013
1013
|
locale_id?: string | undefined;
|
|
@@ -1021,13 +1021,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
1021
1021
|
} | {
|
|
1022
1022
|
status: "archived";
|
|
1023
1023
|
}) & {
|
|
1024
|
-
tags: string[];
|
|
1025
1024
|
version_id: string;
|
|
1025
|
+
tags: string[];
|
|
1026
1026
|
last_modified_date: Date;
|
|
1027
|
-
custom_type_id?: string | undefined;
|
|
1028
|
-
preview_image?: string | undefined;
|
|
1029
|
-
uid?: string | undefined;
|
|
1030
1027
|
summary?: string | undefined;
|
|
1028
|
+
uid?: 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;
|
|
@@ -1049,13 +1049,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
1049
1049
|
} | {
|
|
1050
1050
|
status: "archived";
|
|
1051
1051
|
}) & {
|
|
1052
|
-
tags: string[];
|
|
1053
1052
|
version_id: string;
|
|
1053
|
+
tags: string[];
|
|
1054
1054
|
last_modified_date: Date;
|
|
1055
|
-
custom_type_id?: string | undefined;
|
|
1056
|
-
preview_image?: string | undefined;
|
|
1057
|
-
uid?: string | undefined;
|
|
1058
1055
|
summary?: string | undefined;
|
|
1056
|
+
uid?: 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;
|
|
@@ -7653,17 +7653,16 @@ 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;
|
|
7657
7656
|
results: {
|
|
7658
|
-
id: string;
|
|
7659
|
-
title: string;
|
|
7660
|
-
custom_type_id: string;
|
|
7661
|
-
group_lang_id: string;
|
|
7662
7657
|
language: {
|
|
7663
7658
|
isMaster?: boolean | undefined;
|
|
7664
7659
|
id: string;
|
|
7665
7660
|
label: string;
|
|
7666
7661
|
};
|
|
7662
|
+
title: string;
|
|
7663
|
+
id: string;
|
|
7664
|
+
custom_type_id: string;
|
|
7665
|
+
group_lang_id: string;
|
|
7667
7666
|
versions: (({
|
|
7668
7667
|
status: "unclassified";
|
|
7669
7668
|
} | {
|
|
@@ -7674,36 +7673,36 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
|
|
|
7674
7673
|
} | {
|
|
7675
7674
|
status: "archived";
|
|
7676
7675
|
}) & {
|
|
7677
|
-
tags: string[];
|
|
7678
7676
|
version_id: string;
|
|
7677
|
+
tags: string[];
|
|
7679
7678
|
last_modified_date: Date;
|
|
7680
7679
|
custom_type_label: string;
|
|
7681
7680
|
author: {
|
|
7681
|
+
email?: string | undefined;
|
|
7682
7682
|
id?: string | undefined;
|
|
7683
7683
|
first_name?: string | undefined;
|
|
7684
7684
|
last_name?: string | undefined;
|
|
7685
|
-
email?: string | undefined;
|
|
7686
7685
|
uploadedAvatar?: string | undefined;
|
|
7687
7686
|
};
|
|
7688
|
-
preview_image?: string | undefined;
|
|
7689
7687
|
uid?: string | undefined;
|
|
7688
|
+
preview_image?: string | undefined;
|
|
7690
7689
|
preview_summary?: string | undefined;
|
|
7691
7690
|
})[];
|
|
7692
7691
|
}[];
|
|
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;
|
|
7697
7696
|
results: {
|
|
7698
|
-
id: string;
|
|
7699
|
-
title: string;
|
|
7700
|
-
custom_type_id: string;
|
|
7701
|
-
group_lang_id: string;
|
|
7702
7697
|
language: {
|
|
7703
7698
|
isMaster?: boolean | undefined;
|
|
7704
7699
|
id: string;
|
|
7705
7700
|
label: string;
|
|
7706
7701
|
};
|
|
7702
|
+
title: string;
|
|
7703
|
+
id: string;
|
|
7704
|
+
custom_type_id: string;
|
|
7705
|
+
group_lang_id: string;
|
|
7707
7706
|
versions: (({
|
|
7708
7707
|
status: "unclassified";
|
|
7709
7708
|
} | {
|
|
@@ -7714,35 +7713,35 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7714
7713
|
} | {
|
|
7715
7714
|
status: "archived";
|
|
7716
7715
|
}) & {
|
|
7717
|
-
tags: string[];
|
|
7718
7716
|
version_id: string;
|
|
7717
|
+
tags: string[];
|
|
7719
7718
|
last_modified_date: Date;
|
|
7720
7719
|
custom_type_label: string;
|
|
7721
7720
|
author: {
|
|
7721
|
+
email?: string | undefined;
|
|
7722
7722
|
id?: string | undefined;
|
|
7723
7723
|
first_name?: string | undefined;
|
|
7724
7724
|
last_name?: string | undefined;
|
|
7725
|
-
email?: string | undefined;
|
|
7726
7725
|
uploadedAvatar?: string | undefined;
|
|
7727
7726
|
};
|
|
7728
|
-
preview_image?: string | undefined;
|
|
7729
7727
|
uid?: string | undefined;
|
|
7728
|
+
preview_image?: string | undefined;
|
|
7730
7729
|
preview_summary?: string | undefined;
|
|
7731
7730
|
})[];
|
|
7732
7731
|
}[];
|
|
7732
|
+
total: number;
|
|
7733
7733
|
cursor?: string | undefined;
|
|
7734
7734
|
}, Error, {
|
|
7735
|
-
total: number;
|
|
7736
7735
|
results: {
|
|
7737
|
-
id: string;
|
|
7738
|
-
title: string;
|
|
7739
|
-
custom_type_id: string;
|
|
7740
|
-
group_lang_id: string;
|
|
7741
7736
|
language: {
|
|
7742
7737
|
isMaster?: boolean | undefined;
|
|
7743
7738
|
id: string;
|
|
7744
7739
|
label: string;
|
|
7745
7740
|
};
|
|
7741
|
+
title: string;
|
|
7742
|
+
id: string;
|
|
7743
|
+
custom_type_id: string;
|
|
7744
|
+
group_lang_id: string;
|
|
7746
7745
|
versions: (({
|
|
7747
7746
|
status: "unclassified";
|
|
7748
7747
|
} | {
|
|
@@ -7753,36 +7752,36 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7753
7752
|
} | {
|
|
7754
7753
|
status: "archived";
|
|
7755
7754
|
}) & {
|
|
7756
|
-
tags: string[];
|
|
7757
7755
|
version_id: string;
|
|
7756
|
+
tags: string[];
|
|
7758
7757
|
last_modified_date: Date;
|
|
7759
7758
|
custom_type_label: string;
|
|
7760
7759
|
author: {
|
|
7760
|
+
email?: string | undefined;
|
|
7761
7761
|
id?: string | undefined;
|
|
7762
7762
|
first_name?: string | undefined;
|
|
7763
7763
|
last_name?: string | undefined;
|
|
7764
|
-
email?: string | undefined;
|
|
7765
7764
|
uploadedAvatar?: string | undefined;
|
|
7766
7765
|
};
|
|
7767
|
-
preview_image?: string | undefined;
|
|
7768
7766
|
uid?: string | undefined;
|
|
7767
|
+
preview_image?: string | undefined;
|
|
7769
7768
|
preview_summary?: string | undefined;
|
|
7770
7769
|
})[];
|
|
7771
7770
|
}[];
|
|
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;
|
|
7776
7775
|
results: {
|
|
7777
|
-
id: string;
|
|
7778
|
-
title: string;
|
|
7779
|
-
custom_type_id: string;
|
|
7780
|
-
group_lang_id: string;
|
|
7781
7776
|
language: {
|
|
7782
7777
|
isMaster?: boolean | undefined;
|
|
7783
7778
|
id: string;
|
|
7784
7779
|
label: string;
|
|
7785
7780
|
};
|
|
7781
|
+
title: string;
|
|
7782
|
+
id: string;
|
|
7783
|
+
custom_type_id: string;
|
|
7784
|
+
group_lang_id: string;
|
|
7786
7785
|
versions: (({
|
|
7787
7786
|
status: "unclassified";
|
|
7788
7787
|
} | {
|
|
@@ -7793,37 +7792,37 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7793
7792
|
} | {
|
|
7794
7793
|
status: "archived";
|
|
7795
7794
|
}) & {
|
|
7796
|
-
tags: string[];
|
|
7797
7795
|
version_id: string;
|
|
7796
|
+
tags: string[];
|
|
7798
7797
|
last_modified_date: Date;
|
|
7799
7798
|
custom_type_label: string;
|
|
7800
7799
|
author: {
|
|
7800
|
+
email?: string | undefined;
|
|
7801
7801
|
id?: string | undefined;
|
|
7802
7802
|
first_name?: string | undefined;
|
|
7803
7803
|
last_name?: string | undefined;
|
|
7804
|
-
email?: string | undefined;
|
|
7805
7804
|
uploadedAvatar?: string | undefined;
|
|
7806
7805
|
};
|
|
7807
|
-
preview_image?: string | undefined;
|
|
7808
7806
|
uid?: string | undefined;
|
|
7807
|
+
preview_image?: string | undefined;
|
|
7809
7808
|
preview_summary?: string | undefined;
|
|
7810
7809
|
})[];
|
|
7811
7810
|
}[];
|
|
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;
|
|
7817
7816
|
results: {
|
|
7818
|
-
id: string;
|
|
7819
|
-
title: string;
|
|
7820
|
-
custom_type_id: string;
|
|
7821
|
-
group_lang_id: string;
|
|
7822
7817
|
language: {
|
|
7823
7818
|
isMaster?: boolean | undefined;
|
|
7824
7819
|
id: string;
|
|
7825
7820
|
label: string;
|
|
7826
7821
|
};
|
|
7822
|
+
title: string;
|
|
7823
|
+
id: string;
|
|
7824
|
+
custom_type_id: string;
|
|
7825
|
+
group_lang_id: string;
|
|
7827
7826
|
versions: (({
|
|
7828
7827
|
status: "unclassified";
|
|
7829
7828
|
} | {
|
|
@@ -7834,22 +7833,23 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7834
7833
|
} | {
|
|
7835
7834
|
status: "archived";
|
|
7836
7835
|
}) & {
|
|
7837
|
-
tags: string[];
|
|
7838
7836
|
version_id: string;
|
|
7837
|
+
tags: string[];
|
|
7839
7838
|
last_modified_date: Date;
|
|
7840
7839
|
custom_type_label: string;
|
|
7841
7840
|
author: {
|
|
7841
|
+
email?: string | undefined;
|
|
7842
7842
|
id?: string | undefined;
|
|
7843
7843
|
first_name?: string | undefined;
|
|
7844
7844
|
last_name?: string | undefined;
|
|
7845
|
-
email?: string | undefined;
|
|
7846
7845
|
uploadedAvatar?: string | undefined;
|
|
7847
7846
|
};
|
|
7848
|
-
preview_image?: string | undefined;
|
|
7849
7847
|
uid?: string | undefined;
|
|
7848
|
+
preview_image?: string | undefined;
|
|
7850
7849
|
preview_summary?: string | undefined;
|
|
7851
7850
|
})[];
|
|
7852
7851
|
}[];
|
|
7852
|
+
total: number;
|
|
7853
7853
|
cursor?: string | undefined;
|
|
7854
7854
|
}>;
|
|
7855
7855
|
};
|