@prismicio/editor-fields 0.4.73 → 0.4.75-alpha.support-new-cr-model.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +6 -6
- package/dist/core/APIExplorer/components/Request/components/RequestFormSelect.d.ts +1 -1
- package/dist/core/APIExplorer/components/Request/createRequest.d.ts +6 -7
- package/dist/core/APIExplorer/constants.d.ts +1 -0
- package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +1 -1
- package/dist/core/APIExplorer/utils.d.ts +3 -0
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +102 -102
- package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +10 -10
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +10 -10
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
- package/dist/core/document.d.ts +1 -1
- package/dist/core/service/customType.d.ts +141 -20
- package/dist/core/service/document.d.ts +178 -178
- package/dist/core/service/documentSearch.d.ts +55 -55
- package/dist/core/service/repository.d.ts +12 -12
- package/dist/fields/ImageField/useImageField.d.ts +10 -10
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +10 -10
- package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
- package/dist/fields/LinkField/Documents/documentsData.d.ts +18 -18
- package/dist/fields/LinkField/LinkField.d.ts +1 -1
- package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +10 -10
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPlugin.d.ts +8 -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/utils.d.ts +1 -0
- package/dist/fields/RichTextField/extensions/Table/TableControlsWrapper.d.ts +3 -0
- package/dist/fields/RichTextField/extensions/Table/TableView.d.ts +5 -8
- package/dist/fields/RichTextField/extensions/Table/menus/PassthroughTrigger.d.ts +12 -0
- package/dist/fields/RichTextField/extensions/Table/menus/TableColumnMenu.d.ts +6 -4
- package/dist/fields/RichTextField/extensions/Table/menus/TableRowMenu.d.ts +6 -4
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginDef.d.ts +8 -0
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginView.d.ts +34 -0
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginViewClass.d.ts +34 -0
- package/dist/index.cjs.js +50 -61
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +15781 -15626
- package/dist/slices/utils.d.ts +2 -2
- package/package.json +5 -5
- /package/dist/fields/RichTextField/extensions/Table/{plugins/tableHandles/tableHandlesPluginView.d.ts → TableCell/plugins/TableHandles/TableHandlesPluginView.d.ts} +0 -0
- /package/dist/fields/RichTextField/extensions/Table/plugins/{tableHandles/tableHandlesPlugin.d.ts → TableHandles/TableHandlesPlugin.d.ts} +0 -0
- /package/dist/fields/RichTextField/extensions/Table/plugins/{tableHandles → TableHandles}/index.d.ts +0 -0
- /package/dist/fields/RichTextField/extensions/Table/plugins/{tableHandles → TableHandles}/utils.d.ts +0 -0
|
@@ -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;
|
|
69
68
|
id?: string | undefined;
|
|
70
69
|
first_name?: string | undefined;
|
|
71
70
|
last_name?: string | undefined;
|
|
71
|
+
email?: string | undefined;
|
|
72
72
|
uploadedAvatar?: string | undefined;
|
|
73
73
|
}, {
|
|
74
|
-
email?: string | undefined;
|
|
75
74
|
id?: string | undefined;
|
|
76
75
|
first_name?: string | undefined;
|
|
77
76
|
last_name?: string | undefined;
|
|
77
|
+
email?: string | undefined;
|
|
78
78
|
uploadedAvatar?: string | undefined;
|
|
79
79
|
}>;
|
|
80
80
|
}>, "strip", z.ZodTypeAny, {
|
|
81
|
-
version_id: string;
|
|
82
81
|
tags: string[];
|
|
82
|
+
version_id: string;
|
|
83
83
|
last_modified_date: Date;
|
|
84
84
|
custom_type_label: string;
|
|
85
85
|
author: {
|
|
86
|
-
email?: string | undefined;
|
|
87
86
|
id?: string | undefined;
|
|
88
87
|
first_name?: string | undefined;
|
|
89
88
|
last_name?: string | undefined;
|
|
89
|
+
email?: string | undefined;
|
|
90
90
|
uploadedAvatar?: string | undefined;
|
|
91
91
|
};
|
|
92
|
-
uid?: string | undefined;
|
|
93
92
|
preview_image?: string | undefined;
|
|
93
|
+
uid?: string | undefined;
|
|
94
94
|
preview_summary?: string | undefined;
|
|
95
95
|
}, {
|
|
96
|
-
version_id: string;
|
|
97
96
|
tags: string[];
|
|
97
|
+
version_id: string;
|
|
98
98
|
last_modified_date: Date;
|
|
99
99
|
custom_type_label: string;
|
|
100
100
|
author: {
|
|
101
|
-
email?: string | undefined;
|
|
102
101
|
id?: string | undefined;
|
|
103
102
|
first_name?: string | undefined;
|
|
104
103
|
last_name?: string | undefined;
|
|
104
|
+
email?: string | undefined;
|
|
105
105
|
uploadedAvatar?: string | undefined;
|
|
106
106
|
};
|
|
107
|
-
uid?: string | undefined;
|
|
108
107
|
preview_image?: string | undefined;
|
|
108
|
+
uid?: string | undefined;
|
|
109
109
|
preview_summary?: string | undefined;
|
|
110
110
|
}>>;
|
|
111
111
|
declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
@@ -153,25 +153,25 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
153
153
|
uid?: string | undefined;
|
|
154
154
|
}>>;
|
|
155
155
|
}>, "strip", z.ZodTypeAny, {
|
|
156
|
-
version_id: string;
|
|
157
156
|
tags: string[];
|
|
157
|
+
version_id: string;
|
|
158
158
|
last_modified_date: Date;
|
|
159
|
-
summary?: string | undefined;
|
|
160
|
-
uid?: string | undefined;
|
|
161
|
-
preview_image?: string | undefined;
|
|
162
159
|
custom_type_id?: string | undefined;
|
|
160
|
+
preview_image?: string | undefined;
|
|
161
|
+
uid?: 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
|
-
version_id: string;
|
|
169
168
|
tags: string[];
|
|
169
|
+
version_id: string;
|
|
170
170
|
last_modified_date: Date;
|
|
171
|
-
summary?: string | undefined;
|
|
172
|
-
uid?: string | undefined;
|
|
173
|
-
preview_image?: string | undefined;
|
|
174
171
|
custom_type_id?: string | undefined;
|
|
172
|
+
preview_image?: string | undefined;
|
|
173
|
+
uid?: string | undefined;
|
|
174
|
+
summary?: 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;
|
|
252
251
|
id?: string | undefined;
|
|
253
252
|
first_name?: string | undefined;
|
|
254
253
|
last_name?: string | undefined;
|
|
254
|
+
email?: string | undefined;
|
|
255
255
|
uploadedAvatar?: string | undefined;
|
|
256
256
|
}, {
|
|
257
|
-
email?: string | undefined;
|
|
258
257
|
id?: string | undefined;
|
|
259
258
|
first_name?: string | undefined;
|
|
260
259
|
last_name?: string | undefined;
|
|
260
|
+
email?: string | undefined;
|
|
261
261
|
uploadedAvatar?: string | undefined;
|
|
262
262
|
}>;
|
|
263
263
|
}>, "strip", z.ZodTypeAny, {
|
|
264
|
-
version_id: string;
|
|
265
264
|
tags: string[];
|
|
265
|
+
version_id: string;
|
|
266
266
|
last_modified_date: Date;
|
|
267
267
|
custom_type_label: string;
|
|
268
268
|
author: {
|
|
269
|
-
email?: string | undefined;
|
|
270
269
|
id?: string | undefined;
|
|
271
270
|
first_name?: string | undefined;
|
|
272
271
|
last_name?: string | undefined;
|
|
272
|
+
email?: string | undefined;
|
|
273
273
|
uploadedAvatar?: string | undefined;
|
|
274
274
|
};
|
|
275
|
-
uid?: string | undefined;
|
|
276
275
|
preview_image?: string | undefined;
|
|
276
|
+
uid?: string | undefined;
|
|
277
277
|
preview_summary?: string | undefined;
|
|
278
278
|
}, {
|
|
279
|
-
version_id: string;
|
|
280
279
|
tags: string[];
|
|
280
|
+
version_id: string;
|
|
281
281
|
last_modified_date: Date;
|
|
282
282
|
custom_type_label: string;
|
|
283
283
|
author: {
|
|
284
|
-
email?: string | undefined;
|
|
285
284
|
id?: string | undefined;
|
|
286
285
|
first_name?: string | undefined;
|
|
287
286
|
last_name?: string | undefined;
|
|
287
|
+
email?: string | undefined;
|
|
288
288
|
uploadedAvatar?: string | undefined;
|
|
289
289
|
};
|
|
290
|
-
uid?: string | undefined;
|
|
291
290
|
preview_image?: string | undefined;
|
|
291
|
+
uid?: string | undefined;
|
|
292
292
|
preview_summary?: string | undefined;
|
|
293
293
|
}>>, "many">;
|
|
294
294
|
}, "strip", z.ZodTypeAny, {
|
|
295
|
-
title: string;
|
|
296
295
|
id: string;
|
|
296
|
+
title: string;
|
|
297
|
+
custom_type_id: string;
|
|
298
|
+
group_lang_id: string;
|
|
297
299
|
language: {
|
|
298
300
|
isMaster?: boolean | undefined;
|
|
299
301
|
id: string;
|
|
300
302
|
label: string;
|
|
301
303
|
};
|
|
302
|
-
custom_type_id: string;
|
|
303
|
-
group_lang_id: string;
|
|
304
304
|
versions: (({
|
|
305
305
|
status: "unclassified";
|
|
306
306
|
} | {
|
|
@@ -311,30 +311,30 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
311
311
|
} | {
|
|
312
312
|
status: "archived";
|
|
313
313
|
}) & {
|
|
314
|
-
version_id: string;
|
|
315
314
|
tags: string[];
|
|
315
|
+
version_id: string;
|
|
316
316
|
last_modified_date: Date;
|
|
317
317
|
custom_type_label: string;
|
|
318
318
|
author: {
|
|
319
|
-
email?: string | undefined;
|
|
320
319
|
id?: string | undefined;
|
|
321
320
|
first_name?: string | undefined;
|
|
322
321
|
last_name?: string | undefined;
|
|
322
|
+
email?: string | undefined;
|
|
323
323
|
uploadedAvatar?: string | undefined;
|
|
324
324
|
};
|
|
325
|
-
uid?: string | undefined;
|
|
326
325
|
preview_image?: string | undefined;
|
|
326
|
+
uid?: string | undefined;
|
|
327
327
|
preview_summary?: string | undefined;
|
|
328
328
|
})[];
|
|
329
329
|
}, {
|
|
330
330
|
id: string;
|
|
331
|
+
custom_type_id: string;
|
|
332
|
+
group_lang_id: string;
|
|
331
333
|
language: {
|
|
332
334
|
id: string;
|
|
333
335
|
name: string;
|
|
334
336
|
is_master?: boolean | undefined;
|
|
335
337
|
};
|
|
336
|
-
custom_type_id: string;
|
|
337
|
-
group_lang_id: string;
|
|
338
338
|
versions: (({
|
|
339
339
|
status: "unclassified";
|
|
340
340
|
} | {
|
|
@@ -345,19 +345,19 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
345
345
|
} | {
|
|
346
346
|
status: "archived";
|
|
347
347
|
}) & {
|
|
348
|
-
version_id: string;
|
|
349
348
|
tags: string[];
|
|
349
|
+
version_id: string;
|
|
350
350
|
last_modified_date: Date;
|
|
351
351
|
custom_type_label: string;
|
|
352
352
|
author: {
|
|
353
|
-
email?: string | undefined;
|
|
354
353
|
id?: string | undefined;
|
|
355
354
|
first_name?: string | undefined;
|
|
356
355
|
last_name?: string | undefined;
|
|
356
|
+
email?: string | undefined;
|
|
357
357
|
uploadedAvatar?: string | undefined;
|
|
358
358
|
};
|
|
359
|
-
uid?: string | undefined;
|
|
360
359
|
preview_image?: string | undefined;
|
|
360
|
+
uid?: string | undefined;
|
|
361
361
|
preview_summary?: string | undefined;
|
|
362
362
|
})[];
|
|
363
363
|
title?: string | null | undefined;
|
|
@@ -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;
|
|
438
437
|
id?: string | undefined;
|
|
439
438
|
first_name?: string | undefined;
|
|
440
439
|
last_name?: string | undefined;
|
|
440
|
+
email?: string | undefined;
|
|
441
441
|
uploadedAvatar?: string | undefined;
|
|
442
442
|
}, {
|
|
443
|
-
email?: string | undefined;
|
|
444
443
|
id?: string | undefined;
|
|
445
444
|
first_name?: string | undefined;
|
|
446
445
|
last_name?: string | undefined;
|
|
446
|
+
email?: string | undefined;
|
|
447
447
|
uploadedAvatar?: string | undefined;
|
|
448
448
|
}>;
|
|
449
449
|
}>, "strip", z.ZodTypeAny, {
|
|
450
|
-
version_id: string;
|
|
451
450
|
tags: string[];
|
|
451
|
+
version_id: string;
|
|
452
452
|
last_modified_date: Date;
|
|
453
453
|
custom_type_label: string;
|
|
454
454
|
author: {
|
|
455
|
-
email?: string | undefined;
|
|
456
455
|
id?: string | undefined;
|
|
457
456
|
first_name?: string | undefined;
|
|
458
457
|
last_name?: string | undefined;
|
|
458
|
+
email?: string | undefined;
|
|
459
459
|
uploadedAvatar?: string | undefined;
|
|
460
460
|
};
|
|
461
|
-
uid?: string | undefined;
|
|
462
461
|
preview_image?: string | undefined;
|
|
462
|
+
uid?: string | undefined;
|
|
463
463
|
preview_summary?: string | undefined;
|
|
464
464
|
}, {
|
|
465
|
-
version_id: string;
|
|
466
465
|
tags: string[];
|
|
466
|
+
version_id: string;
|
|
467
467
|
last_modified_date: Date;
|
|
468
468
|
custom_type_label: string;
|
|
469
469
|
author: {
|
|
470
|
-
email?: string | undefined;
|
|
471
470
|
id?: string | undefined;
|
|
472
471
|
first_name?: string | undefined;
|
|
473
472
|
last_name?: string | undefined;
|
|
473
|
+
email?: string | undefined;
|
|
474
474
|
uploadedAvatar?: string | undefined;
|
|
475
475
|
};
|
|
476
|
-
uid?: string | undefined;
|
|
477
476
|
preview_image?: string | undefined;
|
|
477
|
+
uid?: string | undefined;
|
|
478
478
|
preview_summary?: string | undefined;
|
|
479
479
|
}>>, "many">;
|
|
480
480
|
}, "strip", z.ZodTypeAny, {
|
|
481
|
-
title: string;
|
|
482
481
|
id: string;
|
|
482
|
+
title: string;
|
|
483
|
+
custom_type_id: string;
|
|
484
|
+
group_lang_id: string;
|
|
483
485
|
language: {
|
|
484
486
|
isMaster?: boolean | undefined;
|
|
485
487
|
id: string;
|
|
486
488
|
label: string;
|
|
487
489
|
};
|
|
488
|
-
custom_type_id: string;
|
|
489
|
-
group_lang_id: string;
|
|
490
490
|
versions: (({
|
|
491
491
|
status: "unclassified";
|
|
492
492
|
} | {
|
|
@@ -497,30 +497,30 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
497
497
|
} | {
|
|
498
498
|
status: "archived";
|
|
499
499
|
}) & {
|
|
500
|
-
version_id: string;
|
|
501
500
|
tags: string[];
|
|
501
|
+
version_id: string;
|
|
502
502
|
last_modified_date: Date;
|
|
503
503
|
custom_type_label: string;
|
|
504
504
|
author: {
|
|
505
|
-
email?: string | undefined;
|
|
506
505
|
id?: string | undefined;
|
|
507
506
|
first_name?: string | undefined;
|
|
508
507
|
last_name?: string | undefined;
|
|
508
|
+
email?: string | undefined;
|
|
509
509
|
uploadedAvatar?: string | undefined;
|
|
510
510
|
};
|
|
511
|
-
uid?: string | undefined;
|
|
512
511
|
preview_image?: string | undefined;
|
|
512
|
+
uid?: string | undefined;
|
|
513
513
|
preview_summary?: string | undefined;
|
|
514
514
|
})[];
|
|
515
515
|
}, {
|
|
516
516
|
id: string;
|
|
517
|
+
custom_type_id: string;
|
|
518
|
+
group_lang_id: string;
|
|
517
519
|
language: {
|
|
518
520
|
id: string;
|
|
519
521
|
name: string;
|
|
520
522
|
is_master?: boolean | undefined;
|
|
521
523
|
};
|
|
522
|
-
custom_type_id: string;
|
|
523
|
-
group_lang_id: string;
|
|
524
524
|
versions: (({
|
|
525
525
|
status: "unclassified";
|
|
526
526
|
} | {
|
|
@@ -531,19 +531,19 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
531
531
|
} | {
|
|
532
532
|
status: "archived";
|
|
533
533
|
}) & {
|
|
534
|
-
version_id: string;
|
|
535
534
|
tags: string[];
|
|
535
|
+
version_id: string;
|
|
536
536
|
last_modified_date: Date;
|
|
537
537
|
custom_type_label: string;
|
|
538
538
|
author: {
|
|
539
|
-
email?: string | undefined;
|
|
540
539
|
id?: string | undefined;
|
|
541
540
|
first_name?: string | undefined;
|
|
542
541
|
last_name?: string | undefined;
|
|
542
|
+
email?: string | undefined;
|
|
543
543
|
uploadedAvatar?: string | undefined;
|
|
544
544
|
};
|
|
545
|
-
uid?: string | undefined;
|
|
546
545
|
preview_image?: string | undefined;
|
|
546
|
+
uid?: string | undefined;
|
|
547
547
|
preview_summary?: string | undefined;
|
|
548
548
|
})[];
|
|
549
549
|
title?: string | null | undefined;
|
|
@@ -551,15 +551,15 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
551
551
|
}, "strip", z.ZodTypeAny, {
|
|
552
552
|
total: number;
|
|
553
553
|
results: {
|
|
554
|
-
title: string;
|
|
555
554
|
id: string;
|
|
555
|
+
title: string;
|
|
556
|
+
custom_type_id: string;
|
|
557
|
+
group_lang_id: string;
|
|
556
558
|
language: {
|
|
557
559
|
isMaster?: boolean | undefined;
|
|
558
560
|
id: string;
|
|
559
561
|
label: string;
|
|
560
562
|
};
|
|
561
|
-
custom_type_id: string;
|
|
562
|
-
group_lang_id: string;
|
|
563
563
|
versions: (({
|
|
564
564
|
status: "unclassified";
|
|
565
565
|
} | {
|
|
@@ -570,19 +570,19 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
570
570
|
} | {
|
|
571
571
|
status: "archived";
|
|
572
572
|
}) & {
|
|
573
|
-
version_id: string;
|
|
574
573
|
tags: string[];
|
|
574
|
+
version_id: string;
|
|
575
575
|
last_modified_date: Date;
|
|
576
576
|
custom_type_label: string;
|
|
577
577
|
author: {
|
|
578
|
-
email?: string | undefined;
|
|
579
578
|
id?: string | undefined;
|
|
580
579
|
first_name?: string | undefined;
|
|
581
580
|
last_name?: string | undefined;
|
|
581
|
+
email?: string | undefined;
|
|
582
582
|
uploadedAvatar?: string | undefined;
|
|
583
583
|
};
|
|
584
|
-
uid?: string | undefined;
|
|
585
584
|
preview_image?: string | undefined;
|
|
585
|
+
uid?: string | undefined;
|
|
586
586
|
preview_summary?: string | undefined;
|
|
587
587
|
})[];
|
|
588
588
|
}[];
|
|
@@ -591,13 +591,13 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
591
591
|
total: number;
|
|
592
592
|
results: {
|
|
593
593
|
id: string;
|
|
594
|
+
custom_type_id: string;
|
|
595
|
+
group_lang_id: string;
|
|
594
596
|
language: {
|
|
595
597
|
id: string;
|
|
596
598
|
name: string;
|
|
597
599
|
is_master?: boolean | undefined;
|
|
598
600
|
};
|
|
599
|
-
custom_type_id: string;
|
|
600
|
-
group_lang_id: string;
|
|
601
601
|
versions: (({
|
|
602
602
|
status: "unclassified";
|
|
603
603
|
} | {
|
|
@@ -608,19 +608,19 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
608
608
|
} | {
|
|
609
609
|
status: "archived";
|
|
610
610
|
}) & {
|
|
611
|
-
version_id: string;
|
|
612
611
|
tags: string[];
|
|
612
|
+
version_id: string;
|
|
613
613
|
last_modified_date: Date;
|
|
614
614
|
custom_type_label: string;
|
|
615
615
|
author: {
|
|
616
|
-
email?: string | undefined;
|
|
617
616
|
id?: string | undefined;
|
|
618
617
|
first_name?: string | undefined;
|
|
619
618
|
last_name?: string | undefined;
|
|
619
|
+
email?: string | undefined;
|
|
620
620
|
uploadedAvatar?: string | undefined;
|
|
621
621
|
};
|
|
622
|
-
uid?: string | undefined;
|
|
623
622
|
preview_image?: string | undefined;
|
|
623
|
+
uid?: string | undefined;
|
|
624
624
|
preview_summary?: string | undefined;
|
|
625
625
|
})[];
|
|
626
626
|
title?: string | null | undefined;
|
|
@@ -677,25 +677,25 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
677
677
|
uid?: string | undefined;
|
|
678
678
|
}>>;
|
|
679
679
|
}>, "strip", z.ZodTypeAny, {
|
|
680
|
-
version_id: string;
|
|
681
680
|
tags: string[];
|
|
681
|
+
version_id: string;
|
|
682
682
|
last_modified_date: Date;
|
|
683
|
-
summary?: string | undefined;
|
|
684
|
-
uid?: string | undefined;
|
|
685
|
-
preview_image?: string | undefined;
|
|
686
683
|
custom_type_id?: string | undefined;
|
|
684
|
+
preview_image?: string | undefined;
|
|
685
|
+
uid?: 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
|
-
version_id: string;
|
|
693
692
|
tags: string[];
|
|
693
|
+
version_id: string;
|
|
694
694
|
last_modified_date: Date;
|
|
695
|
-
summary?: string | undefined;
|
|
696
|
-
uid?: string | undefined;
|
|
697
|
-
preview_image?: string | undefined;
|
|
698
695
|
custom_type_id?: string | undefined;
|
|
696
|
+
preview_image?: string | undefined;
|
|
697
|
+
uid?: string | undefined;
|
|
698
|
+
summary?: 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
|
-
title: string;
|
|
707
706
|
id: string;
|
|
707
|
+
title: 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
|
-
version_id: string;
|
|
721
720
|
tags: string[];
|
|
721
|
+
version_id: string;
|
|
722
722
|
last_modified_date: Date;
|
|
723
|
-
summary?: string | undefined;
|
|
724
|
-
uid?: string | undefined;
|
|
725
|
-
preview_image?: string | undefined;
|
|
726
723
|
custom_type_id?: string | undefined;
|
|
724
|
+
preview_image?: string | undefined;
|
|
725
|
+
uid?: 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
|
-
version_id: string;
|
|
748
747
|
tags: string[];
|
|
748
|
+
version_id: string;
|
|
749
749
|
last_modified_date: Date;
|
|
750
|
-
summary?: string | undefined;
|
|
751
|
-
uid?: string | undefined;
|
|
752
|
-
preview_image?: string | undefined;
|
|
753
750
|
custom_type_id?: string | undefined;
|
|
751
|
+
preview_image?: string | undefined;
|
|
752
|
+
uid?: string | undefined;
|
|
753
|
+
summary?: 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
|
-
title: string;
|
|
763
762
|
id: string;
|
|
763
|
+
title: 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
|
-
version_id: string;
|
|
778
777
|
tags: string[];
|
|
778
|
+
version_id: string;
|
|
779
779
|
last_modified_date: Date;
|
|
780
|
-
summary?: string | undefined;
|
|
781
|
-
uid?: string | undefined;
|
|
782
|
-
preview_image?: string | undefined;
|
|
783
780
|
custom_type_id?: string | undefined;
|
|
781
|
+
preview_image?: string | undefined;
|
|
782
|
+
uid?: 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
|
-
version_id: string;
|
|
804
803
|
tags: string[];
|
|
804
|
+
version_id: string;
|
|
805
805
|
last_modified_date: Date;
|
|
806
|
-
summary?: string | undefined;
|
|
807
|
-
uid?: string | undefined;
|
|
808
|
-
preview_image?: string | undefined;
|
|
809
806
|
custom_type_id?: string | undefined;
|
|
807
|
+
preview_image?: string | undefined;
|
|
808
|
+
uid?: 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
|
-
version_id: string;
|
|
870
869
|
tags: string[];
|
|
870
|
+
version_id: string;
|
|
871
871
|
last_modified_date: Date;
|
|
872
|
-
summary?: string | undefined;
|
|
873
|
-
uid?: string | undefined;
|
|
874
|
-
preview_image?: string | undefined;
|
|
875
872
|
custom_type_id?: string | undefined;
|
|
873
|
+
preview_image?: string | undefined;
|
|
874
|
+
uid?: 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
|
-
version_id: string;
|
|
882
881
|
tags: string[];
|
|
882
|
+
version_id: string;
|
|
883
883
|
last_modified_date: Date;
|
|
884
|
-
summary?: string | undefined;
|
|
885
|
-
uid?: string | undefined;
|
|
886
|
-
preview_image?: string | undefined;
|
|
887
884
|
custom_type_id?: string | undefined;
|
|
885
|
+
preview_image?: string | undefined;
|
|
886
|
+
uid?: string | undefined;
|
|
887
|
+
summary?: 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
|
-
title: string;
|
|
896
895
|
id: string;
|
|
896
|
+
title: 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
|
-
version_id: string;
|
|
910
909
|
tags: string[];
|
|
910
|
+
version_id: string;
|
|
911
911
|
last_modified_date: Date;
|
|
912
|
-
summary?: string | undefined;
|
|
913
|
-
uid?: string | undefined;
|
|
914
|
-
preview_image?: string | undefined;
|
|
915
912
|
custom_type_id?: string | undefined;
|
|
913
|
+
preview_image?: string | undefined;
|
|
914
|
+
uid?: 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
|
-
version_id: string;
|
|
937
936
|
tags: string[];
|
|
937
|
+
version_id: string;
|
|
938
938
|
last_modified_date: Date;
|
|
939
|
-
summary?: string | undefined;
|
|
940
|
-
uid?: string | undefined;
|
|
941
|
-
preview_image?: string | undefined;
|
|
942
939
|
custom_type_id?: string | undefined;
|
|
940
|
+
preview_image?: string | undefined;
|
|
941
|
+
uid?: string | undefined;
|
|
942
|
+
summary?: 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
|
-
title: string;
|
|
952
951
|
id: string;
|
|
952
|
+
title: 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
|
-
version_id: string;
|
|
967
966
|
tags: string[];
|
|
967
|
+
version_id: string;
|
|
968
968
|
last_modified_date: Date;
|
|
969
|
-
summary?: string | undefined;
|
|
970
|
-
uid?: string | undefined;
|
|
971
|
-
preview_image?: string | undefined;
|
|
972
969
|
custom_type_id?: string | undefined;
|
|
970
|
+
preview_image?: string | undefined;
|
|
971
|
+
uid?: 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
|
-
version_id: string;
|
|
993
992
|
tags: string[];
|
|
993
|
+
version_id: string;
|
|
994
994
|
last_modified_date: Date;
|
|
995
|
-
summary?: string | undefined;
|
|
996
|
-
uid?: string | undefined;
|
|
997
|
-
preview_image?: string | undefined;
|
|
998
995
|
custom_type_id?: string | undefined;
|
|
996
|
+
preview_image?: string | undefined;
|
|
997
|
+
uid?: string | undefined;
|
|
998
|
+
summary?: 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
|
-
title: string;
|
|
1010
1009
|
id: string;
|
|
1010
|
+
title: 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
|
-
version_id: string;
|
|
1025
1024
|
tags: string[];
|
|
1025
|
+
version_id: string;
|
|
1026
1026
|
last_modified_date: Date;
|
|
1027
|
-
summary?: string | undefined;
|
|
1028
|
-
uid?: string | undefined;
|
|
1029
|
-
preview_image?: string | undefined;
|
|
1030
1027
|
custom_type_id?: string | undefined;
|
|
1028
|
+
preview_image?: string | undefined;
|
|
1029
|
+
uid?: 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
|
-
version_id: string;
|
|
1053
1052
|
tags: string[];
|
|
1053
|
+
version_id: string;
|
|
1054
1054
|
last_modified_date: Date;
|
|
1055
|
-
summary?: string | undefined;
|
|
1056
|
-
uid?: string | undefined;
|
|
1057
|
-
preview_image?: string | undefined;
|
|
1058
1055
|
custom_type_id?: string | undefined;
|
|
1056
|
+
preview_image?: string | undefined;
|
|
1057
|
+
uid?: string | undefined;
|
|
1058
|
+
summary?: string | undefined;
|
|
1059
1059
|
author_ids?: string[] | undefined;
|
|
1060
1060
|
highlights?: {
|
|
1061
1061
|
uid?: string | undefined;
|
|
@@ -1389,7 +1389,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1389
1389
|
label?: string | null | undefined;
|
|
1390
1390
|
direction?: string | null | undefined;
|
|
1391
1391
|
}) | ({
|
|
1392
|
-
type: "
|
|
1392
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1393
1393
|
content: {
|
|
1394
1394
|
text: string;
|
|
1395
1395
|
} & {
|
|
@@ -1554,7 +1554,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1554
1554
|
label?: string | null | undefined;
|
|
1555
1555
|
direction?: string | null | undefined;
|
|
1556
1556
|
}) | ({
|
|
1557
|
-
type: "
|
|
1557
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1558
1558
|
content: {
|
|
1559
1559
|
text: string;
|
|
1560
1560
|
} & {
|
|
@@ -1990,7 +1990,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1990
1990
|
label?: string | null | undefined;
|
|
1991
1991
|
direction?: string | null | undefined;
|
|
1992
1992
|
}) | ({
|
|
1993
|
-
type: "
|
|
1993
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1994
1994
|
content: {
|
|
1995
1995
|
text: string;
|
|
1996
1996
|
} & {
|
|
@@ -2155,7 +2155,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2155
2155
|
label?: string | null | undefined;
|
|
2156
2156
|
direction?: string | null | undefined;
|
|
2157
2157
|
}) | ({
|
|
2158
|
-
type: "
|
|
2158
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2159
2159
|
content: {
|
|
2160
2160
|
text: string;
|
|
2161
2161
|
} & {
|
|
@@ -2583,7 +2583,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2583
2583
|
label?: string | null | undefined;
|
|
2584
2584
|
direction?: string | null | undefined;
|
|
2585
2585
|
}) | ({
|
|
2586
|
-
type: "
|
|
2586
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2587
2587
|
content: {
|
|
2588
2588
|
text: string;
|
|
2589
2589
|
} & {
|
|
@@ -2745,7 +2745,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2745
2745
|
label?: string | null | undefined;
|
|
2746
2746
|
direction?: string | null | undefined;
|
|
2747
2747
|
}) | ({
|
|
2748
|
-
type: "
|
|
2748
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2749
2749
|
content: {
|
|
2750
2750
|
text: string;
|
|
2751
2751
|
} & {
|
|
@@ -3175,7 +3175,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3175
3175
|
label?: string | null | undefined;
|
|
3176
3176
|
direction?: string | null | undefined;
|
|
3177
3177
|
}) | ({
|
|
3178
|
-
type: "
|
|
3178
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3179
3179
|
content: {
|
|
3180
3180
|
text: string;
|
|
3181
3181
|
} & {
|
|
@@ -3340,7 +3340,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3340
3340
|
label?: string | null | undefined;
|
|
3341
3341
|
direction?: string | null | undefined;
|
|
3342
3342
|
}) | ({
|
|
3343
|
-
type: "
|
|
3343
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3344
3344
|
content: {
|
|
3345
3345
|
text: string;
|
|
3346
3346
|
} & {
|
|
@@ -3768,7 +3768,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3768
3768
|
label?: string | null | undefined;
|
|
3769
3769
|
direction?: string | null | undefined;
|
|
3770
3770
|
}) | ({
|
|
3771
|
-
type: "
|
|
3771
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3772
3772
|
content: {
|
|
3773
3773
|
text: string;
|
|
3774
3774
|
} & {
|
|
@@ -3930,7 +3930,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3930
3930
|
label?: string | null | undefined;
|
|
3931
3931
|
direction?: string | null | undefined;
|
|
3932
3932
|
}) | ({
|
|
3933
|
-
type: "
|
|
3933
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3934
3934
|
content: {
|
|
3935
3935
|
text: string;
|
|
3936
3936
|
} & {
|
|
@@ -4356,7 +4356,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
4356
4356
|
label?: string | null | undefined;
|
|
4357
4357
|
direction?: string | null | undefined;
|
|
4358
4358
|
}) | ({
|
|
4359
|
-
type: "
|
|
4359
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4360
4360
|
content: {
|
|
4361
4361
|
text: string;
|
|
4362
4362
|
} & {
|
|
@@ -4521,7 +4521,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
4521
4521
|
label?: string | null | undefined;
|
|
4522
4522
|
direction?: string | null | undefined;
|
|
4523
4523
|
}) | ({
|
|
4524
|
-
type: "
|
|
4524
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4525
4525
|
content: {
|
|
4526
4526
|
text: string;
|
|
4527
4527
|
} & {
|
|
@@ -4956,7 +4956,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4956
4956
|
label?: string | null | undefined;
|
|
4957
4957
|
direction?: string | null | undefined;
|
|
4958
4958
|
}) | ({
|
|
4959
|
-
type: "
|
|
4959
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4960
4960
|
content: {
|
|
4961
4961
|
text: string;
|
|
4962
4962
|
} & {
|
|
@@ -5121,7 +5121,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5121
5121
|
label?: string | null | undefined;
|
|
5122
5122
|
direction?: string | null | undefined;
|
|
5123
5123
|
}) | ({
|
|
5124
|
-
type: "
|
|
5124
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5125
5125
|
content: {
|
|
5126
5126
|
text: string;
|
|
5127
5127
|
} & {
|
|
@@ -5549,7 +5549,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5549
5549
|
label?: string | null | undefined;
|
|
5550
5550
|
direction?: string | null | undefined;
|
|
5551
5551
|
}) | ({
|
|
5552
|
-
type: "
|
|
5552
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5553
5553
|
content: {
|
|
5554
5554
|
text: string;
|
|
5555
5555
|
} & {
|
|
@@ -5714,7 +5714,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5714
5714
|
label?: string | null | undefined;
|
|
5715
5715
|
direction?: string | null | undefined;
|
|
5716
5716
|
}) | ({
|
|
5717
|
-
type: "
|
|
5717
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5718
5718
|
content: {
|
|
5719
5719
|
text: string;
|
|
5720
5720
|
} & {
|
|
@@ -6144,7 +6144,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6144
6144
|
label?: string | null | undefined;
|
|
6145
6145
|
direction?: string | null | undefined;
|
|
6146
6146
|
}) | ({
|
|
6147
|
-
type: "
|
|
6147
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6148
6148
|
content: {
|
|
6149
6149
|
text: string;
|
|
6150
6150
|
} & {
|
|
@@ -6309,7 +6309,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6309
6309
|
label?: string | null | undefined;
|
|
6310
6310
|
direction?: string | null | undefined;
|
|
6311
6311
|
}) | ({
|
|
6312
|
-
type: "
|
|
6312
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6313
6313
|
content: {
|
|
6314
6314
|
text: string;
|
|
6315
6315
|
} & {
|
|
@@ -6737,7 +6737,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6737
6737
|
label?: string | null | undefined;
|
|
6738
6738
|
direction?: string | null | undefined;
|
|
6739
6739
|
}) | ({
|
|
6740
|
-
type: "
|
|
6740
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6741
6741
|
content: {
|
|
6742
6742
|
text: string;
|
|
6743
6743
|
} & {
|
|
@@ -6902,7 +6902,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6902
6902
|
label?: string | null | undefined;
|
|
6903
6903
|
direction?: string | null | undefined;
|
|
6904
6904
|
}) | ({
|
|
6905
|
-
type: "
|
|
6905
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6906
6906
|
content: {
|
|
6907
6907
|
text: string;
|
|
6908
6908
|
} & {
|
|
@@ -7328,7 +7328,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
7328
7328
|
label?: string | null | undefined;
|
|
7329
7329
|
direction?: string | null | undefined;
|
|
7330
7330
|
}) | ({
|
|
7331
|
-
type: "
|
|
7331
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
7332
7332
|
content: {
|
|
7333
7333
|
text: string;
|
|
7334
7334
|
} & {
|
|
@@ -7493,7 +7493,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
7493
7493
|
label?: string | null | undefined;
|
|
7494
7494
|
direction?: string | null | undefined;
|
|
7495
7495
|
}) | ({
|
|
7496
|
-
type: "
|
|
7496
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
7497
7497
|
content: {
|
|
7498
7498
|
text: string;
|
|
7499
7499
|
} & {
|
|
@@ -7655,15 +7655,15 @@ export declare function invalidateDocumentListData(queryClient: QueryClient): Pr
|
|
|
7655
7655
|
export declare function useDocumentList(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
|
|
7656
7656
|
total: number;
|
|
7657
7657
|
results: {
|
|
7658
|
-
title: string;
|
|
7659
7658
|
id: string;
|
|
7659
|
+
title: string;
|
|
7660
|
+
custom_type_id: string;
|
|
7661
|
+
group_lang_id: string;
|
|
7660
7662
|
language: {
|
|
7661
7663
|
isMaster?: boolean | undefined;
|
|
7662
7664
|
id: string;
|
|
7663
7665
|
label: string;
|
|
7664
7666
|
};
|
|
7665
|
-
custom_type_id: string;
|
|
7666
|
-
group_lang_id: string;
|
|
7667
7667
|
versions: (({
|
|
7668
7668
|
status: "unclassified";
|
|
7669
7669
|
} | {
|
|
@@ -7674,19 +7674,19 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
|
|
|
7674
7674
|
} | {
|
|
7675
7675
|
status: "archived";
|
|
7676
7676
|
}) & {
|
|
7677
|
-
version_id: string;
|
|
7678
7677
|
tags: string[];
|
|
7678
|
+
version_id: string;
|
|
7679
7679
|
last_modified_date: Date;
|
|
7680
7680
|
custom_type_label: string;
|
|
7681
7681
|
author: {
|
|
7682
|
-
email?: string | undefined;
|
|
7683
7682
|
id?: string | undefined;
|
|
7684
7683
|
first_name?: string | undefined;
|
|
7685
7684
|
last_name?: string | undefined;
|
|
7685
|
+
email?: string | undefined;
|
|
7686
7686
|
uploadedAvatar?: string | undefined;
|
|
7687
7687
|
};
|
|
7688
|
-
uid?: string | undefined;
|
|
7689
7688
|
preview_image?: string | undefined;
|
|
7689
|
+
uid?: string | undefined;
|
|
7690
7690
|
preview_summary?: string | undefined;
|
|
7691
7691
|
})[];
|
|
7692
7692
|
}[];
|
|
@@ -7695,15 +7695,15 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
|
|
|
7695
7695
|
export declare function getDocumentListOptions(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
|
|
7696
7696
|
total: number;
|
|
7697
7697
|
results: {
|
|
7698
|
-
title: string;
|
|
7699
7698
|
id: string;
|
|
7699
|
+
title: string;
|
|
7700
|
+
custom_type_id: string;
|
|
7701
|
+
group_lang_id: string;
|
|
7700
7702
|
language: {
|
|
7701
7703
|
isMaster?: boolean | undefined;
|
|
7702
7704
|
id: string;
|
|
7703
7705
|
label: string;
|
|
7704
7706
|
};
|
|
7705
|
-
custom_type_id: string;
|
|
7706
|
-
group_lang_id: string;
|
|
7707
7707
|
versions: (({
|
|
7708
7708
|
status: "unclassified";
|
|
7709
7709
|
} | {
|
|
@@ -7714,19 +7714,19 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7714
7714
|
} | {
|
|
7715
7715
|
status: "archived";
|
|
7716
7716
|
}) & {
|
|
7717
|
-
version_id: string;
|
|
7718
7717
|
tags: string[];
|
|
7718
|
+
version_id: string;
|
|
7719
7719
|
last_modified_date: Date;
|
|
7720
7720
|
custom_type_label: string;
|
|
7721
7721
|
author: {
|
|
7722
|
-
email?: string | undefined;
|
|
7723
7722
|
id?: string | undefined;
|
|
7724
7723
|
first_name?: string | undefined;
|
|
7725
7724
|
last_name?: string | undefined;
|
|
7725
|
+
email?: string | undefined;
|
|
7726
7726
|
uploadedAvatar?: string | undefined;
|
|
7727
7727
|
};
|
|
7728
|
-
uid?: string | undefined;
|
|
7729
7728
|
preview_image?: string | undefined;
|
|
7729
|
+
uid?: string | undefined;
|
|
7730
7730
|
preview_summary?: string | undefined;
|
|
7731
7731
|
})[];
|
|
7732
7732
|
}[];
|
|
@@ -7734,15 +7734,15 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7734
7734
|
}, Error, {
|
|
7735
7735
|
total: number;
|
|
7736
7736
|
results: {
|
|
7737
|
-
title: string;
|
|
7738
7737
|
id: string;
|
|
7738
|
+
title: string;
|
|
7739
|
+
custom_type_id: string;
|
|
7740
|
+
group_lang_id: string;
|
|
7739
7741
|
language: {
|
|
7740
7742
|
isMaster?: boolean | undefined;
|
|
7741
7743
|
id: string;
|
|
7742
7744
|
label: string;
|
|
7743
7745
|
};
|
|
7744
|
-
custom_type_id: string;
|
|
7745
|
-
group_lang_id: string;
|
|
7746
7746
|
versions: (({
|
|
7747
7747
|
status: "unclassified";
|
|
7748
7748
|
} | {
|
|
@@ -7753,19 +7753,19 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7753
7753
|
} | {
|
|
7754
7754
|
status: "archived";
|
|
7755
7755
|
}) & {
|
|
7756
|
-
version_id: string;
|
|
7757
7756
|
tags: string[];
|
|
7757
|
+
version_id: string;
|
|
7758
7758
|
last_modified_date: Date;
|
|
7759
7759
|
custom_type_label: string;
|
|
7760
7760
|
author: {
|
|
7761
|
-
email?: string | undefined;
|
|
7762
7761
|
id?: string | undefined;
|
|
7763
7762
|
first_name?: string | undefined;
|
|
7764
7763
|
last_name?: string | undefined;
|
|
7764
|
+
email?: string | undefined;
|
|
7765
7765
|
uploadedAvatar?: string | undefined;
|
|
7766
7766
|
};
|
|
7767
|
-
uid?: string | undefined;
|
|
7768
7767
|
preview_image?: string | undefined;
|
|
7768
|
+
uid?: string | undefined;
|
|
7769
7769
|
preview_summary?: string | undefined;
|
|
7770
7770
|
})[];
|
|
7771
7771
|
}[];
|
|
@@ -7774,15 +7774,15 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7774
7774
|
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
7775
7775
|
total: number;
|
|
7776
7776
|
results: {
|
|
7777
|
-
title: string;
|
|
7778
7777
|
id: string;
|
|
7778
|
+
title: string;
|
|
7779
|
+
custom_type_id: string;
|
|
7780
|
+
group_lang_id: string;
|
|
7779
7781
|
language: {
|
|
7780
7782
|
isMaster?: boolean | undefined;
|
|
7781
7783
|
id: string;
|
|
7782
7784
|
label: string;
|
|
7783
7785
|
};
|
|
7784
|
-
custom_type_id: string;
|
|
7785
|
-
group_lang_id: string;
|
|
7786
7786
|
versions: (({
|
|
7787
7787
|
status: "unclassified";
|
|
7788
7788
|
} | {
|
|
@@ -7793,19 +7793,19 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7793
7793
|
} | {
|
|
7794
7794
|
status: "archived";
|
|
7795
7795
|
}) & {
|
|
7796
|
-
version_id: string;
|
|
7797
7796
|
tags: string[];
|
|
7797
|
+
version_id: string;
|
|
7798
7798
|
last_modified_date: Date;
|
|
7799
7799
|
custom_type_label: string;
|
|
7800
7800
|
author: {
|
|
7801
|
-
email?: string | undefined;
|
|
7802
7801
|
id?: string | undefined;
|
|
7803
7802
|
first_name?: string | undefined;
|
|
7804
7803
|
last_name?: string | undefined;
|
|
7804
|
+
email?: string | undefined;
|
|
7805
7805
|
uploadedAvatar?: string | undefined;
|
|
7806
7806
|
};
|
|
7807
|
-
uid?: string | undefined;
|
|
7808
7807
|
preview_image?: string | undefined;
|
|
7808
|
+
uid?: string | undefined;
|
|
7809
7809
|
preview_summary?: string | undefined;
|
|
7810
7810
|
})[];
|
|
7811
7811
|
}[];
|
|
@@ -7815,15 +7815,15 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7815
7815
|
queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<readonly ["documents", "list", GetDocumentListArgs], {
|
|
7816
7816
|
total: number;
|
|
7817
7817
|
results: {
|
|
7818
|
-
title: string;
|
|
7819
7818
|
id: string;
|
|
7819
|
+
title: string;
|
|
7820
|
+
custom_type_id: string;
|
|
7821
|
+
group_lang_id: string;
|
|
7820
7822
|
language: {
|
|
7821
7823
|
isMaster?: boolean | undefined;
|
|
7822
7824
|
id: string;
|
|
7823
7825
|
label: string;
|
|
7824
7826
|
};
|
|
7825
|
-
custom_type_id: string;
|
|
7826
|
-
group_lang_id: string;
|
|
7827
7827
|
versions: (({
|
|
7828
7828
|
status: "unclassified";
|
|
7829
7829
|
} | {
|
|
@@ -7834,19 +7834,19 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7834
7834
|
} | {
|
|
7835
7835
|
status: "archived";
|
|
7836
7836
|
}) & {
|
|
7837
|
-
version_id: string;
|
|
7838
7837
|
tags: string[];
|
|
7838
|
+
version_id: string;
|
|
7839
7839
|
last_modified_date: Date;
|
|
7840
7840
|
custom_type_label: string;
|
|
7841
7841
|
author: {
|
|
7842
|
-
email?: string | undefined;
|
|
7843
7842
|
id?: string | undefined;
|
|
7844
7843
|
first_name?: string | undefined;
|
|
7845
7844
|
last_name?: string | undefined;
|
|
7845
|
+
email?: string | undefined;
|
|
7846
7846
|
uploadedAvatar?: string | undefined;
|
|
7847
7847
|
};
|
|
7848
|
-
uid?: string | undefined;
|
|
7849
7848
|
preview_image?: string | undefined;
|
|
7849
|
+
uid?: string | undefined;
|
|
7850
7850
|
preview_summary?: string | undefined;
|
|
7851
7851
|
})[];
|
|
7852
7852
|
}[];
|