@prismicio/editor-fields 0.4.63-alpha.jp-upgrade-tiptap.0 → 0.4.64-alpha.fix-simulator-issue.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/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 +84 -84
- package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
- 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 +9 -9
- package/dist/core/service/aiSeoMetadata.d.ts +2 -6
- package/dist/core/service/customType.d.ts +20 -20
- package/dist/core/service/document.d.ts +218 -192
- package/dist/core/service/documentSearch.d.ts +57 -76
- package/dist/core/service/repository.d.ts +24 -24
- 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 +8 -8
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +8 -8
- package/dist/fields/LinkField/Documents/documentsData.d.ts +20 -18
- package/dist/fields/LinkField/LinkField.d.ts +1 -1
- package/dist/fields/LinkField/useLinkField.d.ts +1 -1
- package/dist/fields/RichTextField/RichTextField.d.ts +2 -0
- package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +8 -8
- package/dist/fields/RichTextField/extensions/Table/Table.d.ts +18 -0
- 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 +23 -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/TableControlsWrapper.d.ts +3 -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 +20 -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 +60 -0
- package/dist/fields/RichTextField/extensions/extensions.d.ts +1 -1
- package/dist/fields/TableField/TableField.d.ts +1 -1
- package/dist/index.cjs.js +92 -111
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +37996 -43673
- package/dist/slices/utils.d.ts +4 -4
- package/package.json +7 -6
|
@@ -59,48 +59,53 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
59
59
|
custom_type_label: z.ZodString;
|
|
60
60
|
preview_summary: z.ZodOptional<z.ZodString>;
|
|
61
61
|
author: z.ZodObject<{
|
|
62
|
+
id: z.ZodOptional<z.ZodString>;
|
|
62
63
|
first_name: z.ZodOptional<z.ZodString>;
|
|
63
64
|
last_name: z.ZodOptional<z.ZodString>;
|
|
64
65
|
email: z.ZodOptional<z.ZodString>;
|
|
65
66
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
66
67
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
|
|
68
|
-
last_name?: string | undefined;
|
|
68
|
+
id?: string | undefined;
|
|
69
69
|
email?: string | undefined;
|
|
70
70
|
uploadedAvatar?: string | undefined;
|
|
71
|
-
}, {
|
|
72
71
|
first_name?: string | undefined;
|
|
73
72
|
last_name?: string | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
id?: string | undefined;
|
|
74
75
|
email?: string | undefined;
|
|
75
76
|
uploadedAvatar?: string | undefined;
|
|
77
|
+
first_name?: string | undefined;
|
|
78
|
+
last_name?: string | undefined;
|
|
76
79
|
}>;
|
|
77
80
|
}>, "strip", z.ZodTypeAny, {
|
|
78
|
-
tags: string[];
|
|
79
81
|
version_id: string;
|
|
82
|
+
tags: string[];
|
|
80
83
|
last_modified_date: Date;
|
|
81
84
|
custom_type_label: string;
|
|
82
85
|
author: {
|
|
83
|
-
|
|
84
|
-
last_name?: string | undefined;
|
|
86
|
+
id?: string | undefined;
|
|
85
87
|
email?: string | undefined;
|
|
86
88
|
uploadedAvatar?: string | undefined;
|
|
89
|
+
first_name?: string | undefined;
|
|
90
|
+
last_name?: string | undefined;
|
|
87
91
|
};
|
|
88
|
-
preview_image?: string | undefined;
|
|
89
92
|
uid?: string | undefined;
|
|
93
|
+
preview_image?: string | undefined;
|
|
90
94
|
preview_summary?: string | undefined;
|
|
91
95
|
}, {
|
|
92
|
-
tags: string[];
|
|
93
96
|
version_id: string;
|
|
97
|
+
tags: string[];
|
|
94
98
|
last_modified_date: Date;
|
|
95
99
|
custom_type_label: string;
|
|
96
100
|
author: {
|
|
97
|
-
|
|
98
|
-
last_name?: string | undefined;
|
|
101
|
+
id?: string | undefined;
|
|
99
102
|
email?: string | undefined;
|
|
100
103
|
uploadedAvatar?: string | undefined;
|
|
104
|
+
first_name?: string | undefined;
|
|
105
|
+
last_name?: string | undefined;
|
|
101
106
|
};
|
|
102
|
-
preview_image?: string | undefined;
|
|
103
107
|
uid?: string | undefined;
|
|
108
|
+
preview_image?: string | undefined;
|
|
104
109
|
preview_summary?: string | undefined;
|
|
105
110
|
}>>;
|
|
106
111
|
declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
@@ -148,25 +153,25 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
148
153
|
uid?: string | undefined;
|
|
149
154
|
}>>;
|
|
150
155
|
}>, "strip", z.ZodTypeAny, {
|
|
151
|
-
tags: string[];
|
|
152
156
|
version_id: string;
|
|
157
|
+
tags: string[];
|
|
153
158
|
last_modified_date: Date;
|
|
154
|
-
custom_type_id?: string | undefined;
|
|
155
|
-
preview_image?: string | undefined;
|
|
156
|
-
uid?: string | undefined;
|
|
157
159
|
summary?: string | undefined;
|
|
160
|
+
uid?: string | undefined;
|
|
161
|
+
preview_image?: string | undefined;
|
|
162
|
+
custom_type_id?: string | undefined;
|
|
158
163
|
author_ids?: string[] | undefined;
|
|
159
164
|
highlights?: {
|
|
160
165
|
uid?: string | undefined;
|
|
161
166
|
} | undefined;
|
|
162
167
|
}, {
|
|
163
|
-
tags: string[];
|
|
164
168
|
version_id: string;
|
|
169
|
+
tags: string[];
|
|
165
170
|
last_modified_date: Date;
|
|
166
|
-
custom_type_id?: string | undefined;
|
|
167
|
-
preview_image?: string | undefined;
|
|
168
|
-
uid?: string | undefined;
|
|
169
171
|
summary?: string | undefined;
|
|
172
|
+
uid?: string | undefined;
|
|
173
|
+
preview_image?: string | undefined;
|
|
174
|
+
custom_type_id?: string | undefined;
|
|
170
175
|
author_ids?: string[] | undefined;
|
|
171
176
|
highlights?: {
|
|
172
177
|
uid?: string | undefined;
|
|
@@ -237,60 +242,65 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
237
242
|
custom_type_label: z.ZodString;
|
|
238
243
|
preview_summary: z.ZodOptional<z.ZodString>;
|
|
239
244
|
author: z.ZodObject<{
|
|
245
|
+
id: z.ZodOptional<z.ZodString>;
|
|
240
246
|
first_name: z.ZodOptional<z.ZodString>;
|
|
241
247
|
last_name: z.ZodOptional<z.ZodString>;
|
|
242
248
|
email: z.ZodOptional<z.ZodString>;
|
|
243
249
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
244
250
|
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
|
|
246
|
-
last_name?: string | undefined;
|
|
251
|
+
id?: string | undefined;
|
|
247
252
|
email?: string | undefined;
|
|
248
253
|
uploadedAvatar?: string | undefined;
|
|
249
|
-
}, {
|
|
250
254
|
first_name?: string | undefined;
|
|
251
255
|
last_name?: string | undefined;
|
|
256
|
+
}, {
|
|
257
|
+
id?: string | undefined;
|
|
252
258
|
email?: string | undefined;
|
|
253
259
|
uploadedAvatar?: string | undefined;
|
|
260
|
+
first_name?: string | undefined;
|
|
261
|
+
last_name?: string | undefined;
|
|
254
262
|
}>;
|
|
255
263
|
}>, "strip", z.ZodTypeAny, {
|
|
256
|
-
tags: string[];
|
|
257
264
|
version_id: string;
|
|
265
|
+
tags: string[];
|
|
258
266
|
last_modified_date: Date;
|
|
259
267
|
custom_type_label: string;
|
|
260
268
|
author: {
|
|
261
|
-
|
|
262
|
-
last_name?: string | undefined;
|
|
269
|
+
id?: string | undefined;
|
|
263
270
|
email?: string | undefined;
|
|
264
271
|
uploadedAvatar?: string | undefined;
|
|
272
|
+
first_name?: string | undefined;
|
|
273
|
+
last_name?: string | undefined;
|
|
265
274
|
};
|
|
266
|
-
preview_image?: string | undefined;
|
|
267
275
|
uid?: string | undefined;
|
|
276
|
+
preview_image?: string | undefined;
|
|
268
277
|
preview_summary?: string | undefined;
|
|
269
278
|
}, {
|
|
270
|
-
tags: string[];
|
|
271
279
|
version_id: string;
|
|
280
|
+
tags: string[];
|
|
272
281
|
last_modified_date: Date;
|
|
273
282
|
custom_type_label: string;
|
|
274
283
|
author: {
|
|
275
|
-
|
|
276
|
-
last_name?: string | undefined;
|
|
284
|
+
id?: string | undefined;
|
|
277
285
|
email?: string | undefined;
|
|
278
286
|
uploadedAvatar?: string | undefined;
|
|
287
|
+
first_name?: string | undefined;
|
|
288
|
+
last_name?: string | undefined;
|
|
279
289
|
};
|
|
280
|
-
preview_image?: string | undefined;
|
|
281
290
|
uid?: string | undefined;
|
|
291
|
+
preview_image?: string | undefined;
|
|
282
292
|
preview_summary?: string | undefined;
|
|
283
293
|
}>>, "many">;
|
|
284
294
|
}, "strip", z.ZodTypeAny, {
|
|
285
295
|
id: string;
|
|
286
296
|
title: string;
|
|
287
|
-
custom_type_id: string;
|
|
288
|
-
group_lang_id: string;
|
|
289
297
|
language: {
|
|
290
298
|
isMaster?: boolean | undefined;
|
|
291
299
|
id: string;
|
|
292
300
|
label: string;
|
|
293
301
|
};
|
|
302
|
+
custom_type_id: string;
|
|
303
|
+
group_lang_id: string;
|
|
294
304
|
versions: (({
|
|
295
305
|
status: "unclassified";
|
|
296
306
|
} | {
|
|
@@ -301,29 +311,30 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
301
311
|
} | {
|
|
302
312
|
status: "archived";
|
|
303
313
|
}) & {
|
|
304
|
-
tags: string[];
|
|
305
314
|
version_id: string;
|
|
315
|
+
tags: string[];
|
|
306
316
|
last_modified_date: Date;
|
|
307
317
|
custom_type_label: string;
|
|
308
318
|
author: {
|
|
309
|
-
|
|
310
|
-
last_name?: string | undefined;
|
|
319
|
+
id?: string | undefined;
|
|
311
320
|
email?: string | undefined;
|
|
312
321
|
uploadedAvatar?: string | undefined;
|
|
322
|
+
first_name?: string | undefined;
|
|
323
|
+
last_name?: string | undefined;
|
|
313
324
|
};
|
|
314
|
-
preview_image?: string | undefined;
|
|
315
325
|
uid?: string | undefined;
|
|
326
|
+
preview_image?: string | undefined;
|
|
316
327
|
preview_summary?: string | undefined;
|
|
317
328
|
})[];
|
|
318
329
|
}, {
|
|
319
330
|
id: string;
|
|
320
|
-
custom_type_id: string;
|
|
321
|
-
group_lang_id: string;
|
|
322
331
|
language: {
|
|
323
332
|
id: string;
|
|
324
333
|
name: string;
|
|
325
334
|
is_master?: boolean | undefined;
|
|
326
335
|
};
|
|
336
|
+
custom_type_id: string;
|
|
337
|
+
group_lang_id: string;
|
|
327
338
|
versions: (({
|
|
328
339
|
status: "unclassified";
|
|
329
340
|
} | {
|
|
@@ -334,18 +345,19 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
334
345
|
} | {
|
|
335
346
|
status: "archived";
|
|
336
347
|
}) & {
|
|
337
|
-
tags: string[];
|
|
338
348
|
version_id: string;
|
|
349
|
+
tags: string[];
|
|
339
350
|
last_modified_date: Date;
|
|
340
351
|
custom_type_label: string;
|
|
341
352
|
author: {
|
|
342
|
-
|
|
343
|
-
last_name?: string | undefined;
|
|
353
|
+
id?: string | undefined;
|
|
344
354
|
email?: string | undefined;
|
|
345
355
|
uploadedAvatar?: string | undefined;
|
|
356
|
+
first_name?: string | undefined;
|
|
357
|
+
last_name?: string | undefined;
|
|
346
358
|
};
|
|
347
|
-
preview_image?: string | undefined;
|
|
348
359
|
uid?: string | undefined;
|
|
360
|
+
preview_image?: string | undefined;
|
|
349
361
|
preview_summary?: string | undefined;
|
|
350
362
|
})[];
|
|
351
363
|
title?: string | null | undefined;
|
|
@@ -416,60 +428,65 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
416
428
|
custom_type_label: z.ZodString;
|
|
417
429
|
preview_summary: z.ZodOptional<z.ZodString>;
|
|
418
430
|
author: z.ZodObject<{
|
|
431
|
+
id: z.ZodOptional<z.ZodString>;
|
|
419
432
|
first_name: z.ZodOptional<z.ZodString>;
|
|
420
433
|
last_name: z.ZodOptional<z.ZodString>;
|
|
421
434
|
email: z.ZodOptional<z.ZodString>;
|
|
422
435
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
423
436
|
}, "strip", z.ZodTypeAny, {
|
|
424
|
-
|
|
425
|
-
last_name?: string | undefined;
|
|
437
|
+
id?: string | undefined;
|
|
426
438
|
email?: string | undefined;
|
|
427
439
|
uploadedAvatar?: string | undefined;
|
|
428
|
-
}, {
|
|
429
440
|
first_name?: string | undefined;
|
|
430
441
|
last_name?: string | undefined;
|
|
442
|
+
}, {
|
|
443
|
+
id?: string | undefined;
|
|
431
444
|
email?: string | undefined;
|
|
432
445
|
uploadedAvatar?: string | undefined;
|
|
446
|
+
first_name?: string | undefined;
|
|
447
|
+
last_name?: string | undefined;
|
|
433
448
|
}>;
|
|
434
449
|
}>, "strip", z.ZodTypeAny, {
|
|
435
|
-
tags: string[];
|
|
436
450
|
version_id: string;
|
|
451
|
+
tags: string[];
|
|
437
452
|
last_modified_date: Date;
|
|
438
453
|
custom_type_label: string;
|
|
439
454
|
author: {
|
|
440
|
-
|
|
441
|
-
last_name?: string | undefined;
|
|
455
|
+
id?: string | undefined;
|
|
442
456
|
email?: string | undefined;
|
|
443
457
|
uploadedAvatar?: string | undefined;
|
|
458
|
+
first_name?: string | undefined;
|
|
459
|
+
last_name?: string | undefined;
|
|
444
460
|
};
|
|
445
|
-
preview_image?: string | undefined;
|
|
446
461
|
uid?: string | undefined;
|
|
462
|
+
preview_image?: string | undefined;
|
|
447
463
|
preview_summary?: string | undefined;
|
|
448
464
|
}, {
|
|
449
|
-
tags: string[];
|
|
450
465
|
version_id: string;
|
|
466
|
+
tags: string[];
|
|
451
467
|
last_modified_date: Date;
|
|
452
468
|
custom_type_label: string;
|
|
453
469
|
author: {
|
|
454
|
-
|
|
455
|
-
last_name?: string | undefined;
|
|
470
|
+
id?: string | undefined;
|
|
456
471
|
email?: string | undefined;
|
|
457
472
|
uploadedAvatar?: string | undefined;
|
|
473
|
+
first_name?: string | undefined;
|
|
474
|
+
last_name?: string | undefined;
|
|
458
475
|
};
|
|
459
|
-
preview_image?: string | undefined;
|
|
460
476
|
uid?: string | undefined;
|
|
477
|
+
preview_image?: string | undefined;
|
|
461
478
|
preview_summary?: string | undefined;
|
|
462
479
|
}>>, "many">;
|
|
463
480
|
}, "strip", z.ZodTypeAny, {
|
|
464
481
|
id: string;
|
|
465
482
|
title: string;
|
|
466
|
-
custom_type_id: string;
|
|
467
|
-
group_lang_id: string;
|
|
468
483
|
language: {
|
|
469
484
|
isMaster?: boolean | undefined;
|
|
470
485
|
id: string;
|
|
471
486
|
label: string;
|
|
472
487
|
};
|
|
488
|
+
custom_type_id: string;
|
|
489
|
+
group_lang_id: string;
|
|
473
490
|
versions: (({
|
|
474
491
|
status: "unclassified";
|
|
475
492
|
} | {
|
|
@@ -480,29 +497,30 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
480
497
|
} | {
|
|
481
498
|
status: "archived";
|
|
482
499
|
}) & {
|
|
483
|
-
tags: string[];
|
|
484
500
|
version_id: string;
|
|
501
|
+
tags: string[];
|
|
485
502
|
last_modified_date: Date;
|
|
486
503
|
custom_type_label: string;
|
|
487
504
|
author: {
|
|
488
|
-
|
|
489
|
-
last_name?: string | undefined;
|
|
505
|
+
id?: string | undefined;
|
|
490
506
|
email?: string | undefined;
|
|
491
507
|
uploadedAvatar?: string | undefined;
|
|
508
|
+
first_name?: string | undefined;
|
|
509
|
+
last_name?: string | undefined;
|
|
492
510
|
};
|
|
493
|
-
preview_image?: string | undefined;
|
|
494
511
|
uid?: string | undefined;
|
|
512
|
+
preview_image?: string | undefined;
|
|
495
513
|
preview_summary?: string | undefined;
|
|
496
514
|
})[];
|
|
497
515
|
}, {
|
|
498
516
|
id: string;
|
|
499
|
-
custom_type_id: string;
|
|
500
|
-
group_lang_id: string;
|
|
501
517
|
language: {
|
|
502
518
|
id: string;
|
|
503
519
|
name: string;
|
|
504
520
|
is_master?: boolean | undefined;
|
|
505
521
|
};
|
|
522
|
+
custom_type_id: string;
|
|
523
|
+
group_lang_id: string;
|
|
506
524
|
versions: (({
|
|
507
525
|
status: "unclassified";
|
|
508
526
|
} | {
|
|
@@ -513,34 +531,34 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
513
531
|
} | {
|
|
514
532
|
status: "archived";
|
|
515
533
|
}) & {
|
|
516
|
-
tags: string[];
|
|
517
534
|
version_id: string;
|
|
535
|
+
tags: string[];
|
|
518
536
|
last_modified_date: Date;
|
|
519
537
|
custom_type_label: string;
|
|
520
538
|
author: {
|
|
521
|
-
|
|
522
|
-
last_name?: string | undefined;
|
|
539
|
+
id?: string | undefined;
|
|
523
540
|
email?: string | undefined;
|
|
524
541
|
uploadedAvatar?: string | undefined;
|
|
542
|
+
first_name?: string | undefined;
|
|
543
|
+
last_name?: string | undefined;
|
|
525
544
|
};
|
|
526
|
-
preview_image?: string | undefined;
|
|
527
545
|
uid?: string | undefined;
|
|
546
|
+
preview_image?: string | undefined;
|
|
528
547
|
preview_summary?: string | undefined;
|
|
529
548
|
})[];
|
|
530
549
|
title?: string | null | undefined;
|
|
531
550
|
}>, "many">;
|
|
532
551
|
}, "strip", z.ZodTypeAny, {
|
|
533
|
-
total: number;
|
|
534
552
|
results: {
|
|
535
553
|
id: string;
|
|
536
554
|
title: string;
|
|
537
|
-
custom_type_id: string;
|
|
538
|
-
group_lang_id: string;
|
|
539
555
|
language: {
|
|
540
556
|
isMaster?: boolean | undefined;
|
|
541
557
|
id: string;
|
|
542
558
|
label: string;
|
|
543
559
|
};
|
|
560
|
+
custom_type_id: string;
|
|
561
|
+
group_lang_id: string;
|
|
544
562
|
versions: (({
|
|
545
563
|
status: "unclassified";
|
|
546
564
|
} | {
|
|
@@ -551,33 +569,34 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
551
569
|
} | {
|
|
552
570
|
status: "archived";
|
|
553
571
|
}) & {
|
|
554
|
-
tags: string[];
|
|
555
572
|
version_id: string;
|
|
573
|
+
tags: string[];
|
|
556
574
|
last_modified_date: Date;
|
|
557
575
|
custom_type_label: string;
|
|
558
576
|
author: {
|
|
559
|
-
|
|
560
|
-
last_name?: string | undefined;
|
|
577
|
+
id?: string | undefined;
|
|
561
578
|
email?: string | undefined;
|
|
562
579
|
uploadedAvatar?: string | undefined;
|
|
580
|
+
first_name?: string | undefined;
|
|
581
|
+
last_name?: string | undefined;
|
|
563
582
|
};
|
|
564
|
-
preview_image?: string | undefined;
|
|
565
583
|
uid?: string | undefined;
|
|
584
|
+
preview_image?: string | undefined;
|
|
566
585
|
preview_summary?: string | undefined;
|
|
567
586
|
})[];
|
|
568
587
|
}[];
|
|
588
|
+
total: number;
|
|
569
589
|
cursor?: string | undefined;
|
|
570
590
|
}, {
|
|
571
|
-
total: number;
|
|
572
591
|
results: {
|
|
573
592
|
id: string;
|
|
574
|
-
custom_type_id: string;
|
|
575
|
-
group_lang_id: string;
|
|
576
593
|
language: {
|
|
577
594
|
id: string;
|
|
578
595
|
name: string;
|
|
579
596
|
is_master?: boolean | undefined;
|
|
580
597
|
};
|
|
598
|
+
custom_type_id: string;
|
|
599
|
+
group_lang_id: string;
|
|
581
600
|
versions: (({
|
|
582
601
|
status: "unclassified";
|
|
583
602
|
} | {
|
|
@@ -588,22 +607,24 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
588
607
|
} | {
|
|
589
608
|
status: "archived";
|
|
590
609
|
}) & {
|
|
591
|
-
tags: string[];
|
|
592
610
|
version_id: string;
|
|
611
|
+
tags: string[];
|
|
593
612
|
last_modified_date: Date;
|
|
594
613
|
custom_type_label: string;
|
|
595
614
|
author: {
|
|
596
|
-
|
|
597
|
-
last_name?: string | undefined;
|
|
615
|
+
id?: string | undefined;
|
|
598
616
|
email?: string | undefined;
|
|
599
617
|
uploadedAvatar?: string | undefined;
|
|
618
|
+
first_name?: string | undefined;
|
|
619
|
+
last_name?: string | undefined;
|
|
600
620
|
};
|
|
601
|
-
preview_image?: string | undefined;
|
|
602
621
|
uid?: string | undefined;
|
|
622
|
+
preview_image?: string | undefined;
|
|
603
623
|
preview_summary?: string | undefined;
|
|
604
624
|
})[];
|
|
605
625
|
title?: string | null | undefined;
|
|
606
626
|
}[];
|
|
627
|
+
total: number;
|
|
607
628
|
cursor?: string | undefined;
|
|
608
629
|
}>;
|
|
609
630
|
declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -656,25 +677,25 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
656
677
|
uid?: string | undefined;
|
|
657
678
|
}>>;
|
|
658
679
|
}>, "strip", z.ZodTypeAny, {
|
|
659
|
-
tags: string[];
|
|
660
680
|
version_id: string;
|
|
681
|
+
tags: string[];
|
|
661
682
|
last_modified_date: Date;
|
|
662
|
-
custom_type_id?: string | undefined;
|
|
663
|
-
preview_image?: string | undefined;
|
|
664
|
-
uid?: string | undefined;
|
|
665
683
|
summary?: string | undefined;
|
|
684
|
+
uid?: string | undefined;
|
|
685
|
+
preview_image?: string | undefined;
|
|
686
|
+
custom_type_id?: string | undefined;
|
|
666
687
|
author_ids?: string[] | undefined;
|
|
667
688
|
highlights?: {
|
|
668
689
|
uid?: string | undefined;
|
|
669
690
|
} | undefined;
|
|
670
691
|
}, {
|
|
671
|
-
tags: string[];
|
|
672
692
|
version_id: string;
|
|
693
|
+
tags: string[];
|
|
673
694
|
last_modified_date: Date;
|
|
674
|
-
custom_type_id?: string | undefined;
|
|
675
|
-
preview_image?: string | undefined;
|
|
676
|
-
uid?: string | undefined;
|
|
677
695
|
summary?: string | undefined;
|
|
696
|
+
uid?: string | undefined;
|
|
697
|
+
preview_image?: string | undefined;
|
|
698
|
+
custom_type_id?: string | undefined;
|
|
678
699
|
author_ids?: string[] | undefined;
|
|
679
700
|
highlights?: {
|
|
680
701
|
uid?: string | undefined;
|
|
@@ -696,13 +717,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
696
717
|
} | {
|
|
697
718
|
status: "archived";
|
|
698
719
|
}) & {
|
|
699
|
-
tags: string[];
|
|
700
720
|
version_id: string;
|
|
721
|
+
tags: string[];
|
|
701
722
|
last_modified_date: Date;
|
|
702
|
-
custom_type_id?: string | undefined;
|
|
703
|
-
preview_image?: string | undefined;
|
|
704
|
-
uid?: string | undefined;
|
|
705
723
|
summary?: string | undefined;
|
|
724
|
+
uid?: string | undefined;
|
|
725
|
+
preview_image?: string | undefined;
|
|
726
|
+
custom_type_id?: string | undefined;
|
|
706
727
|
author_ids?: string[] | undefined;
|
|
707
728
|
highlights?: {
|
|
708
729
|
uid?: string | undefined;
|
|
@@ -723,13 +744,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
723
744
|
} | {
|
|
724
745
|
status: "archived";
|
|
725
746
|
}) & {
|
|
726
|
-
tags: string[];
|
|
727
747
|
version_id: string;
|
|
748
|
+
tags: string[];
|
|
728
749
|
last_modified_date: Date;
|
|
729
|
-
custom_type_id?: string | undefined;
|
|
730
|
-
preview_image?: string | undefined;
|
|
731
|
-
uid?: string | undefined;
|
|
732
750
|
summary?: string | undefined;
|
|
751
|
+
uid?: string | undefined;
|
|
752
|
+
preview_image?: string | undefined;
|
|
753
|
+
custom_type_id?: string | undefined;
|
|
733
754
|
author_ids?: string[] | undefined;
|
|
734
755
|
highlights?: {
|
|
735
756
|
uid?: string | undefined;
|
|
@@ -753,13 +774,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
753
774
|
} | {
|
|
754
775
|
status: "archived";
|
|
755
776
|
}) & {
|
|
756
|
-
tags: string[];
|
|
757
777
|
version_id: string;
|
|
778
|
+
tags: string[];
|
|
758
779
|
last_modified_date: Date;
|
|
759
|
-
custom_type_id?: string | undefined;
|
|
760
|
-
preview_image?: string | undefined;
|
|
761
|
-
uid?: string | undefined;
|
|
762
780
|
summary?: string | undefined;
|
|
781
|
+
uid?: string | undefined;
|
|
782
|
+
preview_image?: string | undefined;
|
|
783
|
+
custom_type_id?: string | undefined;
|
|
763
784
|
author_ids?: string[] | undefined;
|
|
764
785
|
highlights?: {
|
|
765
786
|
uid?: string | undefined;
|
|
@@ -779,13 +800,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
779
800
|
} | {
|
|
780
801
|
status: "archived";
|
|
781
802
|
}) & {
|
|
782
|
-
tags: string[];
|
|
783
803
|
version_id: string;
|
|
804
|
+
tags: string[];
|
|
784
805
|
last_modified_date: Date;
|
|
785
|
-
custom_type_id?: string | undefined;
|
|
786
|
-
preview_image?: string | undefined;
|
|
787
|
-
uid?: string | undefined;
|
|
788
806
|
summary?: string | undefined;
|
|
807
|
+
uid?: string | undefined;
|
|
808
|
+
preview_image?: string | undefined;
|
|
809
|
+
custom_type_id?: string | undefined;
|
|
789
810
|
author_ids?: string[] | undefined;
|
|
790
811
|
highlights?: {
|
|
791
812
|
uid?: string | undefined;
|
|
@@ -845,25 +866,25 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
845
866
|
uid?: string | undefined;
|
|
846
867
|
}>>;
|
|
847
868
|
}>, "strip", z.ZodTypeAny, {
|
|
848
|
-
tags: string[];
|
|
849
869
|
version_id: string;
|
|
870
|
+
tags: string[];
|
|
850
871
|
last_modified_date: Date;
|
|
851
|
-
custom_type_id?: string | undefined;
|
|
852
|
-
preview_image?: string | undefined;
|
|
853
|
-
uid?: string | undefined;
|
|
854
872
|
summary?: string | undefined;
|
|
873
|
+
uid?: string | undefined;
|
|
874
|
+
preview_image?: string | undefined;
|
|
875
|
+
custom_type_id?: string | undefined;
|
|
855
876
|
author_ids?: string[] | undefined;
|
|
856
877
|
highlights?: {
|
|
857
878
|
uid?: string | undefined;
|
|
858
879
|
} | undefined;
|
|
859
880
|
}, {
|
|
860
|
-
tags: string[];
|
|
861
881
|
version_id: string;
|
|
882
|
+
tags: string[];
|
|
862
883
|
last_modified_date: Date;
|
|
863
|
-
custom_type_id?: string | undefined;
|
|
864
|
-
preview_image?: string | undefined;
|
|
865
|
-
uid?: string | undefined;
|
|
866
884
|
summary?: string | undefined;
|
|
885
|
+
uid?: string | undefined;
|
|
886
|
+
preview_image?: string | undefined;
|
|
887
|
+
custom_type_id?: string | undefined;
|
|
867
888
|
author_ids?: string[] | undefined;
|
|
868
889
|
highlights?: {
|
|
869
890
|
uid?: string | undefined;
|
|
@@ -885,13 +906,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
885
906
|
} | {
|
|
886
907
|
status: "archived";
|
|
887
908
|
}) & {
|
|
888
|
-
tags: string[];
|
|
889
909
|
version_id: string;
|
|
910
|
+
tags: string[];
|
|
890
911
|
last_modified_date: Date;
|
|
891
|
-
custom_type_id?: string | undefined;
|
|
892
|
-
preview_image?: string | undefined;
|
|
893
|
-
uid?: string | undefined;
|
|
894
912
|
summary?: string | undefined;
|
|
913
|
+
uid?: string | undefined;
|
|
914
|
+
preview_image?: string | undefined;
|
|
915
|
+
custom_type_id?: string | undefined;
|
|
895
916
|
author_ids?: string[] | undefined;
|
|
896
917
|
highlights?: {
|
|
897
918
|
uid?: string | undefined;
|
|
@@ -912,13 +933,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
912
933
|
} | {
|
|
913
934
|
status: "archived";
|
|
914
935
|
}) & {
|
|
915
|
-
tags: string[];
|
|
916
936
|
version_id: string;
|
|
937
|
+
tags: string[];
|
|
917
938
|
last_modified_date: Date;
|
|
918
|
-
custom_type_id?: string | undefined;
|
|
919
|
-
preview_image?: string | undefined;
|
|
920
|
-
uid?: string | undefined;
|
|
921
939
|
summary?: string | undefined;
|
|
940
|
+
uid?: string | undefined;
|
|
941
|
+
preview_image?: string | undefined;
|
|
942
|
+
custom_type_id?: string | undefined;
|
|
922
943
|
author_ids?: string[] | undefined;
|
|
923
944
|
highlights?: {
|
|
924
945
|
uid?: string | undefined;
|
|
@@ -942,13 +963,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
942
963
|
} | {
|
|
943
964
|
status: "archived";
|
|
944
965
|
}) & {
|
|
945
|
-
tags: string[];
|
|
946
966
|
version_id: string;
|
|
967
|
+
tags: string[];
|
|
947
968
|
last_modified_date: Date;
|
|
948
|
-
custom_type_id?: string | undefined;
|
|
949
|
-
preview_image?: string | undefined;
|
|
950
|
-
uid?: string | undefined;
|
|
951
969
|
summary?: string | undefined;
|
|
970
|
+
uid?: string | undefined;
|
|
971
|
+
preview_image?: string | undefined;
|
|
972
|
+
custom_type_id?: string | undefined;
|
|
952
973
|
author_ids?: string[] | undefined;
|
|
953
974
|
highlights?: {
|
|
954
975
|
uid?: string | undefined;
|
|
@@ -968,13 +989,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
968
989
|
} | {
|
|
969
990
|
status: "archived";
|
|
970
991
|
}) & {
|
|
971
|
-
tags: string[];
|
|
972
992
|
version_id: string;
|
|
993
|
+
tags: string[];
|
|
973
994
|
last_modified_date: Date;
|
|
974
|
-
custom_type_id?: string | undefined;
|
|
975
|
-
preview_image?: string | undefined;
|
|
976
|
-
uid?: string | undefined;
|
|
977
995
|
summary?: string | undefined;
|
|
996
|
+
uid?: string | undefined;
|
|
997
|
+
preview_image?: string | undefined;
|
|
998
|
+
custom_type_id?: string | undefined;
|
|
978
999
|
author_ids?: string[] | undefined;
|
|
979
1000
|
highlights?: {
|
|
980
1001
|
uid?: string | undefined;
|
|
@@ -1000,13 +1021,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
1000
1021
|
} | {
|
|
1001
1022
|
status: "archived";
|
|
1002
1023
|
}) & {
|
|
1003
|
-
tags: string[];
|
|
1004
1024
|
version_id: string;
|
|
1025
|
+
tags: string[];
|
|
1005
1026
|
last_modified_date: Date;
|
|
1006
|
-
custom_type_id?: string | undefined;
|
|
1007
|
-
preview_image?: string | undefined;
|
|
1008
|
-
uid?: string | undefined;
|
|
1009
1027
|
summary?: string | undefined;
|
|
1028
|
+
uid?: string | undefined;
|
|
1029
|
+
preview_image?: string | undefined;
|
|
1030
|
+
custom_type_id?: string | undefined;
|
|
1010
1031
|
author_ids?: string[] | undefined;
|
|
1011
1032
|
highlights?: {
|
|
1012
1033
|
uid?: string | undefined;
|
|
@@ -1028,13 +1049,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
1028
1049
|
} | {
|
|
1029
1050
|
status: "archived";
|
|
1030
1051
|
}) & {
|
|
1031
|
-
tags: string[];
|
|
1032
1052
|
version_id: string;
|
|
1053
|
+
tags: string[];
|
|
1033
1054
|
last_modified_date: Date;
|
|
1034
|
-
custom_type_id?: string | undefined;
|
|
1035
|
-
preview_image?: string | undefined;
|
|
1036
|
-
uid?: string | undefined;
|
|
1037
1055
|
summary?: string | undefined;
|
|
1056
|
+
uid?: string | undefined;
|
|
1057
|
+
preview_image?: string | undefined;
|
|
1058
|
+
custom_type_id?: string | undefined;
|
|
1038
1059
|
author_ids?: string[] | undefined;
|
|
1039
1060
|
highlights?: {
|
|
1040
1061
|
uid?: string | undefined;
|
|
@@ -1368,7 +1389,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1368
1389
|
label?: string | null | undefined;
|
|
1369
1390
|
direction?: string | null | undefined;
|
|
1370
1391
|
}) | ({
|
|
1371
|
-
type: "image" | "
|
|
1392
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1372
1393
|
content: {
|
|
1373
1394
|
text: string;
|
|
1374
1395
|
} & {
|
|
@@ -1529,7 +1550,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1529
1550
|
label?: string | null | undefined;
|
|
1530
1551
|
direction?: string | null | undefined;
|
|
1531
1552
|
}) | ({
|
|
1532
|
-
type: "image" | "
|
|
1553
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1533
1554
|
content: {
|
|
1534
1555
|
text: string;
|
|
1535
1556
|
} & {
|
|
@@ -1963,7 +1984,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1963
1984
|
label?: string | null | undefined;
|
|
1964
1985
|
direction?: string | null | undefined;
|
|
1965
1986
|
}) | ({
|
|
1966
|
-
type: "image" | "
|
|
1987
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1967
1988
|
content: {
|
|
1968
1989
|
text: string;
|
|
1969
1990
|
} & {
|
|
@@ -2124,7 +2145,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2124
2145
|
label?: string | null | undefined;
|
|
2125
2146
|
direction?: string | null | undefined;
|
|
2126
2147
|
}) | ({
|
|
2127
|
-
type: "image" | "
|
|
2148
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2128
2149
|
content: {
|
|
2129
2150
|
text: string;
|
|
2130
2151
|
} & {
|
|
@@ -2550,7 +2571,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2550
2571
|
label?: string | null | undefined;
|
|
2551
2572
|
direction?: string | null | undefined;
|
|
2552
2573
|
}) | ({
|
|
2553
|
-
type: "image" | "
|
|
2574
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2554
2575
|
content: {
|
|
2555
2576
|
text: string;
|
|
2556
2577
|
} & {
|
|
@@ -2708,7 +2729,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2708
2729
|
label?: string | null | undefined;
|
|
2709
2730
|
direction?: string | null | undefined;
|
|
2710
2731
|
}) | ({
|
|
2711
|
-
type: "image" | "
|
|
2732
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2712
2733
|
content: {
|
|
2713
2734
|
text: string;
|
|
2714
2735
|
} & {
|
|
@@ -3136,7 +3157,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3136
3157
|
label?: string | null | undefined;
|
|
3137
3158
|
direction?: string | null | undefined;
|
|
3138
3159
|
}) | ({
|
|
3139
|
-
type: "image" | "
|
|
3160
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3140
3161
|
content: {
|
|
3141
3162
|
text: string;
|
|
3142
3163
|
} & {
|
|
@@ -3297,7 +3318,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3297
3318
|
label?: string | null | undefined;
|
|
3298
3319
|
direction?: string | null | undefined;
|
|
3299
3320
|
}) | ({
|
|
3300
|
-
type: "image" | "
|
|
3321
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3301
3322
|
content: {
|
|
3302
3323
|
text: string;
|
|
3303
3324
|
} & {
|
|
@@ -3723,7 +3744,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3723
3744
|
label?: string | null | undefined;
|
|
3724
3745
|
direction?: string | null | undefined;
|
|
3725
3746
|
}) | ({
|
|
3726
|
-
type: "image" | "
|
|
3747
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3727
3748
|
content: {
|
|
3728
3749
|
text: string;
|
|
3729
3750
|
} & {
|
|
@@ -3881,7 +3902,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3881
3902
|
label?: string | null | undefined;
|
|
3882
3903
|
direction?: string | null | undefined;
|
|
3883
3904
|
}) | ({
|
|
3884
|
-
type: "image" | "
|
|
3905
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3885
3906
|
content: {
|
|
3886
3907
|
text: string;
|
|
3887
3908
|
} & {
|
|
@@ -4305,7 +4326,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
4305
4326
|
label?: string | null | undefined;
|
|
4306
4327
|
direction?: string | null | undefined;
|
|
4307
4328
|
}) | ({
|
|
4308
|
-
type: "image" | "
|
|
4329
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4309
4330
|
content: {
|
|
4310
4331
|
text: string;
|
|
4311
4332
|
} & {
|
|
@@ -4466,7 +4487,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
4466
4487
|
label?: string | null | undefined;
|
|
4467
4488
|
direction?: string | null | undefined;
|
|
4468
4489
|
}) | ({
|
|
4469
|
-
type: "image" | "
|
|
4490
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4470
4491
|
content: {
|
|
4471
4492
|
text: string;
|
|
4472
4493
|
} & {
|
|
@@ -4899,7 +4920,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4899
4920
|
label?: string | null | undefined;
|
|
4900
4921
|
direction?: string | null | undefined;
|
|
4901
4922
|
}) | ({
|
|
4902
|
-
type: "image" | "
|
|
4923
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4903
4924
|
content: {
|
|
4904
4925
|
text: string;
|
|
4905
4926
|
} & {
|
|
@@ -5060,7 +5081,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5060
5081
|
label?: string | null | undefined;
|
|
5061
5082
|
direction?: string | null | undefined;
|
|
5062
5083
|
}) | ({
|
|
5063
|
-
type: "image" | "
|
|
5084
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5064
5085
|
content: {
|
|
5065
5086
|
text: string;
|
|
5066
5087
|
} & {
|
|
@@ -5486,7 +5507,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5486
5507
|
label?: string | null | undefined;
|
|
5487
5508
|
direction?: string | null | undefined;
|
|
5488
5509
|
}) | ({
|
|
5489
|
-
type: "image" | "
|
|
5510
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5490
5511
|
content: {
|
|
5491
5512
|
text: string;
|
|
5492
5513
|
} & {
|
|
@@ -5647,7 +5668,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5647
5668
|
label?: string | null | undefined;
|
|
5648
5669
|
direction?: string | null | undefined;
|
|
5649
5670
|
}) | ({
|
|
5650
|
-
type: "image" | "
|
|
5671
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5651
5672
|
content: {
|
|
5652
5673
|
text: string;
|
|
5653
5674
|
} & {
|
|
@@ -6075,7 +6096,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6075
6096
|
label?: string | null | undefined;
|
|
6076
6097
|
direction?: string | null | undefined;
|
|
6077
6098
|
}) | ({
|
|
6078
|
-
type: "image" | "
|
|
6099
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6079
6100
|
content: {
|
|
6080
6101
|
text: string;
|
|
6081
6102
|
} & {
|
|
@@ -6236,7 +6257,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6236
6257
|
label?: string | null | undefined;
|
|
6237
6258
|
direction?: string | null | undefined;
|
|
6238
6259
|
}) | ({
|
|
6239
|
-
type: "image" | "
|
|
6260
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6240
6261
|
content: {
|
|
6241
6262
|
text: string;
|
|
6242
6263
|
} & {
|
|
@@ -6662,7 +6683,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6662
6683
|
label?: string | null | undefined;
|
|
6663
6684
|
direction?: string | null | undefined;
|
|
6664
6685
|
}) | ({
|
|
6665
|
-
type: "image" | "
|
|
6686
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6666
6687
|
content: {
|
|
6667
6688
|
text: string;
|
|
6668
6689
|
} & {
|
|
@@ -6823,7 +6844,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6823
6844
|
label?: string | null | undefined;
|
|
6824
6845
|
direction?: string | null | undefined;
|
|
6825
6846
|
}) | ({
|
|
6826
|
-
type: "image" | "
|
|
6847
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6827
6848
|
content: {
|
|
6828
6849
|
text: string;
|
|
6829
6850
|
} & {
|
|
@@ -7247,7 +7268,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
7247
7268
|
label?: string | null | undefined;
|
|
7248
7269
|
direction?: string | null | undefined;
|
|
7249
7270
|
}) | ({
|
|
7250
|
-
type: "image" | "
|
|
7271
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
7251
7272
|
content: {
|
|
7252
7273
|
text: string;
|
|
7253
7274
|
} & {
|
|
@@ -7408,7 +7429,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
7408
7429
|
label?: string | null | undefined;
|
|
7409
7430
|
direction?: string | null | undefined;
|
|
7410
7431
|
}) | ({
|
|
7411
|
-
type: "image" | "
|
|
7432
|
+
type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
7412
7433
|
content: {
|
|
7413
7434
|
text: string;
|
|
7414
7435
|
} & {
|
|
@@ -7566,17 +7587,16 @@ type UpdateDocumentFunction = (document: DocumentMeta, page: GetDocumentListSche
|
|
|
7566
7587
|
export declare function updateDocumentListData(queryClient: QueryClient, updateFunction: UpdateDocumentFunction): void;
|
|
7567
7588
|
export declare function invalidateDocumentListData(queryClient: QueryClient): Promise<void>;
|
|
7568
7589
|
export declare function useDocumentList(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
|
|
7569
|
-
total: number;
|
|
7570
7590
|
results: {
|
|
7571
7591
|
id: string;
|
|
7572
7592
|
title: string;
|
|
7573
|
-
custom_type_id: string;
|
|
7574
|
-
group_lang_id: string;
|
|
7575
7593
|
language: {
|
|
7576
7594
|
isMaster?: boolean | undefined;
|
|
7577
7595
|
id: string;
|
|
7578
7596
|
label: string;
|
|
7579
7597
|
};
|
|
7598
|
+
custom_type_id: string;
|
|
7599
|
+
group_lang_id: string;
|
|
7580
7600
|
versions: (({
|
|
7581
7601
|
status: "unclassified";
|
|
7582
7602
|
} | {
|
|
@@ -7587,35 +7607,36 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
|
|
|
7587
7607
|
} | {
|
|
7588
7608
|
status: "archived";
|
|
7589
7609
|
}) & {
|
|
7590
|
-
tags: string[];
|
|
7591
7610
|
version_id: string;
|
|
7611
|
+
tags: string[];
|
|
7592
7612
|
last_modified_date: Date;
|
|
7593
7613
|
custom_type_label: string;
|
|
7594
7614
|
author: {
|
|
7595
|
-
|
|
7596
|
-
last_name?: string | undefined;
|
|
7615
|
+
id?: string | undefined;
|
|
7597
7616
|
email?: string | undefined;
|
|
7598
7617
|
uploadedAvatar?: string | undefined;
|
|
7618
|
+
first_name?: string | undefined;
|
|
7619
|
+
last_name?: string | undefined;
|
|
7599
7620
|
};
|
|
7600
|
-
preview_image?: string | undefined;
|
|
7601
7621
|
uid?: string | undefined;
|
|
7622
|
+
preview_image?: string | undefined;
|
|
7602
7623
|
preview_summary?: string | undefined;
|
|
7603
7624
|
})[];
|
|
7604
7625
|
}[];
|
|
7626
|
+
total: number;
|
|
7605
7627
|
cursor?: string | undefined;
|
|
7606
7628
|
}, Error>;
|
|
7607
7629
|
export declare function getDocumentListOptions(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
|
|
7608
|
-
total: number;
|
|
7609
7630
|
results: {
|
|
7610
7631
|
id: string;
|
|
7611
7632
|
title: string;
|
|
7612
|
-
custom_type_id: string;
|
|
7613
|
-
group_lang_id: string;
|
|
7614
7633
|
language: {
|
|
7615
7634
|
isMaster?: boolean | undefined;
|
|
7616
7635
|
id: string;
|
|
7617
7636
|
label: string;
|
|
7618
7637
|
};
|
|
7638
|
+
custom_type_id: string;
|
|
7639
|
+
group_lang_id: string;
|
|
7619
7640
|
versions: (({
|
|
7620
7641
|
status: "unclassified";
|
|
7621
7642
|
} | {
|
|
@@ -7626,34 +7647,35 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7626
7647
|
} | {
|
|
7627
7648
|
status: "archived";
|
|
7628
7649
|
}) & {
|
|
7629
|
-
tags: string[];
|
|
7630
7650
|
version_id: string;
|
|
7651
|
+
tags: string[];
|
|
7631
7652
|
last_modified_date: Date;
|
|
7632
7653
|
custom_type_label: string;
|
|
7633
7654
|
author: {
|
|
7634
|
-
|
|
7635
|
-
last_name?: string | undefined;
|
|
7655
|
+
id?: string | undefined;
|
|
7636
7656
|
email?: string | undefined;
|
|
7637
7657
|
uploadedAvatar?: string | undefined;
|
|
7658
|
+
first_name?: string | undefined;
|
|
7659
|
+
last_name?: string | undefined;
|
|
7638
7660
|
};
|
|
7639
|
-
preview_image?: string | undefined;
|
|
7640
7661
|
uid?: string | undefined;
|
|
7662
|
+
preview_image?: string | undefined;
|
|
7641
7663
|
preview_summary?: string | undefined;
|
|
7642
7664
|
})[];
|
|
7643
7665
|
}[];
|
|
7666
|
+
total: number;
|
|
7644
7667
|
cursor?: string | undefined;
|
|
7645
7668
|
}, Error, {
|
|
7646
|
-
total: number;
|
|
7647
7669
|
results: {
|
|
7648
7670
|
id: string;
|
|
7649
7671
|
title: string;
|
|
7650
|
-
custom_type_id: string;
|
|
7651
|
-
group_lang_id: string;
|
|
7652
7672
|
language: {
|
|
7653
7673
|
isMaster?: boolean | undefined;
|
|
7654
7674
|
id: string;
|
|
7655
7675
|
label: string;
|
|
7656
7676
|
};
|
|
7677
|
+
custom_type_id: string;
|
|
7678
|
+
group_lang_id: string;
|
|
7657
7679
|
versions: (({
|
|
7658
7680
|
status: "unclassified";
|
|
7659
7681
|
} | {
|
|
@@ -7664,35 +7686,36 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7664
7686
|
} | {
|
|
7665
7687
|
status: "archived";
|
|
7666
7688
|
}) & {
|
|
7667
|
-
tags: string[];
|
|
7668
7689
|
version_id: string;
|
|
7690
|
+
tags: string[];
|
|
7669
7691
|
last_modified_date: Date;
|
|
7670
7692
|
custom_type_label: string;
|
|
7671
7693
|
author: {
|
|
7672
|
-
|
|
7673
|
-
last_name?: string | undefined;
|
|
7694
|
+
id?: string | undefined;
|
|
7674
7695
|
email?: string | undefined;
|
|
7675
7696
|
uploadedAvatar?: string | undefined;
|
|
7697
|
+
first_name?: string | undefined;
|
|
7698
|
+
last_name?: string | undefined;
|
|
7676
7699
|
};
|
|
7677
|
-
preview_image?: string | undefined;
|
|
7678
7700
|
uid?: string | undefined;
|
|
7701
|
+
preview_image?: string | undefined;
|
|
7679
7702
|
preview_summary?: string | undefined;
|
|
7680
7703
|
})[];
|
|
7681
7704
|
}[];
|
|
7705
|
+
total: number;
|
|
7682
7706
|
cursor?: string | undefined;
|
|
7683
7707
|
}, readonly ["documents", "list", GetDocumentListArgs]> & {
|
|
7684
7708
|
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
7685
|
-
total: number;
|
|
7686
7709
|
results: {
|
|
7687
7710
|
id: string;
|
|
7688
7711
|
title: string;
|
|
7689
|
-
custom_type_id: string;
|
|
7690
|
-
group_lang_id: string;
|
|
7691
7712
|
language: {
|
|
7692
7713
|
isMaster?: boolean | undefined;
|
|
7693
7714
|
id: string;
|
|
7694
7715
|
label: string;
|
|
7695
7716
|
};
|
|
7717
|
+
custom_type_id: string;
|
|
7718
|
+
group_lang_id: string;
|
|
7696
7719
|
versions: (({
|
|
7697
7720
|
status: "unclassified";
|
|
7698
7721
|
} | {
|
|
@@ -7703,36 +7726,37 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7703
7726
|
} | {
|
|
7704
7727
|
status: "archived";
|
|
7705
7728
|
}) & {
|
|
7706
|
-
tags: string[];
|
|
7707
7729
|
version_id: string;
|
|
7730
|
+
tags: string[];
|
|
7708
7731
|
last_modified_date: Date;
|
|
7709
7732
|
custom_type_label: string;
|
|
7710
7733
|
author: {
|
|
7711
|
-
|
|
7712
|
-
last_name?: string | undefined;
|
|
7734
|
+
id?: string | undefined;
|
|
7713
7735
|
email?: string | undefined;
|
|
7714
7736
|
uploadedAvatar?: string | undefined;
|
|
7737
|
+
first_name?: string | undefined;
|
|
7738
|
+
last_name?: string | undefined;
|
|
7715
7739
|
};
|
|
7716
|
-
preview_image?: string | undefined;
|
|
7717
7740
|
uid?: string | undefined;
|
|
7741
|
+
preview_image?: string | undefined;
|
|
7718
7742
|
preview_summary?: string | undefined;
|
|
7719
7743
|
})[];
|
|
7720
7744
|
}[];
|
|
7745
|
+
total: number;
|
|
7721
7746
|
cursor?: string | undefined;
|
|
7722
7747
|
}> | undefined;
|
|
7723
7748
|
} & {
|
|
7724
7749
|
queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<readonly ["documents", "list", GetDocumentListArgs], {
|
|
7725
|
-
total: number;
|
|
7726
7750
|
results: {
|
|
7727
7751
|
id: string;
|
|
7728
7752
|
title: string;
|
|
7729
|
-
custom_type_id: string;
|
|
7730
|
-
group_lang_id: string;
|
|
7731
7753
|
language: {
|
|
7732
7754
|
isMaster?: boolean | undefined;
|
|
7733
7755
|
id: string;
|
|
7734
7756
|
label: string;
|
|
7735
7757
|
};
|
|
7758
|
+
custom_type_id: string;
|
|
7759
|
+
group_lang_id: string;
|
|
7736
7760
|
versions: (({
|
|
7737
7761
|
status: "unclassified";
|
|
7738
7762
|
} | {
|
|
@@ -7743,21 +7767,23 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7743
7767
|
} | {
|
|
7744
7768
|
status: "archived";
|
|
7745
7769
|
}) & {
|
|
7746
|
-
tags: string[];
|
|
7747
7770
|
version_id: string;
|
|
7771
|
+
tags: string[];
|
|
7748
7772
|
last_modified_date: Date;
|
|
7749
7773
|
custom_type_label: string;
|
|
7750
7774
|
author: {
|
|
7751
|
-
|
|
7752
|
-
last_name?: string | undefined;
|
|
7775
|
+
id?: string | undefined;
|
|
7753
7776
|
email?: string | undefined;
|
|
7754
7777
|
uploadedAvatar?: string | undefined;
|
|
7778
|
+
first_name?: string | undefined;
|
|
7779
|
+
last_name?: string | undefined;
|
|
7755
7780
|
};
|
|
7756
|
-
preview_image?: string | undefined;
|
|
7757
7781
|
uid?: string | undefined;
|
|
7782
|
+
preview_image?: string | undefined;
|
|
7758
7783
|
preview_summary?: string | undefined;
|
|
7759
7784
|
})[];
|
|
7760
7785
|
}[];
|
|
7786
|
+
total: number;
|
|
7761
7787
|
cursor?: string | undefined;
|
|
7762
7788
|
}>;
|
|
7763
7789
|
};
|