@prismicio/editor-fields 0.4.81 → 0.4.82

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.
@@ -20,13 +20,13 @@ interface SearchDocumentsArgs {
20
20
  }
21
21
  export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
22
22
  results: {
23
+ id: string;
24
+ title: string;
23
25
  language: {
24
26
  id: string;
25
27
  label: string;
26
28
  isMaster: boolean;
27
29
  };
28
- title: string;
29
- id: string;
30
30
  custom_type_id: string;
31
31
  group_lang_id: string;
32
32
  versions: (({
@@ -44,22 +44,22 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
44
44
  last_modified_date: Date;
45
45
  custom_type_label: string;
46
46
  author: {
47
- email?: string | undefined;
48
47
  id?: string | undefined;
49
48
  first_name?: string | undefined;
50
49
  last_name?: string | undefined;
50
+ email?: string | undefined;
51
51
  uploadedAvatar?: string | undefined;
52
52
  };
53
- uid?: string | undefined;
54
53
  preview_image?: string | undefined;
54
+ uid?: string | undefined;
55
55
  preview_summary?: string | undefined;
56
56
  })[];
57
57
  ai_abm_thread_id?: string | undefined;
58
58
  }[];
59
59
  } | {
60
60
  results: {
61
- title: string;
62
61
  id: string;
62
+ title: string;
63
63
  custom_type_id: string;
64
64
  group_lang_id: string;
65
65
  locale_id?: string | undefined;
@@ -77,9 +77,9 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
77
77
  version_id: string;
78
78
  last_modified_date: Date;
79
79
  summary?: string | undefined;
80
- uid?: string | undefined;
81
- preview_image?: string | undefined;
82
80
  custom_type_id?: string | undefined;
81
+ preview_image?: string | undefined;
82
+ uid?: string | undefined;
83
83
  author_ids?: string[] | undefined;
84
84
  highlights?: {
85
85
  uid?: string | undefined;
@@ -102,13 +102,13 @@ interface SearchDocumentsQueryOptionsArgs {
102
102
  }
103
103
  export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
104
104
  results: {
105
+ id: string;
106
+ title: string;
105
107
  language: {
106
108
  id: string;
107
109
  label: string;
108
110
  isMaster: boolean;
109
111
  };
110
- title: string;
111
- id: string;
112
112
  custom_type_id: string;
113
113
  group_lang_id: string;
114
114
  versions: (({
@@ -126,22 +126,22 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
126
126
  last_modified_date: Date;
127
127
  custom_type_label: string;
128
128
  author: {
129
- email?: string | undefined;
130
129
  id?: string | undefined;
131
130
  first_name?: string | undefined;
132
131
  last_name?: string | undefined;
132
+ email?: string | undefined;
133
133
  uploadedAvatar?: string | undefined;
134
134
  };
135
- uid?: string | undefined;
136
135
  preview_image?: string | undefined;
136
+ uid?: string | undefined;
137
137
  preview_summary?: string | undefined;
138
138
  })[];
139
139
  ai_abm_thread_id?: string | undefined;
140
140
  }[];
141
141
  } | {
142
142
  results: {
143
- title: string;
144
143
  id: string;
144
+ title: string;
145
145
  custom_type_id: string;
146
146
  group_lang_id: string;
147
147
  locale_id?: string | undefined;
@@ -159,9 +159,9 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
159
159
  version_id: string;
160
160
  last_modified_date: Date;
161
161
  summary?: string | undefined;
162
- uid?: string | undefined;
163
- preview_image?: string | undefined;
164
162
  custom_type_id?: string | undefined;
163
+ preview_image?: string | undefined;
164
+ uid?: string | undefined;
165
165
  author_ids?: string[] | undefined;
166
166
  highlights?: {
167
167
  uid?: string | undefined;
@@ -170,13 +170,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
170
170
  }[];
171
171
  }, Error, {
172
172
  results: {
173
+ id: string;
174
+ title: string;
173
175
  language: {
174
176
  id: string;
175
177
  label: string;
176
178
  isMaster: boolean;
177
179
  };
178
- title: string;
179
- id: string;
180
180
  custom_type_id: string;
181
181
  group_lang_id: string;
182
182
  versions: (({
@@ -194,22 +194,22 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
194
194
  last_modified_date: Date;
195
195
  custom_type_label: string;
196
196
  author: {
197
- email?: string | undefined;
198
197
  id?: string | undefined;
199
198
  first_name?: string | undefined;
200
199
  last_name?: string | undefined;
200
+ email?: string | undefined;
201
201
  uploadedAvatar?: string | undefined;
202
202
  };
203
- uid?: string | undefined;
204
203
  preview_image?: string | undefined;
204
+ uid?: string | undefined;
205
205
  preview_summary?: string | undefined;
206
206
  })[];
207
207
  ai_abm_thread_id?: string | undefined;
208
208
  }[];
209
209
  } | {
210
210
  results: {
211
- title: string;
212
211
  id: string;
212
+ title: string;
213
213
  custom_type_id: string;
214
214
  group_lang_id: string;
215
215
  locale_id?: string | undefined;
@@ -227,9 +227,9 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
227
227
  version_id: string;
228
228
  last_modified_date: Date;
229
229
  summary?: string | undefined;
230
- uid?: string | undefined;
231
- preview_image?: string | undefined;
232
230
  custom_type_id?: string | undefined;
231
+ preview_image?: string | undefined;
232
+ uid?: string | undefined;
233
233
  author_ids?: string[] | undefined;
234
234
  highlights?: {
235
235
  uid?: string | undefined;
@@ -254,13 +254,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
254
254
  }]> & {
255
255
  initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
256
256
  results: {
257
+ id: string;
258
+ title: string;
257
259
  language: {
258
260
  id: string;
259
261
  label: string;
260
262
  isMaster: boolean;
261
263
  };
262
- title: string;
263
- id: string;
264
264
  custom_type_id: string;
265
265
  group_lang_id: string;
266
266
  versions: (({
@@ -278,22 +278,22 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
278
278
  last_modified_date: Date;
279
279
  custom_type_label: string;
280
280
  author: {
281
- email?: string | undefined;
282
281
  id?: string | undefined;
283
282
  first_name?: string | undefined;
284
283
  last_name?: string | undefined;
284
+ email?: string | undefined;
285
285
  uploadedAvatar?: string | undefined;
286
286
  };
287
- uid?: string | undefined;
288
287
  preview_image?: string | undefined;
288
+ uid?: string | undefined;
289
289
  preview_summary?: string | undefined;
290
290
  })[];
291
291
  ai_abm_thread_id?: string | undefined;
292
292
  }[];
293
293
  } | {
294
294
  results: {
295
- title: string;
296
295
  id: string;
296
+ title: string;
297
297
  custom_type_id: string;
298
298
  group_lang_id: string;
299
299
  locale_id?: string | undefined;
@@ -311,9 +311,9 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
311
311
  version_id: string;
312
312
  last_modified_date: Date;
313
313
  summary?: string | undefined;
314
- uid?: string | undefined;
315
- preview_image?: string | undefined;
316
314
  custom_type_id?: string | undefined;
315
+ preview_image?: string | undefined;
316
+ uid?: string | undefined;
317
317
  author_ids?: string[] | undefined;
318
318
  highlights?: {
319
319
  uid?: string | undefined;
@@ -339,13 +339,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
339
339
  } | undefined;
340
340
  }], {
341
341
  results: {
342
+ id: string;
343
+ title: string;
342
344
  language: {
343
345
  id: string;
344
346
  label: string;
345
347
  isMaster: boolean;
346
348
  };
347
- title: string;
348
- id: string;
349
349
  custom_type_id: string;
350
350
  group_lang_id: string;
351
351
  versions: (({
@@ -363,22 +363,22 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
363
363
  last_modified_date: Date;
364
364
  custom_type_label: string;
365
365
  author: {
366
- email?: string | undefined;
367
366
  id?: string | undefined;
368
367
  first_name?: string | undefined;
369
368
  last_name?: string | undefined;
369
+ email?: string | undefined;
370
370
  uploadedAvatar?: string | undefined;
371
371
  };
372
- uid?: string | undefined;
373
372
  preview_image?: string | undefined;
373
+ uid?: string | undefined;
374
374
  preview_summary?: string | undefined;
375
375
  })[];
376
376
  ai_abm_thread_id?: string | undefined;
377
377
  }[];
378
378
  } | {
379
379
  results: {
380
- title: string;
381
380
  id: string;
381
+ title: string;
382
382
  custom_type_id: string;
383
383
  group_lang_id: string;
384
384
  locale_id?: string | undefined;
@@ -396,9 +396,9 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
396
396
  version_id: string;
397
397
  last_modified_date: Date;
398
398
  summary?: string | undefined;
399
- uid?: string | undefined;
400
- preview_image?: string | undefined;
401
399
  custom_type_id?: string | undefined;
400
+ preview_image?: string | undefined;
401
+ uid?: string | undefined;
402
402
  author_ids?: string[] | undefined;
403
403
  highlights?: {
404
404
  uid?: string | undefined;
@@ -7,14 +7,14 @@ declare const repositoryAuthor: z.ZodObject<{
7
7
  email: z.ZodString;
8
8
  uploadedAvatar: z.ZodOptional<z.ZodString>;
9
9
  }, "strip", z.ZodTypeAny, {
10
- email: string;
11
10
  id: string;
11
+ email: string;
12
12
  uploadedAvatar?: string | undefined;
13
13
  firstname?: string | undefined;
14
14
  lastname?: string | undefined;
15
15
  }, {
16
- email: string;
17
16
  id: string;
17
+ email: string;
18
18
  uploadedAvatar?: string | undefined;
19
19
  firstname?: string | undefined;
20
20
  lastname?: string | undefined;
@@ -68,14 +68,14 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
68
68
  email: z.ZodString;
69
69
  uploadedAvatar: z.ZodOptional<z.ZodString>;
70
70
  }, "strip", z.ZodTypeAny, {
71
- email: string;
72
71
  id: string;
72
+ email: string;
73
73
  uploadedAvatar?: string | undefined;
74
74
  firstname?: string | undefined;
75
75
  lastname?: string | undefined;
76
76
  }, {
77
- email: string;
78
77
  id: string;
78
+ email: string;
79
79
  uploadedAvatar?: string | undefined;
80
80
  firstname?: string | undefined;
81
81
  lastname?: string | undefined;
@@ -102,8 +102,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
102
102
  uploadedAvatar: z.ZodOptional<z.ZodString>;
103
103
  }, "strip", z.ZodTypeAny, {
104
104
  authors: {
105
- email: string;
106
105
  id: string;
106
+ email: string;
107
107
  uploadedAvatar?: string | undefined;
108
108
  firstname?: string | undefined;
109
109
  lastname?: string | undefined;
@@ -136,8 +136,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
136
136
  };
137
137
  uploadedAvatar?: string | undefined;
138
138
  authors?: {
139
- email: string;
140
139
  id: string;
140
+ email: string;
141
141
  uploadedAvatar?: string | undefined;
142
142
  firstname?: string | undefined;
143
143
  lastname?: string | undefined;
@@ -153,8 +153,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
153
153
  simulatorUrl: string | undefined;
154
154
  isSupportedFramework: boolean;
155
155
  authors: {
156
- email: string;
157
156
  id: string;
157
+ email: string;
158
158
  uploadedAvatar?: string | undefined;
159
159
  firstname?: string | undefined;
160
160
  lastname?: string | undefined;
@@ -185,8 +185,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
185
185
  };
186
186
  uploadedAvatar?: string | undefined;
187
187
  authors?: {
188
- email: string;
189
188
  id: string;
189
+ email: string;
190
190
  uploadedAvatar?: string | undefined;
191
191
  firstname?: string | undefined;
192
192
  lastname?: string | undefined;
@@ -286,14 +286,14 @@ export declare const repositorySchemaV2: z.ZodObject<{
286
286
  email: z.ZodString;
287
287
  uploadedAvatar: z.ZodOptional<z.ZodString>;
288
288
  }, "strip", z.ZodTypeAny, {
289
- email: string;
290
289
  id: string;
290
+ email: string;
291
291
  uploadedAvatar?: string | undefined;
292
292
  firstname?: string | undefined;
293
293
  lastname?: string | undefined;
294
294
  }, {
295
- email: string;
296
295
  id: string;
296
+ email: string;
297
297
  uploadedAvatar?: string | undefined;
298
298
  firstname?: string | undefined;
299
299
  lastname?: string | undefined;
@@ -319,8 +319,8 @@ export declare const repositorySchemaV2: z.ZodObject<{
319
319
  isDismissed: boolean;
320
320
  };
321
321
  users: {
322
- email: string;
323
322
  id: string;
323
+ email: string;
324
324
  uploadedAvatar?: string | undefined;
325
325
  firstname?: string | undefined;
326
326
  lastname?: string | undefined;
@@ -346,8 +346,8 @@ export declare const repositorySchemaV2: z.ZodObject<{
346
346
  } | undefined;
347
347
  framework?: unknown;
348
348
  users?: {
349
- email: string;
350
349
  id: string;
350
+ email: string;
351
351
  uploadedAvatar?: string | undefined;
352
352
  firstname?: string | undefined;
353
353
  lastname?: string | undefined;
@@ -285,23 +285,23 @@ export declare const TeamSpace: z.ZodObject<{
285
285
  customTypes: z.ZodArray<z.ZodString, "many">;
286
286
  }, "strip", z.ZodTypeAny, {
287
287
  id: string;
288
- name: string;
289
288
  customTypes: string[];
289
+ name: string;
290
290
  }, {
291
291
  id: string;
292
- name: string;
293
292
  customTypes: string[];
293
+ name: string;
294
294
  }>;
295
295
  export type TeamSpace = z.infer<typeof TeamSpace>;
296
296
  declare const TeamSpaceUpsert: z.ZodObject<{
297
297
  name: z.ZodString;
298
298
  customTypes: z.ZodArray<z.ZodString, "many">;
299
299
  }, "strip", z.ZodTypeAny, {
300
- name: string;
301
300
  customTypes: string[];
302
- }, {
303
301
  name: string;
302
+ }, {
304
303
  customTypes: string[];
304
+ name: string;
305
305
  }>;
306
306
  export type TeamSpaceUpsert = z.infer<typeof TeamSpaceUpsert>;
307
307
  declare const TeamSpacesResponse: z.ZodObject<{
@@ -311,24 +311,24 @@ declare const TeamSpacesResponse: z.ZodObject<{
311
311
  customTypes: z.ZodArray<z.ZodString, "many">;
312
312
  }, "strip", z.ZodTypeAny, {
313
313
  id: string;
314
- name: string;
315
314
  customTypes: string[];
315
+ name: string;
316
316
  }, {
317
317
  id: string;
318
- name: string;
319
318
  customTypes: string[];
319
+ name: string;
320
320
  }>, "many">;
321
321
  }, "strip", z.ZodTypeAny, {
322
322
  results: {
323
323
  id: string;
324
- name: string;
325
324
  customTypes: string[];
325
+ name: string;
326
326
  }[];
327
327
  }, {
328
328
  results: {
329
329
  id: string;
330
- name: string;
331
330
  customTypes: string[];
331
+ name: string;
332
332
  }[];
333
333
  }>;
334
334
  export type TeamSpacesResponse = z.infer<typeof TeamSpacesResponse>;
@@ -341,27 +341,27 @@ export declare function getTeamSpaces(args: GetTeamSpacesArgs): Promise<TeamSpac
341
341
  export declare function getTeamSpacesOptions(args: GetTeamSpacesArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
342
342
  results: {
343
343
  id: string;
344
- name: string;
345
344
  customTypes: string[];
345
+ name: string;
346
346
  }[];
347
347
  }, Error, {
348
348
  id: string;
349
- name: string;
350
349
  customTypes: string[];
350
+ name: string;
351
351
  }[], (string | GetTeamSpacesArgs)[]> & {
352
352
  initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
353
353
  results: {
354
354
  id: string;
355
- name: string;
356
355
  customTypes: string[];
356
+ name: 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
362
  id: string;
363
- name: string;
364
363
  customTypes: string[];
364
+ name: string;
365
365
  }[];
366
366
  }>;
367
367
  };
@@ -88,27 +88,27 @@ export declare function useImageField(props: useImageFieldProps): {
88
88
  }) | undefined;
89
89
  onClear: () => void;
90
90
  uploadImage: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<{
91
- url: string;
92
91
  id: string;
92
+ size: number;
93
93
  tags: {
94
94
  id: string;
95
95
  name: string;
96
- created_at: number;
97
96
  last_modified: number;
97
+ created_at: number;
98
98
  count: number;
99
99
  uploader_id?: string | undefined;
100
100
  }[];
101
- size: number;
101
+ url: string;
102
102
  kind: string;
103
- last_modified: number;
104
103
  filename: string;
104
+ last_modified: number;
105
105
  notes?: string | undefined;
106
- height?: number | undefined;
107
106
  width?: number | undefined;
107
+ height?: number | undefined;
108
108
  credits?: string | undefined;
109
109
  alt?: string | undefined;
110
- uploader_id?: string | undefined;
111
110
  extension?: string | undefined;
111
+ uploader_id?: string | undefined;
112
112
  search_highlight?: {
113
113
  notes?: string | undefined;
114
114
  credits?: string | undefined;
@@ -4,27 +4,27 @@ interface UseImageFieldImageUploadArgs {
4
4
  }
5
5
  export declare function useImageFieldImageUpload(args: UseImageFieldImageUploadArgs): {
6
6
  uploadImage: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<{
7
- url: string;
8
7
  id: string;
8
+ size: number;
9
9
  tags: {
10
10
  id: string;
11
11
  name: string;
12
- created_at: number;
13
12
  last_modified: number;
13
+ created_at: number;
14
14
  count: number;
15
15
  uploader_id?: string | undefined;
16
16
  }[];
17
- size: number;
17
+ url: string;
18
18
  kind: string;
19
- last_modified: number;
20
19
  filename: string;
20
+ last_modified: number;
21
21
  notes?: string | undefined;
22
- height?: number | undefined;
23
22
  width?: number | undefined;
23
+ height?: number | undefined;
24
24
  credits?: string | undefined;
25
25
  alt?: string | undefined;
26
- uploader_id?: string | undefined;
27
26
  extension?: string | undefined;
27
+ uploader_id?: string | undefined;
28
28
  search_highlight?: {
29
29
  notes?: string | undefined;
30
30
  credits?: string | undefined;
@@ -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
  description?: string | undefined;
11
11
  imageURL?: 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
  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
- title: string;
33
32
  id: string;
33
+ title: string;
34
34
  description?: string | undefined;
35
35
  imageURL?: string | undefined;
36
36
  }, {
37
- title: string;
38
37
  id: string;
38
+ title: 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
- title: string;
50
49
  id: string;
50
+ title: string;
51
51
  description?: string | undefined;
52
52
  imageURL?: string | undefined;
53
53
  };
@@ -21,14 +21,14 @@ export declare function useDocuments(params: {
21
21
  last_modified_date: Date;
22
22
  custom_type_label: string;
23
23
  author: {
24
- email?: string | undefined;
25
24
  id?: string | undefined;
26
25
  first_name?: string | undefined;
27
26
  last_name?: string | undefined;
27
+ email?: string | undefined;
28
28
  uploadedAvatar?: string | undefined;
29
29
  };
30
- uid?: string | undefined;
31
30
  preview_image?: string | undefined;
31
+ uid?: string | undefined;
32
32
  preview_summary?: string | undefined;
33
33
  }) | (({
34
34
  status: "unclassified";
@@ -44,21 +44,21 @@ export declare function useDocuments(params: {
44
44
  version_id: string;
45
45
  last_modified_date: Date;
46
46
  summary?: string | undefined;
47
- uid?: string | undefined;
48
- preview_image?: string | undefined;
49
47
  custom_type_id?: string | undefined;
48
+ preview_image?: string | undefined;
49
+ uid?: 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
+ title: string;
55
57
  language: {
56
58
  id: string;
57
59
  label: string;
58
60
  isMaster: boolean;
59
61
  };
60
- title: string;
61
- id: string;
62
62
  custom_type_id: string;
63
63
  group_lang_id: string;
64
64
  ai_abm_thread_id?: string | undefined;
@@ -78,14 +78,14 @@ export declare function useDocuments(params: {
78
78
  last_modified_date: Date;
79
79
  custom_type_label: string;
80
80
  author: {
81
- email?: string | undefined;
82
81
  id?: string | undefined;
83
82
  first_name?: string | undefined;
84
83
  last_name?: string | undefined;
84
+ email?: string | undefined;
85
85
  uploadedAvatar?: string | undefined;
86
86
  };
87
- uid?: string | undefined;
88
87
  preview_image?: string | undefined;
88
+ uid?: string | undefined;
89
89
  preview_summary?: string | undefined;
90
90
  }) | (({
91
91
  status: "unclassified";
@@ -101,16 +101,16 @@ export declare function useDocuments(params: {
101
101
  version_id: string;
102
102
  last_modified_date: Date;
103
103
  summary?: string | undefined;
104
- uid?: string | undefined;
105
- preview_image?: string | undefined;
106
104
  custom_type_id?: string | undefined;
105
+ preview_image?: string | undefined;
106
+ uid?: string | undefined;
107
107
  author_ids?: string[] | undefined;
108
108
  highlights?: {
109
109
  uid?: string | undefined;
110
110
  } | undefined;
111
111
  }))[];
112
- title: string;
113
112
  id: string;
113
+ title: string;
114
114
  custom_type_id: string;
115
115
  group_lang_id: string;
116
116
  locale_id?: string | undefined;
@@ -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: "any" | "document" | "web" | "media" | undefined;
14
+ selectType: "media" | "document" | "web" | "any" | undefined;
15
15
  fieldValue: string;
16
16
  onDisplayTextChange: (displayText: string) => void;
17
17
  onValueChange: (value: string, options?: {
@@ -4,7 +4,7 @@ declare const _default: {
4
4
  component: import("@tiptap/core").Node<import("@tiptap/extension-list-item").ListItemOptions, any>;
5
5
  converter: {
6
6
  fromPrismic(id: string, schema: Schema<any, any>, threads?: ThreadData<BaseMetadata>[] | undefined): (list: {
7
- type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
8
8
  content: {
9
9
  text: string;
10
10
  } & {
@@ -65,7 +65,7 @@ declare const _default: {
65
65
  direction?: string | undefined;
66
66
  }) => ProsemirrorNode | undefined;
67
67
  toPrismic(node: ProsemirrorNode, nodeType: "list-item" | "o-list-item"): readonly ({
68
- type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
68
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
69
69
  content: {
70
70
  text: string;
71
71
  } & {