@prismicio/editor-fields 0.4.82 → 0.4.83

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 (24) hide show
  1. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +26 -26
  2. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/types.d.ts +1 -1
  3. package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +2 -2
  4. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +61 -61
  5. package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
  6. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +6 -6
  7. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +6 -6
  8. package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
  9. package/dist/core/service/customType.d.ts +78 -78
  10. package/dist/core/service/document.d.ts +136 -136
  11. package/dist/core/service/documentSearch.d.ts +35 -35
  12. package/dist/core/service/repository.d.ts +12 -12
  13. package/dist/core/service/role.d.ts +12 -12
  14. package/dist/fields/ImageField/useImageField.d.ts +6 -6
  15. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +6 -6
  16. package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
  17. package/dist/fields/LinkField/Documents/documentsData.d.ts +11 -11
  18. package/dist/fields/LinkField/useLinkField.d.ts +1 -1
  19. package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
  20. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +6 -6
  21. package/dist/index.cjs.js +1 -1
  22. package/dist/index.es.js +120 -118
  23. package/package.json +4 -4
  24. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigPathInput.d.ts +0 -9
@@ -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
- id: string;
11
10
  label: string;
12
- repeatable: boolean;
13
11
  status: boolean;
14
- }, {
15
12
  id: string;
16
- label: string;
17
13
  repeatable: boolean;
14
+ }, {
15
+ label: string;
18
16
  status: boolean;
17
+ id: string;
18
+ repeatable: 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
- id: string;
28
27
  label: string;
29
- repeatable: boolean;
30
28
  status: boolean;
31
- }[], Error, {
32
29
  id: string;
33
- label: string;
34
30
  repeatable: boolean;
31
+ }[], Error, {
32
+ label: string;
35
33
  status: boolean;
34
+ id: string;
35
+ repeatable: boolean;
36
36
  }[], string[]> & {
37
37
  initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
38
- id: string;
39
38
  label: string;
40
- repeatable: boolean;
41
39
  status: boolean;
40
+ id: string;
41
+ repeatable: boolean;
42
42
  }[]> | undefined;
43
43
  } & {
44
44
  queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<string[], {
45
- id: string;
46
45
  label: string;
47
- repeatable: boolean;
48
46
  status: boolean;
47
+ id: string;
48
+ repeatable: 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
- id: string;
54
53
  label: string;
55
- repeatable: boolean;
56
54
  status: boolean;
55
+ id: string;
56
+ repeatable: boolean;
57
57
  }[]>;
58
58
  export declare function useCustomTypes(args: CustomTypesOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
59
- id: string;
60
59
  label: string;
61
- repeatable: boolean;
62
60
  status: boolean;
61
+ id: string;
62
+ repeatable: 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
- id: string;
69
68
  label: string;
70
- repeatable: boolean;
71
69
  status: boolean;
70
+ id: string;
71
+ repeatable: boolean;
72
72
  };
73
73
  export declare function invalidateCustomTypes(queryClient: QueryClient, args: CustomTypesOptionsArgs): Promise<void>;
74
74
  export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
@@ -154,7 +154,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
154
154
  label?: string | null | undefined;
155
155
  useAsTitle?: boolean | undefined;
156
156
  placeholder?: string | undefined;
157
- select?: "media" | "document" | "web" | null | undefined;
157
+ select?: "document" | "web" | "media" | null | undefined;
158
158
  customtypes?: readonly (string | {
159
159
  id: string;
160
160
  fields: readonly (string | {
@@ -353,7 +353,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
353
353
  label?: string | null | undefined;
354
354
  useAsTitle?: boolean | undefined;
355
355
  placeholder?: string | undefined;
356
- select?: "media" | "document" | "web" | null | undefined;
356
+ select?: "document" | "web" | "media" | null | undefined;
357
357
  customtypes?: readonly (string | {
358
358
  id: string;
359
359
  fields: readonly (string | {
@@ -552,7 +552,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
552
552
  label?: string | null | undefined;
553
553
  useAsTitle?: boolean | undefined;
554
554
  placeholder?: string | undefined;
555
- select?: "media" | "document" | "web" | null | undefined;
555
+ select?: "document" | "web" | "media" | null | undefined;
556
556
  customtypes?: readonly (string | {
557
557
  id: string;
558
558
  fields: readonly (string | {
@@ -680,7 +680,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
680
680
  placeholder?: string | undefined;
681
681
  } | undefined;
682
682
  }) | ({
683
- type: "Choice" | "Slices";
683
+ type: "Slices" | "Choice";
684
684
  } & {
685
685
  fieldset?: string | null | undefined;
686
686
  config?: {
@@ -770,7 +770,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
770
770
  label?: string | null | undefined;
771
771
  useAsTitle?: boolean | undefined;
772
772
  placeholder?: string | undefined;
773
- select?: "media" | "document" | "web" | null | undefined;
773
+ select?: "document" | "web" | "media" | null | undefined;
774
774
  customtypes?: readonly (string | {
775
775
  id: string;
776
776
  fields: readonly (string | {
@@ -969,7 +969,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
969
969
  label?: string | null | undefined;
970
970
  useAsTitle?: boolean | undefined;
971
971
  placeholder?: string | undefined;
972
- select?: "media" | "document" | "web" | null | undefined;
972
+ select?: "document" | "web" | "media" | null | undefined;
973
973
  customtypes?: readonly (string | {
974
974
  id: string;
975
975
  fields: readonly (string | {
@@ -1169,7 +1169,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
1169
1169
  label?: string | null | undefined;
1170
1170
  useAsTitle?: boolean | undefined;
1171
1171
  placeholder?: string | undefined;
1172
- select?: "media" | "document" | "web" | null | undefined;
1172
+ select?: "document" | "web" | "media" | null | undefined;
1173
1173
  customtypes?: readonly (string | {
1174
1174
  id: string;
1175
1175
  fields: readonly (string | {
@@ -1361,7 +1361,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
1361
1361
  label?: string | null | undefined;
1362
1362
  useAsTitle?: boolean | undefined;
1363
1363
  placeholder?: string | undefined;
1364
- select?: "media" | "document" | "web" | null | undefined;
1364
+ select?: "document" | "web" | "media" | null | undefined;
1365
1365
  customtypes?: readonly (string | {
1366
1366
  id: string;
1367
1367
  fields: readonly (string | {
@@ -1569,7 +1569,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
1569
1569
  label?: string | null | undefined;
1570
1570
  useAsTitle?: boolean | undefined;
1571
1571
  placeholder?: string | undefined;
1572
- select?: "media" | "document" | "web" | null | undefined;
1572
+ select?: "document" | "web" | "media" | null | undefined;
1573
1573
  customtypes?: readonly (string | {
1574
1574
  id: string;
1575
1575
  fields: readonly (string | {
@@ -1768,7 +1768,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
1768
1768
  label?: string | null | undefined;
1769
1769
  useAsTitle?: boolean | undefined;
1770
1770
  placeholder?: string | undefined;
1771
- select?: "media" | "document" | "web" | null | undefined;
1771
+ select?: "document" | "web" | "media" | null | undefined;
1772
1772
  customtypes?: readonly (string | {
1773
1773
  id: string;
1774
1774
  fields: readonly (string | {
@@ -1967,7 +1967,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
1967
1967
  label?: string | null | undefined;
1968
1968
  useAsTitle?: boolean | undefined;
1969
1969
  placeholder?: string | undefined;
1970
- select?: "media" | "document" | "web" | null | undefined;
1970
+ select?: "document" | "web" | "media" | null | undefined;
1971
1971
  customtypes?: readonly (string | {
1972
1972
  id: string;
1973
1973
  fields: readonly (string | {
@@ -2165,7 +2165,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
2165
2165
  label?: string | null | undefined;
2166
2166
  useAsTitle?: boolean | undefined;
2167
2167
  placeholder?: string | undefined;
2168
- select?: "media" | "document" | "web" | null | undefined;
2168
+ select?: "document" | "web" | "media" | null | undefined;
2169
2169
  customtypes?: readonly (string | {
2170
2170
  id: string;
2171
2171
  fields: readonly (string | {
@@ -2377,7 +2377,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
2377
2377
  label?: string | null | undefined;
2378
2378
  useAsTitle?: boolean | undefined;
2379
2379
  placeholder?: string | undefined;
2380
- select?: "media" | "document" | "web" | null | undefined;
2380
+ select?: "document" | "web" | "media" | null | undefined;
2381
2381
  customtypes?: readonly (string | {
2382
2382
  id: string;
2383
2383
  fields: readonly (string | {
@@ -2576,7 +2576,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
2576
2576
  label?: string | null | undefined;
2577
2577
  useAsTitle?: boolean | undefined;
2578
2578
  placeholder?: string | undefined;
2579
- select?: "media" | "document" | "web" | null | undefined;
2579
+ select?: "document" | "web" | "media" | null | undefined;
2580
2580
  customtypes?: readonly (string | {
2581
2581
  id: string;
2582
2582
  fields: readonly (string | {
@@ -2775,7 +2775,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
2775
2775
  label?: string | null | undefined;
2776
2776
  useAsTitle?: boolean | undefined;
2777
2777
  placeholder?: string | undefined;
2778
- select?: "media" | "document" | "web" | null | undefined;
2778
+ select?: "document" | "web" | "media" | null | undefined;
2779
2779
  customtypes?: readonly (string | {
2780
2780
  id: string;
2781
2781
  fields: readonly (string | {
@@ -2903,7 +2903,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
2903
2903
  placeholder?: string | undefined;
2904
2904
  } | undefined;
2905
2905
  }) | ({
2906
- type: "Choice" | "Slices";
2906
+ type: "Slices" | "Choice";
2907
2907
  } & {
2908
2908
  fieldset?: string | null | undefined;
2909
2909
  config?: {
@@ -2993,7 +2993,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
2993
2993
  label?: string | null | undefined;
2994
2994
  useAsTitle?: boolean | undefined;
2995
2995
  placeholder?: string | undefined;
2996
- select?: "media" | "document" | "web" | null | undefined;
2996
+ select?: "document" | "web" | "media" | null | undefined;
2997
2997
  customtypes?: readonly (string | {
2998
2998
  id: string;
2999
2999
  fields: readonly (string | {
@@ -3192,7 +3192,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
3192
3192
  label?: string | null | undefined;
3193
3193
  useAsTitle?: boolean | undefined;
3194
3194
  placeholder?: string | undefined;
3195
- select?: "media" | "document" | "web" | null | undefined;
3195
+ select?: "document" | "web" | "media" | null | undefined;
3196
3196
  customtypes?: readonly (string | {
3197
3197
  id: string;
3198
3198
  fields: readonly (string | {
@@ -3392,7 +3392,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
3392
3392
  label?: string | null | undefined;
3393
3393
  useAsTitle?: boolean | undefined;
3394
3394
  placeholder?: string | undefined;
3395
- select?: "media" | "document" | "web" | null | undefined;
3395
+ select?: "document" | "web" | "media" | null | undefined;
3396
3396
  customtypes?: readonly (string | {
3397
3397
  id: string;
3398
3398
  fields: readonly (string | {
@@ -3584,7 +3584,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
3584
3584
  label?: string | null | undefined;
3585
3585
  useAsTitle?: boolean | undefined;
3586
3586
  placeholder?: string | undefined;
3587
- select?: "media" | "document" | "web" | null | undefined;
3587
+ select?: "document" | "web" | "media" | null | undefined;
3588
3588
  customtypes?: readonly (string | {
3589
3589
  id: string;
3590
3590
  fields: readonly (string | {
@@ -3792,7 +3792,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
3792
3792
  label?: string | null | undefined;
3793
3793
  useAsTitle?: boolean | undefined;
3794
3794
  placeholder?: string | undefined;
3795
- select?: "media" | "document" | "web" | null | undefined;
3795
+ select?: "document" | "web" | "media" | null | undefined;
3796
3796
  customtypes?: readonly (string | {
3797
3797
  id: string;
3798
3798
  fields: readonly (string | {
@@ -3991,7 +3991,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
3991
3991
  label?: string | null | undefined;
3992
3992
  useAsTitle?: boolean | undefined;
3993
3993
  placeholder?: string | undefined;
3994
- select?: "media" | "document" | "web" | null | undefined;
3994
+ select?: "document" | "web" | "media" | null | undefined;
3995
3995
  customtypes?: readonly (string | {
3996
3996
  id: string;
3997
3997
  fields: readonly (string | {
@@ -4190,7 +4190,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
4190
4190
  label?: string | null | undefined;
4191
4191
  useAsTitle?: boolean | undefined;
4192
4192
  placeholder?: string | undefined;
4193
- select?: "media" | "document" | "web" | null | undefined;
4193
+ select?: "document" | "web" | "media" | null | undefined;
4194
4194
  customtypes?: readonly (string | {
4195
4195
  id: string;
4196
4196
  fields: readonly (string | {
@@ -4388,7 +4388,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
4388
4388
  label?: string | null | undefined;
4389
4389
  useAsTitle?: boolean | undefined;
4390
4390
  placeholder?: string | undefined;
4391
- select?: "media" | "document" | "web" | null | undefined;
4391
+ select?: "document" | "web" | "media" | null | undefined;
4392
4392
  customtypes?: readonly (string | {
4393
4393
  id: string;
4394
4394
  fields: readonly (string | {
@@ -4601,7 +4601,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
4601
4601
  label?: string | null | undefined;
4602
4602
  useAsTitle?: boolean | undefined;
4603
4603
  placeholder?: string | undefined;
4604
- select?: "media" | "document" | "web" | null | undefined;
4604
+ select?: "document" | "web" | "media" | null | undefined;
4605
4605
  customtypes?: readonly (string | {
4606
4606
  id: string;
4607
4607
  fields: readonly (string | {
@@ -4800,7 +4800,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
4800
4800
  label?: string | null | undefined;
4801
4801
  useAsTitle?: boolean | undefined;
4802
4802
  placeholder?: string | undefined;
4803
- select?: "media" | "document" | "web" | null | undefined;
4803
+ select?: "document" | "web" | "media" | null | undefined;
4804
4804
  customtypes?: readonly (string | {
4805
4805
  id: string;
4806
4806
  fields: readonly (string | {
@@ -4999,7 +4999,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
4999
4999
  label?: string | null | undefined;
5000
5000
  useAsTitle?: boolean | undefined;
5001
5001
  placeholder?: string | undefined;
5002
- select?: "media" | "document" | "web" | null | undefined;
5002
+ select?: "document" | "web" | "media" | null | undefined;
5003
5003
  customtypes?: readonly (string | {
5004
5004
  id: string;
5005
5005
  fields: readonly (string | {
@@ -5127,7 +5127,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
5127
5127
  placeholder?: string | undefined;
5128
5128
  } | undefined;
5129
5129
  }) | ({
5130
- type: "Choice" | "Slices";
5130
+ type: "Slices" | "Choice";
5131
5131
  } & {
5132
5132
  fieldset?: string | null | undefined;
5133
5133
  config?: {
@@ -5217,7 +5217,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
5217
5217
  label?: string | null | undefined;
5218
5218
  useAsTitle?: boolean | undefined;
5219
5219
  placeholder?: string | undefined;
5220
- select?: "media" | "document" | "web" | null | undefined;
5220
+ select?: "document" | "web" | "media" | null | undefined;
5221
5221
  customtypes?: readonly (string | {
5222
5222
  id: string;
5223
5223
  fields: readonly (string | {
@@ -5416,7 +5416,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
5416
5416
  label?: string | null | undefined;
5417
5417
  useAsTitle?: boolean | undefined;
5418
5418
  placeholder?: string | undefined;
5419
- select?: "media" | "document" | "web" | null | undefined;
5419
+ select?: "document" | "web" | "media" | null | undefined;
5420
5420
  customtypes?: readonly (string | {
5421
5421
  id: string;
5422
5422
  fields: readonly (string | {
@@ -5616,7 +5616,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
5616
5616
  label?: string | null | undefined;
5617
5617
  useAsTitle?: boolean | undefined;
5618
5618
  placeholder?: string | undefined;
5619
- select?: "media" | "document" | "web" | null | undefined;
5619
+ select?: "document" | "web" | "media" | null | undefined;
5620
5620
  customtypes?: readonly (string | {
5621
5621
  id: string;
5622
5622
  fields: readonly (string | {
@@ -5808,7 +5808,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
5808
5808
  label?: string | null | undefined;
5809
5809
  useAsTitle?: boolean | undefined;
5810
5810
  placeholder?: string | undefined;
5811
- select?: "media" | "document" | "web" | null | undefined;
5811
+ select?: "document" | "web" | "media" | null | undefined;
5812
5812
  customtypes?: readonly (string | {
5813
5813
  id: string;
5814
5814
  fields: readonly (string | {
@@ -6016,7 +6016,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
6016
6016
  label?: string | null | undefined;
6017
6017
  useAsTitle?: boolean | undefined;
6018
6018
  placeholder?: string | undefined;
6019
- select?: "media" | "document" | "web" | null | undefined;
6019
+ select?: "document" | "web" | "media" | null | undefined;
6020
6020
  customtypes?: readonly (string | {
6021
6021
  id: string;
6022
6022
  fields: readonly (string | {
@@ -6215,7 +6215,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
6215
6215
  label?: string | null | undefined;
6216
6216
  useAsTitle?: boolean | undefined;
6217
6217
  placeholder?: string | undefined;
6218
- select?: "media" | "document" | "web" | null | undefined;
6218
+ select?: "document" | "web" | "media" | null | undefined;
6219
6219
  customtypes?: readonly (string | {
6220
6220
  id: string;
6221
6221
  fields: readonly (string | {
@@ -6414,7 +6414,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
6414
6414
  label?: string | null | undefined;
6415
6415
  useAsTitle?: boolean | undefined;
6416
6416
  placeholder?: string | undefined;
6417
- select?: "media" | "document" | "web" | null | undefined;
6417
+ select?: "document" | "web" | "media" | null | undefined;
6418
6418
  customtypes?: readonly (string | {
6419
6419
  id: string;
6420
6420
  fields: readonly (string | {
@@ -6612,7 +6612,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
6612
6612
  label?: string | null | undefined;
6613
6613
  useAsTitle?: boolean | undefined;
6614
6614
  placeholder?: string | undefined;
6615
- select?: "media" | "document" | "web" | null | undefined;
6615
+ select?: "document" | "web" | "media" | null | undefined;
6616
6616
  customtypes?: readonly (string | {
6617
6617
  id: string;
6618
6618
  fields: readonly (string | {
@@ -6826,7 +6826,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
6826
6826
  label?: string | null | undefined;
6827
6827
  useAsTitle?: boolean | undefined;
6828
6828
  placeholder?: string | undefined;
6829
- select?: "media" | "document" | "web" | null | undefined;
6829
+ select?: "document" | "web" | "media" | null | undefined;
6830
6830
  customtypes?: readonly (string | {
6831
6831
  id: string;
6832
6832
  fields: readonly (string | {
@@ -7025,7 +7025,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
7025
7025
  label?: string | null | undefined;
7026
7026
  useAsTitle?: boolean | undefined;
7027
7027
  placeholder?: string | undefined;
7028
- select?: "media" | "document" | "web" | null | undefined;
7028
+ select?: "document" | "web" | "media" | null | undefined;
7029
7029
  customtypes?: readonly (string | {
7030
7030
  id: string;
7031
7031
  fields: readonly (string | {
@@ -7224,7 +7224,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
7224
7224
  label?: string | null | undefined;
7225
7225
  useAsTitle?: boolean | undefined;
7226
7226
  placeholder?: string | undefined;
7227
- select?: "media" | "document" | "web" | null | undefined;
7227
+ select?: "document" | "web" | "media" | null | undefined;
7228
7228
  customtypes?: readonly (string | {
7229
7229
  id: string;
7230
7230
  fields: readonly (string | {
@@ -7352,7 +7352,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
7352
7352
  placeholder?: string | undefined;
7353
7353
  } | undefined;
7354
7354
  }) | ({
7355
- type: "Choice" | "Slices";
7355
+ type: "Slices" | "Choice";
7356
7356
  } & {
7357
7357
  fieldset?: string | null | undefined;
7358
7358
  config?: {
@@ -7442,7 +7442,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
7442
7442
  label?: string | null | undefined;
7443
7443
  useAsTitle?: boolean | undefined;
7444
7444
  placeholder?: string | undefined;
7445
- select?: "media" | "document" | "web" | null | undefined;
7445
+ select?: "document" | "web" | "media" | null | undefined;
7446
7446
  customtypes?: readonly (string | {
7447
7447
  id: string;
7448
7448
  fields: readonly (string | {
@@ -7641,7 +7641,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
7641
7641
  label?: string | null | undefined;
7642
7642
  useAsTitle?: boolean | undefined;
7643
7643
  placeholder?: string | undefined;
7644
- select?: "media" | "document" | "web" | null | undefined;
7644
+ select?: "document" | "web" | "media" | null | undefined;
7645
7645
  customtypes?: readonly (string | {
7646
7646
  id: string;
7647
7647
  fields: readonly (string | {
@@ -7841,7 +7841,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
7841
7841
  label?: string | null | undefined;
7842
7842
  useAsTitle?: boolean | undefined;
7843
7843
  placeholder?: string | undefined;
7844
- select?: "media" | "document" | "web" | null | undefined;
7844
+ select?: "document" | "web" | "media" | null | undefined;
7845
7845
  customtypes?: readonly (string | {
7846
7846
  id: string;
7847
7847
  fields: readonly (string | {
@@ -8033,7 +8033,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
8033
8033
  label?: string | null | undefined;
8034
8034
  useAsTitle?: boolean | undefined;
8035
8035
  placeholder?: string | undefined;
8036
- select?: "media" | "document" | "web" | null | undefined;
8036
+ select?: "document" | "web" | "media" | null | undefined;
8037
8037
  customtypes?: readonly (string | {
8038
8038
  id: string;
8039
8039
  fields: readonly (string | {
@@ -8241,7 +8241,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
8241
8241
  label?: string | null | undefined;
8242
8242
  useAsTitle?: boolean | undefined;
8243
8243
  placeholder?: string | undefined;
8244
- select?: "media" | "document" | "web" | null | undefined;
8244
+ select?: "document" | "web" | "media" | null | undefined;
8245
8245
  customtypes?: readonly (string | {
8246
8246
  id: string;
8247
8247
  fields: readonly (string | {
@@ -8440,7 +8440,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
8440
8440
  label?: string | null | undefined;
8441
8441
  useAsTitle?: boolean | undefined;
8442
8442
  placeholder?: string | undefined;
8443
- select?: "media" | "document" | "web" | null | undefined;
8443
+ select?: "document" | "web" | "media" | null | undefined;
8444
8444
  customtypes?: readonly (string | {
8445
8445
  id: string;
8446
8446
  fields: readonly (string | {
@@ -8639,7 +8639,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
8639
8639
  label?: string | null | undefined;
8640
8640
  useAsTitle?: boolean | undefined;
8641
8641
  placeholder?: string | undefined;
8642
- select?: "media" | "document" | "web" | null | undefined;
8642
+ select?: "document" | "web" | "media" | null | undefined;
8643
8643
  customtypes?: readonly (string | {
8644
8644
  id: string;
8645
8645
  fields: readonly (string | {
@@ -8837,7 +8837,7 @@ export declare function getStaticCustomTypeOptions(args: CustomTypeOptionsArgs):
8837
8837
  label?: string | null | undefined;
8838
8838
  useAsTitle?: boolean | undefined;
8839
8839
  placeholder?: string | undefined;
8840
- select?: "media" | "document" | "web" | null | undefined;
8840
+ select?: "document" | "web" | "media" | null | undefined;
8841
8841
  customtypes?: readonly (string | {
8842
8842
  id: string;
8843
8843
  fields: readonly (string | {
@@ -9051,7 +9051,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
9051
9051
  label?: string | null | undefined;
9052
9052
  useAsTitle?: boolean | undefined;
9053
9053
  placeholder?: string | undefined;
9054
- select?: "media" | "document" | "web" | null | undefined;
9054
+ select?: "document" | "web" | "media" | null | undefined;
9055
9055
  customtypes?: readonly (string | {
9056
9056
  id: string;
9057
9057
  fields: readonly (string | {
@@ -9250,7 +9250,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
9250
9250
  label?: string | null | undefined;
9251
9251
  useAsTitle?: boolean | undefined;
9252
9252
  placeholder?: string | undefined;
9253
- select?: "media" | "document" | "web" | null | undefined;
9253
+ select?: "document" | "web" | "media" | null | undefined;
9254
9254
  customtypes?: readonly (string | {
9255
9255
  id: string;
9256
9256
  fields: readonly (string | {
@@ -9449,7 +9449,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
9449
9449
  label?: string | null | undefined;
9450
9450
  useAsTitle?: boolean | undefined;
9451
9451
  placeholder?: string | undefined;
9452
- select?: "media" | "document" | "web" | null | undefined;
9452
+ select?: "document" | "web" | "media" | null | undefined;
9453
9453
  customtypes?: readonly (string | {
9454
9454
  id: string;
9455
9455
  fields: readonly (string | {
@@ -9577,7 +9577,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
9577
9577
  placeholder?: string | undefined;
9578
9578
  } | undefined;
9579
9579
  }) | ({
9580
- type: "Choice" | "Slices";
9580
+ type: "Slices" | "Choice";
9581
9581
  } & {
9582
9582
  fieldset?: string | null | undefined;
9583
9583
  config?: {
@@ -9667,7 +9667,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
9667
9667
  label?: string | null | undefined;
9668
9668
  useAsTitle?: boolean | undefined;
9669
9669
  placeholder?: string | undefined;
9670
- select?: "media" | "document" | "web" | null | undefined;
9670
+ select?: "document" | "web" | "media" | null | undefined;
9671
9671
  customtypes?: readonly (string | {
9672
9672
  id: string;
9673
9673
  fields: readonly (string | {
@@ -9866,7 +9866,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
9866
9866
  label?: string | null | undefined;
9867
9867
  useAsTitle?: boolean | undefined;
9868
9868
  placeholder?: string | undefined;
9869
- select?: "media" | "document" | "web" | null | undefined;
9869
+ select?: "document" | "web" | "media" | null | undefined;
9870
9870
  customtypes?: readonly (string | {
9871
9871
  id: string;
9872
9872
  fields: readonly (string | {
@@ -10066,7 +10066,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
10066
10066
  label?: string | null | undefined;
10067
10067
  useAsTitle?: boolean | undefined;
10068
10068
  placeholder?: string | undefined;
10069
- select?: "media" | "document" | "web" | null | undefined;
10069
+ select?: "document" | "web" | "media" | null | undefined;
10070
10070
  customtypes?: readonly (string | {
10071
10071
  id: string;
10072
10072
  fields: readonly (string | {
@@ -10258,7 +10258,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
10258
10258
  label?: string | null | undefined;
10259
10259
  useAsTitle?: boolean | undefined;
10260
10260
  placeholder?: string | undefined;
10261
- select?: "media" | "document" | "web" | null | undefined;
10261
+ select?: "document" | "web" | "media" | null | undefined;
10262
10262
  customtypes?: readonly (string | {
10263
10263
  id: string;
10264
10264
  fields: readonly (string | {
@@ -10466,7 +10466,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
10466
10466
  label?: string | null | undefined;
10467
10467
  useAsTitle?: boolean | undefined;
10468
10468
  placeholder?: string | undefined;
10469
- select?: "media" | "document" | "web" | null | undefined;
10469
+ select?: "document" | "web" | "media" | null | undefined;
10470
10470
  customtypes?: readonly (string | {
10471
10471
  id: string;
10472
10472
  fields: readonly (string | {
@@ -10665,7 +10665,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
10665
10665
  label?: string | null | undefined;
10666
10666
  useAsTitle?: boolean | undefined;
10667
10667
  placeholder?: string | undefined;
10668
- select?: "media" | "document" | "web" | null | undefined;
10668
+ select?: "document" | "web" | "media" | null | undefined;
10669
10669
  customtypes?: readonly (string | {
10670
10670
  id: string;
10671
10671
  fields: readonly (string | {
@@ -10864,7 +10864,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
10864
10864
  label?: string | null | undefined;
10865
10865
  useAsTitle?: boolean | undefined;
10866
10866
  placeholder?: string | undefined;
10867
- select?: "media" | "document" | "web" | null | undefined;
10867
+ select?: "document" | "web" | "media" | null | undefined;
10868
10868
  customtypes?: readonly (string | {
10869
10869
  id: string;
10870
10870
  fields: readonly (string | {
@@ -11062,7 +11062,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
11062
11062
  label?: string | null | undefined;
11063
11063
  useAsTitle?: boolean | undefined;
11064
11064
  placeholder?: string | undefined;
11065
- select?: "media" | "document" | "web" | null | undefined;
11065
+ select?: "document" | "web" | "media" | null | undefined;
11066
11066
  customtypes?: readonly (string | {
11067
11067
  id: string;
11068
11068
  fields: readonly (string | {