@prismicio/editor-fields 0.4.54 → 0.4.56

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.
@@ -55,8 +55,6 @@ export declare const mediaAssetType: z.ZodObject<{
55
55
  }>, "many">;
56
56
  }, "strip", z.ZodTypeAny, {
57
57
  id: string;
58
- url: string;
59
- size: number;
60
58
  tags: {
61
59
  id: string;
62
60
  name: string;
@@ -65,6 +63,8 @@ export declare const mediaAssetType: z.ZodObject<{
65
63
  count: number;
66
64
  uploader_id?: string | undefined;
67
65
  }[];
66
+ url: string;
67
+ size: number;
68
68
  last_modified: number;
69
69
  kind: string;
70
70
  filename: string;
@@ -83,8 +83,6 @@ export declare const mediaAssetType: z.ZodObject<{
83
83
  } | undefined;
84
84
  }, {
85
85
  id: string;
86
- url: string;
87
- size: number;
88
86
  tags: {
89
87
  id: string;
90
88
  name: string;
@@ -93,6 +91,8 @@ export declare const mediaAssetType: z.ZodObject<{
93
91
  uploader_id?: string | undefined;
94
92
  count?: number | undefined;
95
93
  }[];
94
+ url: string;
95
+ size: number;
96
96
  last_modified: number;
97
97
  kind: string;
98
98
  filename: string;
@@ -170,8 +170,6 @@ export declare const mediaSearchResponse: z.ZodObject<{
170
170
  }>, "many">;
171
171
  }, "strip", z.ZodTypeAny, {
172
172
  id: string;
173
- url: string;
174
- size: number;
175
173
  tags: {
176
174
  id: string;
177
175
  name: string;
@@ -180,6 +178,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
180
178
  count: number;
181
179
  uploader_id?: string | undefined;
182
180
  }[];
181
+ url: string;
182
+ size: number;
183
183
  last_modified: number;
184
184
  kind: string;
185
185
  filename: string;
@@ -198,8 +198,6 @@ export declare const mediaSearchResponse: z.ZodObject<{
198
198
  } | undefined;
199
199
  }, {
200
200
  id: string;
201
- url: string;
202
- size: number;
203
201
  tags: {
204
202
  id: string;
205
203
  name: string;
@@ -208,6 +206,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
208
206
  uploader_id?: string | undefined;
209
207
  count?: number | undefined;
210
208
  }[];
209
+ url: string;
210
+ size: number;
211
211
  last_modified: number;
212
212
  kind: string;
213
213
  filename: string;
@@ -229,8 +229,6 @@ export declare const mediaSearchResponse: z.ZodObject<{
229
229
  total: number;
230
230
  items: {
231
231
  id: string;
232
- url: string;
233
- size: number;
234
232
  tags: {
235
233
  id: string;
236
234
  name: string;
@@ -239,6 +237,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
239
237
  count: number;
240
238
  uploader_id?: string | undefined;
241
239
  }[];
240
+ url: string;
241
+ size: number;
242
242
  last_modified: number;
243
243
  kind: string;
244
244
  filename: string;
@@ -261,8 +261,6 @@ export declare const mediaSearchResponse: z.ZodObject<{
261
261
  total: number;
262
262
  items: {
263
263
  id: string;
264
- url: string;
265
- size: number;
266
264
  tags: {
267
265
  id: string;
268
266
  name: string;
@@ -271,6 +269,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
271
269
  uploader_id?: string | undefined;
272
270
  count?: number | undefined;
273
271
  }[];
272
+ url: string;
273
+ size: number;
274
274
  last_modified: number;
275
275
  kind: string;
276
276
  filename: string;
@@ -309,8 +309,6 @@ 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;
314
312
  tags: {
315
313
  id: string;
316
314
  name: string;
@@ -319,6 +317,8 @@ export declare function searchMedia(baseUrl: URL | undefined, repository: string
319
317
  count: number;
320
318
  uploader_id?: string | undefined;
321
319
  }[];
320
+ url: string;
321
+ size: number;
322
322
  last_modified: number;
323
323
  kind: string;
324
324
  filename: string;
@@ -358,8 +358,6 @@ export declare function useMediaSearch(args: UseMediaLibrarySearchArgs): {
358
358
  resetFilters: () => void;
359
359
  media: {
360
360
  id: string;
361
- url: string;
362
- size: number;
363
361
  tags: {
364
362
  id: string;
365
363
  name: string;
@@ -368,6 +366,8 @@ export declare function useMediaSearch(args: UseMediaLibrarySearchArgs): {
368
366
  count: number;
369
367
  uploader_id?: string | undefined;
370
368
  }[];
369
+ url: string;
370
+ size: number;
371
371
  last_modified: number;
372
372
  kind: string;
373
373
  filename: string;
@@ -408,8 +408,6 @@ 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;
413
411
  tags: {
414
412
  id: string;
415
413
  name: string;
@@ -418,6 +416,8 @@ export declare function getMedia(allPages: MediaPage[], keyword: string, assetTy
418
416
  count: number;
419
417
  uploader_id?: string | undefined;
420
418
  }[];
419
+ url: string;
420
+ size: number;
421
421
  last_modified: number;
422
422
  kind: string;
423
423
  filename: string;
@@ -1,7 +1,5 @@
1
1
  export declare function useSelectedMedia(): {
2
2
  id: string;
3
- url: string;
4
- size: number;
5
3
  tags: {
6
4
  id: string;
7
5
  name: string;
@@ -10,6 +8,8 @@ export declare function useSelectedMedia(): {
10
8
  count: number;
11
9
  uploader_id?: string | undefined;
12
10
  }[];
11
+ url: string;
12
+ size: number;
13
13
  last_modified: number;
14
14
  kind: string;
15
15
  filename: string;
@@ -1,7 +1,7 @@
1
1
  import type { OnboardingFramework, OnboardingStep } from "../service/onboarding";
2
2
  type Context = {
3
3
  framework?: OnboardingFramework;
4
- starter?: string | null;
4
+ starterId?: string | null;
5
5
  repositoryName?: string;
6
6
  projectName?: string;
7
7
  };
@@ -34,8 +34,12 @@ export declare function buildImageUrl(originUrl: string, rect: {
34
34
  width: number;
35
35
  height: number;
36
36
  }, outputWidth: number, outputHeight: number, hasConstraints: boolean): string;
37
- export declare function getPreviewImage(fromUrl: string): string;
37
+ export declare function getPreviewImage(fromUrl: string, options?: {
38
+ width?: number;
39
+ height?: number;
40
+ }): string;
38
41
  export declare function getSearchTileImage(fromUrl: string): string;
42
+ export declare function getCarouselImage(fromUrl: string): string;
39
43
  export declare function getCarouselItemSource(view: ImageContentView | undefined): string | undefined;
40
44
  export declare function replaceImage(thumbnailName: string, field: Image, content: ImageContent | undefined, extImage: MediaAssetOrExternalImage): ImageContent;
41
45
  export declare function isMediaAsset(image: MediaAssetOrExternalImage): image is MediaAsset;
@@ -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
- status: boolean;
10
- label: string;
11
9
  id: string;
10
+ label: string;
12
11
  repeatable: boolean;
13
- }, {
14
12
  status: boolean;
15
- label: string;
13
+ }, {
16
14
  id: string;
15
+ label: string;
17
16
  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
- status: boolean;
22
- label: string;
23
21
  id: string;
22
+ label: string;
24
23
  repeatable: boolean;
24
+ status: boolean;
25
25
  }[]>;
26
26
  export {};
@@ -66,6 +66,7 @@ declare const documentVersionOkType: z.ZodIntersection<z.ZodDiscriminatedUnion<"
66
66
  }>;
67
67
  uid: z.ZodOptional<z.ZodString>;
68
68
  }, "strip", z.ZodTypeAny, {
69
+ tags: string[];
69
70
  author: {
70
71
  first_name?: string | undefined;
71
72
  last_name?: string | undefined;
@@ -73,13 +74,13 @@ declare const documentVersionOkType: z.ZodIntersection<z.ZodDiscriminatedUnion<"
73
74
  uploadedAvatar?: string | undefined;
74
75
  };
75
76
  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[];
83
84
  author: {
84
85
  first_name?: string | undefined;
85
86
  last_name?: string | undefined;
@@ -87,7 +88,6 @@ declare const documentVersionOkType: z.ZodIntersection<z.ZodDiscriminatedUnion<"
87
88
  uploadedAvatar?: string | undefined;
88
89
  };
89
90
  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,6 +164,7 @@ export declare const documentMetaOkType: z.ZodObject<{
164
164
  }>;
165
165
  uid: z.ZodOptional<z.ZodString>;
166
166
  }, "strip", z.ZodTypeAny, {
167
+ tags: string[];
167
168
  author: {
168
169
  first_name?: string | undefined;
169
170
  last_name?: string | undefined;
@@ -171,13 +172,13 @@ export declare const documentMetaOkType: z.ZodObject<{
171
172
  uploadedAvatar?: string | undefined;
172
173
  };
173
174
  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[];
181
182
  author: {
182
183
  first_name?: string | undefined;
183
184
  last_name?: string | undefined;
@@ -185,7 +186,6 @@ export declare const documentMetaOkType: z.ZodObject<{
185
186
  uploadedAvatar?: string | undefined;
186
187
  };
187
188
  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;
196
197
  title: string;
197
198
  language: {
198
199
  id: string;
199
200
  name: string;
200
201
  is_master?: boolean | undefined;
201
202
  };
202
- id: string;
203
203
  custom_type_id: string;
204
204
  group_lang_id: string;
205
205
  versions: (({
@@ -212,6 +212,7 @@ export declare const documentMetaOkType: z.ZodObject<{
212
212
  } | {
213
213
  status: "archived";
214
214
  }) & {
215
+ tags: string[];
215
216
  author: {
216
217
  first_name?: string | undefined;
217
218
  last_name?: string | undefined;
@@ -219,7 +220,6 @@ export declare const documentMetaOkType: z.ZodObject<{
219
220
  uploadedAvatar?: string | undefined;
220
221
  };
221
222
  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;
230
231
  language: {
231
232
  id: string;
232
233
  name: string;
233
234
  is_master?: boolean | undefined;
234
235
  };
235
- id: string;
236
236
  custom_type_id: string;
237
237
  group_lang_id: string;
238
238
  versions: (({
@@ -245,6 +245,7 @@ export declare const documentMetaOkType: z.ZodObject<{
245
245
  } | {
246
246
  status: "archived";
247
247
  }) & {
248
+ tags: string[];
248
249
  author: {
249
250
  first_name?: string | undefined;
250
251
  last_name?: string | undefined;
@@ -252,7 +253,6 @@ export declare const documentMetaOkType: z.ZodObject<{
252
253
  uploadedAvatar?: string | undefined;
253
254
  };
254
255
  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,6 +334,7 @@ declare const getDocumentListSchema: z.ZodObject<{
334
334
  }>;
335
335
  uid: z.ZodOptional<z.ZodString>;
336
336
  }, "strip", z.ZodTypeAny, {
337
+ tags: string[];
337
338
  author: {
338
339
  first_name?: string | undefined;
339
340
  last_name?: string | undefined;
@@ -341,13 +342,13 @@ declare const getDocumentListSchema: z.ZodObject<{
341
342
  uploadedAvatar?: string | undefined;
342
343
  };
343
344
  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[];
351
352
  author: {
352
353
  first_name?: string | undefined;
353
354
  last_name?: string | undefined;
@@ -355,7 +356,6 @@ declare const getDocumentListSchema: z.ZodObject<{
355
356
  uploadedAvatar?: string | undefined;
356
357
  };
357
358
  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;
366
367
  title: string;
367
368
  language: {
368
369
  id: string;
369
370
  name: string;
370
371
  is_master?: boolean | undefined;
371
372
  };
372
- id: string;
373
373
  custom_type_id: string;
374
374
  group_lang_id: string;
375
375
  versions: (({
@@ -382,6 +382,7 @@ declare const getDocumentListSchema: z.ZodObject<{
382
382
  } | {
383
383
  status: "archived";
384
384
  }) & {
385
+ tags: string[];
385
386
  author: {
386
387
  first_name?: string | undefined;
387
388
  last_name?: string | undefined;
@@ -389,7 +390,6 @@ declare const getDocumentListSchema: z.ZodObject<{
389
390
  uploadedAvatar?: string | undefined;
390
391
  };
391
392
  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;
400
401
  language: {
401
402
  id: string;
402
403
  name: string;
403
404
  is_master?: boolean | undefined;
404
405
  };
405
- id: string;
406
406
  custom_type_id: string;
407
407
  group_lang_id: string;
408
408
  versions: (({
@@ -415,6 +415,7 @@ declare const getDocumentListSchema: z.ZodObject<{
415
415
  } | {
416
416
  status: "archived";
417
417
  }) & {
418
+ tags: string[];
418
419
  author: {
419
420
  first_name?: string | undefined;
420
421
  last_name?: string | undefined;
@@ -422,7 +423,6 @@ declare const getDocumentListSchema: z.ZodObject<{
422
423
  uploadedAvatar?: string | undefined;
423
424
  };
424
425
  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;
437
438
  title: string;
438
439
  language: {
439
440
  id: string;
440
441
  name: string;
441
442
  is_master?: boolean | undefined;
442
443
  };
443
- id: string;
444
444
  custom_type_id: string;
445
445
  group_lang_id: string;
446
446
  versions: (({
@@ -453,6 +453,7 @@ declare const getDocumentListSchema: z.ZodObject<{
453
453
  } | {
454
454
  status: "archived";
455
455
  }) & {
456
+ tags: string[];
456
457
  author: {
457
458
  first_name?: string | undefined;
458
459
  last_name?: string | undefined;
@@ -460,7 +461,6 @@ declare const getDocumentListSchema: z.ZodObject<{
460
461
  uploadedAvatar?: string | undefined;
461
462
  };
462
463
  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;
475
476
  language: {
476
477
  id: string;
477
478
  name: string;
478
479
  is_master?: boolean | undefined;
479
480
  };
480
- id: string;
481
481
  custom_type_id: string;
482
482
  group_lang_id: string;
483
483
  versions: (({
@@ -490,6 +490,7 @@ declare const getDocumentListSchema: z.ZodObject<{
490
490
  } | {
491
491
  status: "archived";
492
492
  }) & {
493
+ tags: string[];
493
494
  author: {
494
495
  first_name?: string | undefined;
495
496
  last_name?: string | undefined;
@@ -497,7 +498,6 @@ declare const getDocumentListSchema: z.ZodObject<{
497
498
  uploadedAvatar?: string | undefined;
498
499
  };
499
500
  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: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
857
+ type: "image" | "em" | "embed" | "strong" | "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: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
1204
+ type: "image" | "em" | "embed" | "strong" | "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: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
1543
+ type: "image" | "em" | "embed" | "strong" | "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: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
1884
+ type: "image" | "em" | "embed" | "strong" | "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: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
2223
+ type: "image" | "em" | "embed" | "strong" | "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: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
2560
+ type: "image" | "em" | "embed" | "strong" | "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: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
2908
+ type: "image" | "em" | "embed" | "strong" | "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: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
3247
+ type: "image" | "em" | "embed" | "strong" | "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: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
3588
+ type: "image" | "em" | "embed" | "strong" | "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: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
3927
+ type: "image" | "em" | "embed" | "strong" | "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: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
4264
+ type: "image" | "em" | "embed" | "strong" | "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,7 +93,6 @@ 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";
97
96
  authors: {
98
97
  id: string;
99
98
  email: string;
@@ -109,6 +108,7 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
109
108
  quotas: {
110
109
  slicemachineEnabled: boolean;
111
110
  };
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
- title: string;
9
8
  id: string;
9
+ title: string;
10
10
  imageURL?: string | undefined;
11
11
  description?: string | undefined;
12
12
  }[];
13
13
  response: {
14
14
  page: number;
15
15
  items: {
16
- title: string;
17
16
  id: string;
17
+ title: 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
- title: string;
33
32
  id: string;
33
+ title: string;
34
34
  imageURL?: string | undefined;
35
35
  description?: string | undefined;
36
36
  }, {
37
- title: string;
38
37
  id: string;
38
+ title: 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
- title: string;
50
49
  id: string;
50
+ title: string;
51
51
  imageURL?: string | undefined;
52
52
  description?: string | undefined;
53
53
  };