@prismicio/editor-fields 0.4.63 → 0.4.64-alpha.fix-simulator-issue.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/EditorConfig.d.ts +12 -3
- package/dist/core/APIExplorer/APIExplorer.d.ts +2 -0
- package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +54 -0
- package/dist/core/APIExplorer/components/APIExplorerRequest.d.ts +2 -0
- package/dist/core/APIExplorer/components/APIExplorerResponse.d.ts +2 -0
- package/dist/core/APIExplorer/components/Request/GetByTypeRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetByUIDRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetRepositoryRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetSingleRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFormInput.d.ts +4 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFormInputBase.d.ts +6 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFormSelect.d.ts +4 -0
- package/dist/core/APIExplorer/components/Request/components/RequestPaginationFieldset.d.ts +5 -0
- package/dist/core/APIExplorer/components/Request/components/RequestTypeFieldset.d.ts +7 -0
- package/dist/core/APIExplorer/components/Request/components/index.d.ts +3 -0
- package/dist/core/APIExplorer/components/Request/createRequest.d.ts +20 -0
- package/dist/core/APIExplorer/components/Request/index.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/types.d.ts +14 -0
- package/dist/core/APIExplorer/index.d.ts +1 -0
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +45 -45
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +5 -5
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +5 -5
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
- package/dist/core/service/aiSeoMetadata.d.ts +2 -6
- package/dist/core/service/customType.d.ts +19 -19
- package/dist/core/service/document.d.ts +101 -101
- package/dist/core/service/documentSearch.d.ts +30 -30
- 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 +257 -36
- package/dist/core/service/user.d.ts +11 -7
- package/dist/fields/ImageField/useImageField.d.ts +5 -5
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +5 -5
- package/dist/fields/LinkField/Documents/documentsData.d.ts +10 -10
- package/dist/fields/LinkField/LinkField.d.ts +1 -1
- package/dist/fields/RichTextField/RichTextField.d.ts +7 -0
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +5 -5
- package/dist/fields/RichTextField/extensions/Table/Table.d.ts +4 -4
- package/dist/fields/RichTextField/extensions/Table/TableCell/TableCell.d.ts +10 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/TableHeaderCell.d.ts +10 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/index.d.ts +2 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPlugin.d.ts +8 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPluginView.d.ts +34 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/events.d.ts +19 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/index.d.ts +1 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/utils.d.ts +21 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/index.d.ts +1 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/types.d.ts +17 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/utils.d.ts +15 -0
- package/dist/fields/RichTextField/extensions/Table/TableEvent.d.ts +31 -0
- package/dist/fields/RichTextField/extensions/Table/TableLimitToast.d.ts +7 -0
- package/dist/fields/RichTextField/extensions/Table/TableRow.d.ts +9 -0
- package/dist/fields/RichTextField/extensions/Table/TableView.d.ts +22 -0
- package/dist/fields/RichTextField/extensions/Table/menus/TableColumnMenu.d.ts +11 -0
- package/dist/fields/RichTextField/extensions/Table/menus/TableFloatingMenus.d.ts +7 -0
- package/dist/fields/RichTextField/extensions/Table/menus/TableRowMenu.d.ts +10 -0
- package/dist/fields/RichTextField/extensions/Table/menus/TriggerAnchor.d.ts +11 -0
- package/dist/fields/RichTextField/extensions/Table/menus/index.d.ts +2 -0
- package/dist/fields/RichTextField/extensions/Table/menus/utils.d.ts +23 -0
- package/dist/fields/RichTextField/extensions/Table/utils.d.ts +9 -0
- package/dist/fields/RichTextField/extensions/extensions.d.ts +1 -1
- package/dist/index.cjs.js +138 -38
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +59273 -10833
- package/dist/slices/utils.d.ts +4 -4
- package/package.json +6 -6
|
@@ -66,42 +66,42 @@ 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;
|
|
69
70
|
first_name?: string | undefined;
|
|
70
71
|
last_name?: string | undefined;
|
|
71
|
-
email?: string | undefined;
|
|
72
72
|
uploadedAvatar?: string | undefined;
|
|
73
73
|
}, {
|
|
74
74
|
id?: string | undefined;
|
|
75
|
+
email?: 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
86
|
id?: string | undefined;
|
|
87
|
+
email?: 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
92
|
preview_image?: string | undefined;
|
|
93
93
|
uid?: 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
101
|
id?: string | undefined;
|
|
102
|
+
email?: 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
107
|
preview_image?: string | undefined;
|
|
@@ -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
|
+
summary?: string | undefined;
|
|
159
160
|
preview_image?: string | undefined;
|
|
160
161
|
uid?: string | undefined;
|
|
161
162
|
custom_type_id?: string | undefined;
|
|
162
|
-
summary?: 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
|
+
summary?: string | undefined;
|
|
171
172
|
preview_image?: string | undefined;
|
|
172
173
|
uid?: string | undefined;
|
|
173
174
|
custom_type_id?: string | undefined;
|
|
174
|
-
summary?: string | undefined;
|
|
175
175
|
author_ids?: string[] | undefined;
|
|
176
176
|
highlights?: {
|
|
177
177
|
uid?: string | undefined;
|
|
@@ -249,42 +249,42 @@ 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;
|
|
252
253
|
first_name?: string | undefined;
|
|
253
254
|
last_name?: string | undefined;
|
|
254
|
-
email?: string | undefined;
|
|
255
255
|
uploadedAvatar?: string | undefined;
|
|
256
256
|
}, {
|
|
257
257
|
id?: string | undefined;
|
|
258
|
+
email?: 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
269
|
id?: string | undefined;
|
|
270
|
+
email?: 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
275
|
preview_image?: string | undefined;
|
|
276
276
|
uid?: 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
284
|
id?: string | undefined;
|
|
285
|
+
email?: 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
290
|
preview_image?: string | undefined;
|
|
@@ -294,13 +294,13 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
294
294
|
}, "strip", z.ZodTypeAny, {
|
|
295
295
|
id: string;
|
|
296
296
|
title: string;
|
|
297
|
-
custom_type_id: string;
|
|
298
|
-
group_lang_id: string;
|
|
299
297
|
language: {
|
|
300
298
|
isMaster?: boolean | undefined;
|
|
301
299
|
id: string;
|
|
302
300
|
label: string;
|
|
303
301
|
};
|
|
302
|
+
custom_type_id: string;
|
|
303
|
+
group_lang_id: string;
|
|
304
304
|
versions: (({
|
|
305
305
|
status: "unclassified";
|
|
306
306
|
} | {
|
|
@@ -311,15 +311,15 @@ 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
319
|
id?: string | undefined;
|
|
320
|
+
email?: 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
325
|
preview_image?: string | undefined;
|
|
@@ -328,13 +328,13 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
328
328
|
})[];
|
|
329
329
|
}, {
|
|
330
330
|
id: string;
|
|
331
|
-
custom_type_id: string;
|
|
332
|
-
group_lang_id: string;
|
|
333
331
|
language: {
|
|
334
332
|
name: string;
|
|
335
333
|
id: string;
|
|
336
334
|
is_master?: boolean | undefined;
|
|
337
335
|
};
|
|
336
|
+
custom_type_id: string;
|
|
337
|
+
group_lang_id: string;
|
|
338
338
|
versions: (({
|
|
339
339
|
status: "unclassified";
|
|
340
340
|
} | {
|
|
@@ -345,15 +345,15 @@ 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
353
|
id?: string | undefined;
|
|
354
|
+
email?: 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
359
|
preview_image?: string | undefined;
|
|
@@ -435,42 +435,42 @@ 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;
|
|
438
439
|
first_name?: string | undefined;
|
|
439
440
|
last_name?: string | undefined;
|
|
440
|
-
email?: string | undefined;
|
|
441
441
|
uploadedAvatar?: string | undefined;
|
|
442
442
|
}, {
|
|
443
443
|
id?: string | undefined;
|
|
444
|
+
email?: 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
455
|
id?: string | undefined;
|
|
456
|
+
email?: 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
461
|
preview_image?: string | undefined;
|
|
462
462
|
uid?: 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
470
|
id?: string | undefined;
|
|
471
|
+
email?: 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
476
|
preview_image?: string | undefined;
|
|
@@ -480,13 +480,13 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
480
480
|
}, "strip", z.ZodTypeAny, {
|
|
481
481
|
id: string;
|
|
482
482
|
title: string;
|
|
483
|
-
custom_type_id: string;
|
|
484
|
-
group_lang_id: string;
|
|
485
483
|
language: {
|
|
486
484
|
isMaster?: boolean | undefined;
|
|
487
485
|
id: string;
|
|
488
486
|
label: string;
|
|
489
487
|
};
|
|
488
|
+
custom_type_id: string;
|
|
489
|
+
group_lang_id: string;
|
|
490
490
|
versions: (({
|
|
491
491
|
status: "unclassified";
|
|
492
492
|
} | {
|
|
@@ -497,15 +497,15 @@ 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
505
|
id?: string | undefined;
|
|
506
|
+
email?: 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
511
|
preview_image?: string | undefined;
|
|
@@ -514,13 +514,13 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
514
514
|
})[];
|
|
515
515
|
}, {
|
|
516
516
|
id: string;
|
|
517
|
-
custom_type_id: string;
|
|
518
|
-
group_lang_id: string;
|
|
519
517
|
language: {
|
|
520
518
|
name: string;
|
|
521
519
|
id: string;
|
|
522
520
|
is_master?: boolean | undefined;
|
|
523
521
|
};
|
|
522
|
+
custom_type_id: string;
|
|
523
|
+
group_lang_id: string;
|
|
524
524
|
versions: (({
|
|
525
525
|
status: "unclassified";
|
|
526
526
|
} | {
|
|
@@ -531,15 +531,15 @@ 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
539
|
id?: string | undefined;
|
|
540
|
+
email?: 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
545
|
preview_image?: string | undefined;
|
|
@@ -549,17 +549,16 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
549
549
|
title?: string | null | undefined;
|
|
550
550
|
}>, "many">;
|
|
551
551
|
}, "strip", z.ZodTypeAny, {
|
|
552
|
-
total: number;
|
|
553
552
|
results: {
|
|
554
553
|
id: string;
|
|
555
554
|
title: string;
|
|
556
|
-
custom_type_id: string;
|
|
557
|
-
group_lang_id: string;
|
|
558
555
|
language: {
|
|
559
556
|
isMaster?: boolean | undefined;
|
|
560
557
|
id: string;
|
|
561
558
|
label: string;
|
|
562
559
|
};
|
|
560
|
+
custom_type_id: string;
|
|
561
|
+
group_lang_id: string;
|
|
563
562
|
versions: (({
|
|
564
563
|
status: "unclassified";
|
|
565
564
|
} | {
|
|
@@ -570,15 +569,15 @@ 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: {
|
|
578
577
|
id?: string | undefined;
|
|
578
|
+
email?: 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
583
|
preview_image?: string | undefined;
|
|
@@ -586,18 +585,18 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
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
592
|
id: string;
|
|
594
|
-
custom_type_id: string;
|
|
595
|
-
group_lang_id: string;
|
|
596
593
|
language: {
|
|
597
594
|
name: string;
|
|
598
595
|
id: string;
|
|
599
596
|
is_master?: boolean | undefined;
|
|
600
597
|
};
|
|
598
|
+
custom_type_id: string;
|
|
599
|
+
group_lang_id: string;
|
|
601
600
|
versions: (({
|
|
602
601
|
status: "unclassified";
|
|
603
602
|
} | {
|
|
@@ -608,15 +607,15 @@ 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: {
|
|
616
615
|
id?: string | undefined;
|
|
616
|
+
email?: 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
621
|
preview_image?: string | undefined;
|
|
@@ -625,6 +624,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
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
|
+
summary?: string | undefined;
|
|
683
684
|
preview_image?: string | undefined;
|
|
684
685
|
uid?: string | undefined;
|
|
685
686
|
custom_type_id?: string | undefined;
|
|
686
|
-
summary?: 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
|
+
summary?: string | undefined;
|
|
695
696
|
preview_image?: string | undefined;
|
|
696
697
|
uid?: string | undefined;
|
|
697
698
|
custom_type_id?: string | undefined;
|
|
698
|
-
summary?: string | undefined;
|
|
699
699
|
author_ids?: string[] | undefined;
|
|
700
700
|
highlights?: {
|
|
701
701
|
uid?: string | undefined;
|
|
@@ -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
|
+
summary?: string | undefined;
|
|
723
724
|
preview_image?: string | undefined;
|
|
724
725
|
uid?: string | undefined;
|
|
725
726
|
custom_type_id?: string | undefined;
|
|
726
|
-
summary?: 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
|
+
summary?: string | undefined;
|
|
750
751
|
preview_image?: string | undefined;
|
|
751
752
|
uid?: string | undefined;
|
|
752
753
|
custom_type_id?: string | undefined;
|
|
753
|
-
summary?: string | undefined;
|
|
754
754
|
author_ids?: string[] | undefined;
|
|
755
755
|
highlights?: {
|
|
756
756
|
uid?: 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
|
+
summary?: string | undefined;
|
|
780
781
|
preview_image?: string | undefined;
|
|
781
782
|
uid?: string | undefined;
|
|
782
783
|
custom_type_id?: string | undefined;
|
|
783
|
-
summary?: 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
|
+
summary?: string | undefined;
|
|
806
807
|
preview_image?: string | undefined;
|
|
807
808
|
uid?: string | undefined;
|
|
808
809
|
custom_type_id?: string | undefined;
|
|
809
|
-
summary?: 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
|
+
summary?: string | undefined;
|
|
872
873
|
preview_image?: string | undefined;
|
|
873
874
|
uid?: string | undefined;
|
|
874
875
|
custom_type_id?: string | undefined;
|
|
875
|
-
summary?: 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
|
+
summary?: string | undefined;
|
|
884
885
|
preview_image?: string | undefined;
|
|
885
886
|
uid?: string | undefined;
|
|
886
887
|
custom_type_id?: string | undefined;
|
|
887
|
-
summary?: string | undefined;
|
|
888
888
|
author_ids?: string[] | undefined;
|
|
889
889
|
highlights?: {
|
|
890
890
|
uid?: string | undefined;
|
|
@@ -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
|
+
summary?: string | undefined;
|
|
912
913
|
preview_image?: string | undefined;
|
|
913
914
|
uid?: string | undefined;
|
|
914
915
|
custom_type_id?: string | undefined;
|
|
915
|
-
summary?: 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
|
+
summary?: string | undefined;
|
|
939
940
|
preview_image?: string | undefined;
|
|
940
941
|
uid?: string | undefined;
|
|
941
942
|
custom_type_id?: string | undefined;
|
|
942
|
-
summary?: string | undefined;
|
|
943
943
|
author_ids?: string[] | undefined;
|
|
944
944
|
highlights?: {
|
|
945
945
|
uid?: 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
|
+
summary?: string | undefined;
|
|
969
970
|
preview_image?: string | undefined;
|
|
970
971
|
uid?: string | undefined;
|
|
971
972
|
custom_type_id?: string | undefined;
|
|
972
|
-
summary?: 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
|
+
summary?: string | undefined;
|
|
995
996
|
preview_image?: string | undefined;
|
|
996
997
|
uid?: string | undefined;
|
|
997
998
|
custom_type_id?: string | undefined;
|
|
998
|
-
summary?: string | undefined;
|
|
999
999
|
author_ids?: string[] | undefined;
|
|
1000
1000
|
highlights?: {
|
|
1001
1001
|
uid?: 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
|
+
summary?: string | undefined;
|
|
1027
1028
|
preview_image?: string | undefined;
|
|
1028
1029
|
uid?: string | undefined;
|
|
1029
1030
|
custom_type_id?: string | undefined;
|
|
1030
|
-
summary?: 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
|
+
summary?: string | undefined;
|
|
1055
1056
|
preview_image?: string | undefined;
|
|
1056
1057
|
uid?: string | undefined;
|
|
1057
1058
|
custom_type_id?: string | undefined;
|
|
1058
|
-
summary?: string | undefined;
|
|
1059
1059
|
author_ids?: string[] | undefined;
|
|
1060
1060
|
highlights?: {
|
|
1061
1061
|
uid?: string | undefined;
|
|
@@ -7587,17 +7587,16 @@ type UpdateDocumentFunction = (document: DocumentMeta, page: GetDocumentListSche
|
|
|
7587
7587
|
export declare function updateDocumentListData(queryClient: QueryClient, updateFunction: UpdateDocumentFunction): void;
|
|
7588
7588
|
export declare function invalidateDocumentListData(queryClient: QueryClient): Promise<void>;
|
|
7589
7589
|
export declare function useDocumentList(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
|
|
7590
|
-
total: number;
|
|
7591
7590
|
results: {
|
|
7592
7591
|
id: string;
|
|
7593
7592
|
title: string;
|
|
7594
|
-
custom_type_id: string;
|
|
7595
|
-
group_lang_id: string;
|
|
7596
7593
|
language: {
|
|
7597
7594
|
isMaster?: boolean | undefined;
|
|
7598
7595
|
id: string;
|
|
7599
7596
|
label: string;
|
|
7600
7597
|
};
|
|
7598
|
+
custom_type_id: string;
|
|
7599
|
+
group_lang_id: string;
|
|
7601
7600
|
versions: (({
|
|
7602
7601
|
status: "unclassified";
|
|
7603
7602
|
} | {
|
|
@@ -7608,15 +7607,15 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
|
|
|
7608
7607
|
} | {
|
|
7609
7608
|
status: "archived";
|
|
7610
7609
|
}) & {
|
|
7611
|
-
tags: string[];
|
|
7612
7610
|
version_id: string;
|
|
7611
|
+
tags: string[];
|
|
7613
7612
|
last_modified_date: Date;
|
|
7614
7613
|
custom_type_label: string;
|
|
7615
7614
|
author: {
|
|
7616
7615
|
id?: string | undefined;
|
|
7616
|
+
email?: string | undefined;
|
|
7617
7617
|
first_name?: string | undefined;
|
|
7618
7618
|
last_name?: string | undefined;
|
|
7619
|
-
email?: string | undefined;
|
|
7620
7619
|
uploadedAvatar?: string | undefined;
|
|
7621
7620
|
};
|
|
7622
7621
|
preview_image?: string | undefined;
|
|
@@ -7624,20 +7623,20 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
|
|
|
7624
7623
|
preview_summary?: string | undefined;
|
|
7625
7624
|
})[];
|
|
7626
7625
|
}[];
|
|
7626
|
+
total: number;
|
|
7627
7627
|
cursor?: string | undefined;
|
|
7628
7628
|
}, Error>;
|
|
7629
7629
|
export declare function getDocumentListOptions(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
|
|
7630
|
-
total: number;
|
|
7631
7630
|
results: {
|
|
7632
7631
|
id: string;
|
|
7633
7632
|
title: string;
|
|
7634
|
-
custom_type_id: string;
|
|
7635
|
-
group_lang_id: string;
|
|
7636
7633
|
language: {
|
|
7637
7634
|
isMaster?: boolean | undefined;
|
|
7638
7635
|
id: string;
|
|
7639
7636
|
label: string;
|
|
7640
7637
|
};
|
|
7638
|
+
custom_type_id: string;
|
|
7639
|
+
group_lang_id: string;
|
|
7641
7640
|
versions: (({
|
|
7642
7641
|
status: "unclassified";
|
|
7643
7642
|
} | {
|
|
@@ -7648,15 +7647,15 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7648
7647
|
} | {
|
|
7649
7648
|
status: "archived";
|
|
7650
7649
|
}) & {
|
|
7651
|
-
tags: string[];
|
|
7652
7650
|
version_id: string;
|
|
7651
|
+
tags: string[];
|
|
7653
7652
|
last_modified_date: Date;
|
|
7654
7653
|
custom_type_label: string;
|
|
7655
7654
|
author: {
|
|
7656
7655
|
id?: string | undefined;
|
|
7656
|
+
email?: string | undefined;
|
|
7657
7657
|
first_name?: string | undefined;
|
|
7658
7658
|
last_name?: string | undefined;
|
|
7659
|
-
email?: string | undefined;
|
|
7660
7659
|
uploadedAvatar?: string | undefined;
|
|
7661
7660
|
};
|
|
7662
7661
|
preview_image?: string | undefined;
|
|
@@ -7664,19 +7663,19 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7664
7663
|
preview_summary?: string | undefined;
|
|
7665
7664
|
})[];
|
|
7666
7665
|
}[];
|
|
7666
|
+
total: number;
|
|
7667
7667
|
cursor?: string | undefined;
|
|
7668
7668
|
}, Error, {
|
|
7669
|
-
total: number;
|
|
7670
7669
|
results: {
|
|
7671
7670
|
id: string;
|
|
7672
7671
|
title: string;
|
|
7673
|
-
custom_type_id: string;
|
|
7674
|
-
group_lang_id: string;
|
|
7675
7672
|
language: {
|
|
7676
7673
|
isMaster?: boolean | undefined;
|
|
7677
7674
|
id: string;
|
|
7678
7675
|
label: string;
|
|
7679
7676
|
};
|
|
7677
|
+
custom_type_id: string;
|
|
7678
|
+
group_lang_id: string;
|
|
7680
7679
|
versions: (({
|
|
7681
7680
|
status: "unclassified";
|
|
7682
7681
|
} | {
|
|
@@ -7687,15 +7686,15 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7687
7686
|
} | {
|
|
7688
7687
|
status: "archived";
|
|
7689
7688
|
}) & {
|
|
7690
|
-
tags: string[];
|
|
7691
7689
|
version_id: string;
|
|
7690
|
+
tags: string[];
|
|
7692
7691
|
last_modified_date: Date;
|
|
7693
7692
|
custom_type_label: string;
|
|
7694
7693
|
author: {
|
|
7695
7694
|
id?: string | undefined;
|
|
7695
|
+
email?: string | undefined;
|
|
7696
7696
|
first_name?: string | undefined;
|
|
7697
7697
|
last_name?: string | undefined;
|
|
7698
|
-
email?: string | undefined;
|
|
7699
7698
|
uploadedAvatar?: string | undefined;
|
|
7700
7699
|
};
|
|
7701
7700
|
preview_image?: string | undefined;
|
|
@@ -7703,20 +7702,20 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7703
7702
|
preview_summary?: string | undefined;
|
|
7704
7703
|
})[];
|
|
7705
7704
|
}[];
|
|
7705
|
+
total: number;
|
|
7706
7706
|
cursor?: string | undefined;
|
|
7707
7707
|
}, readonly ["documents", "list", GetDocumentListArgs]> & {
|
|
7708
7708
|
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
7709
|
-
total: number;
|
|
7710
7709
|
results: {
|
|
7711
7710
|
id: string;
|
|
7712
7711
|
title: string;
|
|
7713
|
-
custom_type_id: string;
|
|
7714
|
-
group_lang_id: string;
|
|
7715
7712
|
language: {
|
|
7716
7713
|
isMaster?: boolean | undefined;
|
|
7717
7714
|
id: string;
|
|
7718
7715
|
label: string;
|
|
7719
7716
|
};
|
|
7717
|
+
custom_type_id: string;
|
|
7718
|
+
group_lang_id: string;
|
|
7720
7719
|
versions: (({
|
|
7721
7720
|
status: "unclassified";
|
|
7722
7721
|
} | {
|
|
@@ -7727,15 +7726,15 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7727
7726
|
} | {
|
|
7728
7727
|
status: "archived";
|
|
7729
7728
|
}) & {
|
|
7730
|
-
tags: string[];
|
|
7731
7729
|
version_id: string;
|
|
7730
|
+
tags: string[];
|
|
7732
7731
|
last_modified_date: Date;
|
|
7733
7732
|
custom_type_label: string;
|
|
7734
7733
|
author: {
|
|
7735
7734
|
id?: string | undefined;
|
|
7735
|
+
email?: string | undefined;
|
|
7736
7736
|
first_name?: string | undefined;
|
|
7737
7737
|
last_name?: string | undefined;
|
|
7738
|
-
email?: string | undefined;
|
|
7739
7738
|
uploadedAvatar?: string | undefined;
|
|
7740
7739
|
};
|
|
7741
7740
|
preview_image?: string | undefined;
|
|
@@ -7743,21 +7742,21 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7743
7742
|
preview_summary?: string | undefined;
|
|
7744
7743
|
})[];
|
|
7745
7744
|
}[];
|
|
7745
|
+
total: number;
|
|
7746
7746
|
cursor?: string | undefined;
|
|
7747
7747
|
}> | undefined;
|
|
7748
7748
|
} & {
|
|
7749
7749
|
queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<readonly ["documents", "list", GetDocumentListArgs], {
|
|
7750
|
-
total: number;
|
|
7751
7750
|
results: {
|
|
7752
7751
|
id: string;
|
|
7753
7752
|
title: string;
|
|
7754
|
-
custom_type_id: string;
|
|
7755
|
-
group_lang_id: string;
|
|
7756
7753
|
language: {
|
|
7757
7754
|
isMaster?: boolean | undefined;
|
|
7758
7755
|
id: string;
|
|
7759
7756
|
label: string;
|
|
7760
7757
|
};
|
|
7758
|
+
custom_type_id: string;
|
|
7759
|
+
group_lang_id: string;
|
|
7761
7760
|
versions: (({
|
|
7762
7761
|
status: "unclassified";
|
|
7763
7762
|
} | {
|
|
@@ -7768,15 +7767,15 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7768
7767
|
} | {
|
|
7769
7768
|
status: "archived";
|
|
7770
7769
|
}) & {
|
|
7771
|
-
tags: string[];
|
|
7772
7770
|
version_id: string;
|
|
7771
|
+
tags: string[];
|
|
7773
7772
|
last_modified_date: Date;
|
|
7774
7773
|
custom_type_label: string;
|
|
7775
7774
|
author: {
|
|
7776
7775
|
id?: string | undefined;
|
|
7776
|
+
email?: string | undefined;
|
|
7777
7777
|
first_name?: string | undefined;
|
|
7778
7778
|
last_name?: string | undefined;
|
|
7779
|
-
email?: string | undefined;
|
|
7780
7779
|
uploadedAvatar?: string | undefined;
|
|
7781
7780
|
};
|
|
7782
7781
|
preview_image?: string | undefined;
|
|
@@ -7784,6 +7783,7 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7784
7783
|
preview_summary?: string | undefined;
|
|
7785
7784
|
})[];
|
|
7786
7785
|
}[];
|
|
7786
|
+
total: number;
|
|
7787
7787
|
cursor?: string | undefined;
|
|
7788
7788
|
}>;
|
|
7789
7789
|
};
|