@prismicio/editor-fields 0.4.75 → 0.4.76-alpha.tree-view-component.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +38 -14
  2. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigDialog.d.ts +10 -0
  3. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigPathInput.d.ts +9 -0
  4. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/RequestFiltersFieldset.d.ts +5 -0
  5. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/getFilterSnippet.d.ts +2 -0
  6. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/index.d.ts +3 -0
  7. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/types.d.ts +34 -0
  8. package/dist/core/APIExplorer/components/Request/components/RequestRefFieldset.d.ts +1 -1
  9. package/dist/core/APIExplorer/components/Request/components/index.d.ts +1 -0
  10. package/dist/core/APIExplorer/components/Request/createRequest.d.ts +3 -1
  11. package/dist/core/APIExplorer/components/Request/index.d.ts +1 -1
  12. package/dist/core/APIExplorer/components/Request/types.d.ts +1 -1
  13. package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +1 -1
  14. package/dist/core/APIExplorer/utils.d.ts +3 -2
  15. package/dist/core/DeferredBarChart.d.ts +3 -0
  16. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +93 -93
  17. package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
  18. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +9 -9
  19. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +9 -9
  20. package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
  21. package/dist/core/service/customType.d.ts +20 -20
  22. package/dist/core/service/document.d.ts +174 -174
  23. package/dist/core/service/documentSearch.d.ts +60 -60
  24. package/dist/core/service/repository.d.ts +20 -12
  25. package/dist/core/service/user.d.ts +5 -5
  26. package/dist/fields/ImageField/useImageField.d.ts +9 -9
  27. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +9 -9
  28. package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
  29. package/dist/fields/LinkField/Documents/documentsData.d.ts +19 -19
  30. package/dist/fields/LinkField/LinkField.d.ts +1 -1
  31. package/dist/fields/LinkField/useLinkField.d.ts +1 -1
  32. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +9 -9
  33. package/dist/index.cjs.js +90 -90
  34. package/dist/index.d.ts +1 -0
  35. package/dist/index.es.js +21323 -20616
  36. package/package.json +4 -4
@@ -21,15 +21,15 @@ export declare const mediaAssetType: z.ZodObject<{
21
21
  notes: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string | undefined, string[] | undefined>;
22
22
  credits: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string | undefined, string[] | undefined>;
23
23
  }, "strip", z.ZodTypeAny, {
24
- filename?: string | undefined;
25
- alt?: string | undefined;
26
24
  notes?: string | undefined;
27
25
  credits?: string | undefined;
26
+ alt?: string | undefined;
27
+ filename?: string | undefined;
28
28
  }, {
29
- filename?: string[] | undefined;
30
- alt?: string[] | undefined;
31
29
  notes?: string[] | undefined;
32
30
  credits?: string[] | undefined;
31
+ alt?: string[] | undefined;
32
+ filename?: string[] | undefined;
33
33
  }>>;
34
34
  tags: z.ZodArray<z.ZodObject<{
35
35
  id: z.ZodString;
@@ -41,73 +41,73 @@ export declare const mediaAssetType: z.ZodObject<{
41
41
  }, "strip", z.ZodTypeAny, {
42
42
  id: string;
43
43
  name: string;
44
- last_modified: number;
45
44
  created_at: number;
45
+ last_modified: number;
46
46
  count: number;
47
47
  uploader_id?: string | undefined;
48
48
  }, {
49
49
  id: string;
50
50
  name: string;
51
- last_modified: number;
52
51
  created_at: number;
52
+ last_modified: number;
53
53
  uploader_id?: string | undefined;
54
54
  count?: number | undefined;
55
55
  }>, "many">;
56
56
  }, "strip", z.ZodTypeAny, {
57
- id: string;
58
- kind: string;
59
57
  url: string;
58
+ id: string;
60
59
  size: number;
60
+ kind: string;
61
61
  tags: {
62
62
  id: string;
63
63
  name: string;
64
- last_modified: number;
65
64
  created_at: number;
65
+ last_modified: number;
66
66
  count: number;
67
67
  uploader_id?: string | undefined;
68
68
  }[];
69
- filename: string;
70
69
  last_modified: number;
70
+ filename: string;
71
+ notes?: string | undefined;
71
72
  height?: number | undefined;
72
73
  width?: number | undefined;
73
- extension?: string | undefined;
74
+ credits?: string | undefined;
74
75
  alt?: string | undefined;
75
76
  uploader_id?: string | undefined;
76
- notes?: string | undefined;
77
- credits?: string | undefined;
77
+ extension?: string | undefined;
78
78
  search_highlight?: {
79
- filename?: string | undefined;
80
- alt?: string | undefined;
81
79
  notes?: string | undefined;
82
80
  credits?: string | undefined;
81
+ alt?: string | undefined;
82
+ filename?: string | undefined;
83
83
  } | undefined;
84
84
  }, {
85
- id: string;
86
- kind: string;
87
85
  url: string;
86
+ id: string;
88
87
  size: number;
88
+ kind: string;
89
89
  tags: {
90
90
  id: string;
91
91
  name: string;
92
- last_modified: number;
93
92
  created_at: number;
93
+ last_modified: number;
94
94
  uploader_id?: string | undefined;
95
95
  count?: number | undefined;
96
96
  }[];
97
- filename: string;
98
97
  last_modified: number;
98
+ filename: string;
99
+ notes?: string | undefined;
99
100
  height?: number | undefined;
100
101
  width?: number | undefined;
101
- extension?: string | undefined;
102
+ credits?: string | undefined;
102
103
  alt?: string | undefined;
103
104
  uploader_id?: string | undefined;
104
- notes?: string | undefined;
105
- credits?: string | undefined;
105
+ extension?: string | undefined;
106
106
  search_highlight?: {
107
- filename?: string[] | undefined;
108
- alt?: string[] | undefined;
109
107
  notes?: string[] | undefined;
110
108
  credits?: string[] | undefined;
109
+ alt?: string[] | undefined;
110
+ filename?: string[] | undefined;
111
111
  } | undefined;
112
112
  }>;
113
113
  export declare const assetApiHeaders: {
@@ -136,15 +136,15 @@ export declare const mediaSearchResponse: z.ZodObject<{
136
136
  notes: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string | undefined, string[] | undefined>;
137
137
  credits: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string | undefined, string[] | undefined>;
138
138
  }, "strip", z.ZodTypeAny, {
139
- filename?: string | undefined;
140
- alt?: string | undefined;
141
139
  notes?: string | undefined;
142
140
  credits?: string | undefined;
141
+ alt?: string | undefined;
142
+ filename?: string | undefined;
143
143
  }, {
144
- filename?: string[] | undefined;
145
- alt?: string[] | undefined;
146
144
  notes?: string[] | undefined;
147
145
  credits?: string[] | undefined;
146
+ alt?: string[] | undefined;
147
+ filename?: string[] | undefined;
148
148
  }>>;
149
149
  tags: z.ZodArray<z.ZodObject<{
150
150
  id: z.ZodString;
@@ -156,136 +156,136 @@ export declare const mediaSearchResponse: z.ZodObject<{
156
156
  }, "strip", z.ZodTypeAny, {
157
157
  id: string;
158
158
  name: string;
159
- last_modified: number;
160
159
  created_at: number;
160
+ last_modified: number;
161
161
  count: number;
162
162
  uploader_id?: string | undefined;
163
163
  }, {
164
164
  id: string;
165
165
  name: string;
166
- last_modified: number;
167
166
  created_at: number;
167
+ last_modified: number;
168
168
  uploader_id?: string | undefined;
169
169
  count?: number | undefined;
170
170
  }>, "many">;
171
171
  }, "strip", z.ZodTypeAny, {
172
- id: string;
173
- kind: string;
174
172
  url: string;
173
+ id: string;
175
174
  size: number;
175
+ kind: string;
176
176
  tags: {
177
177
  id: string;
178
178
  name: string;
179
- last_modified: number;
180
179
  created_at: number;
180
+ last_modified: number;
181
181
  count: number;
182
182
  uploader_id?: string | undefined;
183
183
  }[];
184
- filename: string;
185
184
  last_modified: number;
185
+ filename: string;
186
+ notes?: string | undefined;
186
187
  height?: number | undefined;
187
188
  width?: number | undefined;
188
- extension?: string | undefined;
189
+ credits?: string | undefined;
189
190
  alt?: string | undefined;
190
191
  uploader_id?: string | undefined;
191
- notes?: string | undefined;
192
- credits?: string | undefined;
192
+ extension?: string | undefined;
193
193
  search_highlight?: {
194
- filename?: string | undefined;
195
- alt?: string | undefined;
196
194
  notes?: string | undefined;
197
195
  credits?: string | undefined;
196
+ alt?: string | undefined;
197
+ filename?: string | undefined;
198
198
  } | undefined;
199
199
  }, {
200
- id: string;
201
- kind: string;
202
200
  url: string;
201
+ id: string;
203
202
  size: number;
203
+ kind: string;
204
204
  tags: {
205
205
  id: string;
206
206
  name: string;
207
- last_modified: number;
208
207
  created_at: number;
208
+ last_modified: number;
209
209
  uploader_id?: string | undefined;
210
210
  count?: number | undefined;
211
211
  }[];
212
- filename: string;
213
212
  last_modified: number;
213
+ filename: string;
214
+ notes?: string | undefined;
214
215
  height?: number | undefined;
215
216
  width?: number | undefined;
216
- extension?: string | undefined;
217
+ credits?: string | undefined;
217
218
  alt?: string | undefined;
218
219
  uploader_id?: string | undefined;
219
- notes?: string | undefined;
220
- credits?: string | undefined;
220
+ extension?: string | undefined;
221
221
  search_highlight?: {
222
- filename?: string[] | undefined;
223
- alt?: string[] | undefined;
224
222
  notes?: string[] | undefined;
225
223
  credits?: string[] | undefined;
224
+ alt?: string[] | undefined;
225
+ filename?: string[] | undefined;
226
226
  } | undefined;
227
227
  }>, "many">;
228
228
  }, "strip", z.ZodTypeAny, {
229
229
  total: number;
230
230
  items: {
231
- id: string;
232
- kind: string;
233
231
  url: string;
232
+ id: string;
234
233
  size: number;
234
+ kind: string;
235
235
  tags: {
236
236
  id: string;
237
237
  name: string;
238
- last_modified: number;
239
238
  created_at: number;
239
+ last_modified: number;
240
240
  count: number;
241
241
  uploader_id?: string | undefined;
242
242
  }[];
243
- filename: string;
244
243
  last_modified: number;
244
+ filename: string;
245
+ notes?: string | undefined;
245
246
  height?: number | undefined;
246
247
  width?: number | undefined;
247
- extension?: string | undefined;
248
+ credits?: string | undefined;
248
249
  alt?: string | undefined;
249
250
  uploader_id?: string | undefined;
250
- notes?: string | undefined;
251
- credits?: string | undefined;
251
+ extension?: string | undefined;
252
252
  search_highlight?: {
253
- filename?: string | undefined;
254
- alt?: string | undefined;
255
253
  notes?: string | undefined;
256
254
  credits?: string | undefined;
255
+ alt?: string | undefined;
256
+ filename?: string | undefined;
257
257
  } | undefined;
258
258
  }[];
259
259
  cursor?: string | undefined;
260
260
  }, {
261
261
  total: number;
262
262
  items: {
263
- id: string;
264
- kind: string;
265
263
  url: string;
264
+ id: string;
266
265
  size: number;
266
+ kind: string;
267
267
  tags: {
268
268
  id: string;
269
269
  name: string;
270
- last_modified: number;
271
270
  created_at: number;
271
+ last_modified: number;
272
272
  uploader_id?: string | undefined;
273
273
  count?: number | undefined;
274
274
  }[];
275
- filename: string;
276
275
  last_modified: number;
276
+ filename: string;
277
+ notes?: string | undefined;
277
278
  height?: number | undefined;
278
279
  width?: number | undefined;
279
- extension?: string | undefined;
280
+ credits?: string | undefined;
280
281
  alt?: string | undefined;
281
282
  uploader_id?: string | undefined;
282
- notes?: string | undefined;
283
- credits?: string | undefined;
283
+ extension?: string | undefined;
284
284
  search_highlight?: {
285
- filename?: string[] | undefined;
286
- alt?: string[] | undefined;
287
285
  notes?: string[] | undefined;
288
286
  credits?: string[] | undefined;
287
+ alt?: string[] | undefined;
288
+ filename?: string[] | undefined;
289
289
  } | undefined;
290
290
  }[];
291
291
  cursor?: string | undefined;
@@ -308,32 +308,32 @@ export declare function searchMedia(baseUrl: URL | undefined, repository: string
308
308
  page: number;
309
309
  total: number;
310
310
  items: {
311
- id: string;
312
- kind: string;
313
311
  url: string;
312
+ id: string;
314
313
  size: number;
314
+ kind: string;
315
315
  tags: {
316
316
  id: string;
317
317
  name: string;
318
- last_modified: number;
319
318
  created_at: number;
319
+ last_modified: number;
320
320
  count: number;
321
321
  uploader_id?: string | undefined;
322
322
  }[];
323
- filename: string;
324
323
  last_modified: number;
324
+ filename: string;
325
+ notes?: string | undefined;
325
326
  height?: number | undefined;
326
327
  width?: number | undefined;
327
- extension?: string | undefined;
328
+ credits?: string | undefined;
328
329
  alt?: string | undefined;
329
330
  uploader_id?: string | undefined;
330
- notes?: string | undefined;
331
- credits?: string | undefined;
331
+ extension?: string | undefined;
332
332
  search_highlight?: {
333
- filename?: string | undefined;
334
- alt?: string | undefined;
335
333
  notes?: string | undefined;
336
334
  credits?: string | undefined;
335
+ alt?: string | undefined;
336
+ filename?: string | undefined;
337
337
  } | undefined;
338
338
  }[];
339
339
  cursor?: string | undefined;
@@ -357,32 +357,32 @@ export declare function useMediaSearch(args: UseMediaLibrarySearchArgs): {
357
357
  setFilters: (filters: Partial<MediaLibraryFilters>) => void;
358
358
  resetFilters: () => void;
359
359
  media: {
360
- id: string;
361
- kind: string;
362
360
  url: string;
361
+ id: string;
363
362
  size: number;
363
+ kind: string;
364
364
  tags: {
365
365
  id: string;
366
366
  name: string;
367
- last_modified: number;
368
367
  created_at: number;
368
+ last_modified: number;
369
369
  count: number;
370
370
  uploader_id?: string | undefined;
371
371
  }[];
372
- filename: string;
373
372
  last_modified: number;
373
+ filename: string;
374
+ notes?: string | undefined;
374
375
  height?: number | undefined;
375
376
  width?: number | undefined;
376
- extension?: string | undefined;
377
+ credits?: string | undefined;
377
378
  alt?: string | undefined;
378
379
  uploader_id?: string | undefined;
379
- notes?: string | undefined;
380
- credits?: string | undefined;
380
+ extension?: string | undefined;
381
381
  search_highlight?: {
382
- filename?: string | undefined;
383
- alt?: string | undefined;
384
382
  notes?: string | undefined;
385
383
  credits?: string | undefined;
384
+ alt?: string | undefined;
385
+ filename?: string | undefined;
386
386
  } | undefined;
387
387
  }[];
388
388
  mediaTotal: number;
@@ -407,32 +407,32 @@ declare function deleteMedia(mediaIds: string[]): void;
407
407
  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
- id: string;
411
- kind: string;
412
410
  url: string;
411
+ id: string;
413
412
  size: number;
413
+ kind: string;
414
414
  tags: {
415
415
  id: string;
416
416
  name: string;
417
- last_modified: number;
418
417
  created_at: number;
418
+ last_modified: number;
419
419
  count: number;
420
420
  uploader_id?: string | undefined;
421
421
  }[];
422
- filename: string;
423
422
  last_modified: number;
423
+ filename: string;
424
+ notes?: string | undefined;
424
425
  height?: number | undefined;
425
426
  width?: number | undefined;
426
- extension?: string | undefined;
427
+ credits?: string | undefined;
427
428
  alt?: string | undefined;
428
429
  uploader_id?: string | undefined;
429
- notes?: string | undefined;
430
- credits?: string | undefined;
430
+ extension?: string | undefined;
431
431
  search_highlight?: {
432
- filename?: string | undefined;
433
- alt?: string | undefined;
434
432
  notes?: string | undefined;
435
433
  credits?: string | undefined;
434
+ alt?: string | undefined;
435
+ filename?: string | undefined;
436
436
  } | undefined;
437
437
  }[];
438
438
  interface PageMetadata {
@@ -3,8 +3,8 @@ export declare function useTagSearch(): {
3
3
  tags: {
4
4
  id: string;
5
5
  name: string;
6
- last_modified: number;
7
6
  created_at: number;
7
+ last_modified: number;
8
8
  count: number;
9
9
  uploader_id?: string | undefined;
10
10
  }[];
@@ -22,15 +22,15 @@ export declare const tagSchema: z.ZodObject<{
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  id: string;
24
24
  name: string;
25
- last_modified: number;
26
25
  created_at: number;
26
+ last_modified: number;
27
27
  count: number;
28
28
  uploader_id?: string | undefined;
29
29
  }, {
30
30
  id: string;
31
31
  name: string;
32
- last_modified: number;
33
32
  created_at: number;
33
+ last_modified: number;
34
34
  uploader_id?: string | undefined;
35
35
  count?: number | undefined;
36
36
  }>;
@@ -37,32 +37,32 @@ export declare function uploadMedia(params: {
37
37
  file: File;
38
38
  config: EditorConfig;
39
39
  }): Promise<{
40
- id: string;
41
- kind: string;
42
40
  url: string;
41
+ id: string;
43
42
  size: number;
43
+ kind: string;
44
44
  tags: {
45
45
  id: string;
46
46
  name: string;
47
- last_modified: number;
48
47
  created_at: number;
48
+ last_modified: number;
49
49
  count: number;
50
50
  uploader_id?: string | undefined;
51
51
  }[];
52
- filename: string;
53
52
  last_modified: number;
53
+ filename: string;
54
+ notes?: string | undefined;
54
55
  height?: number | undefined;
55
56
  width?: number | undefined;
56
- extension?: string | undefined;
57
+ credits?: string | undefined;
57
58
  alt?: string | undefined;
58
59
  uploader_id?: string | undefined;
59
- notes?: string | undefined;
60
- credits?: string | undefined;
60
+ extension?: string | undefined;
61
61
  search_highlight?: {
62
- filename?: string | undefined;
63
- alt?: string | undefined;
64
62
  notes?: string | undefined;
65
63
  credits?: string | undefined;
64
+ alt?: string | undefined;
65
+ filename?: string | undefined;
66
66
  } | undefined;
67
67
  }>;
68
68
  export {};
@@ -1,29 +1,29 @@
1
1
  export declare function useSelectedMedia(): {
2
- id: string;
3
- kind: string;
4
2
  url: string;
3
+ id: string;
5
4
  size: number;
5
+ kind: string;
6
6
  tags: {
7
7
  id: string;
8
8
  name: string;
9
- last_modified: number;
10
9
  created_at: number;
10
+ last_modified: number;
11
11
  count: number;
12
12
  uploader_id?: string | undefined;
13
13
  }[];
14
- filename: string;
15
14
  last_modified: number;
15
+ filename: string;
16
+ notes?: string | undefined;
16
17
  height?: number | undefined;
17
18
  width?: number | undefined;
18
- extension?: string | undefined;
19
+ credits?: string | undefined;
19
20
  alt?: string | undefined;
20
21
  uploader_id?: string | undefined;
21
- notes?: string | undefined;
22
- credits?: string | undefined;
22
+ extension?: string | undefined;
23
23
  search_highlight?: {
24
- filename?: string | undefined;
25
- alt?: string | undefined;
26
24
  notes?: string | undefined;
27
25
  credits?: string | undefined;
26
+ alt?: string | undefined;
27
+ filename?: string | undefined;
28
28
  } | undefined;
29
29
  }[];
@@ -16,20 +16,20 @@ declare const unsplashImage: import("zod").ZodObject<{
16
16
  alt_description: import("zod").ZodOptional<import("zod").ZodString>;
17
17
  description: import("zod").ZodNullable<import("zod").ZodString>;
18
18
  }, "strip", import("zod").ZodTypeAny, {
19
- id: string;
19
+ description: string | null;
20
20
  height: number;
21
+ id: string;
21
22
  width: number;
22
- description: string | null;
23
23
  urls: {
24
24
  small: string;
25
25
  full: string;
26
26
  };
27
27
  alt_description?: string | undefined;
28
28
  }, {
29
- id: string;
29
+ description: string | null;
30
30
  height: number;
31
+ id: string;
31
32
  width: number;
32
- description: string | null;
33
33
  urls: {
34
34
  small: string;
35
35
  full: string;
@@ -54,20 +54,20 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
54
54
  alt_description: import("zod").ZodOptional<import("zod").ZodString>;
55
55
  description: import("zod").ZodNullable<import("zod").ZodString>;
56
56
  }, "strip", import("zod").ZodTypeAny, {
57
- id: string;
57
+ description: string | null;
58
58
  height: number;
59
+ id: string;
59
60
  width: number;
60
- description: string | null;
61
61
  urls: {
62
62
  small: string;
63
63
  full: string;
64
64
  };
65
65
  alt_description?: string | undefined;
66
66
  }, {
67
- id: string;
67
+ description: string | null;
68
68
  height: number;
69
+ id: string;
69
70
  width: number;
70
- description: string | null;
71
71
  urls: {
72
72
  small: string;
73
73
  full: string;
@@ -76,10 +76,10 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
76
76
  }>, "many">;
77
77
  }, "strip", import("zod").ZodTypeAny, {
78
78
  results: {
79
- id: string;
79
+ description: string | null;
80
80
  height: number;
81
+ id: string;
81
82
  width: number;
82
- description: string | null;
83
83
  urls: {
84
84
  small: string;
85
85
  full: string;
@@ -88,10 +88,10 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
88
88
  }[];
89
89
  }, {
90
90
  results: {
91
- id: string;
91
+ description: string | null;
92
92
  height: number;
93
+ id: string;
93
94
  width: number;
94
- description: string | null;
95
95
  urls: {
96
96
  small: string;
97
97
  full: string;
@@ -99,10 +99,10 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
99
99
  alt_description?: string | undefined;
100
100
  }[];
101
101
  }>, {
102
- id: string;
102
+ description: string | null;
103
103
  height: number;
104
+ id: string;
104
105
  width: number;
105
- description: string | null;
106
106
  urls: {
107
107
  small: string;
108
108
  full: string;
@@ -110,10 +110,10 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
110
110
  alt_description?: string | undefined;
111
111
  }[], {
112
112
  results: {
113
- id: string;
113
+ description: string | null;
114
114
  height: number;
115
+ id: string;
115
116
  width: number;
116
- description: string | null;
117
117
  urls: {
118
118
  small: string;
119
119
  full: string;
@@ -124,10 +124,10 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
124
124
  export type UnplashSearchApi = TypeOf<typeof unsplashSearchApiType>;
125
125
  export type UnsplashImage = TypeOf<typeof unsplashImage>;
126
126
  export declare function useUnsplashSearch(baseUrl: URL, term: string): {
127
- id: string;
127
+ description: string | null;
128
128
  height: number;
129
+ id: string;
129
130
  width: number;
130
- description: string | null;
131
131
  urls: {
132
132
  small: string;
133
133
  full: string;