@prismicio/editor-fields 0.4.61 → 0.4.62-alpha.jp-table-render-default-layout.2

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 (39) hide show
  1. package/dist/core/MediaLibrary/components/MediaLibraryDropzone.d.ts +3 -2
  2. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +45 -45
  3. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +33 -0
  4. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +5 -5
  5. package/dist/core/MediaLibrary/index.d.ts +0 -1
  6. package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
  7. package/dist/core/service/customType.d.ts +84 -18
  8. package/dist/core/service/document.d.ts +2111 -140
  9. package/dist/core/service/documentSearch.d.ts +15 -15
  10. package/dist/core/service/role.d.ts +0 -1
  11. package/dist/fields/ImageField/Components/ImageFieldCard.d.ts +1 -1
  12. package/dist/fields/ImageField/Components/ImageFieldDropZone.d.ts +9 -0
  13. package/dist/fields/ImageField/useImageField.d.ts +30 -0
  14. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +37 -0
  15. package/dist/fields/LinkField/Documents/documentsData.d.ts +6 -6
  16. package/dist/fields/RichTextField/RichTextField.d.ts +5 -5
  17. package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
  18. package/dist/fields/RichTextField/extensions/Bold/BoldModel.d.ts +2 -2
  19. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +30 -0
  20. package/dist/fields/RichTextField/extensions/Italic/ItalicModel.d.ts +2 -2
  21. package/dist/fields/RichTextField/extensions/Label/LabelModel.d.ts +2 -2
  22. package/dist/fields/RichTextField/extensions/Link/LinkModel.d.ts +2 -2
  23. package/dist/fields/RichTextField/extensions/Table/Table.d.ts +2 -0
  24. package/dist/fields/RichTextField/extensions/extensions.d.ts +4 -3
  25. package/dist/fields/RichTextField/models/EditorExtension.d.ts +34 -20
  26. package/dist/fields/RichTextField/models/RichTextConfig.d.ts +3 -2
  27. package/dist/fields/RichTextField/models/helpers/NodeUtils.d.ts +1 -1
  28. package/dist/fields/RichTextField/types.d.ts +41 -0
  29. package/dist/fields/TableField/TableField.d.ts +12 -0
  30. package/dist/fields/TableField/index.d.ts +1 -0
  31. package/dist/fields/utils.d.ts +2 -2
  32. package/dist/index.cjs.js +56 -53
  33. package/dist/index.d.ts +1 -1
  34. package/dist/index.es.js +30026 -25413
  35. package/dist/slices/utils.d.ts +163 -1
  36. package/package.json +9 -5
  37. package/dist/constants/localStorage.d.ts +0 -1
  38. package/dist/core/MediaLibrary/components/NewMediaLibraryFeaturesBanner.d.ts +0 -6
  39. package/dist/fields/RichTextField/extensions/Image/ImageLinkControl.d.ts +0 -0
@@ -1,5 +1,6 @@
1
- import type { PropsWithChildren } from "react";
2
- interface MediaLibraryDropzoneProps extends PropsWithChildren {
1
+ import type { ReactNode } from "react";
2
+ interface MediaLibraryDropzoneProps {
3
+ children: ReactNode;
3
4
  }
4
5
  export declare function MediaLibraryDropzone(props: MediaLibraryDropzoneProps): JSX.Element;
5
6
  export {};
@@ -54,6 +54,10 @@ export declare const mediaAssetType: z.ZodObject<{
54
54
  count?: number | undefined;
55
55
  }>, "many">;
56
56
  }, "strip", z.ZodTypeAny, {
57
+ kind: string;
58
+ id: string;
59
+ url: string;
60
+ size: number;
57
61
  tags: {
58
62
  name: string;
59
63
  id: string;
@@ -62,14 +66,10 @@ export declare const mediaAssetType: z.ZodObject<{
62
66
  count: number;
63
67
  uploader_id?: string | undefined;
64
68
  }[];
65
- id: string;
66
- url: string;
67
- kind: string;
68
- size: number;
69
69
  last_modified: number;
70
70
  filename: string;
71
- width?: number | undefined;
72
71
  height?: number | undefined;
72
+ width?: number | undefined;
73
73
  credits?: string | undefined;
74
74
  alt?: string | undefined;
75
75
  notes?: string | undefined;
@@ -82,6 +82,10 @@ export declare const mediaAssetType: z.ZodObject<{
82
82
  filename?: string | undefined;
83
83
  } | undefined;
84
84
  }, {
85
+ kind: string;
86
+ id: string;
87
+ url: string;
88
+ size: number;
85
89
  tags: {
86
90
  name: string;
87
91
  id: string;
@@ -90,14 +94,10 @@ export declare const mediaAssetType: z.ZodObject<{
90
94
  uploader_id?: string | undefined;
91
95
  count?: number | undefined;
92
96
  }[];
93
- id: string;
94
- url: string;
95
- kind: string;
96
- size: number;
97
97
  last_modified: number;
98
98
  filename: string;
99
- width?: number | undefined;
100
99
  height?: number | undefined;
100
+ width?: number | undefined;
101
101
  credits?: string | undefined;
102
102
  alt?: string | undefined;
103
103
  notes?: string | undefined;
@@ -169,6 +169,10 @@ export declare const mediaSearchResponse: z.ZodObject<{
169
169
  count?: number | undefined;
170
170
  }>, "many">;
171
171
  }, "strip", z.ZodTypeAny, {
172
+ kind: string;
173
+ id: string;
174
+ url: string;
175
+ size: number;
172
176
  tags: {
173
177
  name: string;
174
178
  id: string;
@@ -177,14 +181,10 @@ export declare const mediaSearchResponse: z.ZodObject<{
177
181
  count: number;
178
182
  uploader_id?: string | undefined;
179
183
  }[];
180
- id: string;
181
- url: string;
182
- kind: string;
183
- size: number;
184
184
  last_modified: number;
185
185
  filename: string;
186
- width?: number | undefined;
187
186
  height?: number | undefined;
187
+ width?: number | undefined;
188
188
  credits?: string | undefined;
189
189
  alt?: string | undefined;
190
190
  notes?: string | undefined;
@@ -197,6 +197,10 @@ export declare const mediaSearchResponse: z.ZodObject<{
197
197
  filename?: string | undefined;
198
198
  } | undefined;
199
199
  }, {
200
+ kind: string;
201
+ id: string;
202
+ url: string;
203
+ size: number;
200
204
  tags: {
201
205
  name: string;
202
206
  id: string;
@@ -205,14 +209,10 @@ export declare const mediaSearchResponse: z.ZodObject<{
205
209
  uploader_id?: string | undefined;
206
210
  count?: number | undefined;
207
211
  }[];
208
- id: string;
209
- url: string;
210
- kind: string;
211
- size: number;
212
212
  last_modified: number;
213
213
  filename: string;
214
- width?: number | undefined;
215
214
  height?: number | undefined;
215
+ width?: number | undefined;
216
216
  credits?: string | undefined;
217
217
  alt?: string | undefined;
218
218
  notes?: string | undefined;
@@ -228,6 +228,10 @@ export declare const mediaSearchResponse: z.ZodObject<{
228
228
  }, "strip", z.ZodTypeAny, {
229
229
  total: number;
230
230
  items: {
231
+ kind: string;
232
+ id: string;
233
+ url: string;
234
+ size: number;
231
235
  tags: {
232
236
  name: string;
233
237
  id: string;
@@ -236,14 +240,10 @@ export declare const mediaSearchResponse: z.ZodObject<{
236
240
  count: number;
237
241
  uploader_id?: string | undefined;
238
242
  }[];
239
- id: string;
240
- url: string;
241
- kind: string;
242
- size: number;
243
243
  last_modified: number;
244
244
  filename: string;
245
- width?: number | undefined;
246
245
  height?: number | undefined;
246
+ width?: number | undefined;
247
247
  credits?: string | undefined;
248
248
  alt?: string | undefined;
249
249
  notes?: string | undefined;
@@ -260,6 +260,10 @@ export declare const mediaSearchResponse: z.ZodObject<{
260
260
  }, {
261
261
  total: number;
262
262
  items: {
263
+ kind: string;
264
+ id: string;
265
+ url: string;
266
+ size: number;
263
267
  tags: {
264
268
  name: string;
265
269
  id: string;
@@ -268,14 +272,10 @@ export declare const mediaSearchResponse: z.ZodObject<{
268
272
  uploader_id?: string | undefined;
269
273
  count?: number | undefined;
270
274
  }[];
271
- id: string;
272
- url: string;
273
- kind: string;
274
- size: number;
275
275
  last_modified: number;
276
276
  filename: string;
277
- width?: number | undefined;
278
277
  height?: number | undefined;
278
+ width?: number | undefined;
279
279
  credits?: string | undefined;
280
280
  alt?: string | undefined;
281
281
  notes?: string | undefined;
@@ -308,6 +308,10 @@ export declare function searchMedia(baseUrl: URL | undefined, repository: string
308
308
  page: number;
309
309
  total: number;
310
310
  items: {
311
+ kind: string;
312
+ id: string;
313
+ url: string;
314
+ size: number;
311
315
  tags: {
312
316
  name: string;
313
317
  id: string;
@@ -316,14 +320,10 @@ export declare function searchMedia(baseUrl: URL | undefined, repository: string
316
320
  count: number;
317
321
  uploader_id?: string | undefined;
318
322
  }[];
319
- id: string;
320
- url: string;
321
- kind: string;
322
- size: number;
323
323
  last_modified: number;
324
324
  filename: string;
325
- width?: number | undefined;
326
325
  height?: number | undefined;
326
+ width?: number | undefined;
327
327
  credits?: string | undefined;
328
328
  alt?: string | undefined;
329
329
  notes?: string | undefined;
@@ -357,6 +357,10 @@ export declare function useMediaSearch(args: UseMediaLibrarySearchArgs): {
357
357
  setFilters: (filters: Partial<MediaLibraryFilters>) => void;
358
358
  resetFilters: () => void;
359
359
  media: {
360
+ kind: string;
361
+ id: string;
362
+ url: string;
363
+ size: number;
360
364
  tags: {
361
365
  name: string;
362
366
  id: string;
@@ -365,14 +369,10 @@ export declare function useMediaSearch(args: UseMediaLibrarySearchArgs): {
365
369
  count: number;
366
370
  uploader_id?: string | undefined;
367
371
  }[];
368
- id: string;
369
- url: string;
370
- kind: string;
371
- size: number;
372
372
  last_modified: number;
373
373
  filename: string;
374
- width?: number | undefined;
375
374
  height?: number | undefined;
375
+ width?: number | undefined;
376
376
  credits?: string | undefined;
377
377
  alt?: string | undefined;
378
378
  notes?: string | undefined;
@@ -407,6 +407,10 @@ 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
+ kind: string;
411
+ id: string;
412
+ url: string;
413
+ size: number;
410
414
  tags: {
411
415
  name: string;
412
416
  id: string;
@@ -415,14 +419,10 @@ export declare function getMedia(allPages: MediaPage[], keyword: string, assetTy
415
419
  count: number;
416
420
  uploader_id?: string | undefined;
417
421
  }[];
418
- id: string;
419
- url: string;
420
- kind: string;
421
- size: number;
422
422
  last_modified: number;
423
423
  filename: string;
424
- width?: number | undefined;
425
424
  height?: number | undefined;
425
+ width?: number | undefined;
426
426
  credits?: string | undefined;
427
427
  alt?: string | undefined;
428
428
  notes?: string | undefined;
@@ -1,3 +1,4 @@
1
+ import { type EditorConfig } from "../../../EditorConfig";
1
2
  import { type MediaAsset } from "../hooks/mediaLibraryData";
2
3
  export type UploadFile = NewUploadFile | UploadedFile;
3
4
  interface NewUploadFile {
@@ -32,4 +33,36 @@ export declare function useMediaLibraryUpload(args: UseMediaLibraryUploadArgs):
32
33
  onFilesSelected: (files: File[]) => void;
33
34
  onRetry: (failedFile: UploadFile) => void;
34
35
  };
36
+ export declare function uploadMedia(params: {
37
+ file: File;
38
+ config: EditorConfig;
39
+ }): Promise<{
40
+ kind: string;
41
+ id: string;
42
+ url: string;
43
+ size: number;
44
+ tags: {
45
+ name: string;
46
+ id: string;
47
+ created_at: number;
48
+ last_modified: number;
49
+ count: number;
50
+ uploader_id?: string | undefined;
51
+ }[];
52
+ last_modified: number;
53
+ filename: string;
54
+ height?: number | undefined;
55
+ width?: number | undefined;
56
+ credits?: string | undefined;
57
+ alt?: string | undefined;
58
+ notes?: string | undefined;
59
+ uploader_id?: string | undefined;
60
+ extension?: string | undefined;
61
+ search_highlight?: {
62
+ credits?: string | undefined;
63
+ alt?: string | undefined;
64
+ notes?: string | undefined;
65
+ filename?: string | undefined;
66
+ } | undefined;
67
+ }>;
35
68
  export {};
@@ -1,4 +1,8 @@
1
1
  export declare function useSelectedMedia(): {
2
+ kind: string;
3
+ id: string;
4
+ url: string;
5
+ size: number;
2
6
  tags: {
3
7
  name: string;
4
8
  id: string;
@@ -7,14 +11,10 @@ export declare function useSelectedMedia(): {
7
11
  count: number;
8
12
  uploader_id?: string | undefined;
9
13
  }[];
10
- id: string;
11
- url: string;
12
- kind: string;
13
- size: number;
14
14
  last_modified: number;
15
15
  filename: string;
16
- width?: number | undefined;
17
16
  height?: number | undefined;
17
+ width?: number | undefined;
18
18
  credits?: string | undefined;
19
19
  alt?: string | undefined;
20
20
  notes?: string | undefined;
@@ -1,2 +1 @@
1
- export { NewMediaLibraryFeaturesBanner } from "./components/NewMediaLibraryFeaturesBanner";
2
1
  export { MediaLibrary } from "./MediaLibrary";
@@ -17,9 +17,9 @@ declare const unsplashImage: import("zod").ZodObject<{
17
17
  description: import("zod").ZodNullable<import("zod").ZodString>;
18
18
  }, "strip", import("zod").ZodTypeAny, {
19
19
  id: string;
20
- description: string | null;
21
- width: number;
22
20
  height: number;
21
+ width: number;
22
+ description: string | null;
23
23
  urls: {
24
24
  small: string;
25
25
  full: string;
@@ -27,9 +27,9 @@ declare const unsplashImage: import("zod").ZodObject<{
27
27
  alt_description?: string | undefined;
28
28
  }, {
29
29
  id: string;
30
- description: string | null;
31
- width: number;
32
30
  height: number;
31
+ width: number;
32
+ description: string | null;
33
33
  urls: {
34
34
  small: string;
35
35
  full: string;
@@ -55,9 +55,9 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
55
55
  description: import("zod").ZodNullable<import("zod").ZodString>;
56
56
  }, "strip", import("zod").ZodTypeAny, {
57
57
  id: string;
58
- description: string | null;
59
- width: number;
60
58
  height: number;
59
+ width: number;
60
+ description: string | null;
61
61
  urls: {
62
62
  small: string;
63
63
  full: string;
@@ -65,9 +65,9 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
65
65
  alt_description?: string | undefined;
66
66
  }, {
67
67
  id: string;
68
- description: string | null;
69
- width: number;
70
68
  height: number;
69
+ width: number;
70
+ description: string | null;
71
71
  urls: {
72
72
  small: string;
73
73
  full: string;
@@ -77,9 +77,9 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
77
77
  }, "strip", import("zod").ZodTypeAny, {
78
78
  results: {
79
79
  id: string;
80
- description: string | null;
81
- width: number;
82
80
  height: number;
81
+ width: number;
82
+ description: string | null;
83
83
  urls: {
84
84
  small: string;
85
85
  full: string;
@@ -89,9 +89,9 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
89
89
  }, {
90
90
  results: {
91
91
  id: string;
92
- description: string | null;
93
- width: number;
94
92
  height: number;
93
+ width: number;
94
+ description: string | null;
95
95
  urls: {
96
96
  small: string;
97
97
  full: string;
@@ -100,9 +100,9 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
100
100
  }[];
101
101
  }>, {
102
102
  id: string;
103
- description: string | null;
104
- width: number;
105
103
  height: number;
104
+ width: number;
105
+ description: string | null;
106
106
  urls: {
107
107
  small: string;
108
108
  full: string;
@@ -111,9 +111,9 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
111
111
  }[], {
112
112
  results: {
113
113
  id: string;
114
- description: string | null;
115
- width: number;
116
114
  height: number;
115
+ width: number;
116
+ description: string | null;
117
117
  urls: {
118
118
  small: string;
119
119
  full: string;
@@ -125,9 +125,9 @@ 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
127
  id: string;
128
- description: string | null;
129
- width: number;
130
128
  height: number;
129
+ width: number;
130
+ description: string | null;
131
131
  urls: {
132
132
  small: string;
133
133
  full: string;
@@ -7,15 +7,15 @@ declare const CustomType: z.ZodObject<{
7
7
  repeatable: z.ZodBoolean;
8
8
  status: z.ZodBoolean;
9
9
  }, "strip", z.ZodTypeAny, {
10
- status: boolean;
11
- id: string;
12
10
  label: string;
11
+ id: string;
13
12
  repeatable: boolean;
14
- }, {
15
13
  status: boolean;
16
- id: string;
14
+ }, {
17
15
  label: string;
16
+ id: string;
18
17
  repeatable: boolean;
18
+ status: boolean;
19
19
  }>;
20
20
  export type CustomType = z.TypeOf<typeof CustomType>;
21
21
  interface CustomTypesOptionsArgs {
@@ -24,51 +24,51 @@ interface CustomTypesOptionsArgs {
24
24
  authStrategy: AuthStrategy;
25
25
  }
26
26
  export declare function getCustomTypesOptions(args: CustomTypesOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
27
- status: boolean;
28
- id: string;
29
27
  label: string;
28
+ id: string;
30
29
  repeatable: boolean;
31
- }[], Error, {
32
30
  status: boolean;
33
- id: string;
31
+ }[], Error, {
34
32
  label: string;
33
+ id: string;
35
34
  repeatable: boolean;
35
+ status: boolean;
36
36
  }[], string[]> & {
37
37
  initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
38
- status: boolean;
39
- id: string;
40
38
  label: string;
39
+ id: string;
41
40
  repeatable: boolean;
41
+ status: boolean;
42
42
  }[]> | undefined;
43
43
  } & {
44
44
  queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<string[], {
45
- status: boolean;
46
- id: string;
47
45
  label: string;
46
+ id: string;
48
47
  repeatable: boolean;
48
+ status: boolean;
49
49
  }[]>;
50
50
  };
51
51
  export declare function prefetchCustomTypes(queryClient: QueryClient, args: CustomTypesOptionsArgs): void;
52
52
  export declare function fetchCustomTypes(queryClient: QueryClient, args: CustomTypesOptionsArgs): Promise<{
53
- status: boolean;
54
- id: string;
55
53
  label: string;
54
+ id: string;
56
55
  repeatable: boolean;
56
+ status: boolean;
57
57
  }[]>;
58
58
  export declare function useCustomTypes(args: CustomTypesOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
59
- status: boolean;
60
- id: string;
61
59
  label: string;
60
+ id: string;
62
61
  repeatable: boolean;
62
+ status: boolean;
63
63
  }[], Error>;
64
64
  interface CustomTypeOptionsArgs extends CustomTypesOptionsArgs {
65
65
  id: string;
66
66
  }
67
67
  export declare function useCustomType(args: CustomTypeOptionsArgs): {
68
- status: boolean;
69
- id: string;
70
68
  label: string;
69
+ id: string;
71
70
  repeatable: boolean;
71
+ status: boolean;
72
72
  };
73
73
  export declare function invalidateCustomTypes(queryClient: QueryClient, args: CustomTypesOptionsArgs): Promise<void>;
74
74
  export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
@@ -218,6 +218,12 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
218
218
  config?: {
219
219
  label?: string | null | undefined;
220
220
  } | undefined;
221
+ }) | ({
222
+ type: "Table";
223
+ } & {
224
+ config?: {
225
+ label?: string | null | undefined;
226
+ } | undefined;
221
227
  }) | ({
222
228
  type: "Text";
223
229
  } & {
@@ -387,6 +393,12 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
387
393
  config?: {
388
394
  label?: string | null | undefined;
389
395
  } | undefined;
396
+ }) | ({
397
+ type: "Table";
398
+ } & {
399
+ config?: {
400
+ label?: string | null | undefined;
401
+ } | undefined;
390
402
  }) | ({
391
403
  type: "Text";
392
404
  } & {
@@ -556,6 +568,12 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
556
568
  config?: {
557
569
  label?: string | null | undefined;
558
570
  } | undefined;
571
+ }) | ({
572
+ type: "Table";
573
+ } & {
574
+ config?: {
575
+ label?: string | null | undefined;
576
+ } | undefined;
559
577
  }) | ({
560
578
  type: "Text";
561
579
  } & {
@@ -735,6 +753,12 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
735
753
  config?: {
736
754
  label?: string | null | undefined;
737
755
  } | undefined;
756
+ }) | ({
757
+ type: "Table";
758
+ } & {
759
+ config?: {
760
+ label?: string | null | undefined;
761
+ } | undefined;
738
762
  }) | ({
739
763
  type: "Text";
740
764
  } & {
@@ -904,6 +928,12 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
904
928
  config?: {
905
929
  label?: string | null | undefined;
906
930
  } | undefined;
931
+ }) | ({
932
+ type: "Table";
933
+ } & {
934
+ config?: {
935
+ label?: string | null | undefined;
936
+ } | undefined;
907
937
  }) | ({
908
938
  type: "Text";
909
939
  } & {
@@ -1074,6 +1104,12 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
1074
1104
  config?: {
1075
1105
  label?: string | null | undefined;
1076
1106
  } | undefined;
1107
+ }) | ({
1108
+ type: "Table";
1109
+ } & {
1110
+ config?: {
1111
+ label?: string | null | undefined;
1112
+ } | undefined;
1077
1113
  }) | ({
1078
1114
  type: "Text";
1079
1115
  } & {
@@ -1236,6 +1272,12 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
1236
1272
  config?: {
1237
1273
  label?: string | null | undefined;
1238
1274
  } | undefined;
1275
+ }) | ({
1276
+ type: "Table";
1277
+ } & {
1278
+ config?: {
1279
+ label?: string | null | undefined;
1280
+ } | undefined;
1239
1281
  }) | ({
1240
1282
  type: "Text";
1241
1283
  } & {
@@ -1414,6 +1456,12 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
1414
1456
  config?: {
1415
1457
  label?: string | null | undefined;
1416
1458
  } | undefined;
1459
+ }) | ({
1460
+ type: "Table";
1461
+ } & {
1462
+ config?: {
1463
+ label?: string | null | undefined;
1464
+ } | undefined;
1417
1465
  }) | ({
1418
1466
  type: "Text";
1419
1467
  } & {
@@ -1583,6 +1631,12 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
1583
1631
  config?: {
1584
1632
  label?: string | null | undefined;
1585
1633
  } | undefined;
1634
+ }) | ({
1635
+ type: "Table";
1636
+ } & {
1637
+ config?: {
1638
+ label?: string | null | undefined;
1639
+ } | undefined;
1586
1640
  }) | ({
1587
1641
  type: "Text";
1588
1642
  } & {
@@ -1752,6 +1806,12 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
1752
1806
  config?: {
1753
1807
  label?: string | null | undefined;
1754
1808
  } | undefined;
1809
+ }) | ({
1810
+ type: "Table";
1811
+ } & {
1812
+ config?: {
1813
+ label?: string | null | undefined;
1814
+ } | undefined;
1755
1815
  }) | ({
1756
1816
  type: "Text";
1757
1817
  } & {
@@ -1920,6 +1980,12 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
1920
1980
  config?: {
1921
1981
  label?: string | null | undefined;
1922
1982
  } | undefined;
1983
+ }) | ({
1984
+ type: "Table";
1985
+ } & {
1986
+ config?: {
1987
+ label?: string | null | undefined;
1988
+ } | undefined;
1923
1989
  }) | ({
1924
1990
  type: "Text";
1925
1991
  } & {