@prismicio/editor-fields 0.4.57 → 0.4.58-alpha.repeatable-link-base.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/EditorConfig.d.ts +2 -0
- package/dist/FieldContext.d.ts +5 -0
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +75 -75
- package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +7 -7
- package/dist/core/repeatable.d.ts +3 -0
- package/dist/core/service/customType.d.ts +38 -0
- package/dist/core/service/document.d.ts +1674 -422
- package/dist/core/service/documentSearch.d.ts +415 -0
- package/dist/core/service/index.d.ts +2 -0
- package/dist/core/service/repository.d.ts +158 -21
- package/dist/core/service/role.d.ts +141 -0
- package/dist/core/service/teamSpace.d.ts +48 -0
- package/dist/core/service/user.d.ts +11 -5
- package/dist/fields/ImageField/useImageField.d.ts +1 -1
- package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
- package/dist/fields/LinkField/Documents/DocumentCard.d.ts +1 -1
- package/dist/fields/LinkField/Documents/documentsData.d.ts +73 -44
- package/dist/fields/LinkField/LinkField.d.ts +4 -3
- package/dist/fields/LinkField/LinkOrRepeatableLinkField.d.ts +12 -0
- package/dist/fields/LinkField/RepeatableLinkField/RepeatableLinkField.d.ts +11 -0
- package/dist/fields/LinkField/RepeatableLinkField/RepeatableLinkFieldActions.d.ts +11 -0
- package/dist/fields/LinkField/RepeatableLinkField/index.d.ts +1 -0
- package/dist/fields/LinkField/RepeatableLinkField/useRepeatableLinkField.d.ts +84 -0
- package/dist/fields/LinkField/index.d.ts +1 -0
- package/dist/fields/LinkField/useLinkField.d.ts +5 -2
- package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +6 -6
- package/dist/fields/RichTextField/extensions/Embed/EmbedView.d.ts +1 -1
- package/dist/fields/RichTextField/extensions/Image/ImageLinkControl.d.ts +0 -9
- package/dist/fields/RichTextField/extensions/Image/ImageView.d.ts +1 -1
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +1 -1
- package/dist/fields/RichTextField/extensions/Link/LinkModel.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/extensions.d.ts +1 -1
- package/dist/index.cjs.js +37 -39
- package/dist/index.d.ts +8 -8
- package/dist/index.es.js +25739 -22410
- package/dist/slices/utils.d.ts +101 -27
- package/package.json +25 -24
- package/dist/fields/LinkField/RepeatableLinkField.d.ts +0 -12
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { QueryClient } from "@tanstack/react-query";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import type { AuthStrategy } from "../../EditorConfig";
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const languageSchema: z.ZodEffects<z.ZodObject<{
|
|
5
5
|
id: z.ZodString;
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
is_master: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -13,8 +13,16 @@ export declare const languageOkType: z.ZodObject<{
|
|
|
13
13
|
id: string;
|
|
14
14
|
name: string;
|
|
15
15
|
is_master?: boolean | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
isMaster?: boolean | undefined;
|
|
18
|
+
id: string;
|
|
19
|
+
label: string;
|
|
20
|
+
}, {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
is_master?: boolean | undefined;
|
|
16
24
|
}>;
|
|
17
|
-
declare const
|
|
25
|
+
declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
18
26
|
status: z.ZodLiteral<"unclassified">;
|
|
19
27
|
}, "strip", z.ZodTypeAny, {
|
|
20
28
|
status: "unclassified";
|
|
@@ -41,13 +49,15 @@ declare const documentVersionOkType: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
41
49
|
status: "archived";
|
|
42
50
|
}, {
|
|
43
51
|
status: "archived";
|
|
44
|
-
}>]>, z.ZodObject<{
|
|
52
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
45
53
|
version_id: z.ZodString;
|
|
46
54
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
47
|
-
custom_type_label: z.ZodString;
|
|
48
|
-
preview_summary: z.ZodOptional<z.ZodString>;
|
|
49
55
|
preview_image: z.ZodOptional<z.ZodString>;
|
|
50
56
|
last_modified_date: z.ZodDate;
|
|
57
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
58
|
+
}, {
|
|
59
|
+
custom_type_label: z.ZodString;
|
|
60
|
+
preview_summary: z.ZodOptional<z.ZodString>;
|
|
51
61
|
author: z.ZodObject<{
|
|
52
62
|
first_name: z.ZodOptional<z.ZodString>;
|
|
53
63
|
last_name: z.ZodOptional<z.ZodString>;
|
|
@@ -64,8 +74,7 @@ declare const documentVersionOkType: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
64
74
|
email?: string | undefined;
|
|
65
75
|
uploadedAvatar?: string | undefined;
|
|
66
76
|
}>;
|
|
67
|
-
|
|
68
|
-
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
}>, "strip", z.ZodTypeAny, {
|
|
69
78
|
tags: string[];
|
|
70
79
|
author: {
|
|
71
80
|
first_name?: string | undefined;
|
|
@@ -74,11 +83,11 @@ declare const documentVersionOkType: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
74
83
|
uploadedAvatar?: string | undefined;
|
|
75
84
|
};
|
|
76
85
|
version_id: string;
|
|
77
|
-
custom_type_label: string;
|
|
78
86
|
last_modified_date: Date;
|
|
79
|
-
|
|
87
|
+
custom_type_label: string;
|
|
80
88
|
preview_image?: string | undefined;
|
|
81
89
|
uid?: string | undefined;
|
|
90
|
+
preview_summary?: string | undefined;
|
|
82
91
|
}, {
|
|
83
92
|
tags: string[];
|
|
84
93
|
author: {
|
|
@@ -88,18 +97,76 @@ declare const documentVersionOkType: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
88
97
|
uploadedAvatar?: string | undefined;
|
|
89
98
|
};
|
|
90
99
|
version_id: string;
|
|
91
|
-
custom_type_label: string;
|
|
92
100
|
last_modified_date: Date;
|
|
101
|
+
custom_type_label: string;
|
|
102
|
+
preview_image?: string | undefined;
|
|
103
|
+
uid?: string | undefined;
|
|
93
104
|
preview_summary?: string | undefined;
|
|
105
|
+
}>>;
|
|
106
|
+
declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
107
|
+
status: z.ZodLiteral<"unclassified">;
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
status: "unclassified";
|
|
110
|
+
}, {
|
|
111
|
+
status: "unclassified";
|
|
112
|
+
}>, z.ZodObject<{
|
|
113
|
+
status: z.ZodLiteral<"published">;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
status: "published";
|
|
116
|
+
}, {
|
|
117
|
+
status: "published";
|
|
118
|
+
}>, z.ZodObject<{
|
|
119
|
+
status: z.ZodLiteral<"release">;
|
|
120
|
+
release_id: z.ZodString;
|
|
121
|
+
}, "strip", z.ZodTypeAny, {
|
|
122
|
+
status: "release";
|
|
123
|
+
release_id: string;
|
|
124
|
+
}, {
|
|
125
|
+
status: "release";
|
|
126
|
+
release_id: string;
|
|
127
|
+
}>, z.ZodObject<{
|
|
128
|
+
status: z.ZodLiteral<"archived">;
|
|
129
|
+
}, "strip", z.ZodTypeAny, {
|
|
130
|
+
status: "archived";
|
|
131
|
+
}, {
|
|
132
|
+
status: "archived";
|
|
133
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
134
|
+
version_id: z.ZodString;
|
|
135
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
136
|
+
preview_image: z.ZodOptional<z.ZodString>;
|
|
137
|
+
last_modified_date: z.ZodDate;
|
|
138
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
139
|
+
}, {
|
|
140
|
+
custom_type_id: z.ZodOptional<z.ZodString>;
|
|
141
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
142
|
+
author_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
143
|
+
}>, "strip", z.ZodTypeAny, {
|
|
144
|
+
tags: string[];
|
|
145
|
+
version_id: string;
|
|
146
|
+
last_modified_date: Date;
|
|
147
|
+
summary?: string | undefined;
|
|
94
148
|
preview_image?: string | undefined;
|
|
95
149
|
uid?: string | undefined;
|
|
150
|
+
custom_type_id?: string | undefined;
|
|
151
|
+
author_ids?: string[] | undefined;
|
|
152
|
+
}, {
|
|
153
|
+
tags: string[];
|
|
154
|
+
version_id: string;
|
|
155
|
+
last_modified_date: Date;
|
|
156
|
+
summary?: string | undefined;
|
|
157
|
+
preview_image?: string | undefined;
|
|
158
|
+
uid?: string | undefined;
|
|
159
|
+
custom_type_id?: string | undefined;
|
|
160
|
+
author_ids?: string[] | undefined;
|
|
96
161
|
}>>;
|
|
97
|
-
export declare
|
|
162
|
+
export declare function isDocumentVersion(value: unknown): value is z.infer<typeof documentVersionSchema>;
|
|
163
|
+
export declare function isDocumentSearchVersion(value: unknown): value is z.infer<typeof documentSearchVersionSchema>;
|
|
164
|
+
export declare const documentMetaSchema: z.ZodObject<{
|
|
98
165
|
id: z.ZodString;
|
|
99
166
|
title: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string, string | null | undefined>;
|
|
100
167
|
custom_type_id: z.ZodString;
|
|
101
168
|
group_lang_id: z.ZodString;
|
|
102
|
-
language: z.ZodObject<{
|
|
169
|
+
language: z.ZodEffects<z.ZodObject<{
|
|
103
170
|
id: z.ZodString;
|
|
104
171
|
name: z.ZodString;
|
|
105
172
|
is_master: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -111,6 +178,14 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
111
178
|
id: string;
|
|
112
179
|
name: string;
|
|
113
180
|
is_master?: boolean | undefined;
|
|
181
|
+
}>, {
|
|
182
|
+
isMaster?: boolean | undefined;
|
|
183
|
+
id: string;
|
|
184
|
+
label: string;
|
|
185
|
+
}, {
|
|
186
|
+
id: string;
|
|
187
|
+
name: string;
|
|
188
|
+
is_master?: boolean | undefined;
|
|
114
189
|
}>;
|
|
115
190
|
versions: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
116
191
|
status: z.ZodLiteral<"unclassified">;
|
|
@@ -139,13 +214,15 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
139
214
|
status: "archived";
|
|
140
215
|
}, {
|
|
141
216
|
status: "archived";
|
|
142
|
-
}>]>, z.ZodObject<{
|
|
217
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
143
218
|
version_id: z.ZodString;
|
|
144
219
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
145
|
-
custom_type_label: z.ZodString;
|
|
146
|
-
preview_summary: z.ZodOptional<z.ZodString>;
|
|
147
220
|
preview_image: z.ZodOptional<z.ZodString>;
|
|
148
221
|
last_modified_date: z.ZodDate;
|
|
222
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
223
|
+
}, {
|
|
224
|
+
custom_type_label: z.ZodString;
|
|
225
|
+
preview_summary: z.ZodOptional<z.ZodString>;
|
|
149
226
|
author: z.ZodObject<{
|
|
150
227
|
first_name: z.ZodOptional<z.ZodString>;
|
|
151
228
|
last_name: z.ZodOptional<z.ZodString>;
|
|
@@ -162,8 +239,7 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
162
239
|
email?: string | undefined;
|
|
163
240
|
uploadedAvatar?: string | undefined;
|
|
164
241
|
}>;
|
|
165
|
-
|
|
166
|
-
}, "strip", z.ZodTypeAny, {
|
|
242
|
+
}>, "strip", z.ZodTypeAny, {
|
|
167
243
|
tags: string[];
|
|
168
244
|
author: {
|
|
169
245
|
first_name?: string | undefined;
|
|
@@ -172,11 +248,11 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
172
248
|
uploadedAvatar?: string | undefined;
|
|
173
249
|
};
|
|
174
250
|
version_id: string;
|
|
175
|
-
custom_type_label: string;
|
|
176
251
|
last_modified_date: Date;
|
|
177
|
-
|
|
252
|
+
custom_type_label: string;
|
|
178
253
|
preview_image?: string | undefined;
|
|
179
254
|
uid?: string | undefined;
|
|
255
|
+
preview_summary?: string | undefined;
|
|
180
256
|
}, {
|
|
181
257
|
tags: string[];
|
|
182
258
|
author: {
|
|
@@ -186,19 +262,19 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
186
262
|
uploadedAvatar?: string | undefined;
|
|
187
263
|
};
|
|
188
264
|
version_id: string;
|
|
189
|
-
custom_type_label: string;
|
|
190
265
|
last_modified_date: Date;
|
|
191
|
-
|
|
266
|
+
custom_type_label: string;
|
|
192
267
|
preview_image?: string | undefined;
|
|
193
268
|
uid?: string | undefined;
|
|
269
|
+
preview_summary?: string | undefined;
|
|
194
270
|
}>>, "many">;
|
|
195
271
|
}, "strip", z.ZodTypeAny, {
|
|
196
272
|
id: string;
|
|
197
273
|
title: string;
|
|
198
274
|
language: {
|
|
275
|
+
isMaster?: boolean | undefined;
|
|
199
276
|
id: string;
|
|
200
|
-
|
|
201
|
-
is_master?: boolean | undefined;
|
|
277
|
+
label: string;
|
|
202
278
|
};
|
|
203
279
|
custom_type_id: string;
|
|
204
280
|
group_lang_id: string;
|
|
@@ -220,11 +296,11 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
220
296
|
uploadedAvatar?: string | undefined;
|
|
221
297
|
};
|
|
222
298
|
version_id: string;
|
|
223
|
-
custom_type_label: string;
|
|
224
299
|
last_modified_date: Date;
|
|
225
|
-
|
|
300
|
+
custom_type_label: string;
|
|
226
301
|
preview_image?: string | undefined;
|
|
227
302
|
uid?: string | undefined;
|
|
303
|
+
preview_summary?: string | undefined;
|
|
228
304
|
})[];
|
|
229
305
|
}, {
|
|
230
306
|
id: string;
|
|
@@ -253,11 +329,11 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
253
329
|
uploadedAvatar?: string | undefined;
|
|
254
330
|
};
|
|
255
331
|
version_id: string;
|
|
256
|
-
custom_type_label: string;
|
|
257
332
|
last_modified_date: Date;
|
|
258
|
-
|
|
333
|
+
custom_type_label: string;
|
|
259
334
|
preview_image?: string | undefined;
|
|
260
335
|
uid?: string | undefined;
|
|
336
|
+
preview_summary?: string | undefined;
|
|
261
337
|
})[];
|
|
262
338
|
title?: string | null | undefined;
|
|
263
339
|
}>;
|
|
@@ -269,7 +345,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
269
345
|
title: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string, string | null | undefined>;
|
|
270
346
|
custom_type_id: z.ZodString;
|
|
271
347
|
group_lang_id: z.ZodString;
|
|
272
|
-
language: z.ZodObject<{
|
|
348
|
+
language: z.ZodEffects<z.ZodObject<{
|
|
273
349
|
id: z.ZodString;
|
|
274
350
|
name: z.ZodString;
|
|
275
351
|
is_master: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -281,6 +357,14 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
281
357
|
id: string;
|
|
282
358
|
name: string;
|
|
283
359
|
is_master?: boolean | undefined;
|
|
360
|
+
}>, {
|
|
361
|
+
isMaster?: boolean | undefined;
|
|
362
|
+
id: string;
|
|
363
|
+
label: string;
|
|
364
|
+
}, {
|
|
365
|
+
id: string;
|
|
366
|
+
name: string;
|
|
367
|
+
is_master?: boolean | undefined;
|
|
284
368
|
}>;
|
|
285
369
|
versions: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
286
370
|
status: z.ZodLiteral<"unclassified">;
|
|
@@ -309,13 +393,15 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
309
393
|
status: "archived";
|
|
310
394
|
}, {
|
|
311
395
|
status: "archived";
|
|
312
|
-
}>]>, z.ZodObject<{
|
|
396
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
313
397
|
version_id: z.ZodString;
|
|
314
398
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
315
|
-
custom_type_label: z.ZodString;
|
|
316
|
-
preview_summary: z.ZodOptional<z.ZodString>;
|
|
317
399
|
preview_image: z.ZodOptional<z.ZodString>;
|
|
318
400
|
last_modified_date: z.ZodDate;
|
|
401
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
402
|
+
}, {
|
|
403
|
+
custom_type_label: z.ZodString;
|
|
404
|
+
preview_summary: z.ZodOptional<z.ZodString>;
|
|
319
405
|
author: z.ZodObject<{
|
|
320
406
|
first_name: z.ZodOptional<z.ZodString>;
|
|
321
407
|
last_name: z.ZodOptional<z.ZodString>;
|
|
@@ -332,8 +418,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
332
418
|
email?: string | undefined;
|
|
333
419
|
uploadedAvatar?: string | undefined;
|
|
334
420
|
}>;
|
|
335
|
-
|
|
336
|
-
}, "strip", z.ZodTypeAny, {
|
|
421
|
+
}>, "strip", z.ZodTypeAny, {
|
|
337
422
|
tags: string[];
|
|
338
423
|
author: {
|
|
339
424
|
first_name?: string | undefined;
|
|
@@ -342,11 +427,11 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
342
427
|
uploadedAvatar?: string | undefined;
|
|
343
428
|
};
|
|
344
429
|
version_id: string;
|
|
345
|
-
custom_type_label: string;
|
|
346
430
|
last_modified_date: Date;
|
|
347
|
-
|
|
431
|
+
custom_type_label: string;
|
|
348
432
|
preview_image?: string | undefined;
|
|
349
433
|
uid?: string | undefined;
|
|
434
|
+
preview_summary?: string | undefined;
|
|
350
435
|
}, {
|
|
351
436
|
tags: string[];
|
|
352
437
|
author: {
|
|
@@ -356,15 +441,123 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
356
441
|
uploadedAvatar?: string | undefined;
|
|
357
442
|
};
|
|
358
443
|
version_id: string;
|
|
359
|
-
custom_type_label: string;
|
|
360
444
|
last_modified_date: Date;
|
|
361
|
-
|
|
445
|
+
custom_type_label: string;
|
|
362
446
|
preview_image?: string | undefined;
|
|
363
447
|
uid?: string | undefined;
|
|
448
|
+
preview_summary?: string | undefined;
|
|
364
449
|
}>>, "many">;
|
|
365
450
|
}, "strip", z.ZodTypeAny, {
|
|
366
451
|
id: string;
|
|
367
452
|
title: string;
|
|
453
|
+
language: {
|
|
454
|
+
isMaster?: boolean | undefined;
|
|
455
|
+
id: string;
|
|
456
|
+
label: string;
|
|
457
|
+
};
|
|
458
|
+
custom_type_id: string;
|
|
459
|
+
group_lang_id: string;
|
|
460
|
+
versions: (({
|
|
461
|
+
status: "unclassified";
|
|
462
|
+
} | {
|
|
463
|
+
status: "published";
|
|
464
|
+
} | {
|
|
465
|
+
status: "release";
|
|
466
|
+
release_id: string;
|
|
467
|
+
} | {
|
|
468
|
+
status: "archived";
|
|
469
|
+
}) & {
|
|
470
|
+
tags: string[];
|
|
471
|
+
author: {
|
|
472
|
+
first_name?: string | undefined;
|
|
473
|
+
last_name?: string | undefined;
|
|
474
|
+
email?: string | undefined;
|
|
475
|
+
uploadedAvatar?: string | undefined;
|
|
476
|
+
};
|
|
477
|
+
version_id: string;
|
|
478
|
+
last_modified_date: Date;
|
|
479
|
+
custom_type_label: string;
|
|
480
|
+
preview_image?: string | undefined;
|
|
481
|
+
uid?: string | undefined;
|
|
482
|
+
preview_summary?: string | undefined;
|
|
483
|
+
})[];
|
|
484
|
+
}, {
|
|
485
|
+
id: string;
|
|
486
|
+
language: {
|
|
487
|
+
id: string;
|
|
488
|
+
name: string;
|
|
489
|
+
is_master?: boolean | undefined;
|
|
490
|
+
};
|
|
491
|
+
custom_type_id: string;
|
|
492
|
+
group_lang_id: string;
|
|
493
|
+
versions: (({
|
|
494
|
+
status: "unclassified";
|
|
495
|
+
} | {
|
|
496
|
+
status: "published";
|
|
497
|
+
} | {
|
|
498
|
+
status: "release";
|
|
499
|
+
release_id: string;
|
|
500
|
+
} | {
|
|
501
|
+
status: "archived";
|
|
502
|
+
}) & {
|
|
503
|
+
tags: string[];
|
|
504
|
+
author: {
|
|
505
|
+
first_name?: string | undefined;
|
|
506
|
+
last_name?: string | undefined;
|
|
507
|
+
email?: string | undefined;
|
|
508
|
+
uploadedAvatar?: string | undefined;
|
|
509
|
+
};
|
|
510
|
+
version_id: string;
|
|
511
|
+
last_modified_date: Date;
|
|
512
|
+
custom_type_label: string;
|
|
513
|
+
preview_image?: string | undefined;
|
|
514
|
+
uid?: string | undefined;
|
|
515
|
+
preview_summary?: string | undefined;
|
|
516
|
+
})[];
|
|
517
|
+
title?: string | null | undefined;
|
|
518
|
+
}>, "many">;
|
|
519
|
+
}, "strip", z.ZodTypeAny, {
|
|
520
|
+
total: number;
|
|
521
|
+
results: {
|
|
522
|
+
id: string;
|
|
523
|
+
title: string;
|
|
524
|
+
language: {
|
|
525
|
+
isMaster?: boolean | undefined;
|
|
526
|
+
id: string;
|
|
527
|
+
label: string;
|
|
528
|
+
};
|
|
529
|
+
custom_type_id: string;
|
|
530
|
+
group_lang_id: string;
|
|
531
|
+
versions: (({
|
|
532
|
+
status: "unclassified";
|
|
533
|
+
} | {
|
|
534
|
+
status: "published";
|
|
535
|
+
} | {
|
|
536
|
+
status: "release";
|
|
537
|
+
release_id: string;
|
|
538
|
+
} | {
|
|
539
|
+
status: "archived";
|
|
540
|
+
}) & {
|
|
541
|
+
tags: string[];
|
|
542
|
+
author: {
|
|
543
|
+
first_name?: string | undefined;
|
|
544
|
+
last_name?: string | undefined;
|
|
545
|
+
email?: string | undefined;
|
|
546
|
+
uploadedAvatar?: string | undefined;
|
|
547
|
+
};
|
|
548
|
+
version_id: string;
|
|
549
|
+
last_modified_date: Date;
|
|
550
|
+
custom_type_label: string;
|
|
551
|
+
preview_image?: string | undefined;
|
|
552
|
+
uid?: string | undefined;
|
|
553
|
+
preview_summary?: string | undefined;
|
|
554
|
+
})[];
|
|
555
|
+
}[];
|
|
556
|
+
cursor?: string | undefined;
|
|
557
|
+
}, {
|
|
558
|
+
total: number;
|
|
559
|
+
results: {
|
|
560
|
+
id: string;
|
|
368
561
|
language: {
|
|
369
562
|
id: string;
|
|
370
563
|
name: string;
|
|
@@ -383,29 +576,329 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
383
576
|
status: "archived";
|
|
384
577
|
}) & {
|
|
385
578
|
tags: string[];
|
|
386
|
-
author: {
|
|
387
|
-
first_name?: string | undefined;
|
|
388
|
-
last_name?: string | undefined;
|
|
389
|
-
email?: string | undefined;
|
|
390
|
-
uploadedAvatar?: string | undefined;
|
|
391
|
-
};
|
|
579
|
+
author: {
|
|
580
|
+
first_name?: string | undefined;
|
|
581
|
+
last_name?: string | undefined;
|
|
582
|
+
email?: string | undefined;
|
|
583
|
+
uploadedAvatar?: string | undefined;
|
|
584
|
+
};
|
|
585
|
+
version_id: string;
|
|
586
|
+
last_modified_date: Date;
|
|
587
|
+
custom_type_label: string;
|
|
588
|
+
preview_image?: string | undefined;
|
|
589
|
+
uid?: string | undefined;
|
|
590
|
+
preview_summary?: string | undefined;
|
|
591
|
+
})[];
|
|
592
|
+
title?: string | null | undefined;
|
|
593
|
+
}[];
|
|
594
|
+
cursor?: string | undefined;
|
|
595
|
+
}>;
|
|
596
|
+
declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
597
|
+
id: z.ZodString;
|
|
598
|
+
title: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string, string | null | undefined>;
|
|
599
|
+
custom_type_id: z.ZodString;
|
|
600
|
+
group_lang_id: z.ZodString;
|
|
601
|
+
interesting_versions: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
602
|
+
status: z.ZodLiteral<"unclassified">;
|
|
603
|
+
}, "strip", z.ZodTypeAny, {
|
|
604
|
+
status: "unclassified";
|
|
605
|
+
}, {
|
|
606
|
+
status: "unclassified";
|
|
607
|
+
}>, z.ZodObject<{
|
|
608
|
+
status: z.ZodLiteral<"published">;
|
|
609
|
+
}, "strip", z.ZodTypeAny, {
|
|
610
|
+
status: "published";
|
|
611
|
+
}, {
|
|
612
|
+
status: "published";
|
|
613
|
+
}>, z.ZodObject<{
|
|
614
|
+
status: z.ZodLiteral<"release">;
|
|
615
|
+
release_id: z.ZodString;
|
|
616
|
+
}, "strip", z.ZodTypeAny, {
|
|
617
|
+
status: "release";
|
|
618
|
+
release_id: string;
|
|
619
|
+
}, {
|
|
620
|
+
status: "release";
|
|
621
|
+
release_id: string;
|
|
622
|
+
}>, z.ZodObject<{
|
|
623
|
+
status: z.ZodLiteral<"archived">;
|
|
624
|
+
}, "strip", z.ZodTypeAny, {
|
|
625
|
+
status: "archived";
|
|
626
|
+
}, {
|
|
627
|
+
status: "archived";
|
|
628
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
629
|
+
version_id: z.ZodString;
|
|
630
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
631
|
+
preview_image: z.ZodOptional<z.ZodString>;
|
|
632
|
+
last_modified_date: z.ZodDate;
|
|
633
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
634
|
+
}, {
|
|
635
|
+
custom_type_id: z.ZodOptional<z.ZodString>;
|
|
636
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
637
|
+
author_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
638
|
+
}>, "strip", z.ZodTypeAny, {
|
|
639
|
+
tags: string[];
|
|
640
|
+
version_id: string;
|
|
641
|
+
last_modified_date: Date;
|
|
642
|
+
summary?: string | undefined;
|
|
643
|
+
preview_image?: string | undefined;
|
|
644
|
+
uid?: string | undefined;
|
|
645
|
+
custom_type_id?: string | undefined;
|
|
646
|
+
author_ids?: string[] | undefined;
|
|
647
|
+
}, {
|
|
648
|
+
tags: string[];
|
|
649
|
+
version_id: string;
|
|
650
|
+
last_modified_date: Date;
|
|
651
|
+
summary?: string | undefined;
|
|
652
|
+
preview_image?: string | undefined;
|
|
653
|
+
uid?: string | undefined;
|
|
654
|
+
custom_type_id?: string | undefined;
|
|
655
|
+
author_ids?: string[] | undefined;
|
|
656
|
+
}>>, "many">;
|
|
657
|
+
locale_id: z.ZodOptional<z.ZodString>;
|
|
658
|
+
}, "strip", z.ZodTypeAny, {
|
|
659
|
+
id: string;
|
|
660
|
+
title: string;
|
|
661
|
+
custom_type_id: string;
|
|
662
|
+
group_lang_id: string;
|
|
663
|
+
interesting_versions: (({
|
|
664
|
+
status: "unclassified";
|
|
665
|
+
} | {
|
|
666
|
+
status: "published";
|
|
667
|
+
} | {
|
|
668
|
+
status: "release";
|
|
669
|
+
release_id: string;
|
|
670
|
+
} | {
|
|
671
|
+
status: "archived";
|
|
672
|
+
}) & {
|
|
673
|
+
tags: string[];
|
|
674
|
+
version_id: string;
|
|
675
|
+
last_modified_date: Date;
|
|
676
|
+
summary?: string | undefined;
|
|
677
|
+
preview_image?: string | undefined;
|
|
678
|
+
uid?: string | undefined;
|
|
679
|
+
custom_type_id?: string | undefined;
|
|
680
|
+
author_ids?: string[] | undefined;
|
|
681
|
+
})[];
|
|
682
|
+
locale_id?: string | undefined;
|
|
683
|
+
}, {
|
|
684
|
+
id: string;
|
|
685
|
+
custom_type_id: string;
|
|
686
|
+
group_lang_id: string;
|
|
687
|
+
interesting_versions: (({
|
|
688
|
+
status: "unclassified";
|
|
689
|
+
} | {
|
|
690
|
+
status: "published";
|
|
691
|
+
} | {
|
|
692
|
+
status: "release";
|
|
693
|
+
release_id: string;
|
|
694
|
+
} | {
|
|
695
|
+
status: "archived";
|
|
696
|
+
}) & {
|
|
697
|
+
tags: string[];
|
|
698
|
+
version_id: string;
|
|
699
|
+
last_modified_date: Date;
|
|
700
|
+
summary?: string | undefined;
|
|
701
|
+
preview_image?: string | undefined;
|
|
702
|
+
uid?: string | undefined;
|
|
703
|
+
custom_type_id?: string | undefined;
|
|
704
|
+
author_ids?: string[] | undefined;
|
|
705
|
+
})[];
|
|
706
|
+
title?: string | null | undefined;
|
|
707
|
+
locale_id?: string | undefined;
|
|
708
|
+
}>, {
|
|
709
|
+
id: string;
|
|
710
|
+
title: string;
|
|
711
|
+
custom_type_id: string;
|
|
712
|
+
group_lang_id: string;
|
|
713
|
+
locale_id?: string | undefined;
|
|
714
|
+
versions: (({
|
|
715
|
+
status: "unclassified";
|
|
716
|
+
} | {
|
|
717
|
+
status: "published";
|
|
718
|
+
} | {
|
|
719
|
+
status: "release";
|
|
720
|
+
release_id: string;
|
|
721
|
+
} | {
|
|
722
|
+
status: "archived";
|
|
723
|
+
}) & {
|
|
724
|
+
tags: string[];
|
|
725
|
+
version_id: string;
|
|
726
|
+
last_modified_date: Date;
|
|
727
|
+
summary?: string | undefined;
|
|
728
|
+
preview_image?: string | undefined;
|
|
729
|
+
uid?: string | undefined;
|
|
730
|
+
custom_type_id?: string | undefined;
|
|
731
|
+
author_ids?: string[] | undefined;
|
|
732
|
+
})[];
|
|
733
|
+
}, {
|
|
734
|
+
id: string;
|
|
735
|
+
custom_type_id: string;
|
|
736
|
+
group_lang_id: string;
|
|
737
|
+
interesting_versions: (({
|
|
738
|
+
status: "unclassified";
|
|
739
|
+
} | {
|
|
740
|
+
status: "published";
|
|
741
|
+
} | {
|
|
742
|
+
status: "release";
|
|
743
|
+
release_id: string;
|
|
744
|
+
} | {
|
|
745
|
+
status: "archived";
|
|
746
|
+
}) & {
|
|
747
|
+
tags: string[];
|
|
748
|
+
version_id: string;
|
|
749
|
+
last_modified_date: Date;
|
|
750
|
+
summary?: string | undefined;
|
|
751
|
+
preview_image?: string | undefined;
|
|
752
|
+
uid?: string | undefined;
|
|
753
|
+
custom_type_id?: string | undefined;
|
|
754
|
+
author_ids?: string[] | undefined;
|
|
755
|
+
})[];
|
|
756
|
+
title?: string | null | undefined;
|
|
757
|
+
locale_id?: string | undefined;
|
|
758
|
+
}>;
|
|
759
|
+
declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
760
|
+
results: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
761
|
+
id: z.ZodString;
|
|
762
|
+
title: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string, string | null | undefined>;
|
|
763
|
+
custom_type_id: z.ZodString;
|
|
764
|
+
group_lang_id: z.ZodString;
|
|
765
|
+
interesting_versions: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
766
|
+
status: z.ZodLiteral<"unclassified">;
|
|
767
|
+
}, "strip", z.ZodTypeAny, {
|
|
768
|
+
status: "unclassified";
|
|
769
|
+
}, {
|
|
770
|
+
status: "unclassified";
|
|
771
|
+
}>, z.ZodObject<{
|
|
772
|
+
status: z.ZodLiteral<"published">;
|
|
773
|
+
}, "strip", z.ZodTypeAny, {
|
|
774
|
+
status: "published";
|
|
775
|
+
}, {
|
|
776
|
+
status: "published";
|
|
777
|
+
}>, z.ZodObject<{
|
|
778
|
+
status: z.ZodLiteral<"release">;
|
|
779
|
+
release_id: z.ZodString;
|
|
780
|
+
}, "strip", z.ZodTypeAny, {
|
|
781
|
+
status: "release";
|
|
782
|
+
release_id: string;
|
|
783
|
+
}, {
|
|
784
|
+
status: "release";
|
|
785
|
+
release_id: string;
|
|
786
|
+
}>, z.ZodObject<{
|
|
787
|
+
status: z.ZodLiteral<"archived">;
|
|
788
|
+
}, "strip", z.ZodTypeAny, {
|
|
789
|
+
status: "archived";
|
|
790
|
+
}, {
|
|
791
|
+
status: "archived";
|
|
792
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
793
|
+
version_id: z.ZodString;
|
|
794
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
795
|
+
preview_image: z.ZodOptional<z.ZodString>;
|
|
796
|
+
last_modified_date: z.ZodDate;
|
|
797
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
798
|
+
}, {
|
|
799
|
+
custom_type_id: z.ZodOptional<z.ZodString>;
|
|
800
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
801
|
+
author_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
802
|
+
}>, "strip", z.ZodTypeAny, {
|
|
803
|
+
tags: string[];
|
|
804
|
+
version_id: string;
|
|
805
|
+
last_modified_date: Date;
|
|
806
|
+
summary?: string | undefined;
|
|
807
|
+
preview_image?: string | undefined;
|
|
808
|
+
uid?: string | undefined;
|
|
809
|
+
custom_type_id?: string | undefined;
|
|
810
|
+
author_ids?: string[] | undefined;
|
|
811
|
+
}, {
|
|
812
|
+
tags: string[];
|
|
813
|
+
version_id: string;
|
|
814
|
+
last_modified_date: Date;
|
|
815
|
+
summary?: string | undefined;
|
|
816
|
+
preview_image?: string | undefined;
|
|
817
|
+
uid?: string | undefined;
|
|
818
|
+
custom_type_id?: string | undefined;
|
|
819
|
+
author_ids?: string[] | undefined;
|
|
820
|
+
}>>, "many">;
|
|
821
|
+
locale_id: z.ZodOptional<z.ZodString>;
|
|
822
|
+
}, "strip", z.ZodTypeAny, {
|
|
823
|
+
id: string;
|
|
824
|
+
title: string;
|
|
825
|
+
custom_type_id: string;
|
|
826
|
+
group_lang_id: string;
|
|
827
|
+
interesting_versions: (({
|
|
828
|
+
status: "unclassified";
|
|
829
|
+
} | {
|
|
830
|
+
status: "published";
|
|
831
|
+
} | {
|
|
832
|
+
status: "release";
|
|
833
|
+
release_id: string;
|
|
834
|
+
} | {
|
|
835
|
+
status: "archived";
|
|
836
|
+
}) & {
|
|
837
|
+
tags: string[];
|
|
838
|
+
version_id: string;
|
|
839
|
+
last_modified_date: Date;
|
|
840
|
+
summary?: string | undefined;
|
|
841
|
+
preview_image?: string | undefined;
|
|
842
|
+
uid?: string | undefined;
|
|
843
|
+
custom_type_id?: string | undefined;
|
|
844
|
+
author_ids?: string[] | undefined;
|
|
845
|
+
})[];
|
|
846
|
+
locale_id?: string | undefined;
|
|
847
|
+
}, {
|
|
848
|
+
id: string;
|
|
849
|
+
custom_type_id: string;
|
|
850
|
+
group_lang_id: string;
|
|
851
|
+
interesting_versions: (({
|
|
852
|
+
status: "unclassified";
|
|
853
|
+
} | {
|
|
854
|
+
status: "published";
|
|
855
|
+
} | {
|
|
856
|
+
status: "release";
|
|
857
|
+
release_id: string;
|
|
858
|
+
} | {
|
|
859
|
+
status: "archived";
|
|
860
|
+
}) & {
|
|
861
|
+
tags: string[];
|
|
862
|
+
version_id: string;
|
|
863
|
+
last_modified_date: Date;
|
|
864
|
+
summary?: string | undefined;
|
|
865
|
+
preview_image?: string | undefined;
|
|
866
|
+
uid?: string | undefined;
|
|
867
|
+
custom_type_id?: string | undefined;
|
|
868
|
+
author_ids?: string[] | undefined;
|
|
869
|
+
})[];
|
|
870
|
+
title?: string | null | undefined;
|
|
871
|
+
locale_id?: string | undefined;
|
|
872
|
+
}>, {
|
|
873
|
+
id: string;
|
|
874
|
+
title: string;
|
|
875
|
+
custom_type_id: string;
|
|
876
|
+
group_lang_id: string;
|
|
877
|
+
locale_id?: string | undefined;
|
|
878
|
+
versions: (({
|
|
879
|
+
status: "unclassified";
|
|
880
|
+
} | {
|
|
881
|
+
status: "published";
|
|
882
|
+
} | {
|
|
883
|
+
status: "release";
|
|
884
|
+
release_id: string;
|
|
885
|
+
} | {
|
|
886
|
+
status: "archived";
|
|
887
|
+
}) & {
|
|
888
|
+
tags: string[];
|
|
392
889
|
version_id: string;
|
|
393
|
-
custom_type_label: string;
|
|
394
890
|
last_modified_date: Date;
|
|
395
|
-
|
|
891
|
+
summary?: string | undefined;
|
|
396
892
|
preview_image?: string | undefined;
|
|
397
893
|
uid?: string | undefined;
|
|
894
|
+
custom_type_id?: string | undefined;
|
|
895
|
+
author_ids?: string[] | undefined;
|
|
398
896
|
})[];
|
|
399
897
|
}, {
|
|
400
898
|
id: string;
|
|
401
|
-
language: {
|
|
402
|
-
id: string;
|
|
403
|
-
name: string;
|
|
404
|
-
is_master?: boolean | undefined;
|
|
405
|
-
};
|
|
406
899
|
custom_type_id: string;
|
|
407
900
|
group_lang_id: string;
|
|
408
|
-
|
|
901
|
+
interesting_versions: (({
|
|
409
902
|
status: "unclassified";
|
|
410
903
|
} | {
|
|
411
904
|
status: "published";
|
|
@@ -416,33 +909,24 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
416
909
|
status: "archived";
|
|
417
910
|
}) & {
|
|
418
911
|
tags: string[];
|
|
419
|
-
author: {
|
|
420
|
-
first_name?: string | undefined;
|
|
421
|
-
last_name?: string | undefined;
|
|
422
|
-
email?: string | undefined;
|
|
423
|
-
uploadedAvatar?: string | undefined;
|
|
424
|
-
};
|
|
425
912
|
version_id: string;
|
|
426
|
-
custom_type_label: string;
|
|
427
913
|
last_modified_date: Date;
|
|
428
|
-
|
|
914
|
+
summary?: string | undefined;
|
|
429
915
|
preview_image?: string | undefined;
|
|
430
916
|
uid?: string | undefined;
|
|
917
|
+
custom_type_id?: string | undefined;
|
|
918
|
+
author_ids?: string[] | undefined;
|
|
431
919
|
})[];
|
|
432
920
|
title?: string | null | undefined;
|
|
921
|
+
locale_id?: string | undefined;
|
|
433
922
|
}>, "many">;
|
|
434
923
|
}, "strip", z.ZodTypeAny, {
|
|
435
|
-
total: number;
|
|
436
924
|
results: {
|
|
437
925
|
id: string;
|
|
438
926
|
title: string;
|
|
439
|
-
language: {
|
|
440
|
-
id: string;
|
|
441
|
-
name: string;
|
|
442
|
-
is_master?: boolean | undefined;
|
|
443
|
-
};
|
|
444
927
|
custom_type_id: string;
|
|
445
928
|
group_lang_id: string;
|
|
929
|
+
locale_id?: string | undefined;
|
|
446
930
|
versions: (({
|
|
447
931
|
status: "unclassified";
|
|
448
932
|
} | {
|
|
@@ -454,33 +938,21 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
454
938
|
status: "archived";
|
|
455
939
|
}) & {
|
|
456
940
|
tags: string[];
|
|
457
|
-
author: {
|
|
458
|
-
first_name?: string | undefined;
|
|
459
|
-
last_name?: string | undefined;
|
|
460
|
-
email?: string | undefined;
|
|
461
|
-
uploadedAvatar?: string | undefined;
|
|
462
|
-
};
|
|
463
941
|
version_id: string;
|
|
464
|
-
custom_type_label: string;
|
|
465
942
|
last_modified_date: Date;
|
|
466
|
-
|
|
943
|
+
summary?: string | undefined;
|
|
467
944
|
preview_image?: string | undefined;
|
|
468
945
|
uid?: string | undefined;
|
|
946
|
+
custom_type_id?: string | undefined;
|
|
947
|
+
author_ids?: string[] | undefined;
|
|
469
948
|
})[];
|
|
470
949
|
}[];
|
|
471
|
-
cursor?: string | undefined;
|
|
472
950
|
}, {
|
|
473
|
-
total: number;
|
|
474
951
|
results: {
|
|
475
952
|
id: string;
|
|
476
|
-
language: {
|
|
477
|
-
id: string;
|
|
478
|
-
name: string;
|
|
479
|
-
is_master?: boolean | undefined;
|
|
480
|
-
};
|
|
481
953
|
custom_type_id: string;
|
|
482
954
|
group_lang_id: string;
|
|
483
|
-
|
|
955
|
+
interesting_versions: (({
|
|
484
956
|
status: "unclassified";
|
|
485
957
|
} | {
|
|
486
958
|
status: "published";
|
|
@@ -491,60 +963,24 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
491
963
|
status: "archived";
|
|
492
964
|
}) & {
|
|
493
965
|
tags: string[];
|
|
494
|
-
author: {
|
|
495
|
-
first_name?: string | undefined;
|
|
496
|
-
last_name?: string | undefined;
|
|
497
|
-
email?: string | undefined;
|
|
498
|
-
uploadedAvatar?: string | undefined;
|
|
499
|
-
};
|
|
500
966
|
version_id: string;
|
|
501
|
-
custom_type_label: string;
|
|
502
967
|
last_modified_date: Date;
|
|
503
|
-
|
|
968
|
+
summary?: string | undefined;
|
|
504
969
|
preview_image?: string | undefined;
|
|
505
970
|
uid?: string | undefined;
|
|
971
|
+
custom_type_id?: string | undefined;
|
|
972
|
+
author_ids?: string[] | undefined;
|
|
506
973
|
})[];
|
|
507
974
|
title?: string | null | undefined;
|
|
975
|
+
locale_id?: string | undefined;
|
|
508
976
|
}[];
|
|
509
|
-
cursor?: string | undefined;
|
|
510
|
-
}>;
|
|
511
|
-
declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
512
|
-
results: z.ZodArray<z.ZodObject<{
|
|
513
|
-
id: z.ZodString;
|
|
514
|
-
title: z.ZodString;
|
|
515
|
-
repository_id: z.ZodString;
|
|
516
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
517
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
518
|
-
id: z.ZodString;
|
|
519
|
-
title: z.ZodString;
|
|
520
|
-
repository_id: z.ZodString;
|
|
521
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
522
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
523
|
-
id: z.ZodString;
|
|
524
|
-
title: z.ZodString;
|
|
525
|
-
repository_id: z.ZodString;
|
|
526
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
527
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
528
|
-
}, "strip", z.ZodTypeAny, {
|
|
529
|
-
results: z.objectOutputType<{
|
|
530
|
-
id: z.ZodString;
|
|
531
|
-
title: z.ZodString;
|
|
532
|
-
repository_id: z.ZodString;
|
|
533
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
534
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
535
|
-
}, {
|
|
536
|
-
results: z.objectInputType<{
|
|
537
|
-
id: z.ZodString;
|
|
538
|
-
title: z.ZodString;
|
|
539
|
-
repository_id: z.ZodString;
|
|
540
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
541
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
542
977
|
}>;
|
|
543
|
-
export type Language = z.TypeOf<typeof
|
|
978
|
+
export type Language = z.TypeOf<typeof languageSchema>;
|
|
544
979
|
export type GetDocumentListSchema = z.TypeOf<typeof getDocumentListSchema>;
|
|
545
980
|
export type DocumentFullTextSearchApi = z.TypeOf<typeof documentsFullTextSearchAPISchemaOkType>;
|
|
546
|
-
export type DocumentMeta = z.TypeOf<typeof
|
|
547
|
-
export type
|
|
981
|
+
export type DocumentMeta = z.TypeOf<typeof documentMetaSchema>;
|
|
982
|
+
export type DocumentSearchMeta = z.TypeOf<typeof documentSearchDocumentSchema>;
|
|
983
|
+
export type DocumentVersion = z.TypeOf<typeof documentVersionSchema>;
|
|
548
984
|
export type DocumentStatus = DocumentVersion["status"];
|
|
549
985
|
export declare function getDocuments(baseUrl: URL, authStrategy: AuthStrategy, queryString: string, limit?: number, cursor?: string): Promise<GetDocumentListSchema>;
|
|
550
986
|
export interface GetDocumentListArgs {
|
|
@@ -568,6 +1004,8 @@ export declare function makeSearchFullTextDocumentsQueryString(args: {
|
|
|
568
1004
|
repository: string;
|
|
569
1005
|
searchTerm?: string;
|
|
570
1006
|
tags?: string[];
|
|
1007
|
+
authors?: string[];
|
|
1008
|
+
status?: string[];
|
|
571
1009
|
localeId?: string;
|
|
572
1010
|
customTypesIds?: string[];
|
|
573
1011
|
}): string;
|
|
@@ -693,12 +1131,14 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
693
1131
|
}) | {
|
|
694
1132
|
__TYPE__: "IntegrationFieldsContent";
|
|
695
1133
|
value: string;
|
|
696
|
-
} | {
|
|
1134
|
+
} | ({
|
|
1135
|
+
key: string;
|
|
1136
|
+
} & {
|
|
697
1137
|
__TYPE__: "LinkContent";
|
|
698
1138
|
value: ({
|
|
699
1139
|
__TYPE__: "ImageLink";
|
|
700
|
-
} & (({
|
|
701
|
-
kind:
|
|
1140
|
+
} & ((({
|
|
1141
|
+
kind: "image";
|
|
702
1142
|
id: string;
|
|
703
1143
|
url: string;
|
|
704
1144
|
height: string;
|
|
@@ -707,38 +1147,35 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
707
1147
|
name: string;
|
|
708
1148
|
} & {
|
|
709
1149
|
date?: string | null | undefined;
|
|
710
|
-
} & {
|
|
711
|
-
text?: string | undefined;
|
|
712
1150
|
}) | {
|
|
713
1151
|
kind: "image";
|
|
714
|
-
|
|
1152
|
+
}) & {
|
|
1153
|
+
text?: string | undefined;
|
|
715
1154
|
})) | ({
|
|
716
1155
|
__TYPE__: "FileLink";
|
|
717
|
-
} & (({
|
|
718
|
-
kind:
|
|
1156
|
+
} & ((({
|
|
1157
|
+
kind: "file";
|
|
719
1158
|
id: string;
|
|
720
1159
|
url: string;
|
|
721
1160
|
name: string;
|
|
722
1161
|
size: string;
|
|
723
1162
|
} & {
|
|
724
1163
|
date?: string | null | undefined;
|
|
725
|
-
} & {
|
|
726
|
-
text?: string | undefined;
|
|
727
1164
|
}) | {
|
|
728
1165
|
kind: "file";
|
|
729
|
-
|
|
1166
|
+
}) & {
|
|
1167
|
+
text?: string | undefined;
|
|
730
1168
|
})) | ({
|
|
731
1169
|
__TYPE__: "DocumentLink";
|
|
732
1170
|
} & (({
|
|
733
1171
|
id: string;
|
|
734
|
-
}
|
|
735
|
-
text?: string | undefined;
|
|
736
|
-
}) | {
|
|
1172
|
+
} | {
|
|
737
1173
|
kind: "document";
|
|
738
|
-
|
|
1174
|
+
}) & {
|
|
1175
|
+
text?: string | undefined;
|
|
739
1176
|
})) | ({
|
|
740
1177
|
__TYPE__: "ExternalLink";
|
|
741
|
-
} & (({
|
|
1178
|
+
} & ((({
|
|
742
1179
|
url: string;
|
|
743
1180
|
} & {
|
|
744
1181
|
kind?: "web" | undefined;
|
|
@@ -746,22 +1183,24 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
746
1183
|
preview?: {
|
|
747
1184
|
title?: string | undefined;
|
|
748
1185
|
} | null | undefined;
|
|
749
|
-
} & {
|
|
750
|
-
text?: string | undefined;
|
|
751
1186
|
}) | {
|
|
752
1187
|
kind: "web";
|
|
753
|
-
|
|
1188
|
+
}) & {
|
|
1189
|
+
text?: string | undefined;
|
|
754
1190
|
})) | ({
|
|
755
1191
|
__TYPE__: "MediaLink";
|
|
756
1192
|
} & {
|
|
757
1193
|
kind: "media";
|
|
758
|
-
|
|
1194
|
+
} & {
|
|
1195
|
+
text?: string | undefined;
|
|
759
1196
|
}) | ({
|
|
760
1197
|
__TYPE__: "AnyLink";
|
|
761
1198
|
} & {
|
|
762
|
-
|
|
1199
|
+
kind: "any";
|
|
1200
|
+
} & {
|
|
1201
|
+
text?: string | undefined;
|
|
763
1202
|
});
|
|
764
|
-
} | {
|
|
1203
|
+
}) | {
|
|
765
1204
|
__TYPE__: "StructuredTextContent";
|
|
766
1205
|
value: (({
|
|
767
1206
|
type: "image";
|
|
@@ -791,7 +1230,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
791
1230
|
linkTo?: ({
|
|
792
1231
|
__TYPE__: "ImageLink";
|
|
793
1232
|
} & {
|
|
794
|
-
kind:
|
|
1233
|
+
kind: "image";
|
|
795
1234
|
id: string;
|
|
796
1235
|
url: string;
|
|
797
1236
|
height: string;
|
|
@@ -803,7 +1242,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
803
1242
|
}) | ({
|
|
804
1243
|
__TYPE__: "FileLink";
|
|
805
1244
|
} & {
|
|
806
|
-
kind:
|
|
1245
|
+
kind: "file";
|
|
807
1246
|
id: string;
|
|
808
1247
|
url: string;
|
|
809
1248
|
name: string;
|
|
@@ -854,7 +1293,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
854
1293
|
label?: string | null | undefined;
|
|
855
1294
|
direction?: string | null | undefined;
|
|
856
1295
|
}) | ({
|
|
857
|
-
type: "
|
|
1296
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
858
1297
|
content: {
|
|
859
1298
|
text: string;
|
|
860
1299
|
} & {
|
|
@@ -862,7 +1301,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
862
1301
|
data: ({
|
|
863
1302
|
__TYPE__: "ImageLink";
|
|
864
1303
|
} & {
|
|
865
|
-
kind:
|
|
1304
|
+
kind: "image";
|
|
866
1305
|
id: string;
|
|
867
1306
|
url: string;
|
|
868
1307
|
height: string;
|
|
@@ -874,7 +1313,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
874
1313
|
}) | ({
|
|
875
1314
|
__TYPE__: "FileLink";
|
|
876
1315
|
} & {
|
|
877
|
-
kind:
|
|
1316
|
+
kind: "file";
|
|
878
1317
|
id: string;
|
|
879
1318
|
url: string;
|
|
880
1319
|
name: string;
|
|
@@ -916,6 +1355,79 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
916
1355
|
}))[];
|
|
917
1356
|
} | {
|
|
918
1357
|
__TYPE__: "SeparatorContent";
|
|
1358
|
+
} | {
|
|
1359
|
+
__TYPE__: "RepeatableContent";
|
|
1360
|
+
type: "Link";
|
|
1361
|
+
value: ({
|
|
1362
|
+
key: string;
|
|
1363
|
+
} & {
|
|
1364
|
+
__TYPE__: "LinkContent";
|
|
1365
|
+
value: ({
|
|
1366
|
+
__TYPE__: "ImageLink";
|
|
1367
|
+
} & ((({
|
|
1368
|
+
kind: "image";
|
|
1369
|
+
id: string;
|
|
1370
|
+
url: string;
|
|
1371
|
+
height: string;
|
|
1372
|
+
width: string;
|
|
1373
|
+
size: string;
|
|
1374
|
+
name: string;
|
|
1375
|
+
} & {
|
|
1376
|
+
date?: string | null | undefined;
|
|
1377
|
+
}) | {
|
|
1378
|
+
kind: "image";
|
|
1379
|
+
}) & {
|
|
1380
|
+
text?: string | undefined;
|
|
1381
|
+
})) | ({
|
|
1382
|
+
__TYPE__: "FileLink";
|
|
1383
|
+
} & ((({
|
|
1384
|
+
kind: "file";
|
|
1385
|
+
id: string;
|
|
1386
|
+
url: string;
|
|
1387
|
+
name: string;
|
|
1388
|
+
size: string;
|
|
1389
|
+
} & {
|
|
1390
|
+
date?: string | null | undefined;
|
|
1391
|
+
}) | {
|
|
1392
|
+
kind: "file";
|
|
1393
|
+
}) & {
|
|
1394
|
+
text?: string | undefined;
|
|
1395
|
+
})) | ({
|
|
1396
|
+
__TYPE__: "DocumentLink";
|
|
1397
|
+
} & (({
|
|
1398
|
+
id: string;
|
|
1399
|
+
} | {
|
|
1400
|
+
kind: "document";
|
|
1401
|
+
}) & {
|
|
1402
|
+
text?: string | undefined;
|
|
1403
|
+
})) | ({
|
|
1404
|
+
__TYPE__: "ExternalLink";
|
|
1405
|
+
} & ((({
|
|
1406
|
+
url: string;
|
|
1407
|
+
} & {
|
|
1408
|
+
kind?: "web" | undefined;
|
|
1409
|
+
target?: string | null | undefined;
|
|
1410
|
+
preview?: {
|
|
1411
|
+
title?: string | undefined;
|
|
1412
|
+
} | null | undefined;
|
|
1413
|
+
}) | {
|
|
1414
|
+
kind: "web";
|
|
1415
|
+
}) & {
|
|
1416
|
+
text?: string | undefined;
|
|
1417
|
+
})) | ({
|
|
1418
|
+
__TYPE__: "MediaLink";
|
|
1419
|
+
} & {
|
|
1420
|
+
kind: "media";
|
|
1421
|
+
} & {
|
|
1422
|
+
text?: string | undefined;
|
|
1423
|
+
}) | ({
|
|
1424
|
+
__TYPE__: "AnyLink";
|
|
1425
|
+
} & {
|
|
1426
|
+
kind: "any";
|
|
1427
|
+
} & {
|
|
1428
|
+
text?: string | undefined;
|
|
1429
|
+
});
|
|
1430
|
+
})[];
|
|
919
1431
|
} | {
|
|
920
1432
|
__TYPE__: "UIDContent";
|
|
921
1433
|
value: string;
|
|
@@ -1040,12 +1552,14 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1040
1552
|
}) | {
|
|
1041
1553
|
__TYPE__: "IntegrationFieldsContent";
|
|
1042
1554
|
value: string;
|
|
1043
|
-
} | {
|
|
1555
|
+
} | ({
|
|
1556
|
+
key: string;
|
|
1557
|
+
} & {
|
|
1044
1558
|
__TYPE__: "LinkContent";
|
|
1045
1559
|
value: ({
|
|
1046
1560
|
__TYPE__: "ImageLink";
|
|
1047
|
-
} & (({
|
|
1048
|
-
kind:
|
|
1561
|
+
} & ((({
|
|
1562
|
+
kind: "image";
|
|
1049
1563
|
id: string;
|
|
1050
1564
|
url: string;
|
|
1051
1565
|
height: string;
|
|
@@ -1054,38 +1568,35 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1054
1568
|
name: string;
|
|
1055
1569
|
} & {
|
|
1056
1570
|
date?: string | null | undefined;
|
|
1057
|
-
} & {
|
|
1058
|
-
text?: string | undefined;
|
|
1059
1571
|
}) | {
|
|
1060
1572
|
kind: "image";
|
|
1061
|
-
|
|
1573
|
+
}) & {
|
|
1574
|
+
text?: string | undefined;
|
|
1062
1575
|
})) | ({
|
|
1063
1576
|
__TYPE__: "FileLink";
|
|
1064
|
-
} & (({
|
|
1065
|
-
kind:
|
|
1577
|
+
} & ((({
|
|
1578
|
+
kind: "file";
|
|
1066
1579
|
id: string;
|
|
1067
1580
|
url: string;
|
|
1068
1581
|
name: string;
|
|
1069
1582
|
size: string;
|
|
1070
1583
|
} & {
|
|
1071
1584
|
date?: string | null | undefined;
|
|
1072
|
-
} & {
|
|
1073
|
-
text?: string | undefined;
|
|
1074
1585
|
}) | {
|
|
1075
1586
|
kind: "file";
|
|
1076
|
-
|
|
1587
|
+
}) & {
|
|
1588
|
+
text?: string | undefined;
|
|
1077
1589
|
})) | ({
|
|
1078
1590
|
__TYPE__: "DocumentLink";
|
|
1079
1591
|
} & (({
|
|
1080
1592
|
id: string;
|
|
1081
|
-
}
|
|
1082
|
-
text?: string | undefined;
|
|
1083
|
-
}) | {
|
|
1593
|
+
} | {
|
|
1084
1594
|
kind: "document";
|
|
1085
|
-
|
|
1595
|
+
}) & {
|
|
1596
|
+
text?: string | undefined;
|
|
1086
1597
|
})) | ({
|
|
1087
1598
|
__TYPE__: "ExternalLink";
|
|
1088
|
-
} & (({
|
|
1599
|
+
} & ((({
|
|
1089
1600
|
url: string;
|
|
1090
1601
|
} & {
|
|
1091
1602
|
kind?: "web" | undefined;
|
|
@@ -1093,22 +1604,24 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1093
1604
|
preview?: {
|
|
1094
1605
|
title?: string | undefined;
|
|
1095
1606
|
} | null | undefined;
|
|
1096
|
-
} & {
|
|
1097
|
-
text?: string | undefined;
|
|
1098
1607
|
}) | {
|
|
1099
1608
|
kind: "web";
|
|
1100
|
-
|
|
1609
|
+
}) & {
|
|
1610
|
+
text?: string | undefined;
|
|
1101
1611
|
})) | ({
|
|
1102
1612
|
__TYPE__: "MediaLink";
|
|
1103
1613
|
} & {
|
|
1104
1614
|
kind: "media";
|
|
1105
|
-
|
|
1615
|
+
} & {
|
|
1616
|
+
text?: string | undefined;
|
|
1106
1617
|
}) | ({
|
|
1107
1618
|
__TYPE__: "AnyLink";
|
|
1108
1619
|
} & {
|
|
1109
|
-
|
|
1620
|
+
kind: "any";
|
|
1621
|
+
} & {
|
|
1622
|
+
text?: string | undefined;
|
|
1110
1623
|
});
|
|
1111
|
-
} | {
|
|
1624
|
+
}) | {
|
|
1112
1625
|
__TYPE__: "StructuredTextContent";
|
|
1113
1626
|
value: (({
|
|
1114
1627
|
type: "image";
|
|
@@ -1138,7 +1651,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1138
1651
|
linkTo?: ({
|
|
1139
1652
|
__TYPE__: "ImageLink";
|
|
1140
1653
|
} & {
|
|
1141
|
-
kind:
|
|
1654
|
+
kind: "image";
|
|
1142
1655
|
id: string;
|
|
1143
1656
|
url: string;
|
|
1144
1657
|
height: string;
|
|
@@ -1150,7 +1663,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1150
1663
|
}) | ({
|
|
1151
1664
|
__TYPE__: "FileLink";
|
|
1152
1665
|
} & {
|
|
1153
|
-
kind:
|
|
1666
|
+
kind: "file";
|
|
1154
1667
|
id: string;
|
|
1155
1668
|
url: string;
|
|
1156
1669
|
name: string;
|
|
@@ -1201,7 +1714,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1201
1714
|
label?: string | null | undefined;
|
|
1202
1715
|
direction?: string | null | undefined;
|
|
1203
1716
|
}) | ({
|
|
1204
|
-
type: "
|
|
1717
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1205
1718
|
content: {
|
|
1206
1719
|
text: string;
|
|
1207
1720
|
} & {
|
|
@@ -1209,7 +1722,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1209
1722
|
data: ({
|
|
1210
1723
|
__TYPE__: "ImageLink";
|
|
1211
1724
|
} & {
|
|
1212
|
-
kind:
|
|
1725
|
+
kind: "image";
|
|
1213
1726
|
id: string;
|
|
1214
1727
|
url: string;
|
|
1215
1728
|
height: string;
|
|
@@ -1221,7 +1734,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1221
1734
|
}) | ({
|
|
1222
1735
|
__TYPE__: "FileLink";
|
|
1223
1736
|
} & {
|
|
1224
|
-
kind:
|
|
1737
|
+
kind: "file";
|
|
1225
1738
|
id: string;
|
|
1226
1739
|
url: string;
|
|
1227
1740
|
name: string;
|
|
@@ -1263,6 +1776,79 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1263
1776
|
}))[];
|
|
1264
1777
|
} | {
|
|
1265
1778
|
__TYPE__: "SeparatorContent";
|
|
1779
|
+
} | {
|
|
1780
|
+
__TYPE__: "RepeatableContent";
|
|
1781
|
+
type: "Link";
|
|
1782
|
+
value: ({
|
|
1783
|
+
key: string;
|
|
1784
|
+
} & {
|
|
1785
|
+
__TYPE__: "LinkContent";
|
|
1786
|
+
value: ({
|
|
1787
|
+
__TYPE__: "ImageLink";
|
|
1788
|
+
} & ((({
|
|
1789
|
+
kind: "image";
|
|
1790
|
+
id: string;
|
|
1791
|
+
url: string;
|
|
1792
|
+
height: string;
|
|
1793
|
+
width: string;
|
|
1794
|
+
size: string;
|
|
1795
|
+
name: string;
|
|
1796
|
+
} & {
|
|
1797
|
+
date?: string | null | undefined;
|
|
1798
|
+
}) | {
|
|
1799
|
+
kind: "image";
|
|
1800
|
+
}) & {
|
|
1801
|
+
text?: string | undefined;
|
|
1802
|
+
})) | ({
|
|
1803
|
+
__TYPE__: "FileLink";
|
|
1804
|
+
} & ((({
|
|
1805
|
+
kind: "file";
|
|
1806
|
+
id: string;
|
|
1807
|
+
url: string;
|
|
1808
|
+
name: string;
|
|
1809
|
+
size: string;
|
|
1810
|
+
} & {
|
|
1811
|
+
date?: string | null | undefined;
|
|
1812
|
+
}) | {
|
|
1813
|
+
kind: "file";
|
|
1814
|
+
}) & {
|
|
1815
|
+
text?: string | undefined;
|
|
1816
|
+
})) | ({
|
|
1817
|
+
__TYPE__: "DocumentLink";
|
|
1818
|
+
} & (({
|
|
1819
|
+
id: string;
|
|
1820
|
+
} | {
|
|
1821
|
+
kind: "document";
|
|
1822
|
+
}) & {
|
|
1823
|
+
text?: string | undefined;
|
|
1824
|
+
})) | ({
|
|
1825
|
+
__TYPE__: "ExternalLink";
|
|
1826
|
+
} & ((({
|
|
1827
|
+
url: string;
|
|
1828
|
+
} & {
|
|
1829
|
+
kind?: "web" | undefined;
|
|
1830
|
+
target?: string | null | undefined;
|
|
1831
|
+
preview?: {
|
|
1832
|
+
title?: string | undefined;
|
|
1833
|
+
} | null | undefined;
|
|
1834
|
+
}) | {
|
|
1835
|
+
kind: "web";
|
|
1836
|
+
}) & {
|
|
1837
|
+
text?: string | undefined;
|
|
1838
|
+
})) | ({
|
|
1839
|
+
__TYPE__: "MediaLink";
|
|
1840
|
+
} & {
|
|
1841
|
+
kind: "media";
|
|
1842
|
+
} & {
|
|
1843
|
+
text?: string | undefined;
|
|
1844
|
+
}) | ({
|
|
1845
|
+
__TYPE__: "AnyLink";
|
|
1846
|
+
} & {
|
|
1847
|
+
kind: "any";
|
|
1848
|
+
} & {
|
|
1849
|
+
text?: string | undefined;
|
|
1850
|
+
});
|
|
1851
|
+
})[];
|
|
1266
1852
|
};
|
|
1267
1853
|
};
|
|
1268
1854
|
repeat: {
|
|
@@ -1379,12 +1965,14 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1379
1965
|
}) | {
|
|
1380
1966
|
__TYPE__: "IntegrationFieldsContent";
|
|
1381
1967
|
value: string;
|
|
1382
|
-
} | {
|
|
1968
|
+
} | ({
|
|
1969
|
+
key: string;
|
|
1970
|
+
} & {
|
|
1383
1971
|
__TYPE__: "LinkContent";
|
|
1384
1972
|
value: ({
|
|
1385
1973
|
__TYPE__: "ImageLink";
|
|
1386
|
-
} & (({
|
|
1387
|
-
kind:
|
|
1974
|
+
} & ((({
|
|
1975
|
+
kind: "image";
|
|
1388
1976
|
id: string;
|
|
1389
1977
|
url: string;
|
|
1390
1978
|
height: string;
|
|
@@ -1393,38 +1981,35 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1393
1981
|
name: string;
|
|
1394
1982
|
} & {
|
|
1395
1983
|
date?: string | null | undefined;
|
|
1396
|
-
} & {
|
|
1397
|
-
text?: string | undefined;
|
|
1398
1984
|
}) | {
|
|
1399
1985
|
kind: "image";
|
|
1400
|
-
|
|
1986
|
+
}) & {
|
|
1987
|
+
text?: string | undefined;
|
|
1401
1988
|
})) | ({
|
|
1402
1989
|
__TYPE__: "FileLink";
|
|
1403
|
-
} & (({
|
|
1404
|
-
kind:
|
|
1990
|
+
} & ((({
|
|
1991
|
+
kind: "file";
|
|
1405
1992
|
id: string;
|
|
1406
1993
|
url: string;
|
|
1407
1994
|
name: string;
|
|
1408
1995
|
size: string;
|
|
1409
1996
|
} & {
|
|
1410
1997
|
date?: string | null | undefined;
|
|
1411
|
-
} & {
|
|
1412
|
-
text?: string | undefined;
|
|
1413
1998
|
}) | {
|
|
1414
1999
|
kind: "file";
|
|
1415
|
-
|
|
2000
|
+
}) & {
|
|
2001
|
+
text?: string | undefined;
|
|
1416
2002
|
})) | ({
|
|
1417
2003
|
__TYPE__: "DocumentLink";
|
|
1418
2004
|
} & (({
|
|
1419
2005
|
id: string;
|
|
1420
|
-
}
|
|
1421
|
-
text?: string | undefined;
|
|
1422
|
-
}) | {
|
|
2006
|
+
} | {
|
|
1423
2007
|
kind: "document";
|
|
1424
|
-
|
|
2008
|
+
}) & {
|
|
2009
|
+
text?: string | undefined;
|
|
1425
2010
|
})) | ({
|
|
1426
2011
|
__TYPE__: "ExternalLink";
|
|
1427
|
-
} & (({
|
|
2012
|
+
} & ((({
|
|
1428
2013
|
url: string;
|
|
1429
2014
|
} & {
|
|
1430
2015
|
kind?: "web" | undefined;
|
|
@@ -1432,22 +2017,24 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1432
2017
|
preview?: {
|
|
1433
2018
|
title?: string | undefined;
|
|
1434
2019
|
} | null | undefined;
|
|
1435
|
-
} & {
|
|
1436
|
-
text?: string | undefined;
|
|
1437
2020
|
}) | {
|
|
1438
2021
|
kind: "web";
|
|
1439
|
-
|
|
2022
|
+
}) & {
|
|
2023
|
+
text?: string | undefined;
|
|
1440
2024
|
})) | ({
|
|
1441
2025
|
__TYPE__: "MediaLink";
|
|
1442
2026
|
} & {
|
|
1443
2027
|
kind: "media";
|
|
1444
|
-
|
|
2028
|
+
} & {
|
|
2029
|
+
text?: string | undefined;
|
|
1445
2030
|
}) | ({
|
|
1446
2031
|
__TYPE__: "AnyLink";
|
|
1447
2032
|
} & {
|
|
1448
|
-
|
|
2033
|
+
kind: "any";
|
|
2034
|
+
} & {
|
|
2035
|
+
text?: string | undefined;
|
|
1449
2036
|
});
|
|
1450
|
-
} | {
|
|
2037
|
+
}) | {
|
|
1451
2038
|
__TYPE__: "StructuredTextContent";
|
|
1452
2039
|
value: (({
|
|
1453
2040
|
type: "image";
|
|
@@ -1477,7 +2064,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1477
2064
|
linkTo?: ({
|
|
1478
2065
|
__TYPE__: "ImageLink";
|
|
1479
2066
|
} & {
|
|
1480
|
-
kind:
|
|
2067
|
+
kind: "image";
|
|
1481
2068
|
id: string;
|
|
1482
2069
|
url: string;
|
|
1483
2070
|
height: string;
|
|
@@ -1489,7 +2076,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1489
2076
|
}) | ({
|
|
1490
2077
|
__TYPE__: "FileLink";
|
|
1491
2078
|
} & {
|
|
1492
|
-
kind:
|
|
2079
|
+
kind: "file";
|
|
1493
2080
|
id: string;
|
|
1494
2081
|
url: string;
|
|
1495
2082
|
name: string;
|
|
@@ -1540,7 +2127,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1540
2127
|
label?: string | null | undefined;
|
|
1541
2128
|
direction?: string | null | undefined;
|
|
1542
2129
|
}) | ({
|
|
1543
|
-
type: "
|
|
2130
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1544
2131
|
content: {
|
|
1545
2132
|
text: string;
|
|
1546
2133
|
} & {
|
|
@@ -1548,7 +2135,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1548
2135
|
data: ({
|
|
1549
2136
|
__TYPE__: "ImageLink";
|
|
1550
2137
|
} & {
|
|
1551
|
-
kind:
|
|
2138
|
+
kind: "image";
|
|
1552
2139
|
id: string;
|
|
1553
2140
|
url: string;
|
|
1554
2141
|
height: string;
|
|
@@ -1560,7 +2147,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1560
2147
|
}) | ({
|
|
1561
2148
|
__TYPE__: "FileLink";
|
|
1562
2149
|
} & {
|
|
1563
|
-
kind:
|
|
2150
|
+
kind: "file";
|
|
1564
2151
|
id: string;
|
|
1565
2152
|
url: string;
|
|
1566
2153
|
name: string;
|
|
@@ -1602,6 +2189,79 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1602
2189
|
}))[];
|
|
1603
2190
|
} | {
|
|
1604
2191
|
__TYPE__: "SeparatorContent";
|
|
2192
|
+
} | {
|
|
2193
|
+
__TYPE__: "RepeatableContent";
|
|
2194
|
+
type: "Link";
|
|
2195
|
+
value: ({
|
|
2196
|
+
key: string;
|
|
2197
|
+
} & {
|
|
2198
|
+
__TYPE__: "LinkContent";
|
|
2199
|
+
value: ({
|
|
2200
|
+
__TYPE__: "ImageLink";
|
|
2201
|
+
} & ((({
|
|
2202
|
+
kind: "image";
|
|
2203
|
+
id: string;
|
|
2204
|
+
url: string;
|
|
2205
|
+
height: string;
|
|
2206
|
+
width: string;
|
|
2207
|
+
size: string;
|
|
2208
|
+
name: string;
|
|
2209
|
+
} & {
|
|
2210
|
+
date?: string | null | undefined;
|
|
2211
|
+
}) | {
|
|
2212
|
+
kind: "image";
|
|
2213
|
+
}) & {
|
|
2214
|
+
text?: string | undefined;
|
|
2215
|
+
})) | ({
|
|
2216
|
+
__TYPE__: "FileLink";
|
|
2217
|
+
} & ((({
|
|
2218
|
+
kind: "file";
|
|
2219
|
+
id: string;
|
|
2220
|
+
url: string;
|
|
2221
|
+
name: string;
|
|
2222
|
+
size: string;
|
|
2223
|
+
} & {
|
|
2224
|
+
date?: string | null | undefined;
|
|
2225
|
+
}) | {
|
|
2226
|
+
kind: "file";
|
|
2227
|
+
}) & {
|
|
2228
|
+
text?: string | undefined;
|
|
2229
|
+
})) | ({
|
|
2230
|
+
__TYPE__: "DocumentLink";
|
|
2231
|
+
} & (({
|
|
2232
|
+
id: string;
|
|
2233
|
+
} | {
|
|
2234
|
+
kind: "document";
|
|
2235
|
+
}) & {
|
|
2236
|
+
text?: string | undefined;
|
|
2237
|
+
})) | ({
|
|
2238
|
+
__TYPE__: "ExternalLink";
|
|
2239
|
+
} & ((({
|
|
2240
|
+
url: string;
|
|
2241
|
+
} & {
|
|
2242
|
+
kind?: "web" | undefined;
|
|
2243
|
+
target?: string | null | undefined;
|
|
2244
|
+
preview?: {
|
|
2245
|
+
title?: string | undefined;
|
|
2246
|
+
} | null | undefined;
|
|
2247
|
+
}) | {
|
|
2248
|
+
kind: "web";
|
|
2249
|
+
}) & {
|
|
2250
|
+
text?: string | undefined;
|
|
2251
|
+
})) | ({
|
|
2252
|
+
__TYPE__: "MediaLink";
|
|
2253
|
+
} & {
|
|
2254
|
+
kind: "media";
|
|
2255
|
+
} & {
|
|
2256
|
+
text?: string | undefined;
|
|
2257
|
+
}) | ({
|
|
2258
|
+
__TYPE__: "AnyLink";
|
|
2259
|
+
} & {
|
|
2260
|
+
kind: "any";
|
|
2261
|
+
} & {
|
|
2262
|
+
text?: string | undefined;
|
|
2263
|
+
});
|
|
2264
|
+
})[];
|
|
1605
2265
|
}][];
|
|
1606
2266
|
}[];
|
|
1607
2267
|
} | {
|
|
@@ -1720,12 +2380,14 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1720
2380
|
}) | {
|
|
1721
2381
|
__TYPE__: "IntegrationFieldsContent";
|
|
1722
2382
|
value: string;
|
|
1723
|
-
} | {
|
|
2383
|
+
} | ({
|
|
2384
|
+
key: string;
|
|
2385
|
+
} & {
|
|
1724
2386
|
__TYPE__: "LinkContent";
|
|
1725
2387
|
value: ({
|
|
1726
2388
|
__TYPE__: "ImageLink";
|
|
1727
|
-
} & (({
|
|
1728
|
-
kind:
|
|
2389
|
+
} & ((({
|
|
2390
|
+
kind: "image";
|
|
1729
2391
|
id: string;
|
|
1730
2392
|
url: string;
|
|
1731
2393
|
height: string;
|
|
@@ -1734,38 +2396,35 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1734
2396
|
name: string;
|
|
1735
2397
|
} & {
|
|
1736
2398
|
date?: string | null | undefined;
|
|
1737
|
-
} & {
|
|
1738
|
-
text?: string | undefined;
|
|
1739
2399
|
}) | {
|
|
1740
2400
|
kind: "image";
|
|
1741
|
-
|
|
2401
|
+
}) & {
|
|
2402
|
+
text?: string | undefined;
|
|
1742
2403
|
})) | ({
|
|
1743
2404
|
__TYPE__: "FileLink";
|
|
1744
|
-
} & (({
|
|
1745
|
-
kind:
|
|
2405
|
+
} & ((({
|
|
2406
|
+
kind: "file";
|
|
1746
2407
|
id: string;
|
|
1747
2408
|
url: string;
|
|
1748
2409
|
name: string;
|
|
1749
2410
|
size: string;
|
|
1750
2411
|
} & {
|
|
1751
2412
|
date?: string | null | undefined;
|
|
1752
|
-
} & {
|
|
1753
|
-
text?: string | undefined;
|
|
1754
2413
|
}) | {
|
|
1755
2414
|
kind: "file";
|
|
1756
|
-
|
|
2415
|
+
}) & {
|
|
2416
|
+
text?: string | undefined;
|
|
1757
2417
|
})) | ({
|
|
1758
2418
|
__TYPE__: "DocumentLink";
|
|
1759
2419
|
} & (({
|
|
1760
2420
|
id: string;
|
|
1761
|
-
}
|
|
1762
|
-
text?: string | undefined;
|
|
1763
|
-
}) | {
|
|
2421
|
+
} | {
|
|
1764
2422
|
kind: "document";
|
|
1765
|
-
|
|
2423
|
+
}) & {
|
|
2424
|
+
text?: string | undefined;
|
|
1766
2425
|
})) | ({
|
|
1767
2426
|
__TYPE__: "ExternalLink";
|
|
1768
|
-
} & (({
|
|
2427
|
+
} & ((({
|
|
1769
2428
|
url: string;
|
|
1770
2429
|
} & {
|
|
1771
2430
|
kind?: "web" | undefined;
|
|
@@ -1773,22 +2432,24 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1773
2432
|
preview?: {
|
|
1774
2433
|
title?: string | undefined;
|
|
1775
2434
|
} | null | undefined;
|
|
1776
|
-
} & {
|
|
1777
|
-
text?: string | undefined;
|
|
1778
2435
|
}) | {
|
|
1779
2436
|
kind: "web";
|
|
1780
|
-
|
|
2437
|
+
}) & {
|
|
2438
|
+
text?: string | undefined;
|
|
1781
2439
|
})) | ({
|
|
1782
2440
|
__TYPE__: "MediaLink";
|
|
1783
2441
|
} & {
|
|
1784
2442
|
kind: "media";
|
|
1785
|
-
|
|
2443
|
+
} & {
|
|
2444
|
+
text?: string | undefined;
|
|
1786
2445
|
}) | ({
|
|
1787
2446
|
__TYPE__: "AnyLink";
|
|
1788
2447
|
} & {
|
|
1789
|
-
|
|
2448
|
+
kind: "any";
|
|
2449
|
+
} & {
|
|
2450
|
+
text?: string | undefined;
|
|
1790
2451
|
});
|
|
1791
|
-
} | {
|
|
2452
|
+
}) | {
|
|
1792
2453
|
__TYPE__: "StructuredTextContent";
|
|
1793
2454
|
value: (({
|
|
1794
2455
|
type: "image";
|
|
@@ -1818,7 +2479,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1818
2479
|
linkTo?: ({
|
|
1819
2480
|
__TYPE__: "ImageLink";
|
|
1820
2481
|
} & {
|
|
1821
|
-
kind:
|
|
2482
|
+
kind: "image";
|
|
1822
2483
|
id: string;
|
|
1823
2484
|
url: string;
|
|
1824
2485
|
height: string;
|
|
@@ -1830,7 +2491,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1830
2491
|
}) | ({
|
|
1831
2492
|
__TYPE__: "FileLink";
|
|
1832
2493
|
} & {
|
|
1833
|
-
kind:
|
|
2494
|
+
kind: "file";
|
|
1834
2495
|
id: string;
|
|
1835
2496
|
url: string;
|
|
1836
2497
|
name: string;
|
|
@@ -1881,7 +2542,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1881
2542
|
label?: string | null | undefined;
|
|
1882
2543
|
direction?: string | null | undefined;
|
|
1883
2544
|
}) | ({
|
|
1884
|
-
type: "
|
|
2545
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1885
2546
|
content: {
|
|
1886
2547
|
text: string;
|
|
1887
2548
|
} & {
|
|
@@ -1889,7 +2550,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1889
2550
|
data: ({
|
|
1890
2551
|
__TYPE__: "ImageLink";
|
|
1891
2552
|
} & {
|
|
1892
|
-
kind:
|
|
2553
|
+
kind: "image";
|
|
1893
2554
|
id: string;
|
|
1894
2555
|
url: string;
|
|
1895
2556
|
height: string;
|
|
@@ -1901,7 +2562,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1901
2562
|
}) | ({
|
|
1902
2563
|
__TYPE__: "FileLink";
|
|
1903
2564
|
} & {
|
|
1904
|
-
kind:
|
|
2565
|
+
kind: "file";
|
|
1905
2566
|
id: string;
|
|
1906
2567
|
url: string;
|
|
1907
2568
|
name: string;
|
|
@@ -1943,6 +2604,79 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1943
2604
|
}))[];
|
|
1944
2605
|
} | {
|
|
1945
2606
|
__TYPE__: "SeparatorContent";
|
|
2607
|
+
} | {
|
|
2608
|
+
__TYPE__: "RepeatableContent";
|
|
2609
|
+
type: "Link";
|
|
2610
|
+
value: ({
|
|
2611
|
+
key: string;
|
|
2612
|
+
} & {
|
|
2613
|
+
__TYPE__: "LinkContent";
|
|
2614
|
+
value: ({
|
|
2615
|
+
__TYPE__: "ImageLink";
|
|
2616
|
+
} & ((({
|
|
2617
|
+
kind: "image";
|
|
2618
|
+
id: string;
|
|
2619
|
+
url: string;
|
|
2620
|
+
height: string;
|
|
2621
|
+
width: string;
|
|
2622
|
+
size: string;
|
|
2623
|
+
name: string;
|
|
2624
|
+
} & {
|
|
2625
|
+
date?: string | null | undefined;
|
|
2626
|
+
}) | {
|
|
2627
|
+
kind: "image";
|
|
2628
|
+
}) & {
|
|
2629
|
+
text?: string | undefined;
|
|
2630
|
+
})) | ({
|
|
2631
|
+
__TYPE__: "FileLink";
|
|
2632
|
+
} & ((({
|
|
2633
|
+
kind: "file";
|
|
2634
|
+
id: string;
|
|
2635
|
+
url: string;
|
|
2636
|
+
name: string;
|
|
2637
|
+
size: string;
|
|
2638
|
+
} & {
|
|
2639
|
+
date?: string | null | undefined;
|
|
2640
|
+
}) | {
|
|
2641
|
+
kind: "file";
|
|
2642
|
+
}) & {
|
|
2643
|
+
text?: string | undefined;
|
|
2644
|
+
})) | ({
|
|
2645
|
+
__TYPE__: "DocumentLink";
|
|
2646
|
+
} & (({
|
|
2647
|
+
id: string;
|
|
2648
|
+
} | {
|
|
2649
|
+
kind: "document";
|
|
2650
|
+
}) & {
|
|
2651
|
+
text?: string | undefined;
|
|
2652
|
+
})) | ({
|
|
2653
|
+
__TYPE__: "ExternalLink";
|
|
2654
|
+
} & ((({
|
|
2655
|
+
url: string;
|
|
2656
|
+
} & {
|
|
2657
|
+
kind?: "web" | undefined;
|
|
2658
|
+
target?: string | null | undefined;
|
|
2659
|
+
preview?: {
|
|
2660
|
+
title?: string | undefined;
|
|
2661
|
+
} | null | undefined;
|
|
2662
|
+
}) | {
|
|
2663
|
+
kind: "web";
|
|
2664
|
+
}) & {
|
|
2665
|
+
text?: string | undefined;
|
|
2666
|
+
})) | ({
|
|
2667
|
+
__TYPE__: "MediaLink";
|
|
2668
|
+
} & {
|
|
2669
|
+
kind: "media";
|
|
2670
|
+
} & {
|
|
2671
|
+
text?: string | undefined;
|
|
2672
|
+
}) | ({
|
|
2673
|
+
__TYPE__: "AnyLink";
|
|
2674
|
+
} & {
|
|
2675
|
+
kind: "any";
|
|
2676
|
+
} & {
|
|
2677
|
+
text?: string | undefined;
|
|
2678
|
+
});
|
|
2679
|
+
})[];
|
|
1946
2680
|
};
|
|
1947
2681
|
};
|
|
1948
2682
|
items: {
|
|
@@ -2059,12 +2793,14 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2059
2793
|
}) | {
|
|
2060
2794
|
__TYPE__: "IntegrationFieldsContent";
|
|
2061
2795
|
value: string;
|
|
2062
|
-
} | {
|
|
2796
|
+
} | ({
|
|
2797
|
+
key: string;
|
|
2798
|
+
} & {
|
|
2063
2799
|
__TYPE__: "LinkContent";
|
|
2064
2800
|
value: ({
|
|
2065
2801
|
__TYPE__: "ImageLink";
|
|
2066
|
-
} & (({
|
|
2067
|
-
kind:
|
|
2802
|
+
} & ((({
|
|
2803
|
+
kind: "image";
|
|
2068
2804
|
id: string;
|
|
2069
2805
|
url: string;
|
|
2070
2806
|
height: string;
|
|
@@ -2073,38 +2809,35 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2073
2809
|
name: string;
|
|
2074
2810
|
} & {
|
|
2075
2811
|
date?: string | null | undefined;
|
|
2076
|
-
} & {
|
|
2077
|
-
text?: string | undefined;
|
|
2078
2812
|
}) | {
|
|
2079
2813
|
kind: "image";
|
|
2080
|
-
|
|
2814
|
+
}) & {
|
|
2815
|
+
text?: string | undefined;
|
|
2081
2816
|
})) | ({
|
|
2082
2817
|
__TYPE__: "FileLink";
|
|
2083
|
-
} & (({
|
|
2084
|
-
kind:
|
|
2818
|
+
} & ((({
|
|
2819
|
+
kind: "file";
|
|
2085
2820
|
id: string;
|
|
2086
2821
|
url: string;
|
|
2087
2822
|
name: string;
|
|
2088
2823
|
size: string;
|
|
2089
2824
|
} & {
|
|
2090
2825
|
date?: string | null | undefined;
|
|
2091
|
-
} & {
|
|
2092
|
-
text?: string | undefined;
|
|
2093
2826
|
}) | {
|
|
2094
2827
|
kind: "file";
|
|
2095
|
-
|
|
2828
|
+
}) & {
|
|
2829
|
+
text?: string | undefined;
|
|
2096
2830
|
})) | ({
|
|
2097
2831
|
__TYPE__: "DocumentLink";
|
|
2098
2832
|
} & (({
|
|
2099
2833
|
id: string;
|
|
2100
|
-
}
|
|
2101
|
-
text?: string | undefined;
|
|
2102
|
-
}) | {
|
|
2834
|
+
} | {
|
|
2103
2835
|
kind: "document";
|
|
2104
|
-
|
|
2836
|
+
}) & {
|
|
2837
|
+
text?: string | undefined;
|
|
2105
2838
|
})) | ({
|
|
2106
2839
|
__TYPE__: "ExternalLink";
|
|
2107
|
-
} & (({
|
|
2840
|
+
} & ((({
|
|
2108
2841
|
url: string;
|
|
2109
2842
|
} & {
|
|
2110
2843
|
kind?: "web" | undefined;
|
|
@@ -2112,22 +2845,24 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2112
2845
|
preview?: {
|
|
2113
2846
|
title?: string | undefined;
|
|
2114
2847
|
} | null | undefined;
|
|
2115
|
-
} & {
|
|
2116
|
-
text?: string | undefined;
|
|
2117
2848
|
}) | {
|
|
2118
2849
|
kind: "web";
|
|
2119
|
-
|
|
2850
|
+
}) & {
|
|
2851
|
+
text?: string | undefined;
|
|
2120
2852
|
})) | ({
|
|
2121
2853
|
__TYPE__: "MediaLink";
|
|
2122
2854
|
} & {
|
|
2123
2855
|
kind: "media";
|
|
2124
|
-
|
|
2856
|
+
} & {
|
|
2857
|
+
text?: string | undefined;
|
|
2125
2858
|
}) | ({
|
|
2126
2859
|
__TYPE__: "AnyLink";
|
|
2127
2860
|
} & {
|
|
2128
|
-
|
|
2861
|
+
kind: "any";
|
|
2862
|
+
} & {
|
|
2863
|
+
text?: string | undefined;
|
|
2129
2864
|
});
|
|
2130
|
-
} | {
|
|
2865
|
+
}) | {
|
|
2131
2866
|
__TYPE__: "StructuredTextContent";
|
|
2132
2867
|
value: (({
|
|
2133
2868
|
type: "image";
|
|
@@ -2157,7 +2892,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2157
2892
|
linkTo?: ({
|
|
2158
2893
|
__TYPE__: "ImageLink";
|
|
2159
2894
|
} & {
|
|
2160
|
-
kind:
|
|
2895
|
+
kind: "image";
|
|
2161
2896
|
id: string;
|
|
2162
2897
|
url: string;
|
|
2163
2898
|
height: string;
|
|
@@ -2169,7 +2904,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2169
2904
|
}) | ({
|
|
2170
2905
|
__TYPE__: "FileLink";
|
|
2171
2906
|
} & {
|
|
2172
|
-
kind:
|
|
2907
|
+
kind: "file";
|
|
2173
2908
|
id: string;
|
|
2174
2909
|
url: string;
|
|
2175
2910
|
name: string;
|
|
@@ -2220,7 +2955,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2220
2955
|
label?: string | null | undefined;
|
|
2221
2956
|
direction?: string | null | undefined;
|
|
2222
2957
|
}) | ({
|
|
2223
|
-
type: "
|
|
2958
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2224
2959
|
content: {
|
|
2225
2960
|
text: string;
|
|
2226
2961
|
} & {
|
|
@@ -2228,7 +2963,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2228
2963
|
data: ({
|
|
2229
2964
|
__TYPE__: "ImageLink";
|
|
2230
2965
|
} & {
|
|
2231
|
-
kind:
|
|
2966
|
+
kind: "image";
|
|
2232
2967
|
id: string;
|
|
2233
2968
|
url: string;
|
|
2234
2969
|
height: string;
|
|
@@ -2240,7 +2975,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2240
2975
|
}) | ({
|
|
2241
2976
|
__TYPE__: "FileLink";
|
|
2242
2977
|
} & {
|
|
2243
|
-
kind:
|
|
2978
|
+
kind: "file";
|
|
2244
2979
|
id: string;
|
|
2245
2980
|
url: string;
|
|
2246
2981
|
name: string;
|
|
@@ -2282,6 +3017,79 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2282
3017
|
}))[];
|
|
2283
3018
|
} | {
|
|
2284
3019
|
__TYPE__: "SeparatorContent";
|
|
3020
|
+
} | {
|
|
3021
|
+
__TYPE__: "RepeatableContent";
|
|
3022
|
+
type: "Link";
|
|
3023
|
+
value: ({
|
|
3024
|
+
key: string;
|
|
3025
|
+
} & {
|
|
3026
|
+
__TYPE__: "LinkContent";
|
|
3027
|
+
value: ({
|
|
3028
|
+
__TYPE__: "ImageLink";
|
|
3029
|
+
} & ((({
|
|
3030
|
+
kind: "image";
|
|
3031
|
+
id: string;
|
|
3032
|
+
url: string;
|
|
3033
|
+
height: string;
|
|
3034
|
+
width: string;
|
|
3035
|
+
size: string;
|
|
3036
|
+
name: string;
|
|
3037
|
+
} & {
|
|
3038
|
+
date?: string | null | undefined;
|
|
3039
|
+
}) | {
|
|
3040
|
+
kind: "image";
|
|
3041
|
+
}) & {
|
|
3042
|
+
text?: string | undefined;
|
|
3043
|
+
})) | ({
|
|
3044
|
+
__TYPE__: "FileLink";
|
|
3045
|
+
} & ((({
|
|
3046
|
+
kind: "file";
|
|
3047
|
+
id: string;
|
|
3048
|
+
url: string;
|
|
3049
|
+
name: string;
|
|
3050
|
+
size: string;
|
|
3051
|
+
} & {
|
|
3052
|
+
date?: string | null | undefined;
|
|
3053
|
+
}) | {
|
|
3054
|
+
kind: "file";
|
|
3055
|
+
}) & {
|
|
3056
|
+
text?: string | undefined;
|
|
3057
|
+
})) | ({
|
|
3058
|
+
__TYPE__: "DocumentLink";
|
|
3059
|
+
} & (({
|
|
3060
|
+
id: string;
|
|
3061
|
+
} | {
|
|
3062
|
+
kind: "document";
|
|
3063
|
+
}) & {
|
|
3064
|
+
text?: string | undefined;
|
|
3065
|
+
})) | ({
|
|
3066
|
+
__TYPE__: "ExternalLink";
|
|
3067
|
+
} & ((({
|
|
3068
|
+
url: string;
|
|
3069
|
+
} & {
|
|
3070
|
+
kind?: "web" | undefined;
|
|
3071
|
+
target?: string | null | undefined;
|
|
3072
|
+
preview?: {
|
|
3073
|
+
title?: string | undefined;
|
|
3074
|
+
} | null | undefined;
|
|
3075
|
+
}) | {
|
|
3076
|
+
kind: "web";
|
|
3077
|
+
}) & {
|
|
3078
|
+
text?: string | undefined;
|
|
3079
|
+
})) | ({
|
|
3080
|
+
__TYPE__: "MediaLink";
|
|
3081
|
+
} & {
|
|
3082
|
+
kind: "media";
|
|
3083
|
+
} & {
|
|
3084
|
+
text?: string | undefined;
|
|
3085
|
+
}) | ({
|
|
3086
|
+
__TYPE__: "AnyLink";
|
|
3087
|
+
} & {
|
|
3088
|
+
kind: "any";
|
|
3089
|
+
} & {
|
|
3090
|
+
text?: string | undefined;
|
|
3091
|
+
});
|
|
3092
|
+
})[];
|
|
2285
3093
|
}][];
|
|
2286
3094
|
}[];
|
|
2287
3095
|
} | {
|
|
@@ -2396,12 +3204,14 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2396
3204
|
}) | {
|
|
2397
3205
|
__TYPE__: "IntegrationFieldsContent";
|
|
2398
3206
|
value: string;
|
|
2399
|
-
} | {
|
|
3207
|
+
} | ({
|
|
3208
|
+
key: string;
|
|
3209
|
+
} & {
|
|
2400
3210
|
__TYPE__: "LinkContent";
|
|
2401
3211
|
value: ({
|
|
2402
3212
|
__TYPE__: "ImageLink";
|
|
2403
|
-
} & (({
|
|
2404
|
-
kind:
|
|
3213
|
+
} & ((({
|
|
3214
|
+
kind: "image";
|
|
2405
3215
|
id: string;
|
|
2406
3216
|
url: string;
|
|
2407
3217
|
height: string;
|
|
@@ -2410,38 +3220,35 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2410
3220
|
name: string;
|
|
2411
3221
|
} & {
|
|
2412
3222
|
date?: string | null | undefined;
|
|
2413
|
-
} & {
|
|
2414
|
-
text?: string | undefined;
|
|
2415
3223
|
}) | {
|
|
2416
3224
|
kind: "image";
|
|
2417
|
-
|
|
3225
|
+
}) & {
|
|
3226
|
+
text?: string | undefined;
|
|
2418
3227
|
})) | ({
|
|
2419
3228
|
__TYPE__: "FileLink";
|
|
2420
|
-
} & (({
|
|
2421
|
-
kind:
|
|
3229
|
+
} & ((({
|
|
3230
|
+
kind: "file";
|
|
2422
3231
|
id: string;
|
|
2423
3232
|
url: string;
|
|
2424
3233
|
name: string;
|
|
2425
3234
|
size: string;
|
|
2426
3235
|
} & {
|
|
2427
3236
|
date?: string | null | undefined;
|
|
2428
|
-
} & {
|
|
2429
|
-
text?: string | undefined;
|
|
2430
3237
|
}) | {
|
|
2431
3238
|
kind: "file";
|
|
2432
|
-
|
|
3239
|
+
}) & {
|
|
3240
|
+
text?: string | undefined;
|
|
2433
3241
|
})) | ({
|
|
2434
3242
|
__TYPE__: "DocumentLink";
|
|
2435
3243
|
} & (({
|
|
2436
3244
|
id: string;
|
|
2437
|
-
}
|
|
2438
|
-
text?: string | undefined;
|
|
2439
|
-
}) | {
|
|
3245
|
+
} | {
|
|
2440
3246
|
kind: "document";
|
|
2441
|
-
|
|
3247
|
+
}) & {
|
|
3248
|
+
text?: string | undefined;
|
|
2442
3249
|
})) | ({
|
|
2443
3250
|
__TYPE__: "ExternalLink";
|
|
2444
|
-
} & (({
|
|
3251
|
+
} & ((({
|
|
2445
3252
|
url: string;
|
|
2446
3253
|
} & {
|
|
2447
3254
|
kind?: "web" | undefined;
|
|
@@ -2449,22 +3256,24 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2449
3256
|
preview?: {
|
|
2450
3257
|
title?: string | undefined;
|
|
2451
3258
|
} | null | undefined;
|
|
2452
|
-
} & {
|
|
2453
|
-
text?: string | undefined;
|
|
2454
3259
|
}) | {
|
|
2455
3260
|
kind: "web";
|
|
2456
|
-
|
|
3261
|
+
}) & {
|
|
3262
|
+
text?: string | undefined;
|
|
2457
3263
|
})) | ({
|
|
2458
3264
|
__TYPE__: "MediaLink";
|
|
2459
3265
|
} & {
|
|
2460
3266
|
kind: "media";
|
|
2461
|
-
|
|
3267
|
+
} & {
|
|
3268
|
+
text?: string | undefined;
|
|
2462
3269
|
}) | ({
|
|
2463
3270
|
__TYPE__: "AnyLink";
|
|
2464
3271
|
} & {
|
|
2465
|
-
|
|
3272
|
+
kind: "any";
|
|
3273
|
+
} & {
|
|
3274
|
+
text?: string | undefined;
|
|
2466
3275
|
});
|
|
2467
|
-
} | {
|
|
3276
|
+
}) | {
|
|
2468
3277
|
__TYPE__: "StructuredTextContent";
|
|
2469
3278
|
value: (({
|
|
2470
3279
|
type: "image";
|
|
@@ -2494,7 +3303,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2494
3303
|
linkTo?: ({
|
|
2495
3304
|
__TYPE__: "ImageLink";
|
|
2496
3305
|
} & {
|
|
2497
|
-
kind:
|
|
3306
|
+
kind: "image";
|
|
2498
3307
|
id: string;
|
|
2499
3308
|
url: string;
|
|
2500
3309
|
height: string;
|
|
@@ -2506,7 +3315,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2506
3315
|
}) | ({
|
|
2507
3316
|
__TYPE__: "FileLink";
|
|
2508
3317
|
} & {
|
|
2509
|
-
kind:
|
|
3318
|
+
kind: "file";
|
|
2510
3319
|
id: string;
|
|
2511
3320
|
url: string;
|
|
2512
3321
|
name: string;
|
|
@@ -2557,7 +3366,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2557
3366
|
label?: string | null | undefined;
|
|
2558
3367
|
direction?: string | null | undefined;
|
|
2559
3368
|
}) | ({
|
|
2560
|
-
type: "
|
|
3369
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2561
3370
|
content: {
|
|
2562
3371
|
text: string;
|
|
2563
3372
|
} & {
|
|
@@ -2565,7 +3374,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2565
3374
|
data: ({
|
|
2566
3375
|
__TYPE__: "ImageLink";
|
|
2567
3376
|
} & {
|
|
2568
|
-
kind:
|
|
3377
|
+
kind: "image";
|
|
2569
3378
|
id: string;
|
|
2570
3379
|
url: string;
|
|
2571
3380
|
height: string;
|
|
@@ -2577,7 +3386,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2577
3386
|
}) | ({
|
|
2578
3387
|
__TYPE__: "FileLink";
|
|
2579
3388
|
} & {
|
|
2580
|
-
kind:
|
|
3389
|
+
kind: "file";
|
|
2581
3390
|
id: string;
|
|
2582
3391
|
url: string;
|
|
2583
3392
|
name: string;
|
|
@@ -2619,6 +3428,79 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2619
3428
|
}))[];
|
|
2620
3429
|
} | {
|
|
2621
3430
|
__TYPE__: "SeparatorContent";
|
|
3431
|
+
} | {
|
|
3432
|
+
__TYPE__: "RepeatableContent";
|
|
3433
|
+
type: "Link";
|
|
3434
|
+
value: ({
|
|
3435
|
+
key: string;
|
|
3436
|
+
} & {
|
|
3437
|
+
__TYPE__: "LinkContent";
|
|
3438
|
+
value: ({
|
|
3439
|
+
__TYPE__: "ImageLink";
|
|
3440
|
+
} & ((({
|
|
3441
|
+
kind: "image";
|
|
3442
|
+
id: string;
|
|
3443
|
+
url: string;
|
|
3444
|
+
height: string;
|
|
3445
|
+
width: string;
|
|
3446
|
+
size: string;
|
|
3447
|
+
name: string;
|
|
3448
|
+
} & {
|
|
3449
|
+
date?: string | null | undefined;
|
|
3450
|
+
}) | {
|
|
3451
|
+
kind: "image";
|
|
3452
|
+
}) & {
|
|
3453
|
+
text?: string | undefined;
|
|
3454
|
+
})) | ({
|
|
3455
|
+
__TYPE__: "FileLink";
|
|
3456
|
+
} & ((({
|
|
3457
|
+
kind: "file";
|
|
3458
|
+
id: string;
|
|
3459
|
+
url: string;
|
|
3460
|
+
name: string;
|
|
3461
|
+
size: string;
|
|
3462
|
+
} & {
|
|
3463
|
+
date?: string | null | undefined;
|
|
3464
|
+
}) | {
|
|
3465
|
+
kind: "file";
|
|
3466
|
+
}) & {
|
|
3467
|
+
text?: string | undefined;
|
|
3468
|
+
})) | ({
|
|
3469
|
+
__TYPE__: "DocumentLink";
|
|
3470
|
+
} & (({
|
|
3471
|
+
id: string;
|
|
3472
|
+
} | {
|
|
3473
|
+
kind: "document";
|
|
3474
|
+
}) & {
|
|
3475
|
+
text?: string | undefined;
|
|
3476
|
+
})) | ({
|
|
3477
|
+
__TYPE__: "ExternalLink";
|
|
3478
|
+
} & ((({
|
|
3479
|
+
url: string;
|
|
3480
|
+
} & {
|
|
3481
|
+
kind?: "web" | undefined;
|
|
3482
|
+
target?: string | null | undefined;
|
|
3483
|
+
preview?: {
|
|
3484
|
+
title?: string | undefined;
|
|
3485
|
+
} | null | undefined;
|
|
3486
|
+
}) | {
|
|
3487
|
+
kind: "web";
|
|
3488
|
+
}) & {
|
|
3489
|
+
text?: string | undefined;
|
|
3490
|
+
})) | ({
|
|
3491
|
+
__TYPE__: "MediaLink";
|
|
3492
|
+
} & {
|
|
3493
|
+
kind: "media";
|
|
3494
|
+
} & {
|
|
3495
|
+
text?: string | undefined;
|
|
3496
|
+
}) | ({
|
|
3497
|
+
__TYPE__: "AnyLink";
|
|
3498
|
+
} & {
|
|
3499
|
+
kind: "any";
|
|
3500
|
+
} & {
|
|
3501
|
+
text?: string | undefined;
|
|
3502
|
+
});
|
|
3503
|
+
})[];
|
|
2622
3504
|
};
|
|
2623
3505
|
}[];
|
|
2624
3506
|
};
|
|
@@ -2744,12 +3626,14 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
2744
3626
|
}) | {
|
|
2745
3627
|
__TYPE__: "IntegrationFieldsContent";
|
|
2746
3628
|
value: string;
|
|
2747
|
-
} | {
|
|
3629
|
+
} | ({
|
|
3630
|
+
key: string;
|
|
3631
|
+
} & {
|
|
2748
3632
|
__TYPE__: "LinkContent";
|
|
2749
3633
|
value: ({
|
|
2750
3634
|
__TYPE__: "ImageLink";
|
|
2751
|
-
} & (({
|
|
2752
|
-
kind:
|
|
3635
|
+
} & ((({
|
|
3636
|
+
kind: "image";
|
|
2753
3637
|
id: string;
|
|
2754
3638
|
url: string;
|
|
2755
3639
|
height: string;
|
|
@@ -2758,38 +3642,35 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
2758
3642
|
name: string;
|
|
2759
3643
|
} & {
|
|
2760
3644
|
date?: string | null | undefined;
|
|
2761
|
-
} & {
|
|
2762
|
-
text?: string | undefined;
|
|
2763
3645
|
}) | {
|
|
2764
3646
|
kind: "image";
|
|
2765
|
-
|
|
3647
|
+
}) & {
|
|
3648
|
+
text?: string | undefined;
|
|
2766
3649
|
})) | ({
|
|
2767
3650
|
__TYPE__: "FileLink";
|
|
2768
|
-
} & (({
|
|
2769
|
-
kind:
|
|
3651
|
+
} & ((({
|
|
3652
|
+
kind: "file";
|
|
2770
3653
|
id: string;
|
|
2771
3654
|
url: string;
|
|
2772
3655
|
name: string;
|
|
2773
3656
|
size: string;
|
|
2774
3657
|
} & {
|
|
2775
3658
|
date?: string | null | undefined;
|
|
2776
|
-
} & {
|
|
2777
|
-
text?: string | undefined;
|
|
2778
3659
|
}) | {
|
|
2779
3660
|
kind: "file";
|
|
2780
|
-
|
|
3661
|
+
}) & {
|
|
3662
|
+
text?: string | undefined;
|
|
2781
3663
|
})) | ({
|
|
2782
3664
|
__TYPE__: "DocumentLink";
|
|
2783
3665
|
} & (({
|
|
2784
3666
|
id: string;
|
|
2785
|
-
}
|
|
2786
|
-
text?: string | undefined;
|
|
2787
|
-
}) | {
|
|
3667
|
+
} | {
|
|
2788
3668
|
kind: "document";
|
|
2789
|
-
|
|
3669
|
+
}) & {
|
|
3670
|
+
text?: string | undefined;
|
|
2790
3671
|
})) | ({
|
|
2791
3672
|
__TYPE__: "ExternalLink";
|
|
2792
|
-
} & (({
|
|
3673
|
+
} & ((({
|
|
2793
3674
|
url: string;
|
|
2794
3675
|
} & {
|
|
2795
3676
|
kind?: "web" | undefined;
|
|
@@ -2797,22 +3678,24 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
2797
3678
|
preview?: {
|
|
2798
3679
|
title?: string | undefined;
|
|
2799
3680
|
} | null | undefined;
|
|
2800
|
-
} & {
|
|
2801
|
-
text?: string | undefined;
|
|
2802
3681
|
}) | {
|
|
2803
3682
|
kind: "web";
|
|
2804
|
-
|
|
3683
|
+
}) & {
|
|
3684
|
+
text?: string | undefined;
|
|
2805
3685
|
})) | ({
|
|
2806
3686
|
__TYPE__: "MediaLink";
|
|
2807
3687
|
} & {
|
|
2808
3688
|
kind: "media";
|
|
2809
|
-
|
|
3689
|
+
} & {
|
|
3690
|
+
text?: string | undefined;
|
|
2810
3691
|
}) | ({
|
|
2811
3692
|
__TYPE__: "AnyLink";
|
|
2812
3693
|
} & {
|
|
2813
|
-
|
|
3694
|
+
kind: "any";
|
|
3695
|
+
} & {
|
|
3696
|
+
text?: string | undefined;
|
|
2814
3697
|
});
|
|
2815
|
-
} | {
|
|
3698
|
+
}) | {
|
|
2816
3699
|
__TYPE__: "StructuredTextContent";
|
|
2817
3700
|
value: (({
|
|
2818
3701
|
type: "image";
|
|
@@ -2842,7 +3725,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
2842
3725
|
linkTo?: ({
|
|
2843
3726
|
__TYPE__: "ImageLink";
|
|
2844
3727
|
} & {
|
|
2845
|
-
kind:
|
|
3728
|
+
kind: "image";
|
|
2846
3729
|
id: string;
|
|
2847
3730
|
url: string;
|
|
2848
3731
|
height: string;
|
|
@@ -2854,7 +3737,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
2854
3737
|
}) | ({
|
|
2855
3738
|
__TYPE__: "FileLink";
|
|
2856
3739
|
} & {
|
|
2857
|
-
kind:
|
|
3740
|
+
kind: "file";
|
|
2858
3741
|
id: string;
|
|
2859
3742
|
url: string;
|
|
2860
3743
|
name: string;
|
|
@@ -2905,7 +3788,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
2905
3788
|
label?: string | null | undefined;
|
|
2906
3789
|
direction?: string | null | undefined;
|
|
2907
3790
|
}) | ({
|
|
2908
|
-
type: "
|
|
3791
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2909
3792
|
content: {
|
|
2910
3793
|
text: string;
|
|
2911
3794
|
} & {
|
|
@@ -2913,7 +3796,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
2913
3796
|
data: ({
|
|
2914
3797
|
__TYPE__: "ImageLink";
|
|
2915
3798
|
} & {
|
|
2916
|
-
kind:
|
|
3799
|
+
kind: "image";
|
|
2917
3800
|
id: string;
|
|
2918
3801
|
url: string;
|
|
2919
3802
|
height: string;
|
|
@@ -2925,7 +3808,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
2925
3808
|
}) | ({
|
|
2926
3809
|
__TYPE__: "FileLink";
|
|
2927
3810
|
} & {
|
|
2928
|
-
kind:
|
|
3811
|
+
kind: "file";
|
|
2929
3812
|
id: string;
|
|
2930
3813
|
url: string;
|
|
2931
3814
|
name: string;
|
|
@@ -2967,6 +3850,79 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
2967
3850
|
}))[];
|
|
2968
3851
|
} | {
|
|
2969
3852
|
__TYPE__: "SeparatorContent";
|
|
3853
|
+
} | {
|
|
3854
|
+
__TYPE__: "RepeatableContent";
|
|
3855
|
+
type: "Link";
|
|
3856
|
+
value: ({
|
|
3857
|
+
key: string;
|
|
3858
|
+
} & {
|
|
3859
|
+
__TYPE__: "LinkContent";
|
|
3860
|
+
value: ({
|
|
3861
|
+
__TYPE__: "ImageLink";
|
|
3862
|
+
} & ((({
|
|
3863
|
+
kind: "image";
|
|
3864
|
+
id: string;
|
|
3865
|
+
url: string;
|
|
3866
|
+
height: string;
|
|
3867
|
+
width: string;
|
|
3868
|
+
size: string;
|
|
3869
|
+
name: string;
|
|
3870
|
+
} & {
|
|
3871
|
+
date?: string | null | undefined;
|
|
3872
|
+
}) | {
|
|
3873
|
+
kind: "image";
|
|
3874
|
+
}) & {
|
|
3875
|
+
text?: string | undefined;
|
|
3876
|
+
})) | ({
|
|
3877
|
+
__TYPE__: "FileLink";
|
|
3878
|
+
} & ((({
|
|
3879
|
+
kind: "file";
|
|
3880
|
+
id: string;
|
|
3881
|
+
url: string;
|
|
3882
|
+
name: string;
|
|
3883
|
+
size: string;
|
|
3884
|
+
} & {
|
|
3885
|
+
date?: string | null | undefined;
|
|
3886
|
+
}) | {
|
|
3887
|
+
kind: "file";
|
|
3888
|
+
}) & {
|
|
3889
|
+
text?: string | undefined;
|
|
3890
|
+
})) | ({
|
|
3891
|
+
__TYPE__: "DocumentLink";
|
|
3892
|
+
} & (({
|
|
3893
|
+
id: string;
|
|
3894
|
+
} | {
|
|
3895
|
+
kind: "document";
|
|
3896
|
+
}) & {
|
|
3897
|
+
text?: string | undefined;
|
|
3898
|
+
})) | ({
|
|
3899
|
+
__TYPE__: "ExternalLink";
|
|
3900
|
+
} & ((({
|
|
3901
|
+
url: string;
|
|
3902
|
+
} & {
|
|
3903
|
+
kind?: "web" | undefined;
|
|
3904
|
+
target?: string | null | undefined;
|
|
3905
|
+
preview?: {
|
|
3906
|
+
title?: string | undefined;
|
|
3907
|
+
} | null | undefined;
|
|
3908
|
+
}) | {
|
|
3909
|
+
kind: "web";
|
|
3910
|
+
}) & {
|
|
3911
|
+
text?: string | undefined;
|
|
3912
|
+
})) | ({
|
|
3913
|
+
__TYPE__: "MediaLink";
|
|
3914
|
+
} & {
|
|
3915
|
+
kind: "media";
|
|
3916
|
+
} & {
|
|
3917
|
+
text?: string | undefined;
|
|
3918
|
+
}) | ({
|
|
3919
|
+
__TYPE__: "AnyLink";
|
|
3920
|
+
} & {
|
|
3921
|
+
kind: "any";
|
|
3922
|
+
} & {
|
|
3923
|
+
text?: string | undefined;
|
|
3924
|
+
});
|
|
3925
|
+
})[];
|
|
2970
3926
|
};
|
|
2971
3927
|
};
|
|
2972
3928
|
repeat: {
|
|
@@ -3083,12 +4039,14 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3083
4039
|
}) | {
|
|
3084
4040
|
__TYPE__: "IntegrationFieldsContent";
|
|
3085
4041
|
value: string;
|
|
3086
|
-
} | {
|
|
4042
|
+
} | ({
|
|
4043
|
+
key: string;
|
|
4044
|
+
} & {
|
|
3087
4045
|
__TYPE__: "LinkContent";
|
|
3088
4046
|
value: ({
|
|
3089
4047
|
__TYPE__: "ImageLink";
|
|
3090
|
-
} & (({
|
|
3091
|
-
kind:
|
|
4048
|
+
} & ((({
|
|
4049
|
+
kind: "image";
|
|
3092
4050
|
id: string;
|
|
3093
4051
|
url: string;
|
|
3094
4052
|
height: string;
|
|
@@ -3097,38 +4055,35 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3097
4055
|
name: string;
|
|
3098
4056
|
} & {
|
|
3099
4057
|
date?: string | null | undefined;
|
|
3100
|
-
} & {
|
|
3101
|
-
text?: string | undefined;
|
|
3102
4058
|
}) | {
|
|
3103
4059
|
kind: "image";
|
|
3104
|
-
|
|
4060
|
+
}) & {
|
|
4061
|
+
text?: string | undefined;
|
|
3105
4062
|
})) | ({
|
|
3106
4063
|
__TYPE__: "FileLink";
|
|
3107
|
-
} & (({
|
|
3108
|
-
kind:
|
|
4064
|
+
} & ((({
|
|
4065
|
+
kind: "file";
|
|
3109
4066
|
id: string;
|
|
3110
4067
|
url: string;
|
|
3111
4068
|
name: string;
|
|
3112
4069
|
size: string;
|
|
3113
4070
|
} & {
|
|
3114
4071
|
date?: string | null | undefined;
|
|
3115
|
-
} & {
|
|
3116
|
-
text?: string | undefined;
|
|
3117
4072
|
}) | {
|
|
3118
4073
|
kind: "file";
|
|
3119
|
-
|
|
4074
|
+
}) & {
|
|
4075
|
+
text?: string | undefined;
|
|
3120
4076
|
})) | ({
|
|
3121
4077
|
__TYPE__: "DocumentLink";
|
|
3122
4078
|
} & (({
|
|
3123
4079
|
id: string;
|
|
3124
|
-
}
|
|
3125
|
-
text?: string | undefined;
|
|
3126
|
-
}) | {
|
|
4080
|
+
} | {
|
|
3127
4081
|
kind: "document";
|
|
3128
|
-
|
|
4082
|
+
}) & {
|
|
4083
|
+
text?: string | undefined;
|
|
3129
4084
|
})) | ({
|
|
3130
4085
|
__TYPE__: "ExternalLink";
|
|
3131
|
-
} & (({
|
|
4086
|
+
} & ((({
|
|
3132
4087
|
url: string;
|
|
3133
4088
|
} & {
|
|
3134
4089
|
kind?: "web" | undefined;
|
|
@@ -3136,22 +4091,24 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3136
4091
|
preview?: {
|
|
3137
4092
|
title?: string | undefined;
|
|
3138
4093
|
} | null | undefined;
|
|
3139
|
-
} & {
|
|
3140
|
-
text?: string | undefined;
|
|
3141
4094
|
}) | {
|
|
3142
4095
|
kind: "web";
|
|
3143
|
-
|
|
4096
|
+
}) & {
|
|
4097
|
+
text?: string | undefined;
|
|
3144
4098
|
})) | ({
|
|
3145
4099
|
__TYPE__: "MediaLink";
|
|
3146
4100
|
} & {
|
|
3147
4101
|
kind: "media";
|
|
3148
|
-
|
|
4102
|
+
} & {
|
|
4103
|
+
text?: string | undefined;
|
|
3149
4104
|
}) | ({
|
|
3150
4105
|
__TYPE__: "AnyLink";
|
|
3151
4106
|
} & {
|
|
3152
|
-
|
|
4107
|
+
kind: "any";
|
|
4108
|
+
} & {
|
|
4109
|
+
text?: string | undefined;
|
|
3153
4110
|
});
|
|
3154
|
-
} | {
|
|
4111
|
+
}) | {
|
|
3155
4112
|
__TYPE__: "StructuredTextContent";
|
|
3156
4113
|
value: (({
|
|
3157
4114
|
type: "image";
|
|
@@ -3181,7 +4138,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3181
4138
|
linkTo?: ({
|
|
3182
4139
|
__TYPE__: "ImageLink";
|
|
3183
4140
|
} & {
|
|
3184
|
-
kind:
|
|
4141
|
+
kind: "image";
|
|
3185
4142
|
id: string;
|
|
3186
4143
|
url: string;
|
|
3187
4144
|
height: string;
|
|
@@ -3193,7 +4150,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3193
4150
|
}) | ({
|
|
3194
4151
|
__TYPE__: "FileLink";
|
|
3195
4152
|
} & {
|
|
3196
|
-
kind:
|
|
4153
|
+
kind: "file";
|
|
3197
4154
|
id: string;
|
|
3198
4155
|
url: string;
|
|
3199
4156
|
name: string;
|
|
@@ -3244,7 +4201,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3244
4201
|
label?: string | null | undefined;
|
|
3245
4202
|
direction?: string | null | undefined;
|
|
3246
4203
|
}) | ({
|
|
3247
|
-
type: "
|
|
4204
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3248
4205
|
content: {
|
|
3249
4206
|
text: string;
|
|
3250
4207
|
} & {
|
|
@@ -3252,7 +4209,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3252
4209
|
data: ({
|
|
3253
4210
|
__TYPE__: "ImageLink";
|
|
3254
4211
|
} & {
|
|
3255
|
-
kind:
|
|
4212
|
+
kind: "image";
|
|
3256
4213
|
id: string;
|
|
3257
4214
|
url: string;
|
|
3258
4215
|
height: string;
|
|
@@ -3264,7 +4221,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3264
4221
|
}) | ({
|
|
3265
4222
|
__TYPE__: "FileLink";
|
|
3266
4223
|
} & {
|
|
3267
|
-
kind:
|
|
4224
|
+
kind: "file";
|
|
3268
4225
|
id: string;
|
|
3269
4226
|
url: string;
|
|
3270
4227
|
name: string;
|
|
@@ -3306,6 +4263,79 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3306
4263
|
}))[];
|
|
3307
4264
|
} | {
|
|
3308
4265
|
__TYPE__: "SeparatorContent";
|
|
4266
|
+
} | {
|
|
4267
|
+
__TYPE__: "RepeatableContent";
|
|
4268
|
+
type: "Link";
|
|
4269
|
+
value: ({
|
|
4270
|
+
key: string;
|
|
4271
|
+
} & {
|
|
4272
|
+
__TYPE__: "LinkContent";
|
|
4273
|
+
value: ({
|
|
4274
|
+
__TYPE__: "ImageLink";
|
|
4275
|
+
} & ((({
|
|
4276
|
+
kind: "image";
|
|
4277
|
+
id: string;
|
|
4278
|
+
url: string;
|
|
4279
|
+
height: string;
|
|
4280
|
+
width: string;
|
|
4281
|
+
size: string;
|
|
4282
|
+
name: string;
|
|
4283
|
+
} & {
|
|
4284
|
+
date?: string | null | undefined;
|
|
4285
|
+
}) | {
|
|
4286
|
+
kind: "image";
|
|
4287
|
+
}) & {
|
|
4288
|
+
text?: string | undefined;
|
|
4289
|
+
})) | ({
|
|
4290
|
+
__TYPE__: "FileLink";
|
|
4291
|
+
} & ((({
|
|
4292
|
+
kind: "file";
|
|
4293
|
+
id: string;
|
|
4294
|
+
url: string;
|
|
4295
|
+
name: string;
|
|
4296
|
+
size: string;
|
|
4297
|
+
} & {
|
|
4298
|
+
date?: string | null | undefined;
|
|
4299
|
+
}) | {
|
|
4300
|
+
kind: "file";
|
|
4301
|
+
}) & {
|
|
4302
|
+
text?: string | undefined;
|
|
4303
|
+
})) | ({
|
|
4304
|
+
__TYPE__: "DocumentLink";
|
|
4305
|
+
} & (({
|
|
4306
|
+
id: string;
|
|
4307
|
+
} | {
|
|
4308
|
+
kind: "document";
|
|
4309
|
+
}) & {
|
|
4310
|
+
text?: string | undefined;
|
|
4311
|
+
})) | ({
|
|
4312
|
+
__TYPE__: "ExternalLink";
|
|
4313
|
+
} & ((({
|
|
4314
|
+
url: string;
|
|
4315
|
+
} & {
|
|
4316
|
+
kind?: "web" | undefined;
|
|
4317
|
+
target?: string | null | undefined;
|
|
4318
|
+
preview?: {
|
|
4319
|
+
title?: string | undefined;
|
|
4320
|
+
} | null | undefined;
|
|
4321
|
+
}) | {
|
|
4322
|
+
kind: "web";
|
|
4323
|
+
}) & {
|
|
4324
|
+
text?: string | undefined;
|
|
4325
|
+
})) | ({
|
|
4326
|
+
__TYPE__: "MediaLink";
|
|
4327
|
+
} & {
|
|
4328
|
+
kind: "media";
|
|
4329
|
+
} & {
|
|
4330
|
+
text?: string | undefined;
|
|
4331
|
+
}) | ({
|
|
4332
|
+
__TYPE__: "AnyLink";
|
|
4333
|
+
} & {
|
|
4334
|
+
kind: "any";
|
|
4335
|
+
} & {
|
|
4336
|
+
text?: string | undefined;
|
|
4337
|
+
});
|
|
4338
|
+
})[];
|
|
3309
4339
|
}][];
|
|
3310
4340
|
}[];
|
|
3311
4341
|
} | {
|
|
@@ -3424,12 +4454,14 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3424
4454
|
}) | {
|
|
3425
4455
|
__TYPE__: "IntegrationFieldsContent";
|
|
3426
4456
|
value: string;
|
|
3427
|
-
} | {
|
|
4457
|
+
} | ({
|
|
4458
|
+
key: string;
|
|
4459
|
+
} & {
|
|
3428
4460
|
__TYPE__: "LinkContent";
|
|
3429
4461
|
value: ({
|
|
3430
4462
|
__TYPE__: "ImageLink";
|
|
3431
|
-
} & (({
|
|
3432
|
-
kind:
|
|
4463
|
+
} & ((({
|
|
4464
|
+
kind: "image";
|
|
3433
4465
|
id: string;
|
|
3434
4466
|
url: string;
|
|
3435
4467
|
height: string;
|
|
@@ -3438,38 +4470,35 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3438
4470
|
name: string;
|
|
3439
4471
|
} & {
|
|
3440
4472
|
date?: string | null | undefined;
|
|
3441
|
-
} & {
|
|
3442
|
-
text?: string | undefined;
|
|
3443
4473
|
}) | {
|
|
3444
4474
|
kind: "image";
|
|
3445
|
-
|
|
4475
|
+
}) & {
|
|
4476
|
+
text?: string | undefined;
|
|
3446
4477
|
})) | ({
|
|
3447
4478
|
__TYPE__: "FileLink";
|
|
3448
|
-
} & (({
|
|
3449
|
-
kind:
|
|
4479
|
+
} & ((({
|
|
4480
|
+
kind: "file";
|
|
3450
4481
|
id: string;
|
|
3451
4482
|
url: string;
|
|
3452
4483
|
name: string;
|
|
3453
4484
|
size: string;
|
|
3454
4485
|
} & {
|
|
3455
4486
|
date?: string | null | undefined;
|
|
3456
|
-
} & {
|
|
3457
|
-
text?: string | undefined;
|
|
3458
4487
|
}) | {
|
|
3459
4488
|
kind: "file";
|
|
3460
|
-
|
|
4489
|
+
}) & {
|
|
4490
|
+
text?: string | undefined;
|
|
3461
4491
|
})) | ({
|
|
3462
4492
|
__TYPE__: "DocumentLink";
|
|
3463
4493
|
} & (({
|
|
3464
4494
|
id: string;
|
|
3465
|
-
}
|
|
3466
|
-
text?: string | undefined;
|
|
3467
|
-
}) | {
|
|
4495
|
+
} | {
|
|
3468
4496
|
kind: "document";
|
|
3469
|
-
|
|
4497
|
+
}) & {
|
|
4498
|
+
text?: string | undefined;
|
|
3470
4499
|
})) | ({
|
|
3471
4500
|
__TYPE__: "ExternalLink";
|
|
3472
|
-
} & (({
|
|
4501
|
+
} & ((({
|
|
3473
4502
|
url: string;
|
|
3474
4503
|
} & {
|
|
3475
4504
|
kind?: "web" | undefined;
|
|
@@ -3477,22 +4506,24 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3477
4506
|
preview?: {
|
|
3478
4507
|
title?: string | undefined;
|
|
3479
4508
|
} | null | undefined;
|
|
3480
|
-
} & {
|
|
3481
|
-
text?: string | undefined;
|
|
3482
4509
|
}) | {
|
|
3483
4510
|
kind: "web";
|
|
3484
|
-
|
|
4511
|
+
}) & {
|
|
4512
|
+
text?: string | undefined;
|
|
3485
4513
|
})) | ({
|
|
3486
4514
|
__TYPE__: "MediaLink";
|
|
3487
4515
|
} & {
|
|
3488
4516
|
kind: "media";
|
|
3489
|
-
|
|
4517
|
+
} & {
|
|
4518
|
+
text?: string | undefined;
|
|
3490
4519
|
}) | ({
|
|
3491
4520
|
__TYPE__: "AnyLink";
|
|
3492
4521
|
} & {
|
|
3493
|
-
|
|
4522
|
+
kind: "any";
|
|
4523
|
+
} & {
|
|
4524
|
+
text?: string | undefined;
|
|
3494
4525
|
});
|
|
3495
|
-
} | {
|
|
4526
|
+
}) | {
|
|
3496
4527
|
__TYPE__: "StructuredTextContent";
|
|
3497
4528
|
value: (({
|
|
3498
4529
|
type: "image";
|
|
@@ -3522,7 +4553,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3522
4553
|
linkTo?: ({
|
|
3523
4554
|
__TYPE__: "ImageLink";
|
|
3524
4555
|
} & {
|
|
3525
|
-
kind:
|
|
4556
|
+
kind: "image";
|
|
3526
4557
|
id: string;
|
|
3527
4558
|
url: string;
|
|
3528
4559
|
height: string;
|
|
@@ -3534,7 +4565,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3534
4565
|
}) | ({
|
|
3535
4566
|
__TYPE__: "FileLink";
|
|
3536
4567
|
} & {
|
|
3537
|
-
kind:
|
|
4568
|
+
kind: "file";
|
|
3538
4569
|
id: string;
|
|
3539
4570
|
url: string;
|
|
3540
4571
|
name: string;
|
|
@@ -3585,7 +4616,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3585
4616
|
label?: string | null | undefined;
|
|
3586
4617
|
direction?: string | null | undefined;
|
|
3587
4618
|
}) | ({
|
|
3588
|
-
type: "
|
|
4619
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3589
4620
|
content: {
|
|
3590
4621
|
text: string;
|
|
3591
4622
|
} & {
|
|
@@ -3593,7 +4624,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3593
4624
|
data: ({
|
|
3594
4625
|
__TYPE__: "ImageLink";
|
|
3595
4626
|
} & {
|
|
3596
|
-
kind:
|
|
4627
|
+
kind: "image";
|
|
3597
4628
|
id: string;
|
|
3598
4629
|
url: string;
|
|
3599
4630
|
height: string;
|
|
@@ -3605,7 +4636,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3605
4636
|
}) | ({
|
|
3606
4637
|
__TYPE__: "FileLink";
|
|
3607
4638
|
} & {
|
|
3608
|
-
kind:
|
|
4639
|
+
kind: "file";
|
|
3609
4640
|
id: string;
|
|
3610
4641
|
url: string;
|
|
3611
4642
|
name: string;
|
|
@@ -3647,6 +4678,79 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3647
4678
|
}))[];
|
|
3648
4679
|
} | {
|
|
3649
4680
|
__TYPE__: "SeparatorContent";
|
|
4681
|
+
} | {
|
|
4682
|
+
__TYPE__: "RepeatableContent";
|
|
4683
|
+
type: "Link";
|
|
4684
|
+
value: ({
|
|
4685
|
+
key: string;
|
|
4686
|
+
} & {
|
|
4687
|
+
__TYPE__: "LinkContent";
|
|
4688
|
+
value: ({
|
|
4689
|
+
__TYPE__: "ImageLink";
|
|
4690
|
+
} & ((({
|
|
4691
|
+
kind: "image";
|
|
4692
|
+
id: string;
|
|
4693
|
+
url: string;
|
|
4694
|
+
height: string;
|
|
4695
|
+
width: string;
|
|
4696
|
+
size: string;
|
|
4697
|
+
name: string;
|
|
4698
|
+
} & {
|
|
4699
|
+
date?: string | null | undefined;
|
|
4700
|
+
}) | {
|
|
4701
|
+
kind: "image";
|
|
4702
|
+
}) & {
|
|
4703
|
+
text?: string | undefined;
|
|
4704
|
+
})) | ({
|
|
4705
|
+
__TYPE__: "FileLink";
|
|
4706
|
+
} & ((({
|
|
4707
|
+
kind: "file";
|
|
4708
|
+
id: string;
|
|
4709
|
+
url: string;
|
|
4710
|
+
name: string;
|
|
4711
|
+
size: string;
|
|
4712
|
+
} & {
|
|
4713
|
+
date?: string | null | undefined;
|
|
4714
|
+
}) | {
|
|
4715
|
+
kind: "file";
|
|
4716
|
+
}) & {
|
|
4717
|
+
text?: string | undefined;
|
|
4718
|
+
})) | ({
|
|
4719
|
+
__TYPE__: "DocumentLink";
|
|
4720
|
+
} & (({
|
|
4721
|
+
id: string;
|
|
4722
|
+
} | {
|
|
4723
|
+
kind: "document";
|
|
4724
|
+
}) & {
|
|
4725
|
+
text?: string | undefined;
|
|
4726
|
+
})) | ({
|
|
4727
|
+
__TYPE__: "ExternalLink";
|
|
4728
|
+
} & ((({
|
|
4729
|
+
url: string;
|
|
4730
|
+
} & {
|
|
4731
|
+
kind?: "web" | undefined;
|
|
4732
|
+
target?: string | null | undefined;
|
|
4733
|
+
preview?: {
|
|
4734
|
+
title?: string | undefined;
|
|
4735
|
+
} | null | undefined;
|
|
4736
|
+
}) | {
|
|
4737
|
+
kind: "web";
|
|
4738
|
+
}) & {
|
|
4739
|
+
text?: string | undefined;
|
|
4740
|
+
})) | ({
|
|
4741
|
+
__TYPE__: "MediaLink";
|
|
4742
|
+
} & {
|
|
4743
|
+
kind: "media";
|
|
4744
|
+
} & {
|
|
4745
|
+
text?: string | undefined;
|
|
4746
|
+
}) | ({
|
|
4747
|
+
__TYPE__: "AnyLink";
|
|
4748
|
+
} & {
|
|
4749
|
+
kind: "any";
|
|
4750
|
+
} & {
|
|
4751
|
+
text?: string | undefined;
|
|
4752
|
+
});
|
|
4753
|
+
})[];
|
|
3650
4754
|
};
|
|
3651
4755
|
};
|
|
3652
4756
|
items: {
|
|
@@ -3763,12 +4867,14 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3763
4867
|
}) | {
|
|
3764
4868
|
__TYPE__: "IntegrationFieldsContent";
|
|
3765
4869
|
value: string;
|
|
3766
|
-
} | {
|
|
4870
|
+
} | ({
|
|
4871
|
+
key: string;
|
|
4872
|
+
} & {
|
|
3767
4873
|
__TYPE__: "LinkContent";
|
|
3768
4874
|
value: ({
|
|
3769
4875
|
__TYPE__: "ImageLink";
|
|
3770
|
-
} & (({
|
|
3771
|
-
kind:
|
|
4876
|
+
} & ((({
|
|
4877
|
+
kind: "image";
|
|
3772
4878
|
id: string;
|
|
3773
4879
|
url: string;
|
|
3774
4880
|
height: string;
|
|
@@ -3777,38 +4883,35 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3777
4883
|
name: string;
|
|
3778
4884
|
} & {
|
|
3779
4885
|
date?: string | null | undefined;
|
|
3780
|
-
} & {
|
|
3781
|
-
text?: string | undefined;
|
|
3782
4886
|
}) | {
|
|
3783
4887
|
kind: "image";
|
|
3784
|
-
|
|
4888
|
+
}) & {
|
|
4889
|
+
text?: string | undefined;
|
|
3785
4890
|
})) | ({
|
|
3786
4891
|
__TYPE__: "FileLink";
|
|
3787
|
-
} & (({
|
|
3788
|
-
kind:
|
|
4892
|
+
} & ((({
|
|
4893
|
+
kind: "file";
|
|
3789
4894
|
id: string;
|
|
3790
4895
|
url: string;
|
|
3791
4896
|
name: string;
|
|
3792
4897
|
size: string;
|
|
3793
4898
|
} & {
|
|
3794
4899
|
date?: string | null | undefined;
|
|
3795
|
-
} & {
|
|
3796
|
-
text?: string | undefined;
|
|
3797
4900
|
}) | {
|
|
3798
4901
|
kind: "file";
|
|
3799
|
-
|
|
4902
|
+
}) & {
|
|
4903
|
+
text?: string | undefined;
|
|
3800
4904
|
})) | ({
|
|
3801
4905
|
__TYPE__: "DocumentLink";
|
|
3802
4906
|
} & (({
|
|
3803
4907
|
id: string;
|
|
3804
|
-
}
|
|
3805
|
-
text?: string | undefined;
|
|
3806
|
-
}) | {
|
|
4908
|
+
} | {
|
|
3807
4909
|
kind: "document";
|
|
3808
|
-
|
|
4910
|
+
}) & {
|
|
4911
|
+
text?: string | undefined;
|
|
3809
4912
|
})) | ({
|
|
3810
4913
|
__TYPE__: "ExternalLink";
|
|
3811
|
-
} & (({
|
|
4914
|
+
} & ((({
|
|
3812
4915
|
url: string;
|
|
3813
4916
|
} & {
|
|
3814
4917
|
kind?: "web" | undefined;
|
|
@@ -3816,22 +4919,24 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3816
4919
|
preview?: {
|
|
3817
4920
|
title?: string | undefined;
|
|
3818
4921
|
} | null | undefined;
|
|
3819
|
-
} & {
|
|
3820
|
-
text?: string | undefined;
|
|
3821
4922
|
}) | {
|
|
3822
4923
|
kind: "web";
|
|
3823
|
-
|
|
4924
|
+
}) & {
|
|
4925
|
+
text?: string | undefined;
|
|
3824
4926
|
})) | ({
|
|
3825
4927
|
__TYPE__: "MediaLink";
|
|
3826
4928
|
} & {
|
|
3827
4929
|
kind: "media";
|
|
3828
|
-
|
|
4930
|
+
} & {
|
|
4931
|
+
text?: string | undefined;
|
|
3829
4932
|
}) | ({
|
|
3830
4933
|
__TYPE__: "AnyLink";
|
|
3831
4934
|
} & {
|
|
3832
|
-
|
|
4935
|
+
kind: "any";
|
|
4936
|
+
} & {
|
|
4937
|
+
text?: string | undefined;
|
|
3833
4938
|
});
|
|
3834
|
-
} | {
|
|
4939
|
+
}) | {
|
|
3835
4940
|
__TYPE__: "StructuredTextContent";
|
|
3836
4941
|
value: (({
|
|
3837
4942
|
type: "image";
|
|
@@ -3861,7 +4966,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3861
4966
|
linkTo?: ({
|
|
3862
4967
|
__TYPE__: "ImageLink";
|
|
3863
4968
|
} & {
|
|
3864
|
-
kind:
|
|
4969
|
+
kind: "image";
|
|
3865
4970
|
id: string;
|
|
3866
4971
|
url: string;
|
|
3867
4972
|
height: string;
|
|
@@ -3873,7 +4978,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3873
4978
|
}) | ({
|
|
3874
4979
|
__TYPE__: "FileLink";
|
|
3875
4980
|
} & {
|
|
3876
|
-
kind:
|
|
4981
|
+
kind: "file";
|
|
3877
4982
|
id: string;
|
|
3878
4983
|
url: string;
|
|
3879
4984
|
name: string;
|
|
@@ -3924,7 +5029,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3924
5029
|
label?: string | null | undefined;
|
|
3925
5030
|
direction?: string | null | undefined;
|
|
3926
5031
|
}) | ({
|
|
3927
|
-
type: "
|
|
5032
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3928
5033
|
content: {
|
|
3929
5034
|
text: string;
|
|
3930
5035
|
} & {
|
|
@@ -3932,7 +5037,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3932
5037
|
data: ({
|
|
3933
5038
|
__TYPE__: "ImageLink";
|
|
3934
5039
|
} & {
|
|
3935
|
-
kind:
|
|
5040
|
+
kind: "image";
|
|
3936
5041
|
id: string;
|
|
3937
5042
|
url: string;
|
|
3938
5043
|
height: string;
|
|
@@ -3944,7 +5049,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3944
5049
|
}) | ({
|
|
3945
5050
|
__TYPE__: "FileLink";
|
|
3946
5051
|
} & {
|
|
3947
|
-
kind:
|
|
5052
|
+
kind: "file";
|
|
3948
5053
|
id: string;
|
|
3949
5054
|
url: string;
|
|
3950
5055
|
name: string;
|
|
@@ -3986,6 +5091,79 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3986
5091
|
}))[];
|
|
3987
5092
|
} | {
|
|
3988
5093
|
__TYPE__: "SeparatorContent";
|
|
5094
|
+
} | {
|
|
5095
|
+
__TYPE__: "RepeatableContent";
|
|
5096
|
+
type: "Link";
|
|
5097
|
+
value: ({
|
|
5098
|
+
key: string;
|
|
5099
|
+
} & {
|
|
5100
|
+
__TYPE__: "LinkContent";
|
|
5101
|
+
value: ({
|
|
5102
|
+
__TYPE__: "ImageLink";
|
|
5103
|
+
} & ((({
|
|
5104
|
+
kind: "image";
|
|
5105
|
+
id: string;
|
|
5106
|
+
url: string;
|
|
5107
|
+
height: string;
|
|
5108
|
+
width: string;
|
|
5109
|
+
size: string;
|
|
5110
|
+
name: string;
|
|
5111
|
+
} & {
|
|
5112
|
+
date?: string | null | undefined;
|
|
5113
|
+
}) | {
|
|
5114
|
+
kind: "image";
|
|
5115
|
+
}) & {
|
|
5116
|
+
text?: string | undefined;
|
|
5117
|
+
})) | ({
|
|
5118
|
+
__TYPE__: "FileLink";
|
|
5119
|
+
} & ((({
|
|
5120
|
+
kind: "file";
|
|
5121
|
+
id: string;
|
|
5122
|
+
url: string;
|
|
5123
|
+
name: string;
|
|
5124
|
+
size: string;
|
|
5125
|
+
} & {
|
|
5126
|
+
date?: string | null | undefined;
|
|
5127
|
+
}) | {
|
|
5128
|
+
kind: "file";
|
|
5129
|
+
}) & {
|
|
5130
|
+
text?: string | undefined;
|
|
5131
|
+
})) | ({
|
|
5132
|
+
__TYPE__: "DocumentLink";
|
|
5133
|
+
} & (({
|
|
5134
|
+
id: string;
|
|
5135
|
+
} | {
|
|
5136
|
+
kind: "document";
|
|
5137
|
+
}) & {
|
|
5138
|
+
text?: string | undefined;
|
|
5139
|
+
})) | ({
|
|
5140
|
+
__TYPE__: "ExternalLink";
|
|
5141
|
+
} & ((({
|
|
5142
|
+
url: string;
|
|
5143
|
+
} & {
|
|
5144
|
+
kind?: "web" | undefined;
|
|
5145
|
+
target?: string | null | undefined;
|
|
5146
|
+
preview?: {
|
|
5147
|
+
title?: string | undefined;
|
|
5148
|
+
} | null | undefined;
|
|
5149
|
+
}) | {
|
|
5150
|
+
kind: "web";
|
|
5151
|
+
}) & {
|
|
5152
|
+
text?: string | undefined;
|
|
5153
|
+
})) | ({
|
|
5154
|
+
__TYPE__: "MediaLink";
|
|
5155
|
+
} & {
|
|
5156
|
+
kind: "media";
|
|
5157
|
+
} & {
|
|
5158
|
+
text?: string | undefined;
|
|
5159
|
+
}) | ({
|
|
5160
|
+
__TYPE__: "AnyLink";
|
|
5161
|
+
} & {
|
|
5162
|
+
kind: "any";
|
|
5163
|
+
} & {
|
|
5164
|
+
text?: string | undefined;
|
|
5165
|
+
});
|
|
5166
|
+
})[];
|
|
3989
5167
|
}][];
|
|
3990
5168
|
}[];
|
|
3991
5169
|
} | {
|
|
@@ -4100,12 +5278,14 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4100
5278
|
}) | {
|
|
4101
5279
|
__TYPE__: "IntegrationFieldsContent";
|
|
4102
5280
|
value: string;
|
|
4103
|
-
} | {
|
|
5281
|
+
} | ({
|
|
5282
|
+
key: string;
|
|
5283
|
+
} & {
|
|
4104
5284
|
__TYPE__: "LinkContent";
|
|
4105
5285
|
value: ({
|
|
4106
5286
|
__TYPE__: "ImageLink";
|
|
4107
|
-
} & (({
|
|
4108
|
-
kind:
|
|
5287
|
+
} & ((({
|
|
5288
|
+
kind: "image";
|
|
4109
5289
|
id: string;
|
|
4110
5290
|
url: string;
|
|
4111
5291
|
height: string;
|
|
@@ -4114,38 +5294,35 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4114
5294
|
name: string;
|
|
4115
5295
|
} & {
|
|
4116
5296
|
date?: string | null | undefined;
|
|
4117
|
-
} & {
|
|
4118
|
-
text?: string | undefined;
|
|
4119
5297
|
}) | {
|
|
4120
5298
|
kind: "image";
|
|
4121
|
-
|
|
5299
|
+
}) & {
|
|
5300
|
+
text?: string | undefined;
|
|
4122
5301
|
})) | ({
|
|
4123
5302
|
__TYPE__: "FileLink";
|
|
4124
|
-
} & (({
|
|
4125
|
-
kind:
|
|
5303
|
+
} & ((({
|
|
5304
|
+
kind: "file";
|
|
4126
5305
|
id: string;
|
|
4127
5306
|
url: string;
|
|
4128
5307
|
name: string;
|
|
4129
5308
|
size: string;
|
|
4130
5309
|
} & {
|
|
4131
5310
|
date?: string | null | undefined;
|
|
4132
|
-
} & {
|
|
4133
|
-
text?: string | undefined;
|
|
4134
5311
|
}) | {
|
|
4135
5312
|
kind: "file";
|
|
4136
|
-
|
|
5313
|
+
}) & {
|
|
5314
|
+
text?: string | undefined;
|
|
4137
5315
|
})) | ({
|
|
4138
5316
|
__TYPE__: "DocumentLink";
|
|
4139
5317
|
} & (({
|
|
4140
5318
|
id: string;
|
|
4141
|
-
}
|
|
4142
|
-
text?: string | undefined;
|
|
4143
|
-
}) | {
|
|
5319
|
+
} | {
|
|
4144
5320
|
kind: "document";
|
|
4145
|
-
|
|
5321
|
+
}) & {
|
|
5322
|
+
text?: string | undefined;
|
|
4146
5323
|
})) | ({
|
|
4147
5324
|
__TYPE__: "ExternalLink";
|
|
4148
|
-
} & (({
|
|
5325
|
+
} & ((({
|
|
4149
5326
|
url: string;
|
|
4150
5327
|
} & {
|
|
4151
5328
|
kind?: "web" | undefined;
|
|
@@ -4153,22 +5330,24 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4153
5330
|
preview?: {
|
|
4154
5331
|
title?: string | undefined;
|
|
4155
5332
|
} | null | undefined;
|
|
4156
|
-
} & {
|
|
4157
|
-
text?: string | undefined;
|
|
4158
5333
|
}) | {
|
|
4159
5334
|
kind: "web";
|
|
4160
|
-
|
|
5335
|
+
}) & {
|
|
5336
|
+
text?: string | undefined;
|
|
4161
5337
|
})) | ({
|
|
4162
5338
|
__TYPE__: "MediaLink";
|
|
4163
5339
|
} & {
|
|
4164
5340
|
kind: "media";
|
|
4165
|
-
|
|
5341
|
+
} & {
|
|
5342
|
+
text?: string | undefined;
|
|
4166
5343
|
}) | ({
|
|
4167
5344
|
__TYPE__: "AnyLink";
|
|
4168
5345
|
} & {
|
|
4169
|
-
|
|
5346
|
+
kind: "any";
|
|
5347
|
+
} & {
|
|
5348
|
+
text?: string | undefined;
|
|
4170
5349
|
});
|
|
4171
|
-
} | {
|
|
5350
|
+
}) | {
|
|
4172
5351
|
__TYPE__: "StructuredTextContent";
|
|
4173
5352
|
value: (({
|
|
4174
5353
|
type: "image";
|
|
@@ -4198,7 +5377,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4198
5377
|
linkTo?: ({
|
|
4199
5378
|
__TYPE__: "ImageLink";
|
|
4200
5379
|
} & {
|
|
4201
|
-
kind:
|
|
5380
|
+
kind: "image";
|
|
4202
5381
|
id: string;
|
|
4203
5382
|
url: string;
|
|
4204
5383
|
height: string;
|
|
@@ -4210,7 +5389,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4210
5389
|
}) | ({
|
|
4211
5390
|
__TYPE__: "FileLink";
|
|
4212
5391
|
} & {
|
|
4213
|
-
kind:
|
|
5392
|
+
kind: "file";
|
|
4214
5393
|
id: string;
|
|
4215
5394
|
url: string;
|
|
4216
5395
|
name: string;
|
|
@@ -4261,7 +5440,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4261
5440
|
label?: string | null | undefined;
|
|
4262
5441
|
direction?: string | null | undefined;
|
|
4263
5442
|
}) | ({
|
|
4264
|
-
type: "
|
|
5443
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4265
5444
|
content: {
|
|
4266
5445
|
text: string;
|
|
4267
5446
|
} & {
|
|
@@ -4269,7 +5448,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4269
5448
|
data: ({
|
|
4270
5449
|
__TYPE__: "ImageLink";
|
|
4271
5450
|
} & {
|
|
4272
|
-
kind:
|
|
5451
|
+
kind: "image";
|
|
4273
5452
|
id: string;
|
|
4274
5453
|
url: string;
|
|
4275
5454
|
height: string;
|
|
@@ -4281,7 +5460,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4281
5460
|
}) | ({
|
|
4282
5461
|
__TYPE__: "FileLink";
|
|
4283
5462
|
} & {
|
|
4284
|
-
kind:
|
|
5463
|
+
kind: "file";
|
|
4285
5464
|
id: string;
|
|
4286
5465
|
url: string;
|
|
4287
5466
|
name: string;
|
|
@@ -4323,6 +5502,79 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4323
5502
|
}))[];
|
|
4324
5503
|
} | {
|
|
4325
5504
|
__TYPE__: "SeparatorContent";
|
|
5505
|
+
} | {
|
|
5506
|
+
__TYPE__: "RepeatableContent";
|
|
5507
|
+
type: "Link";
|
|
5508
|
+
value: ({
|
|
5509
|
+
key: string;
|
|
5510
|
+
} & {
|
|
5511
|
+
__TYPE__: "LinkContent";
|
|
5512
|
+
value: ({
|
|
5513
|
+
__TYPE__: "ImageLink";
|
|
5514
|
+
} & ((({
|
|
5515
|
+
kind: "image";
|
|
5516
|
+
id: string;
|
|
5517
|
+
url: string;
|
|
5518
|
+
height: string;
|
|
5519
|
+
width: string;
|
|
5520
|
+
size: string;
|
|
5521
|
+
name: string;
|
|
5522
|
+
} & {
|
|
5523
|
+
date?: string | null | undefined;
|
|
5524
|
+
}) | {
|
|
5525
|
+
kind: "image";
|
|
5526
|
+
}) & {
|
|
5527
|
+
text?: string | undefined;
|
|
5528
|
+
})) | ({
|
|
5529
|
+
__TYPE__: "FileLink";
|
|
5530
|
+
} & ((({
|
|
5531
|
+
kind: "file";
|
|
5532
|
+
id: string;
|
|
5533
|
+
url: string;
|
|
5534
|
+
name: string;
|
|
5535
|
+
size: string;
|
|
5536
|
+
} & {
|
|
5537
|
+
date?: string | null | undefined;
|
|
5538
|
+
}) | {
|
|
5539
|
+
kind: "file";
|
|
5540
|
+
}) & {
|
|
5541
|
+
text?: string | undefined;
|
|
5542
|
+
})) | ({
|
|
5543
|
+
__TYPE__: "DocumentLink";
|
|
5544
|
+
} & (({
|
|
5545
|
+
id: string;
|
|
5546
|
+
} | {
|
|
5547
|
+
kind: "document";
|
|
5548
|
+
}) & {
|
|
5549
|
+
text?: string | undefined;
|
|
5550
|
+
})) | ({
|
|
5551
|
+
__TYPE__: "ExternalLink";
|
|
5552
|
+
} & ((({
|
|
5553
|
+
url: string;
|
|
5554
|
+
} & {
|
|
5555
|
+
kind?: "web" | undefined;
|
|
5556
|
+
target?: string | null | undefined;
|
|
5557
|
+
preview?: {
|
|
5558
|
+
title?: string | undefined;
|
|
5559
|
+
} | null | undefined;
|
|
5560
|
+
}) | {
|
|
5561
|
+
kind: "web";
|
|
5562
|
+
}) & {
|
|
5563
|
+
text?: string | undefined;
|
|
5564
|
+
})) | ({
|
|
5565
|
+
__TYPE__: "MediaLink";
|
|
5566
|
+
} & {
|
|
5567
|
+
kind: "media";
|
|
5568
|
+
} & {
|
|
5569
|
+
text?: string | undefined;
|
|
5570
|
+
}) | ({
|
|
5571
|
+
__TYPE__: "AnyLink";
|
|
5572
|
+
} & {
|
|
5573
|
+
kind: "any";
|
|
5574
|
+
} & {
|
|
5575
|
+
text?: string | undefined;
|
|
5576
|
+
});
|
|
5577
|
+
})[];
|
|
4326
5578
|
};
|
|
4327
5579
|
}, unknown>;
|
|
4328
5580
|
export declare const documentKeys: {
|