@prismicio/editor-fields 0.4.70 → 0.4.71

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 (28) hide show
  1. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +70 -31
  2. package/dist/core/APIExplorer/components/Request/createRequest.d.ts +3 -2
  3. package/dist/core/APIExplorer/components/Request/index.d.ts +1 -1
  4. package/dist/core/APIExplorer/components/Request/types.d.ts +1 -0
  5. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +44 -44
  6. package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
  7. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +4 -4
  8. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +4 -4
  9. package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
  10. package/dist/core/service/customType.d.ts +20 -20
  11. package/dist/core/service/document.d.ts +174 -174
  12. package/dist/core/service/documentSearch.d.ts +40 -40
  13. package/dist/core/service/repository.d.ts +6 -6
  14. package/dist/core/service/role.d.ts +10 -10
  15. package/dist/fields/ImageField/useImageField.d.ts +4 -4
  16. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +4 -4
  17. package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
  18. package/dist/fields/LinkField/Documents/documentsData.d.ts +12 -12
  19. package/dist/fields/LinkField/LinkField.d.ts +1 -1
  20. package/dist/fields/LinkField/useLinkField.d.ts +1 -1
  21. package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +4 -4
  22. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +4 -4
  23. package/dist/fields/RichTextField/extensions/Table/TableView.d.ts +2 -0
  24. package/dist/fields/RichTextField/extensions/Table/plugins/index.d.ts +1 -0
  25. package/dist/fields/RichTextField/extensions/Table/plugins/tableCellFocusPlugin.d.ts +9 -0
  26. package/dist/index.cjs.js +46 -46
  27. package/dist/index.es.js +17886 -17511
  28. package/package.json +4 -4
@@ -20,15 +20,15 @@ interface SearchDocumentsArgs {
20
20
  }
21
21
  export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
22
22
  results: {
23
- id: string;
24
23
  title: string;
25
- custom_type_id: string;
26
- group_lang_id: string;
24
+ id: string;
27
25
  language: {
28
26
  isMaster?: boolean | undefined;
29
27
  id: string;
30
28
  label: string;
31
29
  };
30
+ custom_type_id: string;
31
+ group_lang_id: string;
32
32
  versions: (({
33
33
  status: "unclassified";
34
34
  } | {
@@ -45,20 +45,20 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
45
45
  custom_type_label: string;
46
46
  author: {
47
47
  id?: string | undefined;
48
+ email?: string | undefined;
48
49
  first_name?: string | undefined;
49
50
  last_name?: string | undefined;
50
- email?: string | undefined;
51
51
  uploadedAvatar?: string | undefined;
52
52
  };
53
- preview_image?: string | undefined;
54
53
  uid?: string | undefined;
54
+ preview_image?: string | undefined;
55
55
  preview_summary?: string | undefined;
56
56
  })[];
57
57
  }[];
58
58
  } | {
59
59
  results: {
60
- id: string;
61
60
  title: string;
61
+ id: string;
62
62
  custom_type_id: string;
63
63
  group_lang_id: string;
64
64
  locale_id?: string | undefined;
@@ -75,10 +75,10 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
75
75
  version_id: string;
76
76
  tags: string[];
77
77
  last_modified_date: Date;
78
- preview_image?: string | undefined;
78
+ summary?: string | undefined;
79
79
  uid?: string | undefined;
80
+ preview_image?: string | undefined;
80
81
  custom_type_id?: string | undefined;
81
- summary?: string | undefined;
82
82
  author_ids?: string[] | undefined;
83
83
  highlights?: {
84
84
  uid?: string | undefined;
@@ -101,15 +101,15 @@ interface SearchDocumentsQueryOptionsArgs {
101
101
  }
102
102
  export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
103
103
  results: {
104
- id: string;
105
104
  title: string;
106
- custom_type_id: string;
107
- group_lang_id: string;
105
+ id: string;
108
106
  language: {
109
107
  isMaster?: boolean | undefined;
110
108
  id: string;
111
109
  label: string;
112
110
  };
111
+ custom_type_id: string;
112
+ group_lang_id: string;
113
113
  versions: (({
114
114
  status: "unclassified";
115
115
  } | {
@@ -126,20 +126,20 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
126
126
  custom_type_label: string;
127
127
  author: {
128
128
  id?: string | undefined;
129
+ email?: string | undefined;
129
130
  first_name?: string | undefined;
130
131
  last_name?: string | undefined;
131
- email?: string | undefined;
132
132
  uploadedAvatar?: string | undefined;
133
133
  };
134
- preview_image?: string | undefined;
135
134
  uid?: string | undefined;
135
+ preview_image?: string | undefined;
136
136
  preview_summary?: string | undefined;
137
137
  })[];
138
138
  }[];
139
139
  } | {
140
140
  results: {
141
- id: string;
142
141
  title: string;
142
+ id: string;
143
143
  custom_type_id: string;
144
144
  group_lang_id: string;
145
145
  locale_id?: string | undefined;
@@ -156,10 +156,10 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
156
156
  version_id: string;
157
157
  tags: string[];
158
158
  last_modified_date: Date;
159
- preview_image?: string | undefined;
159
+ summary?: string | undefined;
160
160
  uid?: string | undefined;
161
+ preview_image?: string | undefined;
161
162
  custom_type_id?: string | undefined;
162
- summary?: string | undefined;
163
163
  author_ids?: string[] | undefined;
164
164
  highlights?: {
165
165
  uid?: string | undefined;
@@ -168,15 +168,15 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
168
168
  }[];
169
169
  }, Error, {
170
170
  results: {
171
- id: string;
172
171
  title: string;
173
- custom_type_id: string;
174
- group_lang_id: string;
172
+ id: string;
175
173
  language: {
176
174
  isMaster?: boolean | undefined;
177
175
  id: string;
178
176
  label: string;
179
177
  };
178
+ custom_type_id: string;
179
+ group_lang_id: string;
180
180
  versions: (({
181
181
  status: "unclassified";
182
182
  } | {
@@ -193,20 +193,20 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
193
193
  custom_type_label: string;
194
194
  author: {
195
195
  id?: string | undefined;
196
+ email?: string | undefined;
196
197
  first_name?: string | undefined;
197
198
  last_name?: string | undefined;
198
- email?: string | undefined;
199
199
  uploadedAvatar?: string | undefined;
200
200
  };
201
- preview_image?: string | undefined;
202
201
  uid?: string | undefined;
202
+ preview_image?: string | undefined;
203
203
  preview_summary?: string | undefined;
204
204
  })[];
205
205
  }[];
206
206
  } | {
207
207
  results: {
208
- id: string;
209
208
  title: string;
209
+ id: string;
210
210
  custom_type_id: string;
211
211
  group_lang_id: string;
212
212
  locale_id?: string | undefined;
@@ -223,10 +223,10 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
223
223
  version_id: string;
224
224
  tags: string[];
225
225
  last_modified_date: Date;
226
- preview_image?: string | undefined;
226
+ summary?: string | undefined;
227
227
  uid?: string | undefined;
228
+ preview_image?: string | undefined;
228
229
  custom_type_id?: string | undefined;
229
- summary?: string | undefined;
230
230
  author_ids?: string[] | undefined;
231
231
  highlights?: {
232
232
  uid?: string | undefined;
@@ -251,15 +251,15 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
251
251
  }]> & {
252
252
  initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
253
253
  results: {
254
- id: string;
255
254
  title: string;
256
- custom_type_id: string;
257
- group_lang_id: string;
255
+ id: string;
258
256
  language: {
259
257
  isMaster?: boolean | undefined;
260
258
  id: string;
261
259
  label: string;
262
260
  };
261
+ custom_type_id: string;
262
+ group_lang_id: string;
263
263
  versions: (({
264
264
  status: "unclassified";
265
265
  } | {
@@ -276,20 +276,20 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
276
276
  custom_type_label: string;
277
277
  author: {
278
278
  id?: string | undefined;
279
+ email?: string | undefined;
279
280
  first_name?: string | undefined;
280
281
  last_name?: string | undefined;
281
- email?: string | undefined;
282
282
  uploadedAvatar?: string | undefined;
283
283
  };
284
- preview_image?: string | undefined;
285
284
  uid?: string | undefined;
285
+ preview_image?: string | undefined;
286
286
  preview_summary?: string | undefined;
287
287
  })[];
288
288
  }[];
289
289
  } | {
290
290
  results: {
291
- id: string;
292
291
  title: string;
292
+ id: string;
293
293
  custom_type_id: string;
294
294
  group_lang_id: string;
295
295
  locale_id?: string | undefined;
@@ -306,10 +306,10 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
306
306
  version_id: string;
307
307
  tags: string[];
308
308
  last_modified_date: Date;
309
- preview_image?: string | undefined;
309
+ summary?: string | undefined;
310
310
  uid?: string | undefined;
311
+ preview_image?: string | undefined;
311
312
  custom_type_id?: string | undefined;
312
- summary?: string | undefined;
313
313
  author_ids?: string[] | undefined;
314
314
  highlights?: {
315
315
  uid?: string | undefined;
@@ -335,15 +335,15 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
335
335
  } | undefined;
336
336
  }], {
337
337
  results: {
338
- id: string;
339
338
  title: string;
340
- custom_type_id: string;
341
- group_lang_id: string;
339
+ id: string;
342
340
  language: {
343
341
  isMaster?: boolean | undefined;
344
342
  id: string;
345
343
  label: string;
346
344
  };
345
+ custom_type_id: string;
346
+ group_lang_id: string;
347
347
  versions: (({
348
348
  status: "unclassified";
349
349
  } | {
@@ -360,20 +360,20 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
360
360
  custom_type_label: string;
361
361
  author: {
362
362
  id?: string | undefined;
363
+ email?: string | undefined;
363
364
  first_name?: string | undefined;
364
365
  last_name?: string | undefined;
365
- email?: string | undefined;
366
366
  uploadedAvatar?: string | undefined;
367
367
  };
368
- preview_image?: string | undefined;
369
368
  uid?: string | undefined;
369
+ preview_image?: string | undefined;
370
370
  preview_summary?: string | undefined;
371
371
  })[];
372
372
  }[];
373
373
  } | {
374
374
  results: {
375
- id: string;
376
375
  title: string;
376
+ id: string;
377
377
  custom_type_id: string;
378
378
  group_lang_id: string;
379
379
  locale_id?: string | undefined;
@@ -390,10 +390,10 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
390
390
  version_id: string;
391
391
  tags: string[];
392
392
  last_modified_date: Date;
393
- preview_image?: string | undefined;
393
+ summary?: string | undefined;
394
394
  uid?: string | undefined;
395
+ preview_image?: string | undefined;
395
396
  custom_type_id?: string | undefined;
396
- summary?: string | undefined;
397
397
  author_ids?: string[] | undefined;
398
398
  highlights?: {
399
399
  uid?: string | undefined;
@@ -37,28 +37,28 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
37
37
  name: z.ZodString;
38
38
  is_master: z.ZodOptional<z.ZodBoolean>;
39
39
  }, "strip", z.ZodTypeAny, {
40
- id: string;
41
40
  name: string;
41
+ id: string;
42
42
  is_master?: boolean | undefined;
43
43
  }, {
44
- id: string;
45
44
  name: string;
45
+ id: string;
46
46
  is_master?: boolean | undefined;
47
47
  }>, {
48
48
  isMaster?: boolean | undefined;
49
49
  id: string;
50
50
  label: string;
51
51
  }, {
52
- id: string;
53
52
  name: string;
53
+ id: string;
54
54
  is_master?: boolean | undefined;
55
55
  }>, "many">, {
56
56
  isMaster?: boolean | undefined;
57
57
  id: string;
58
58
  label: string;
59
59
  }[], {
60
- id: string;
61
60
  name: string;
61
+ id: string;
62
62
  is_master?: boolean | undefined;
63
63
  }[]>;
64
64
  authors: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -126,8 +126,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
126
126
  starterId?: string | undefined;
127
127
  }, {
128
128
  languages: {
129
- id: string;
130
129
  name: string;
130
+ id: string;
131
131
  is_master?: boolean | undefined;
132
132
  }[];
133
133
  storageVersion: {
@@ -175,8 +175,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
175
175
  starterId?: string | undefined;
176
176
  }, {
177
177
  languages: {
178
- id: string;
179
178
  name: string;
179
+ id: string;
180
180
  is_master?: boolean | undefined;
181
181
  }[];
182
182
  storageVersion: {
@@ -284,12 +284,12 @@ export declare const TeamSpace: z.ZodObject<{
284
284
  name: z.ZodString;
285
285
  customTypes: z.ZodArray<z.ZodString, "many">;
286
286
  }, "strip", z.ZodTypeAny, {
287
- id: string;
288
287
  name: string;
288
+ id: string;
289
289
  customTypes: string[];
290
290
  }, {
291
- id: string;
292
291
  name: string;
292
+ id: string;
293
293
  customTypes: string[];
294
294
  }>;
295
295
  export type TeamSpace = z.infer<typeof TeamSpace>;
@@ -310,24 +310,24 @@ declare const TeamSpacesResponse: z.ZodObject<{
310
310
  name: z.ZodString;
311
311
  customTypes: z.ZodArray<z.ZodString, "many">;
312
312
  }, "strip", z.ZodTypeAny, {
313
- id: string;
314
313
  name: string;
314
+ id: string;
315
315
  customTypes: string[];
316
316
  }, {
317
- id: string;
318
317
  name: string;
318
+ id: string;
319
319
  customTypes: string[];
320
320
  }>, "many">;
321
321
  }, "strip", z.ZodTypeAny, {
322
322
  results: {
323
- id: string;
324
323
  name: string;
324
+ id: string;
325
325
  customTypes: string[];
326
326
  }[];
327
327
  }, {
328
328
  results: {
329
- id: string;
330
329
  name: string;
330
+ id: string;
331
331
  customTypes: string[];
332
332
  }[];
333
333
  }>;
@@ -340,27 +340,27 @@ interface GetTeamSpacesArgs {
340
340
  export declare function getTeamSpaces(args: GetTeamSpacesArgs): Promise<TeamSpacesResponse>;
341
341
  export declare function getTeamSpacesOptions(args: GetTeamSpacesArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
342
342
  results: {
343
- id: string;
344
343
  name: string;
344
+ id: string;
345
345
  customTypes: string[];
346
346
  }[];
347
347
  }, Error, {
348
- id: string;
349
348
  name: string;
349
+ id: string;
350
350
  customTypes: string[];
351
351
  }[], (string | GetTeamSpacesArgs)[]> & {
352
352
  initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
353
353
  results: {
354
- id: string;
355
354
  name: string;
355
+ id: string;
356
356
  customTypes: string[];
357
357
  }[];
358
358
  }> | undefined;
359
359
  } & {
360
360
  queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<(string | GetTeamSpacesArgs)[], {
361
361
  results: {
362
- id: string;
363
362
  name: string;
363
+ id: string;
364
364
  customTypes: string[];
365
365
  }[];
366
366
  }>;
@@ -89,12 +89,12 @@ export declare function useImageField(props: useImageFieldProps): {
89
89
  onClear: () => void;
90
90
  uploadImage: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<{
91
91
  id: string;
92
+ size: number;
92
93
  url: string;
93
94
  kind: string;
94
- size: number;
95
95
  tags: {
96
- id: string;
97
96
  name: string;
97
+ id: string;
98
98
  created_at: number;
99
99
  last_modified: number;
100
100
  count: number;
@@ -104,15 +104,15 @@ export declare function useImageField(props: useImageFieldProps): {
104
104
  filename: string;
105
105
  width?: number | undefined;
106
106
  height?: number | undefined;
107
+ notes?: string | undefined;
107
108
  credits?: string | undefined;
108
109
  alt?: string | undefined;
109
- notes?: string | undefined;
110
110
  uploader_id?: string | undefined;
111
111
  extension?: string | undefined;
112
112
  search_highlight?: {
113
+ notes?: string | undefined;
113
114
  credits?: string | undefined;
114
115
  alt?: string | undefined;
115
- notes?: string | undefined;
116
116
  filename?: string | undefined;
117
117
  } | undefined;
118
118
  }, Error, File, unknown>;
@@ -5,12 +5,12 @@ interface UseImageFieldImageUploadArgs {
5
5
  export declare function useImageFieldImageUpload(args: UseImageFieldImageUploadArgs): {
6
6
  uploadImage: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<{
7
7
  id: string;
8
+ size: number;
8
9
  url: string;
9
10
  kind: string;
10
- size: number;
11
11
  tags: {
12
- id: string;
13
12
  name: string;
13
+ id: string;
14
14
  created_at: number;
15
15
  last_modified: number;
16
16
  count: number;
@@ -20,15 +20,15 @@ export declare function useImageFieldImageUpload(args: UseImageFieldImageUploadA
20
20
  filename: string;
21
21
  width?: number | undefined;
22
22
  height?: number | undefined;
23
+ notes?: string | undefined;
23
24
  credits?: string | undefined;
24
25
  alt?: string | undefined;
25
- notes?: string | undefined;
26
26
  uploader_id?: string | undefined;
27
27
  extension?: string | undefined;
28
28
  search_highlight?: {
29
+ notes?: string | undefined;
29
30
  credits?: string | undefined;
30
31
  alt?: string | undefined;
31
- notes?: string | undefined;
32
32
  filename?: string | undefined;
33
33
  } | undefined;
34
34
  }, Error, File, unknown>;
@@ -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
  description?: string | undefined;
11
11
  imageURL?: 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
  description?: string | undefined;
19
19
  imageURL?: 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
  description?: string | undefined;
35
35
  imageURL?: string | undefined;
36
36
  }, {
37
- id: string;
38
37
  title: string;
38
+ id: string;
39
39
  description?: string | undefined;
40
40
  imageURL?: 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
  description?: string | undefined;
52
52
  imageURL?: string | undefined;
53
53
  };
@@ -22,13 +22,13 @@ export declare function useDocuments(params: {
22
22
  custom_type_label: string;
23
23
  author: {
24
24
  id?: string | undefined;
25
+ email?: string | undefined;
25
26
  first_name?: string | undefined;
26
27
  last_name?: string | undefined;
27
- email?: string | undefined;
28
28
  uploadedAvatar?: string | undefined;
29
29
  };
30
- preview_image?: string | undefined;
31
30
  uid?: string | undefined;
31
+ preview_image?: string | undefined;
32
32
  preview_summary?: string | undefined;
33
33
  }) | (({
34
34
  status: "unclassified";
@@ -43,24 +43,24 @@ export declare function useDocuments(params: {
43
43
  version_id: string;
44
44
  tags: string[];
45
45
  last_modified_date: Date;
46
- preview_image?: string | undefined;
46
+ summary?: string | undefined;
47
47
  uid?: string | undefined;
48
+ preview_image?: string | undefined;
48
49
  custom_type_id?: string | undefined;
49
- summary?: string | undefined;
50
50
  author_ids?: string[] | undefined;
51
51
  highlights?: {
52
52
  uid?: string | undefined;
53
53
  } | undefined;
54
54
  }))[];
55
- id: string;
56
55
  title: string;
57
- custom_type_id: string;
58
- group_lang_id: string;
56
+ id: string;
59
57
  language: {
60
58
  isMaster?: boolean | undefined;
61
59
  id: string;
62
60
  label: string;
63
61
  };
62
+ custom_type_id: string;
63
+ group_lang_id: string;
64
64
  } | {
65
65
  versions: ((({
66
66
  status: "unclassified";
@@ -78,13 +78,13 @@ export declare function useDocuments(params: {
78
78
  custom_type_label: string;
79
79
  author: {
80
80
  id?: string | undefined;
81
+ email?: string | undefined;
81
82
  first_name?: string | undefined;
82
83
  last_name?: string | undefined;
83
- email?: string | undefined;
84
84
  uploadedAvatar?: string | undefined;
85
85
  };
86
- preview_image?: string | undefined;
87
86
  uid?: string | undefined;
87
+ preview_image?: string | undefined;
88
88
  preview_summary?: string | undefined;
89
89
  }) | (({
90
90
  status: "unclassified";
@@ -99,17 +99,17 @@ export declare function useDocuments(params: {
99
99
  version_id: string;
100
100
  tags: string[];
101
101
  last_modified_date: Date;
102
- preview_image?: string | undefined;
102
+ summary?: string | undefined;
103
103
  uid?: string | undefined;
104
+ preview_image?: string | undefined;
104
105
  custom_type_id?: string | undefined;
105
- summary?: string | undefined;
106
106
  author_ids?: string[] | undefined;
107
107
  highlights?: {
108
108
  uid?: string | undefined;
109
109
  } | undefined;
110
110
  }))[];
111
- id: string;
112
111
  title: string;
112
+ id: string;
113
113
  custom_type_id: string;
114
114
  group_lang_id: string;
115
115
  locale_id?: string | undefined;
@@ -16,7 +16,7 @@ interface GetFieldIconArgs {
16
16
  selectType?: FieldSelectType;
17
17
  displayTextEnabled?: boolean;
18
18
  }
19
- export declare function getFieldIcon(args: GetFieldIconArgs): "image" | "description" | "link" | "notes" | "public";
19
+ export declare function getFieldIcon(args: GetFieldIconArgs): "image" | "link" | "description" | "notes" | "public";
20
20
  interface FilledLinkFieldProps {
21
21
  id?: string;
22
22
  appearance?: LinkFieldAppearance;
@@ -11,7 +11,7 @@ interface useLinkFieldParams {
11
11
  }
12
12
  export declare function useLinkField(params: useLinkFieldParams): {
13
13
  contentType: "ImageLink" | "FileLink" | "DocumentLink" | "ExternalLink" | "MediaLink" | "AnyLink" | undefined;
14
- selectType: "web" | "media" | "document" | "any" | undefined;
14
+ selectType: "web" | "document" | "media" | "any" | undefined;
15
15
  fieldValue: string;
16
16
  onDisplayTextChange: (displayText: string) => void;
17
17
  onValueChange: (value: string, options?: {
@@ -3,7 +3,7 @@ declare const _default: {
3
3
  component: import("@tiptap/core").Node<import("@tiptap/extension-list-item").ListItemOptions, any>;
4
4
  converter: {
5
5
  fromPrismic(schema: Schema<any, any>): (list: {
6
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7
7
  content: {
8
8
  text: string;
9
9
  } & {
@@ -56,7 +56,7 @@ declare const _default: {
56
56
  } | {
57
57
  start: number;
58
58
  end: number;
59
- type: "strong" | "em" | "list-item";
59
+ type: "em" | "strong" | "list-item";
60
60
  })[] | undefined;
61
61
  };
62
62
  } & {
@@ -64,7 +64,7 @@ declare const _default: {
64
64
  direction?: string | undefined;
65
65
  }) => ProsemirrorNode | undefined;
66
66
  toPrismic(node: ProsemirrorNode, nodeType: "list-item" | "o-list-item"): readonly ({
67
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
67
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
68
68
  content: {
69
69
  text: string;
70
70
  } & {
@@ -117,7 +117,7 @@ declare const _default: {
117
117
  } | {
118
118
  start: number;
119
119
  end: number;
120
- type: "strong" | "em" | "list-item";
120
+ type: "em" | "strong" | "list-item";
121
121
  })[] | undefined;
122
122
  };
123
123
  } & {
@@ -21,12 +21,12 @@ export declare function useImageView(props: useImageViewProps): {
21
21
  onClear: () => void;
22
22
  uploadImage: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<{
23
23
  id: string;
24
+ size: number;
24
25
  url: string;
25
26
  kind: string;
26
- size: number;
27
27
  tags: {
28
- id: string;
29
28
  name: string;
29
+ id: string;
30
30
  created_at: number;
31
31
  last_modified: number;
32
32
  count: number;
@@ -36,15 +36,15 @@ export declare function useImageView(props: useImageViewProps): {
36
36
  filename: string;
37
37
  width?: number | undefined;
38
38
  height?: number | undefined;
39
+ notes?: string | undefined;
39
40
  credits?: string | undefined;
40
41
  alt?: string | undefined;
41
- notes?: string | undefined;
42
42
  uploader_id?: string | undefined;
43
43
  extension?: string | undefined;
44
44
  search_highlight?: {
45
+ notes?: string | undefined;
45
46
  credits?: string | undefined;
46
47
  alt?: string | undefined;
47
- notes?: string | undefined;
48
48
  filename?: string | undefined;
49
49
  } | undefined;
50
50
  }, Error, File, unknown>;