@prismicio/editor-fields 0.4.53 → 0.4.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +18 -18
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +2 -2
- package/dist/core/service/customType.d.ts +6 -6
- package/dist/core/service/document.d.ts +29 -29
- package/dist/core/service/repository.d.ts +1 -1
- package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
- package/dist/fields/LinkField/Documents/documentsData.d.ts +4 -4
- package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
- package/dist/index.cjs.js +3 -3
- package/dist/index.es.js +13 -13
- package/package.json +4 -4
|
@@ -55,6 +55,8 @@ export declare const mediaAssetType: z.ZodObject<{
|
|
|
55
55
|
}>, "many">;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
id: string;
|
|
58
|
+
url: string;
|
|
59
|
+
size: number;
|
|
58
60
|
tags: {
|
|
59
61
|
id: string;
|
|
60
62
|
name: string;
|
|
@@ -63,8 +65,6 @@ export declare const mediaAssetType: z.ZodObject<{
|
|
|
63
65
|
count: number;
|
|
64
66
|
uploader_id?: string | undefined;
|
|
65
67
|
}[];
|
|
66
|
-
url: string;
|
|
67
|
-
size: number;
|
|
68
68
|
last_modified: number;
|
|
69
69
|
kind: string;
|
|
70
70
|
filename: string;
|
|
@@ -83,6 +83,8 @@ export declare const mediaAssetType: z.ZodObject<{
|
|
|
83
83
|
} | undefined;
|
|
84
84
|
}, {
|
|
85
85
|
id: string;
|
|
86
|
+
url: string;
|
|
87
|
+
size: number;
|
|
86
88
|
tags: {
|
|
87
89
|
id: string;
|
|
88
90
|
name: string;
|
|
@@ -91,8 +93,6 @@ export declare const mediaAssetType: z.ZodObject<{
|
|
|
91
93
|
uploader_id?: string | undefined;
|
|
92
94
|
count?: number | undefined;
|
|
93
95
|
}[];
|
|
94
|
-
url: string;
|
|
95
|
-
size: number;
|
|
96
96
|
last_modified: number;
|
|
97
97
|
kind: string;
|
|
98
98
|
filename: string;
|
|
@@ -170,6 +170,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
170
170
|
}>, "many">;
|
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
|
172
172
|
id: string;
|
|
173
|
+
url: string;
|
|
174
|
+
size: number;
|
|
173
175
|
tags: {
|
|
174
176
|
id: string;
|
|
175
177
|
name: string;
|
|
@@ -178,8 +180,6 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
178
180
|
count: number;
|
|
179
181
|
uploader_id?: string | undefined;
|
|
180
182
|
}[];
|
|
181
|
-
url: string;
|
|
182
|
-
size: number;
|
|
183
183
|
last_modified: number;
|
|
184
184
|
kind: string;
|
|
185
185
|
filename: string;
|
|
@@ -198,6 +198,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
198
198
|
} | undefined;
|
|
199
199
|
}, {
|
|
200
200
|
id: string;
|
|
201
|
+
url: string;
|
|
202
|
+
size: number;
|
|
201
203
|
tags: {
|
|
202
204
|
id: string;
|
|
203
205
|
name: string;
|
|
@@ -206,8 +208,6 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
206
208
|
uploader_id?: string | undefined;
|
|
207
209
|
count?: number | undefined;
|
|
208
210
|
}[];
|
|
209
|
-
url: string;
|
|
210
|
-
size: number;
|
|
211
211
|
last_modified: number;
|
|
212
212
|
kind: string;
|
|
213
213
|
filename: string;
|
|
@@ -229,6 +229,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
229
229
|
total: number;
|
|
230
230
|
items: {
|
|
231
231
|
id: string;
|
|
232
|
+
url: string;
|
|
233
|
+
size: number;
|
|
232
234
|
tags: {
|
|
233
235
|
id: string;
|
|
234
236
|
name: string;
|
|
@@ -237,8 +239,6 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
237
239
|
count: number;
|
|
238
240
|
uploader_id?: string | undefined;
|
|
239
241
|
}[];
|
|
240
|
-
url: string;
|
|
241
|
-
size: number;
|
|
242
242
|
last_modified: number;
|
|
243
243
|
kind: string;
|
|
244
244
|
filename: string;
|
|
@@ -261,6 +261,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
261
261
|
total: number;
|
|
262
262
|
items: {
|
|
263
263
|
id: string;
|
|
264
|
+
url: string;
|
|
265
|
+
size: number;
|
|
264
266
|
tags: {
|
|
265
267
|
id: string;
|
|
266
268
|
name: string;
|
|
@@ -269,8 +271,6 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
269
271
|
uploader_id?: string | undefined;
|
|
270
272
|
count?: number | undefined;
|
|
271
273
|
}[];
|
|
272
|
-
url: string;
|
|
273
|
-
size: number;
|
|
274
274
|
last_modified: number;
|
|
275
275
|
kind: string;
|
|
276
276
|
filename: string;
|
|
@@ -309,6 +309,8 @@ export declare function searchMedia(baseUrl: URL | undefined, repository: string
|
|
|
309
309
|
total: number;
|
|
310
310
|
items: {
|
|
311
311
|
id: string;
|
|
312
|
+
url: string;
|
|
313
|
+
size: number;
|
|
312
314
|
tags: {
|
|
313
315
|
id: string;
|
|
314
316
|
name: string;
|
|
@@ -317,8 +319,6 @@ export declare function searchMedia(baseUrl: URL | undefined, repository: string
|
|
|
317
319
|
count: number;
|
|
318
320
|
uploader_id?: string | undefined;
|
|
319
321
|
}[];
|
|
320
|
-
url: string;
|
|
321
|
-
size: number;
|
|
322
322
|
last_modified: number;
|
|
323
323
|
kind: string;
|
|
324
324
|
filename: string;
|
|
@@ -358,6 +358,8 @@ export declare function useMediaSearch(args: UseMediaLibrarySearchArgs): {
|
|
|
358
358
|
resetFilters: () => void;
|
|
359
359
|
media: {
|
|
360
360
|
id: string;
|
|
361
|
+
url: string;
|
|
362
|
+
size: number;
|
|
361
363
|
tags: {
|
|
362
364
|
id: string;
|
|
363
365
|
name: string;
|
|
@@ -366,8 +368,6 @@ export declare function useMediaSearch(args: UseMediaLibrarySearchArgs): {
|
|
|
366
368
|
count: number;
|
|
367
369
|
uploader_id?: string | undefined;
|
|
368
370
|
}[];
|
|
369
|
-
url: string;
|
|
370
|
-
size: number;
|
|
371
371
|
last_modified: number;
|
|
372
372
|
kind: string;
|
|
373
373
|
filename: string;
|
|
@@ -408,6 +408,8 @@ declare function deleteSearchData(args: MediaLibraryFilters): void;
|
|
|
408
408
|
type MediaPage = Awaited<ReturnType<typeof searchMedia>>;
|
|
409
409
|
export declare function getMedia(allPages: MediaPage[], keyword: string, assetType: MediaAssetType, uploaderId: string | undefined, tags: string): {
|
|
410
410
|
id: string;
|
|
411
|
+
url: string;
|
|
412
|
+
size: number;
|
|
411
413
|
tags: {
|
|
412
414
|
id: string;
|
|
413
415
|
name: string;
|
|
@@ -416,8 +418,6 @@ export declare function getMedia(allPages: MediaPage[], keyword: string, assetTy
|
|
|
416
418
|
count: number;
|
|
417
419
|
uploader_id?: string | undefined;
|
|
418
420
|
}[];
|
|
419
|
-
url: string;
|
|
420
|
-
size: number;
|
|
421
421
|
last_modified: number;
|
|
422
422
|
kind: string;
|
|
423
423
|
filename: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare function useSelectedMedia(): {
|
|
2
2
|
id: string;
|
|
3
|
+
url: string;
|
|
4
|
+
size: number;
|
|
3
5
|
tags: {
|
|
4
6
|
id: string;
|
|
5
7
|
name: string;
|
|
@@ -8,8 +10,6 @@ export declare function useSelectedMedia(): {
|
|
|
8
10
|
count: number;
|
|
9
11
|
uploader_id?: string | undefined;
|
|
10
12
|
}[];
|
|
11
|
-
url: string;
|
|
12
|
-
size: number;
|
|
13
13
|
last_modified: number;
|
|
14
14
|
kind: string;
|
|
15
15
|
filename: string;
|
|
@@ -6,21 +6,21 @@ declare const customTypeResponse: z.ZodObject<{
|
|
|
6
6
|
repeatable: z.ZodBoolean;
|
|
7
7
|
status: z.ZodBoolean;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
|
|
9
|
+
status: boolean;
|
|
10
10
|
label: string;
|
|
11
|
+
id: string;
|
|
11
12
|
repeatable: boolean;
|
|
12
|
-
status: boolean;
|
|
13
13
|
}, {
|
|
14
|
-
|
|
14
|
+
status: boolean;
|
|
15
15
|
label: string;
|
|
16
|
+
id: string;
|
|
16
17
|
repeatable: boolean;
|
|
17
|
-
status: boolean;
|
|
18
18
|
}>;
|
|
19
19
|
export type CustomTypeResponse = z.TypeOf<typeof customTypeResponse>;
|
|
20
20
|
export declare function getRepositoryCustomTypes(baseUrl: URL, repository: string, authStrategy: AuthStrategy): Promise<{
|
|
21
|
-
|
|
21
|
+
status: boolean;
|
|
22
22
|
label: string;
|
|
23
|
+
id: string;
|
|
23
24
|
repeatable: boolean;
|
|
24
|
-
status: boolean;
|
|
25
25
|
}[]>;
|
|
26
26
|
export {};
|
|
@@ -66,7 +66,6 @@ declare const documentVersionOkType: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
66
66
|
}>;
|
|
67
67
|
uid: z.ZodOptional<z.ZodString>;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
|
-
tags: string[];
|
|
70
69
|
author: {
|
|
71
70
|
first_name?: string | undefined;
|
|
72
71
|
last_name?: string | undefined;
|
|
@@ -74,13 +73,13 @@ declare const documentVersionOkType: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
74
73
|
uploadedAvatar?: string | undefined;
|
|
75
74
|
};
|
|
76
75
|
version_id: string;
|
|
76
|
+
tags: string[];
|
|
77
77
|
custom_type_label: string;
|
|
78
78
|
last_modified_date: Date;
|
|
79
79
|
preview_summary?: string | undefined;
|
|
80
80
|
preview_image?: string | undefined;
|
|
81
81
|
uid?: string | undefined;
|
|
82
82
|
}, {
|
|
83
|
-
tags: string[];
|
|
84
83
|
author: {
|
|
85
84
|
first_name?: string | undefined;
|
|
86
85
|
last_name?: string | undefined;
|
|
@@ -88,6 +87,7 @@ declare const documentVersionOkType: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
88
87
|
uploadedAvatar?: string | undefined;
|
|
89
88
|
};
|
|
90
89
|
version_id: string;
|
|
90
|
+
tags: string[];
|
|
91
91
|
custom_type_label: string;
|
|
92
92
|
last_modified_date: Date;
|
|
93
93
|
preview_summary?: string | undefined;
|
|
@@ -164,7 +164,6 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
164
164
|
}>;
|
|
165
165
|
uid: z.ZodOptional<z.ZodString>;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
|
-
tags: string[];
|
|
168
167
|
author: {
|
|
169
168
|
first_name?: string | undefined;
|
|
170
169
|
last_name?: string | undefined;
|
|
@@ -172,13 +171,13 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
172
171
|
uploadedAvatar?: string | undefined;
|
|
173
172
|
};
|
|
174
173
|
version_id: string;
|
|
174
|
+
tags: string[];
|
|
175
175
|
custom_type_label: string;
|
|
176
176
|
last_modified_date: Date;
|
|
177
177
|
preview_summary?: string | undefined;
|
|
178
178
|
preview_image?: string | undefined;
|
|
179
179
|
uid?: string | undefined;
|
|
180
180
|
}, {
|
|
181
|
-
tags: string[];
|
|
182
181
|
author: {
|
|
183
182
|
first_name?: string | undefined;
|
|
184
183
|
last_name?: string | undefined;
|
|
@@ -186,6 +185,7 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
186
185
|
uploadedAvatar?: string | undefined;
|
|
187
186
|
};
|
|
188
187
|
version_id: string;
|
|
188
|
+
tags: string[];
|
|
189
189
|
custom_type_label: string;
|
|
190
190
|
last_modified_date: Date;
|
|
191
191
|
preview_summary?: string | undefined;
|
|
@@ -193,13 +193,13 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
193
193
|
uid?: string | undefined;
|
|
194
194
|
}>>, "many">;
|
|
195
195
|
}, "strip", z.ZodTypeAny, {
|
|
196
|
-
id: string;
|
|
197
196
|
title: string;
|
|
198
197
|
language: {
|
|
199
198
|
id: string;
|
|
200
199
|
name: string;
|
|
201
200
|
is_master?: boolean | undefined;
|
|
202
201
|
};
|
|
202
|
+
id: string;
|
|
203
203
|
custom_type_id: string;
|
|
204
204
|
group_lang_id: string;
|
|
205
205
|
versions: (({
|
|
@@ -212,7 +212,6 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
212
212
|
} | {
|
|
213
213
|
status: "archived";
|
|
214
214
|
}) & {
|
|
215
|
-
tags: string[];
|
|
216
215
|
author: {
|
|
217
216
|
first_name?: string | undefined;
|
|
218
217
|
last_name?: string | undefined;
|
|
@@ -220,6 +219,7 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
220
219
|
uploadedAvatar?: string | undefined;
|
|
221
220
|
};
|
|
222
221
|
version_id: string;
|
|
222
|
+
tags: string[];
|
|
223
223
|
custom_type_label: string;
|
|
224
224
|
last_modified_date: Date;
|
|
225
225
|
preview_summary?: string | undefined;
|
|
@@ -227,12 +227,12 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
227
227
|
uid?: string | undefined;
|
|
228
228
|
})[];
|
|
229
229
|
}, {
|
|
230
|
-
id: string;
|
|
231
230
|
language: {
|
|
232
231
|
id: string;
|
|
233
232
|
name: string;
|
|
234
233
|
is_master?: boolean | undefined;
|
|
235
234
|
};
|
|
235
|
+
id: string;
|
|
236
236
|
custom_type_id: string;
|
|
237
237
|
group_lang_id: string;
|
|
238
238
|
versions: (({
|
|
@@ -245,7 +245,6 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
245
245
|
} | {
|
|
246
246
|
status: "archived";
|
|
247
247
|
}) & {
|
|
248
|
-
tags: string[];
|
|
249
248
|
author: {
|
|
250
249
|
first_name?: string | undefined;
|
|
251
250
|
last_name?: string | undefined;
|
|
@@ -253,6 +252,7 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
253
252
|
uploadedAvatar?: string | undefined;
|
|
254
253
|
};
|
|
255
254
|
version_id: string;
|
|
255
|
+
tags: string[];
|
|
256
256
|
custom_type_label: string;
|
|
257
257
|
last_modified_date: Date;
|
|
258
258
|
preview_summary?: string | undefined;
|
|
@@ -334,7 +334,6 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
334
334
|
}>;
|
|
335
335
|
uid: z.ZodOptional<z.ZodString>;
|
|
336
336
|
}, "strip", z.ZodTypeAny, {
|
|
337
|
-
tags: string[];
|
|
338
337
|
author: {
|
|
339
338
|
first_name?: string | undefined;
|
|
340
339
|
last_name?: string | undefined;
|
|
@@ -342,13 +341,13 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
342
341
|
uploadedAvatar?: string | undefined;
|
|
343
342
|
};
|
|
344
343
|
version_id: string;
|
|
344
|
+
tags: string[];
|
|
345
345
|
custom_type_label: string;
|
|
346
346
|
last_modified_date: Date;
|
|
347
347
|
preview_summary?: string | undefined;
|
|
348
348
|
preview_image?: string | undefined;
|
|
349
349
|
uid?: string | undefined;
|
|
350
350
|
}, {
|
|
351
|
-
tags: string[];
|
|
352
351
|
author: {
|
|
353
352
|
first_name?: string | undefined;
|
|
354
353
|
last_name?: string | undefined;
|
|
@@ -356,6 +355,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
356
355
|
uploadedAvatar?: string | undefined;
|
|
357
356
|
};
|
|
358
357
|
version_id: string;
|
|
358
|
+
tags: string[];
|
|
359
359
|
custom_type_label: string;
|
|
360
360
|
last_modified_date: Date;
|
|
361
361
|
preview_summary?: string | undefined;
|
|
@@ -363,13 +363,13 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
363
363
|
uid?: string | undefined;
|
|
364
364
|
}>>, "many">;
|
|
365
365
|
}, "strip", z.ZodTypeAny, {
|
|
366
|
-
id: string;
|
|
367
366
|
title: string;
|
|
368
367
|
language: {
|
|
369
368
|
id: string;
|
|
370
369
|
name: string;
|
|
371
370
|
is_master?: boolean | undefined;
|
|
372
371
|
};
|
|
372
|
+
id: string;
|
|
373
373
|
custom_type_id: string;
|
|
374
374
|
group_lang_id: string;
|
|
375
375
|
versions: (({
|
|
@@ -382,7 +382,6 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
382
382
|
} | {
|
|
383
383
|
status: "archived";
|
|
384
384
|
}) & {
|
|
385
|
-
tags: string[];
|
|
386
385
|
author: {
|
|
387
386
|
first_name?: string | undefined;
|
|
388
387
|
last_name?: string | undefined;
|
|
@@ -390,6 +389,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
390
389
|
uploadedAvatar?: string | undefined;
|
|
391
390
|
};
|
|
392
391
|
version_id: string;
|
|
392
|
+
tags: string[];
|
|
393
393
|
custom_type_label: string;
|
|
394
394
|
last_modified_date: Date;
|
|
395
395
|
preview_summary?: string | undefined;
|
|
@@ -397,12 +397,12 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
397
397
|
uid?: string | undefined;
|
|
398
398
|
})[];
|
|
399
399
|
}, {
|
|
400
|
-
id: string;
|
|
401
400
|
language: {
|
|
402
401
|
id: string;
|
|
403
402
|
name: string;
|
|
404
403
|
is_master?: boolean | undefined;
|
|
405
404
|
};
|
|
405
|
+
id: string;
|
|
406
406
|
custom_type_id: string;
|
|
407
407
|
group_lang_id: string;
|
|
408
408
|
versions: (({
|
|
@@ -415,7 +415,6 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
415
415
|
} | {
|
|
416
416
|
status: "archived";
|
|
417
417
|
}) & {
|
|
418
|
-
tags: string[];
|
|
419
418
|
author: {
|
|
420
419
|
first_name?: string | undefined;
|
|
421
420
|
last_name?: string | undefined;
|
|
@@ -423,6 +422,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
423
422
|
uploadedAvatar?: string | undefined;
|
|
424
423
|
};
|
|
425
424
|
version_id: string;
|
|
425
|
+
tags: string[];
|
|
426
426
|
custom_type_label: string;
|
|
427
427
|
last_modified_date: Date;
|
|
428
428
|
preview_summary?: string | undefined;
|
|
@@ -434,13 +434,13 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
434
434
|
}, "strip", z.ZodTypeAny, {
|
|
435
435
|
total: number;
|
|
436
436
|
results: {
|
|
437
|
-
id: string;
|
|
438
437
|
title: string;
|
|
439
438
|
language: {
|
|
440
439
|
id: string;
|
|
441
440
|
name: string;
|
|
442
441
|
is_master?: boolean | undefined;
|
|
443
442
|
};
|
|
443
|
+
id: string;
|
|
444
444
|
custom_type_id: string;
|
|
445
445
|
group_lang_id: string;
|
|
446
446
|
versions: (({
|
|
@@ -453,7 +453,6 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
453
453
|
} | {
|
|
454
454
|
status: "archived";
|
|
455
455
|
}) & {
|
|
456
|
-
tags: string[];
|
|
457
456
|
author: {
|
|
458
457
|
first_name?: string | undefined;
|
|
459
458
|
last_name?: string | undefined;
|
|
@@ -461,6 +460,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
461
460
|
uploadedAvatar?: string | undefined;
|
|
462
461
|
};
|
|
463
462
|
version_id: string;
|
|
463
|
+
tags: string[];
|
|
464
464
|
custom_type_label: string;
|
|
465
465
|
last_modified_date: Date;
|
|
466
466
|
preview_summary?: string | undefined;
|
|
@@ -472,12 +472,12 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
472
472
|
}, {
|
|
473
473
|
total: number;
|
|
474
474
|
results: {
|
|
475
|
-
id: string;
|
|
476
475
|
language: {
|
|
477
476
|
id: string;
|
|
478
477
|
name: string;
|
|
479
478
|
is_master?: boolean | undefined;
|
|
480
479
|
};
|
|
480
|
+
id: string;
|
|
481
481
|
custom_type_id: string;
|
|
482
482
|
group_lang_id: string;
|
|
483
483
|
versions: (({
|
|
@@ -490,7 +490,6 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
490
490
|
} | {
|
|
491
491
|
status: "archived";
|
|
492
492
|
}) & {
|
|
493
|
-
tags: string[];
|
|
494
493
|
author: {
|
|
495
494
|
first_name?: string | undefined;
|
|
496
495
|
last_name?: string | undefined;
|
|
@@ -498,6 +497,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
498
497
|
uploadedAvatar?: string | undefined;
|
|
499
498
|
};
|
|
500
499
|
version_id: string;
|
|
500
|
+
tags: string[];
|
|
501
501
|
custom_type_label: string;
|
|
502
502
|
last_modified_date: Date;
|
|
503
503
|
preview_summary?: string | undefined;
|
|
@@ -854,7 +854,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
854
854
|
label?: string | null | undefined;
|
|
855
855
|
direction?: string | null | undefined;
|
|
856
856
|
}) | ({
|
|
857
|
-
type: "
|
|
857
|
+
type: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
858
858
|
content: {
|
|
859
859
|
text: string;
|
|
860
860
|
} & {
|
|
@@ -1201,7 +1201,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1201
1201
|
label?: string | null | undefined;
|
|
1202
1202
|
direction?: string | null | undefined;
|
|
1203
1203
|
}) | ({
|
|
1204
|
-
type: "
|
|
1204
|
+
type: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
1205
1205
|
content: {
|
|
1206
1206
|
text: string;
|
|
1207
1207
|
} & {
|
|
@@ -1540,7 +1540,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1540
1540
|
label?: string | null | undefined;
|
|
1541
1541
|
direction?: string | null | undefined;
|
|
1542
1542
|
}) | ({
|
|
1543
|
-
type: "
|
|
1543
|
+
type: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
1544
1544
|
content: {
|
|
1545
1545
|
text: string;
|
|
1546
1546
|
} & {
|
|
@@ -1881,7 +1881,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1881
1881
|
label?: string | null | undefined;
|
|
1882
1882
|
direction?: string | null | undefined;
|
|
1883
1883
|
}) | ({
|
|
1884
|
-
type: "
|
|
1884
|
+
type: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
1885
1885
|
content: {
|
|
1886
1886
|
text: string;
|
|
1887
1887
|
} & {
|
|
@@ -2220,7 +2220,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2220
2220
|
label?: string | null | undefined;
|
|
2221
2221
|
direction?: string | null | undefined;
|
|
2222
2222
|
}) | ({
|
|
2223
|
-
type: "
|
|
2223
|
+
type: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
2224
2224
|
content: {
|
|
2225
2225
|
text: string;
|
|
2226
2226
|
} & {
|
|
@@ -2557,7 +2557,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2557
2557
|
label?: string | null | undefined;
|
|
2558
2558
|
direction?: string | null | undefined;
|
|
2559
2559
|
}) | ({
|
|
2560
|
-
type: "
|
|
2560
|
+
type: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
2561
2561
|
content: {
|
|
2562
2562
|
text: string;
|
|
2563
2563
|
} & {
|
|
@@ -2905,7 +2905,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
2905
2905
|
label?: string | null | undefined;
|
|
2906
2906
|
direction?: string | null | undefined;
|
|
2907
2907
|
}) | ({
|
|
2908
|
-
type: "
|
|
2908
|
+
type: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
2909
2909
|
content: {
|
|
2910
2910
|
text: string;
|
|
2911
2911
|
} & {
|
|
@@ -3244,7 +3244,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3244
3244
|
label?: string | null | undefined;
|
|
3245
3245
|
direction?: string | null | undefined;
|
|
3246
3246
|
}) | ({
|
|
3247
|
-
type: "
|
|
3247
|
+
type: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
3248
3248
|
content: {
|
|
3249
3249
|
text: string;
|
|
3250
3250
|
} & {
|
|
@@ -3585,7 +3585,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3585
3585
|
label?: string | null | undefined;
|
|
3586
3586
|
direction?: string | null | undefined;
|
|
3587
3587
|
}) | ({
|
|
3588
|
-
type: "
|
|
3588
|
+
type: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
3589
3589
|
content: {
|
|
3590
3590
|
text: string;
|
|
3591
3591
|
} & {
|
|
@@ -3924,7 +3924,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3924
3924
|
label?: string | null | undefined;
|
|
3925
3925
|
direction?: string | null | undefined;
|
|
3926
3926
|
}) | ({
|
|
3927
|
-
type: "
|
|
3927
|
+
type: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
3928
3928
|
content: {
|
|
3929
3929
|
text: string;
|
|
3930
3930
|
} & {
|
|
@@ -4261,7 +4261,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4261
4261
|
label?: string | null | undefined;
|
|
4262
4262
|
direction?: string | null | undefined;
|
|
4263
4263
|
}) | ({
|
|
4264
|
-
type: "
|
|
4264
|
+
type: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
4265
4265
|
content: {
|
|
4266
4266
|
text: string;
|
|
4267
4267
|
} & {
|
|
@@ -93,6 +93,7 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
93
93
|
}>;
|
|
94
94
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
framework: "next" | "nuxt" | "sveltekit" | "other";
|
|
96
97
|
authors: {
|
|
97
98
|
id: string;
|
|
98
99
|
email: string;
|
|
@@ -108,7 +109,6 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
108
109
|
quotas: {
|
|
109
110
|
slicemachineEnabled: boolean;
|
|
110
111
|
};
|
|
111
|
-
framework: "next" | "nuxt" | "sveltekit" | "other";
|
|
112
112
|
storageVersion: {
|
|
113
113
|
major: number;
|
|
114
114
|
minor: number;
|
|
@@ -5,16 +5,16 @@ interface IntegrationCatalogSearchArgs {
|
|
|
5
5
|
}
|
|
6
6
|
export declare function useIntegrationCatalogSearch(args: IntegrationCatalogSearchArgs): {
|
|
7
7
|
items: {
|
|
8
|
-
id: string;
|
|
9
8
|
title: string;
|
|
9
|
+
id: string;
|
|
10
10
|
imageURL?: string | undefined;
|
|
11
11
|
description?: string | undefined;
|
|
12
12
|
}[];
|
|
13
13
|
response: {
|
|
14
14
|
page: number;
|
|
15
15
|
items: {
|
|
16
|
-
id: string;
|
|
17
16
|
title: string;
|
|
17
|
+
id: string;
|
|
18
18
|
imageURL?: string | undefined;
|
|
19
19
|
description?: string | undefined;
|
|
20
20
|
}[];
|
|
@@ -29,13 +29,13 @@ declare const integrationItem: z.ZodObject<{
|
|
|
29
29
|
imageURL: z.ZodOptional<z.ZodString>;
|
|
30
30
|
description: z.ZodOptional<z.ZodString>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
id: string;
|
|
33
32
|
title: string;
|
|
33
|
+
id: string;
|
|
34
34
|
imageURL?: string | undefined;
|
|
35
35
|
description?: string | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
id: string;
|
|
38
37
|
title: string;
|
|
38
|
+
id: string;
|
|
39
39
|
imageURL?: string | undefined;
|
|
40
40
|
description?: string | undefined;
|
|
41
41
|
}>;
|
|
@@ -46,8 +46,8 @@ interface IntegrationCatalogReadArgs {
|
|
|
46
46
|
}
|
|
47
47
|
export declare function useIntegrationCatalogRead(args: IntegrationCatalogReadArgs): {
|
|
48
48
|
item: {
|
|
49
|
-
id: string;
|
|
50
49
|
title: string;
|
|
50
|
+
id: string;
|
|
51
51
|
imageURL?: string | undefined;
|
|
52
52
|
description?: string | undefined;
|
|
53
53
|
};
|