payload 3.0.0-beta.70 → 3.0.0-beta.72

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 (192) hide show
  1. package/dist/admin/elements/Cell.d.ts +2 -1
  2. package/dist/admin/elements/Cell.d.ts.map +1 -1
  3. package/dist/admin/elements/Cell.js.map +1 -1
  4. package/dist/admin/fields/Array.d.ts +19 -0
  5. package/dist/admin/fields/Array.d.ts.map +1 -0
  6. package/dist/admin/fields/Array.js +3 -0
  7. package/dist/admin/fields/Array.js.map +1 -0
  8. package/dist/admin/fields/Blocks.d.ts +28 -0
  9. package/dist/admin/fields/Blocks.d.ts.map +1 -0
  10. package/dist/admin/fields/Blocks.js +3 -0
  11. package/dist/admin/fields/Blocks.js.map +1 -0
  12. package/dist/admin/fields/Checkbox.d.ts +16 -0
  13. package/dist/admin/fields/Checkbox.d.ts.map +1 -0
  14. package/dist/admin/fields/Checkbox.js +3 -0
  15. package/dist/admin/fields/Checkbox.js.map +1 -0
  16. package/dist/admin/fields/Code.d.ts +14 -0
  17. package/dist/admin/fields/Code.d.ts.map +1 -0
  18. package/dist/admin/fields/Code.js +3 -0
  19. package/dist/admin/fields/Code.js.map +1 -0
  20. package/dist/admin/fields/Collapsible.d.ts +12 -0
  21. package/dist/admin/fields/Collapsible.d.ts.map +1 -0
  22. package/dist/admin/fields/Collapsible.js +3 -0
  23. package/dist/admin/fields/Collapsible.js.map +1 -0
  24. package/dist/admin/fields/Date.d.ts +14 -0
  25. package/dist/admin/fields/Date.d.ts.map +1 -0
  26. package/dist/admin/fields/Date.js +3 -0
  27. package/dist/admin/fields/Date.js.map +1 -0
  28. package/dist/admin/fields/Email.d.ts +14 -0
  29. package/dist/admin/fields/Email.d.ts.map +1 -0
  30. package/dist/admin/fields/Email.js +3 -0
  31. package/dist/admin/fields/Email.js.map +1 -0
  32. package/dist/admin/fields/Group.d.ts +14 -0
  33. package/dist/admin/fields/Group.d.ts.map +1 -0
  34. package/dist/admin/fields/Group.js +3 -0
  35. package/dist/admin/fields/Group.js.map +1 -0
  36. package/dist/admin/fields/Hidden.d.ts +13 -0
  37. package/dist/admin/fields/Hidden.d.ts.map +1 -0
  38. package/dist/admin/fields/Hidden.js +3 -0
  39. package/dist/admin/fields/Hidden.js.map +1 -0
  40. package/dist/admin/fields/JSON.d.ts +14 -0
  41. package/dist/admin/fields/JSON.d.ts.map +1 -0
  42. package/dist/admin/fields/JSON.js +3 -0
  43. package/dist/admin/fields/JSON.js.map +1 -0
  44. package/dist/admin/fields/Number.d.ts +19 -0
  45. package/dist/admin/fields/Number.d.ts.map +1 -0
  46. package/dist/admin/fields/Number.js +3 -0
  47. package/dist/admin/fields/Number.js.map +1 -0
  48. package/dist/admin/fields/Point.d.ts +13 -0
  49. package/dist/admin/fields/Point.d.ts.map +1 -0
  50. package/dist/admin/fields/Point.js +3 -0
  51. package/dist/admin/fields/Point.js.map +1 -0
  52. package/dist/admin/fields/Radio.d.ts +17 -0
  53. package/dist/admin/fields/Radio.d.ts.map +1 -0
  54. package/dist/admin/fields/Radio.js +3 -0
  55. package/dist/admin/fields/Radio.js.map +1 -0
  56. package/dist/admin/fields/Relationship.d.ts +16 -0
  57. package/dist/admin/fields/Relationship.d.ts.map +1 -0
  58. package/dist/admin/fields/Relationship.js +3 -0
  59. package/dist/admin/fields/Relationship.js.map +1 -0
  60. package/dist/admin/fields/RichText.d.ts +12 -0
  61. package/dist/admin/fields/RichText.d.ts.map +1 -0
  62. package/dist/admin/fields/RichText.js +3 -0
  63. package/dist/admin/fields/RichText.js.map +1 -0
  64. package/dist/admin/fields/Row.d.ts +14 -0
  65. package/dist/admin/fields/Row.d.ts.map +1 -0
  66. package/dist/admin/fields/Row.js +3 -0
  67. package/dist/admin/fields/Row.js.map +1 -0
  68. package/dist/admin/fields/Select.d.ts +18 -0
  69. package/dist/admin/fields/Select.d.ts.map +1 -0
  70. package/dist/admin/fields/Select.js +3 -0
  71. package/dist/admin/fields/Select.js.map +1 -0
  72. package/dist/admin/fields/Tabs.d.ts +20 -0
  73. package/dist/admin/fields/Tabs.d.ts.map +1 -0
  74. package/dist/admin/fields/Tabs.js +3 -0
  75. package/dist/admin/fields/Tabs.js.map +1 -0
  76. package/dist/admin/fields/Text.d.ts +20 -0
  77. package/dist/admin/fields/Text.d.ts.map +1 -0
  78. package/dist/admin/fields/Text.js +3 -0
  79. package/dist/admin/fields/Text.js.map +1 -0
  80. package/dist/admin/fields/Textarea.d.ts +16 -0
  81. package/dist/admin/fields/Textarea.d.ts.map +1 -0
  82. package/dist/admin/fields/Textarea.js +3 -0
  83. package/dist/admin/fields/Textarea.js.map +1 -0
  84. package/dist/admin/fields/Upload.d.ts +13 -0
  85. package/dist/admin/fields/Upload.d.ts.map +1 -0
  86. package/dist/admin/fields/Upload.js +3 -0
  87. package/dist/admin/fields/Upload.js.map +1 -0
  88. package/dist/admin/fields/index.d.ts +65 -0
  89. package/dist/admin/fields/index.d.ts.map +1 -0
  90. package/dist/admin/fields/index.js +3 -0
  91. package/dist/admin/fields/index.js.map +1 -0
  92. package/dist/admin/forms/Error.d.ts +8 -1
  93. package/dist/admin/forms/Error.d.ts.map +1 -1
  94. package/dist/admin/forms/Error.js.map +1 -1
  95. package/dist/admin/forms/Field.d.ts +32 -0
  96. package/dist/admin/forms/Field.d.ts.map +1 -0
  97. package/dist/admin/forms/Field.js +3 -0
  98. package/dist/admin/forms/Field.js.map +1 -0
  99. package/dist/admin/forms/FieldDescription.d.ts +8 -5
  100. package/dist/admin/forms/FieldDescription.d.ts.map +1 -1
  101. package/dist/admin/forms/FieldDescription.js.map +1 -1
  102. package/dist/admin/forms/FieldMap.d.ts +23 -0
  103. package/dist/admin/forms/FieldMap.d.ts.map +1 -0
  104. package/dist/admin/forms/FieldMap.js +3 -0
  105. package/dist/admin/forms/FieldMap.js.map +1 -0
  106. package/dist/admin/forms/Label.d.ts +11 -6
  107. package/dist/admin/forms/Label.d.ts.map +1 -1
  108. package/dist/admin/forms/Label.js.map +1 -1
  109. package/dist/admin/types.d.ts +30 -3
  110. package/dist/admin/types.d.ts.map +1 -1
  111. package/dist/admin/types.js.map +1 -1
  112. package/dist/auth/getAccessResults.d.ts.map +1 -1
  113. package/dist/auth/getAccessResults.js +2 -7
  114. package/dist/auth/getAccessResults.js.map +1 -1
  115. package/dist/auth/operations/access.d.ts.map +1 -1
  116. package/dist/auth/operations/access.js +1 -6
  117. package/dist/auth/operations/access.js.map +1 -1
  118. package/dist/auth/operations/resetPassword.d.ts.map +1 -1
  119. package/dist/auth/operations/resetPassword.js +2 -1
  120. package/dist/auth/operations/resetPassword.js.map +1 -1
  121. package/dist/auth/strategies/local/generatePasswordSaltHash.d.ts +3 -1
  122. package/dist/auth/strategies/local/generatePasswordSaltHash.d.ts.map +1 -1
  123. package/dist/auth/strategies/local/generatePasswordSaltHash.js +14 -8
  124. package/dist/auth/strategies/local/generatePasswordSaltHash.js.map +1 -1
  125. package/dist/auth/strategies/local/register.js +2 -1
  126. package/dist/auth/strategies/local/register.js.map +1 -1
  127. package/dist/collections/config/client.d.ts.map +1 -1
  128. package/dist/collections/config/types.d.ts +3 -3
  129. package/dist/collections/config/types.d.ts.map +1 -1
  130. package/dist/collections/config/types.js.map +1 -1
  131. package/dist/collections/operations/count.d.ts.map +1 -1
  132. package/dist/collections/operations/count.js +0 -4
  133. package/dist/collections/operations/count.js.map +1 -1
  134. package/dist/collections/operations/delete.d.ts.map +1 -1
  135. package/dist/collections/operations/delete.js.map +1 -1
  136. package/dist/collections/operations/deleteByID.d.ts.map +1 -1
  137. package/dist/collections/operations/deleteByID.js.map +1 -1
  138. package/dist/collections/operations/docAccess.d.ts.map +1 -1
  139. package/dist/collections/operations/docAccess.js +0 -4
  140. package/dist/collections/operations/docAccess.js.map +1 -1
  141. package/dist/collections/operations/find.d.ts.map +1 -1
  142. package/dist/collections/operations/find.js +0 -4
  143. package/dist/collections/operations/find.js.map +1 -1
  144. package/dist/collections/operations/findByID.d.ts.map +1 -1
  145. package/dist/collections/operations/findByID.js +0 -4
  146. package/dist/collections/operations/findByID.js.map +1 -1
  147. package/dist/collections/operations/findVersionByID.d.ts.map +1 -1
  148. package/dist/collections/operations/findVersionByID.js +0 -4
  149. package/dist/collections/operations/findVersionByID.js.map +1 -1
  150. package/dist/collections/operations/findVersions.d.ts.map +1 -1
  151. package/dist/collections/operations/findVersions.js +0 -4
  152. package/dist/collections/operations/findVersions.js.map +1 -1
  153. package/dist/collections/operations/restoreVersion.d.ts +1 -0
  154. package/dist/collections/operations/restoreVersion.d.ts.map +1 -1
  155. package/dist/collections/operations/restoreVersion.js +5 -6
  156. package/dist/collections/operations/restoreVersion.js.map +1 -1
  157. package/dist/collections/operations/updateByID.d.ts.map +1 -1
  158. package/dist/collections/operations/updateByID.js +2 -1
  159. package/dist/collections/operations/updateByID.js.map +1 -1
  160. package/dist/config/types.d.ts +1 -0
  161. package/dist/config/types.d.ts.map +1 -1
  162. package/dist/config/types.js.map +1 -1
  163. package/dist/fields/config/client.d.ts +207 -90
  164. package/dist/fields/config/client.d.ts.map +1 -1
  165. package/dist/fields/config/types.d.ts +59 -41
  166. package/dist/fields/config/types.d.ts.map +1 -1
  167. package/dist/fields/config/types.js.map +1 -1
  168. package/dist/fields/hooks/beforeChange/promise.d.ts.map +1 -1
  169. package/dist/fields/hooks/beforeChange/promise.js +2 -1
  170. package/dist/fields/hooks/beforeChange/promise.js.map +1 -1
  171. package/dist/fields/validations.d.ts +5 -2
  172. package/dist/fields/validations.d.ts.map +1 -1
  173. package/dist/fields/validations.js +11 -1
  174. package/dist/fields/validations.js.map +1 -1
  175. package/dist/globals/operations/findOne.d.ts.map +1 -1
  176. package/dist/globals/operations/findOne.js +0 -7
  177. package/dist/globals/operations/findOne.js.map +1 -1
  178. package/dist/globals/operations/findVersionByID.d.ts.map +1 -1
  179. package/dist/globals/operations/findVersionByID.js +0 -7
  180. package/dist/globals/operations/findVersionByID.js.map +1 -1
  181. package/dist/globals/operations/findVersions.d.ts +1 -0
  182. package/dist/globals/operations/findVersions.d.ts.map +1 -1
  183. package/dist/globals/operations/findVersions.js +2 -5
  184. package/dist/globals/operations/findVersions.js.map +1 -1
  185. package/dist/globals/operations/restoreVersion.d.ts +1 -0
  186. package/dist/globals/operations/restoreVersion.d.ts.map +1 -1
  187. package/dist/globals/operations/restoreVersion.js +15 -1
  188. package/dist/globals/operations/restoreVersion.js.map +1 -1
  189. package/dist/utilities/killTransaction.d.ts.map +1 -1
  190. package/dist/utilities/killTransaction.js +5 -1
  191. package/dist/utilities/killTransaction.js.map +1 -1
  192. package/package.json +2 -2
@@ -46,6 +46,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
46
46
  maxRows?: number;
47
47
  minRows?: number;
48
48
  type: "array";
49
+ validate?: import("../../fields/config/types.js").Validate<unknown[], unknown, unknown, import("../../fields/config/types.js").ArrayField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
49
50
  access?: {
50
51
  create?: import("../../fields/config/types.js").FieldAccess;
51
52
  read?: import("../../fields/config/types.js").FieldAccess;
@@ -62,7 +63,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
62
63
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
63
64
  };
64
65
  index?: boolean;
65
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
66
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
66
67
  localized?: boolean;
67
68
  name: string;
68
69
  required?: boolean;
@@ -71,7 +72,6 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
71
72
  jsonSchema: import("json-schema").JSONSchema4;
72
73
  }) => import("json-schema").JSONSchema4>;
73
74
  unique?: boolean;
74
- validate?: import("../../fields/config/types.js").Validate;
75
75
  } | {
76
76
  admin?: {
77
77
  initCollapsed?: boolean;
@@ -103,6 +103,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
103
103
  maxRows?: number;
104
104
  minRows?: number;
105
105
  type: "blocks";
106
+ validate?: import("../../fields/config/types.js").Validate<string, unknown, unknown, import("../../fields/config/types.js").BlockField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
106
107
  access?: {
107
108
  create?: import("../../fields/config/types.js").FieldAccess;
108
109
  read?: import("../../fields/config/types.js").FieldAccess;
@@ -118,7 +119,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
118
119
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
119
120
  };
120
121
  index?: boolean;
121
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
122
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
122
123
  localized?: boolean;
123
124
  name: string;
124
125
  required?: boolean;
@@ -127,12 +128,11 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
127
128
  jsonSchema: import("json-schema").JSONSchema4;
128
129
  }) => import("json-schema").JSONSchema4>;
129
130
  unique?: boolean;
130
- validate?: import("../../fields/config/types.js").Validate;
131
131
  } | {
132
132
  admin?: {
133
133
  components?: {
134
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
135
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
134
+ Error?: import("../../index.js").ErrorComponent;
135
+ Label?: import("../../index.js").LabelComponent;
136
136
  afterInput?: import("../../index.js").CustomComponent[];
137
137
  beforeInput?: import("../../index.js").CustomComponent[];
138
138
  };
@@ -158,6 +158,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
158
158
  width?: string;
159
159
  };
160
160
  type: "checkbox";
161
+ validate?: import("../../fields/config/types.js").Validate<unknown, unknown, unknown, import("../../fields/config/types.js").CheckboxField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
161
162
  access?: {
162
163
  create?: import("../../fields/config/types.js").FieldAccess;
163
164
  read?: import("../../fields/config/types.js").FieldAccess;
@@ -174,7 +175,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
174
175
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
175
176
  };
176
177
  index?: boolean;
177
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
178
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
178
179
  localized?: boolean;
179
180
  name: string;
180
181
  required?: boolean;
@@ -183,12 +184,11 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
183
184
  jsonSchema: import("json-schema").JSONSchema4;
184
185
  }) => import("json-schema").JSONSchema4>;
185
186
  unique?: boolean;
186
- validate?: import("../../fields/config/types.js").Validate;
187
187
  } | {
188
188
  admin?: {
189
189
  components?: {
190
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
191
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
190
+ Error?: import("../../index.js").ErrorComponent;
191
+ Label?: import("../../index.js").LabelComponent;
192
192
  };
193
193
  editorOptions?: import("@monaco-editor/react").EditorProps["options"];
194
194
  language?: string;
@@ -216,6 +216,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
216
216
  maxLength?: number;
217
217
  minLength?: number;
218
218
  type: "code";
219
+ validate?: import("../../fields/config/types.js").Validate<string, unknown, unknown, import("../../fields/config/types.js").CodeField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
219
220
  name: string;
220
221
  access?: {
221
222
  create?: import("../../fields/config/types.js").FieldAccess;
@@ -230,10 +231,10 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
230
231
  beforeDuplicate?: import("../../fields/config/types.js").FieldHook[];
231
232
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
232
233
  };
233
- defaultValue?: any;
234
234
  hidden?: boolean;
235
+ defaultValue?: any;
235
236
  index?: boolean;
236
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
237
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
237
238
  localized?: boolean;
238
239
  required?: boolean;
239
240
  saveToJWT?: boolean | string;
@@ -241,7 +242,6 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
241
242
  jsonSchema: import("json-schema").JSONSchema4;
242
243
  }) => import("json-schema").JSONSchema4>;
243
244
  unique?: boolean;
244
- validate?: import("../../fields/config/types.js").Validate;
245
245
  } | {
246
246
  fields: Field[];
247
247
  type: "collapsible";
@@ -290,8 +290,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
290
290
  beforeDuplicate?: import("../../fields/config/types.js").FieldHook[];
291
291
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
292
292
  };
293
- defaultValue?: any;
294
293
  hidden?: boolean;
294
+ defaultValue?: any;
295
295
  index?: boolean;
296
296
  localized?: boolean;
297
297
  required?: boolean;
@@ -300,7 +300,6 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
300
300
  jsonSchema: import("json-schema").JSONSchema4;
301
301
  }) => import("json-schema").JSONSchema4>;
302
302
  unique?: boolean;
303
- validate?: import("../../fields/config/types.js").Validate;
304
303
  } | {
305
304
  fields: Field[];
306
305
  type: "collapsible";
@@ -341,8 +340,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
341
340
  beforeDuplicate?: import("../../fields/config/types.js").FieldHook[];
342
341
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
343
342
  };
344
- defaultValue?: any;
345
343
  hidden?: boolean;
344
+ defaultValue?: any;
346
345
  index?: boolean;
347
346
  localized?: boolean;
348
347
  required?: boolean;
@@ -351,12 +350,11 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
351
350
  jsonSchema: import("json-schema").JSONSchema4;
352
351
  }) => import("json-schema").JSONSchema4>;
353
352
  unique?: boolean;
354
- validate?: import("../../fields/config/types.js").Validate;
355
353
  } | {
356
354
  admin?: {
357
355
  components?: {
358
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
359
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
356
+ Error?: import("../../index.js").ErrorComponent;
357
+ Label?: import("../../index.js").LabelComponent;
360
358
  afterInput?: import("../../index.js").CustomComponent[];
361
359
  beforeInput?: import("../../index.js").CustomComponent[];
362
360
  };
@@ -384,6 +382,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
384
382
  width?: string;
385
383
  };
386
384
  type: "date";
385
+ validate?: import("../../fields/config/types.js").Validate<unknown, unknown, unknown, import("../../fields/config/types.js").DateField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
387
386
  access?: {
388
387
  create?: import("../../fields/config/types.js").FieldAccess;
389
388
  read?: import("../../fields/config/types.js").FieldAccess;
@@ -400,7 +399,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
400
399
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
401
400
  };
402
401
  index?: boolean;
403
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
402
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
404
403
  localized?: boolean;
405
404
  name: string;
406
405
  required?: boolean;
@@ -409,13 +408,12 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
409
408
  jsonSchema: import("json-schema").JSONSchema4;
410
409
  }) => import("json-schema").JSONSchema4>;
411
410
  unique?: boolean;
412
- validate?: import("../../fields/config/types.js").Validate;
413
411
  } | {
414
412
  admin?: {
415
413
  autoComplete?: string;
416
414
  components?: {
417
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
418
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
415
+ Error?: import("../../index.js").ErrorComponent;
416
+ Label?: import("../../index.js").LabelComponent;
419
417
  afterInput?: import("../../index.js").CustomComponent[];
420
418
  beforeInput?: import("../../index.js").CustomComponent[];
421
419
  };
@@ -442,6 +440,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
442
440
  width?: string;
443
441
  };
444
442
  type: "email";
443
+ validate?: import("../../fields/config/types.js").Validate<string, unknown, unknown, import("../../fields/config/types.js").EmailField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
445
444
  access?: {
446
445
  create?: import("../../fields/config/types.js").FieldAccess;
447
446
  read?: import("../../fields/config/types.js").FieldAccess;
@@ -458,7 +457,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
458
457
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
459
458
  };
460
459
  index?: boolean;
461
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
460
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
462
461
  localized?: boolean;
463
462
  name: string;
464
463
  required?: boolean;
@@ -467,7 +466,6 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
467
466
  jsonSchema: import("json-schema").JSONSchema4;
468
467
  }) => import("json-schema").JSONSchema4>;
469
468
  unique?: boolean;
470
- validate?: import("../../fields/config/types.js").Validate;
471
469
  } | {
472
470
  admin?: {
473
471
  hideGutter?: boolean;
@@ -495,6 +493,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
495
493
  fields: Field[];
496
494
  interfaceName?: string;
497
495
  type: "group";
496
+ validate?: import("../../fields/config/types.js").Validate<unknown, unknown, unknown, import("../../fields/config/types.js").GroupField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
498
497
  name: string;
499
498
  access?: {
500
499
  create?: import("../../fields/config/types.js").FieldAccess;
@@ -509,22 +508,21 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
509
508
  beforeDuplicate?: import("../../fields/config/types.js").FieldHook[];
510
509
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
511
510
  };
512
- defaultValue?: any;
513
511
  hidden?: boolean;
512
+ defaultValue?: any;
514
513
  index?: boolean;
515
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
514
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
516
515
  localized?: boolean;
517
516
  saveToJWT?: boolean | string;
518
517
  typescriptSchema?: Array<(args: {
519
518
  jsonSchema: import("json-schema").JSONSchema4;
520
519
  }) => import("json-schema").JSONSchema4>;
521
520
  unique?: boolean;
522
- validate?: import("../../fields/config/types.js").Validate;
523
521
  } | {
524
522
  admin?: {
525
523
  components?: {
526
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
527
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
524
+ Error?: import("../../index.js").ErrorComponent;
525
+ Label?: import("../../index.js").LabelComponent;
528
526
  };
529
527
  editorOptions?: import("@monaco-editor/react").EditorProps["options"];
530
528
  } & {
@@ -554,6 +552,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
554
552
  uri: string;
555
553
  };
556
554
  type: "json";
555
+ validate?: import("../../fields/config/types.js").Validate<Record<string, unknown>, unknown, unknown, import("../../fields/config/types.js").JSONField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
557
556
  name: string;
558
557
  access?: {
559
558
  create?: import("../../fields/config/types.js").FieldAccess;
@@ -568,10 +567,10 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
568
567
  beforeDuplicate?: import("../../fields/config/types.js").FieldHook[];
569
568
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
570
569
  };
571
- defaultValue?: any;
572
570
  hidden?: boolean;
571
+ defaultValue?: any;
573
572
  index?: boolean;
574
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
573
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
575
574
  localized?: boolean;
576
575
  required?: boolean;
577
576
  saveToJWT?: boolean | string;
@@ -579,13 +578,12 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
579
578
  jsonSchema: import("json-schema").JSONSchema4;
580
579
  }) => import("json-schema").JSONSchema4>;
581
580
  unique?: boolean;
582
- validate?: import("../../fields/config/types.js").Validate;
583
581
  } | {
584
582
  admin?: {
585
583
  autoComplete?: string;
586
584
  components?: {
587
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
588
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
585
+ Error?: import("../../index.js").ErrorComponent;
586
+ Label?: import("../../index.js").LabelComponent;
589
587
  afterInput?: import("../../index.js").CustomComponent[];
590
588
  beforeInput?: import("../../index.js").CustomComponent[];
591
589
  };
@@ -615,6 +613,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
615
613
  max?: number;
616
614
  min?: number;
617
615
  type: "number";
616
+ validate?: import("../../fields/config/types.js").Validate<number | number[], unknown, unknown, import("../../fields/config/types.js").NumberField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
618
617
  hasMany: true;
619
618
  maxRows?: number;
620
619
  minRows?: number;
@@ -634,7 +633,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
634
633
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
635
634
  };
636
635
  index?: boolean;
637
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
636
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
638
637
  localized?: boolean;
639
638
  name: string;
640
639
  required?: boolean;
@@ -643,13 +642,12 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
643
642
  jsonSchema: import("json-schema").JSONSchema4;
644
643
  }) => import("json-schema").JSONSchema4>;
645
644
  unique?: boolean;
646
- validate?: import("../../fields/config/types.js").Validate;
647
645
  } | {
648
646
  admin?: {
649
647
  autoComplete?: string;
650
648
  components?: {
651
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
652
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
649
+ Error?: import("../../index.js").ErrorComponent;
650
+ Label?: import("../../index.js").LabelComponent;
653
651
  afterInput?: import("../../index.js").CustomComponent[];
654
652
  beforeInput?: import("../../index.js").CustomComponent[];
655
653
  };
@@ -679,6 +677,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
679
677
  max?: number;
680
678
  min?: number;
681
679
  type: "number";
680
+ validate?: import("../../fields/config/types.js").Validate<number | number[], unknown, unknown, import("../../fields/config/types.js").NumberField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
682
681
  hasMany?: false | undefined;
683
682
  maxRows?: undefined;
684
683
  minRows?: undefined;
@@ -698,7 +697,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
698
697
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
699
698
  };
700
699
  index?: boolean;
701
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
700
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
702
701
  localized?: boolean;
703
702
  name: string;
704
703
  required?: boolean;
@@ -707,9 +706,9 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
707
706
  jsonSchema: import("json-schema").JSONSchema4;
708
707
  }) => import("json-schema").JSONSchema4>;
709
708
  unique?: boolean;
710
- validate?: import("../../fields/config/types.js").Validate;
711
709
  } | {
712
710
  type: "point";
711
+ validate?: import("../../fields/config/types.js").Validate<unknown, unknown, unknown, import("../../fields/config/types.js").PointField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
713
712
  access?: {
714
713
  create?: import("../../fields/config/types.js").FieldAccess;
715
714
  read?: import("../../fields/config/types.js").FieldAccess;
@@ -747,7 +746,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
747
746
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
748
747
  };
749
748
  index?: boolean;
750
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
749
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
751
750
  localized?: boolean;
752
751
  name: string;
753
752
  required?: boolean;
@@ -756,12 +755,11 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
756
755
  jsonSchema: import("json-schema").JSONSchema4;
757
756
  }) => import("json-schema").JSONSchema4>;
758
757
  unique?: boolean;
759
- validate?: import("../../fields/config/types.js").Validate;
760
758
  } | {
761
759
  admin?: {
762
760
  components?: {
763
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
764
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
761
+ Error?: import("../../index.js").ErrorComponent;
762
+ Label?: import("../../index.js").LabelComponent;
765
763
  };
766
764
  layout?: "horizontal" | "vertical";
767
765
  } & {
@@ -789,6 +787,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
789
787
  enumName?: import("../../index.js").DBIdentifierName;
790
788
  options: import("../../fields/config/types.js").Option[];
791
789
  type: "radio";
790
+ validate?: import("../../fields/config/types.js").Validate<string, unknown, unknown, import("../../fields/config/types.js").RadioField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
792
791
  access?: {
793
792
  create?: import("../../fields/config/types.js").FieldAccess;
794
793
  read?: import("../../fields/config/types.js").FieldAccess;
@@ -805,7 +804,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
805
804
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
806
805
  };
807
806
  index?: boolean;
808
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
807
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
809
808
  localized?: boolean;
810
809
  name: string;
811
810
  required?: boolean;
@@ -814,7 +813,6 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
814
813
  jsonSchema: import("json-schema").JSONSchema4;
815
814
  }) => import("json-schema").JSONSchema4>;
816
815
  unique?: boolean;
817
- validate?: import("../../fields/config/types.js").Validate;
818
816
  } | {
819
817
  admin?: {
820
818
  sortOptions?: {
@@ -823,8 +821,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
823
821
  } & ({
824
822
  allowCreate?: boolean;
825
823
  components?: {
826
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
827
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
824
+ Error?: import("../../index.js").ErrorComponent;
825
+ Label?: import("../../index.js").LabelComponent;
828
826
  };
829
827
  isSortable?: boolean;
830
828
  } & {
@@ -853,6 +851,37 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
853
851
  hasMany: true;
854
852
  maxDepth?: number;
855
853
  type: "relationship";
854
+ validate?: import("../../fields/config/types.js").Validate<unknown, unknown, unknown, {
855
+ filterOptions?: import("../../fields/config/types.js").FilterOptions;
856
+ hasMany?: boolean;
857
+ maxDepth?: number;
858
+ type: "relationship";
859
+ validate?: import("../../fields/config/types.js").Validate<unknown, unknown, unknown, any & ({
860
+ hasMany: true;
861
+ max?: number;
862
+ maxRows?: number;
863
+ min?: number;
864
+ minRows?: number;
865
+ } | {
866
+ hasMany?: false | undefined;
867
+ max?: undefined;
868
+ maxRows?: undefined;
869
+ min?: undefined;
870
+ minRows?: undefined;
871
+ }) & FieldBase>;
872
+ } & ({
873
+ hasMany: true;
874
+ max?: number;
875
+ maxRows?: number;
876
+ min?: number;
877
+ minRows?: number;
878
+ } | {
879
+ hasMany?: false | undefined;
880
+ max?: undefined;
881
+ maxRows?: undefined;
882
+ min?: undefined;
883
+ minRows?: undefined;
884
+ }) & FieldBase> & import("../../fields/config/types.js").Validate<any, any, any, object>;
856
885
  max?: number;
857
886
  maxRows?: number;
858
887
  min?: number;
@@ -873,7 +902,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
873
902
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
874
903
  };
875
904
  index?: boolean;
876
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
905
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
877
906
  localized?: boolean;
878
907
  name: string;
879
908
  required?: boolean;
@@ -882,7 +911,6 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
882
911
  jsonSchema: import("json-schema").JSONSchema4;
883
912
  }) => import("json-schema").JSONSchema4>;
884
913
  unique?: boolean;
885
- validate?: import("../../fields/config/types.js").Validate;
886
914
  } | {
887
915
  admin?: {
888
916
  sortOptions?: {
@@ -891,8 +919,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
891
919
  } & ({
892
920
  allowCreate?: boolean;
893
921
  components?: {
894
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
895
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
922
+ Error?: import("../../index.js").ErrorComponent;
923
+ Label?: import("../../index.js").LabelComponent;
896
924
  };
897
925
  isSortable?: boolean;
898
926
  } & {
@@ -921,6 +949,37 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
921
949
  hasMany?: false;
922
950
  maxDepth?: number;
923
951
  type: "relationship";
952
+ validate?: import("../../fields/config/types.js").Validate<unknown, unknown, unknown, {
953
+ filterOptions?: import("../../fields/config/types.js").FilterOptions;
954
+ hasMany?: boolean;
955
+ maxDepth?: number;
956
+ type: "relationship";
957
+ validate?: import("../../fields/config/types.js").Validate<unknown, unknown, unknown, any & ({
958
+ hasMany: true;
959
+ max?: number;
960
+ maxRows?: number;
961
+ min?: number;
962
+ minRows?: number;
963
+ } | {
964
+ hasMany?: false | undefined;
965
+ max?: undefined;
966
+ maxRows?: undefined;
967
+ min?: undefined;
968
+ minRows?: undefined;
969
+ }) & FieldBase>;
970
+ } & ({
971
+ hasMany: true;
972
+ max?: number;
973
+ maxRows?: number;
974
+ min?: number;
975
+ minRows?: number;
976
+ } | {
977
+ hasMany?: false | undefined;
978
+ max?: undefined;
979
+ maxRows?: undefined;
980
+ min?: undefined;
981
+ minRows?: undefined;
982
+ }) & FieldBase> & import("../../fields/config/types.js").Validate<any, any, any, object>;
924
983
  max?: undefined;
925
984
  maxRows?: undefined;
926
985
  min?: undefined;
@@ -941,7 +1000,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
941
1000
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
942
1001
  };
943
1002
  index?: boolean;
944
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
1003
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
945
1004
  localized?: boolean;
946
1005
  name: string;
947
1006
  required?: boolean;
@@ -950,15 +1009,14 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
950
1009
  jsonSchema: import("json-schema").JSONSchema4;
951
1010
  }) => import("json-schema").JSONSchema4>;
952
1011
  unique?: boolean;
953
- validate?: import("../../fields/config/types.js").Validate;
954
1012
  } | {
955
1013
  admin?: {
956
1014
  sortOptions?: string;
957
1015
  } & ({
958
1016
  allowCreate?: boolean;
959
1017
  components?: {
960
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
961
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
1018
+ Error?: import("../../index.js").ErrorComponent;
1019
+ Label?: import("../../index.js").LabelComponent;
962
1020
  };
963
1021
  isSortable?: boolean;
964
1022
  } & {
@@ -987,6 +1045,37 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
987
1045
  hasMany: true;
988
1046
  maxDepth?: number;
989
1047
  type: "relationship";
1048
+ validate?: import("../../fields/config/types.js").Validate<unknown, unknown, unknown, {
1049
+ filterOptions?: import("../../fields/config/types.js").FilterOptions;
1050
+ hasMany?: boolean;
1051
+ maxDepth?: number;
1052
+ type: "relationship";
1053
+ validate?: import("../../fields/config/types.js").Validate<unknown, unknown, unknown, any & ({
1054
+ hasMany: true;
1055
+ max?: number;
1056
+ maxRows?: number;
1057
+ min?: number;
1058
+ minRows?: number;
1059
+ } | {
1060
+ hasMany?: false | undefined;
1061
+ max?: undefined;
1062
+ maxRows?: undefined;
1063
+ min?: undefined;
1064
+ minRows?: undefined;
1065
+ }) & FieldBase>;
1066
+ } & ({
1067
+ hasMany: true;
1068
+ max?: number;
1069
+ maxRows?: number;
1070
+ min?: number;
1071
+ minRows?: number;
1072
+ } | {
1073
+ hasMany?: false | undefined;
1074
+ max?: undefined;
1075
+ maxRows?: undefined;
1076
+ min?: undefined;
1077
+ minRows?: undefined;
1078
+ }) & FieldBase> & import("../../fields/config/types.js").Validate<any, any, any, object>;
990
1079
  max?: number;
991
1080
  maxRows?: number;
992
1081
  min?: number;
@@ -1007,7 +1096,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1007
1096
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
1008
1097
  };
1009
1098
  index?: boolean;
1010
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
1099
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
1011
1100
  localized?: boolean;
1012
1101
  name: string;
1013
1102
  required?: boolean;
@@ -1016,15 +1105,14 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1016
1105
  jsonSchema: import("json-schema").JSONSchema4;
1017
1106
  }) => import("json-schema").JSONSchema4>;
1018
1107
  unique?: boolean;
1019
- validate?: import("../../fields/config/types.js").Validate;
1020
1108
  } | {
1021
1109
  admin?: {
1022
1110
  sortOptions?: string;
1023
1111
  } & ({
1024
1112
  allowCreate?: boolean;
1025
1113
  components?: {
1026
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
1027
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
1114
+ Error?: import("../../index.js").ErrorComponent;
1115
+ Label?: import("../../index.js").LabelComponent;
1028
1116
  };
1029
1117
  isSortable?: boolean;
1030
1118
  } & {
@@ -1053,6 +1141,37 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1053
1141
  hasMany?: false;
1054
1142
  maxDepth?: number;
1055
1143
  type: "relationship";
1144
+ validate?: import("../../fields/config/types.js").Validate<unknown, unknown, unknown, {
1145
+ filterOptions?: import("../../fields/config/types.js").FilterOptions;
1146
+ hasMany?: boolean;
1147
+ maxDepth?: number;
1148
+ type: "relationship";
1149
+ validate?: import("../../fields/config/types.js").Validate<unknown, unknown, unknown, any & ({
1150
+ hasMany: true;
1151
+ max?: number;
1152
+ maxRows?: number;
1153
+ min?: number;
1154
+ minRows?: number;
1155
+ } | {
1156
+ hasMany?: false | undefined;
1157
+ max?: undefined;
1158
+ maxRows?: undefined;
1159
+ min?: undefined;
1160
+ minRows?: undefined;
1161
+ }) & FieldBase>;
1162
+ } & ({
1163
+ hasMany: true;
1164
+ max?: number;
1165
+ maxRows?: number;
1166
+ min?: number;
1167
+ minRows?: number;
1168
+ } | {
1169
+ hasMany?: false | undefined;
1170
+ max?: undefined;
1171
+ maxRows?: undefined;
1172
+ min?: undefined;
1173
+ minRows?: undefined;
1174
+ }) & FieldBase> & import("../../fields/config/types.js").Validate<any, any, any, object>;
1056
1175
  max?: undefined;
1057
1176
  maxRows?: undefined;
1058
1177
  min?: undefined;
@@ -1073,7 +1192,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1073
1192
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
1074
1193
  };
1075
1194
  index?: boolean;
1076
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
1195
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
1077
1196
  localized?: boolean;
1078
1197
  name: string;
1079
1198
  required?: boolean;
@@ -1082,12 +1201,11 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1082
1201
  jsonSchema: import("json-schema").JSONSchema4;
1083
1202
  }) => import("json-schema").JSONSchema4>;
1084
1203
  unique?: boolean;
1085
- validate?: import("../../fields/config/types.js").Validate;
1086
1204
  } | {
1087
1205
  admin?: {
1088
1206
  components?: {
1089
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
1090
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
1207
+ Error?: import("../../index.js").ErrorComponent;
1208
+ Label?: import("../../index.js").LabelComponent;
1091
1209
  };
1092
1210
  } & {
1093
1211
  className?: string;
@@ -1129,7 +1247,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1129
1247
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
1130
1248
  };
1131
1249
  index?: boolean;
1132
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
1250
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
1133
1251
  localized?: boolean;
1134
1252
  name: string;
1135
1253
  required?: boolean;
@@ -1156,8 +1274,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1156
1274
  beforeDuplicate?: import("../../fields/config/types.js").FieldHook[];
1157
1275
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
1158
1276
  };
1159
- defaultValue?: any;
1160
1277
  hidden?: boolean;
1278
+ defaultValue?: any;
1161
1279
  index?: boolean;
1162
1280
  localized?: boolean;
1163
1281
  required?: boolean;
@@ -1166,12 +1284,11 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1166
1284
  jsonSchema: import("json-schema").JSONSchema4;
1167
1285
  }) => import("json-schema").JSONSchema4>;
1168
1286
  unique?: boolean;
1169
- validate?: import("../../fields/config/types.js").Validate;
1170
1287
  } | {
1171
1288
  admin?: {
1172
1289
  components?: {
1173
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
1174
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
1290
+ Error?: import("../../index.js").ErrorComponent;
1291
+ Label?: import("../../index.js").LabelComponent;
1175
1292
  };
1176
1293
  isClearable?: boolean;
1177
1294
  isSortable?: boolean;
@@ -1201,6 +1318,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1201
1318
  hasMany?: boolean;
1202
1319
  options: import("../../fields/config/types.js").Option[];
1203
1320
  type: "select";
1321
+ validate?: import("../../fields/config/types.js").Validate<string, unknown, unknown, import("../../fields/config/types.js").SelectField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
1204
1322
  access?: {
1205
1323
  create?: import("../../fields/config/types.js").FieldAccess;
1206
1324
  read?: import("../../fields/config/types.js").FieldAccess;
@@ -1217,7 +1335,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1217
1335
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
1218
1336
  };
1219
1337
  index?: boolean;
1220
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
1338
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
1221
1339
  localized?: boolean;
1222
1340
  name: string;
1223
1341
  required?: boolean;
@@ -1226,7 +1344,6 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1226
1344
  jsonSchema: import("json-schema").JSONSchema4;
1227
1345
  }) => import("json-schema").JSONSchema4>;
1228
1346
  unique?: boolean;
1229
- validate?: import("../../fields/config/types.js").Validate;
1230
1347
  } | {
1231
1348
  admin?: import("../../fields/config/types.js").TabsAdmin;
1232
1349
  tabs: import("../../fields/config/types.js").Tab[];
@@ -1244,10 +1361,10 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1244
1361
  beforeDuplicate?: import("../../fields/config/types.js").FieldHook[];
1245
1362
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
1246
1363
  };
1247
- defaultValue?: any;
1248
1364
  hidden?: boolean;
1365
+ defaultValue?: any;
1249
1366
  index?: boolean;
1250
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
1367
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
1251
1368
  required?: boolean;
1252
1369
  typescriptSchema?: Array<(args: {
1253
1370
  jsonSchema: import("json-schema").JSONSchema4;
@@ -1258,8 +1375,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1258
1375
  admin?: {
1259
1376
  autoComplete?: string;
1260
1377
  components?: {
1261
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
1262
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
1378
+ Error?: import("../../index.js").ErrorComponent;
1379
+ Label?: import("../../index.js").LabelComponent;
1263
1380
  afterInput?: import("../../index.js").CustomComponent[];
1264
1381
  beforeInput?: import("../../index.js").CustomComponent[];
1265
1382
  };
@@ -1289,6 +1406,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1289
1406
  maxLength?: number;
1290
1407
  minLength?: number;
1291
1408
  type: "text";
1409
+ validate?: import("../../fields/config/types.js").Validate<string | string[], unknown, unknown, import("../../fields/config/types.js").TextField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
1292
1410
  hasMany: true;
1293
1411
  maxRows?: number;
1294
1412
  minRows?: number;
@@ -1308,7 +1426,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1308
1426
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
1309
1427
  };
1310
1428
  index?: boolean;
1311
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
1429
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
1312
1430
  localized?: boolean;
1313
1431
  name: string;
1314
1432
  required?: boolean;
@@ -1317,13 +1435,12 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1317
1435
  jsonSchema: import("json-schema").JSONSchema4;
1318
1436
  }) => import("json-schema").JSONSchema4>;
1319
1437
  unique?: boolean;
1320
- validate?: import("../../fields/config/types.js").Validate;
1321
1438
  } | {
1322
1439
  admin?: {
1323
1440
  autoComplete?: string;
1324
1441
  components?: {
1325
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
1326
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
1442
+ Error?: import("../../index.js").ErrorComponent;
1443
+ Label?: import("../../index.js").LabelComponent;
1327
1444
  afterInput?: import("../../index.js").CustomComponent[];
1328
1445
  beforeInput?: import("../../index.js").CustomComponent[];
1329
1446
  };
@@ -1353,6 +1470,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1353
1470
  maxLength?: number;
1354
1471
  minLength?: number;
1355
1472
  type: "text";
1473
+ validate?: import("../../fields/config/types.js").Validate<string | string[], unknown, unknown, import("../../fields/config/types.js").TextField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
1356
1474
  hasMany?: false | undefined;
1357
1475
  maxRows?: undefined;
1358
1476
  minRows?: undefined;
@@ -1372,7 +1490,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1372
1490
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
1373
1491
  };
1374
1492
  index?: boolean;
1375
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
1493
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
1376
1494
  localized?: boolean;
1377
1495
  name: string;
1378
1496
  required?: boolean;
@@ -1381,12 +1499,11 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1381
1499
  jsonSchema: import("json-schema").JSONSchema4;
1382
1500
  }) => import("json-schema").JSONSchema4>;
1383
1501
  unique?: boolean;
1384
- validate?: import("../../fields/config/types.js").Validate;
1385
1502
  } | {
1386
1503
  admin?: {
1387
1504
  components?: {
1388
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
1389
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
1505
+ Error?: import("../../index.js").ErrorComponent;
1506
+ Label?: import("../../index.js").LabelComponent;
1390
1507
  afterInput?: import("../../index.js").CustomComponent[];
1391
1508
  beforeInput?: import("../../index.js").CustomComponent[];
1392
1509
  };
@@ -1417,6 +1534,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1417
1534
  maxLength?: number;
1418
1535
  minLength?: number;
1419
1536
  type: "textarea";
1537
+ validate?: import("../../fields/config/types.js").Validate<string, unknown, unknown, import("../../fields/config/types.js").TextareaField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
1420
1538
  access?: {
1421
1539
  create?: import("../../fields/config/types.js").FieldAccess;
1422
1540
  read?: import("../../fields/config/types.js").FieldAccess;
@@ -1433,7 +1551,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1433
1551
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
1434
1552
  };
1435
1553
  index?: boolean;
1436
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
1554
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
1437
1555
  localized?: boolean;
1438
1556
  name: string;
1439
1557
  required?: boolean;
@@ -1442,7 +1560,6 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1442
1560
  jsonSchema: import("json-schema").JSONSchema4;
1443
1561
  }) => import("json-schema").JSONSchema4>;
1444
1562
  unique?: boolean;
1445
- validate?: import("../../fields/config/types.js").Validate;
1446
1563
  } | {
1447
1564
  admin: {
1448
1565
  components?: {
@@ -1464,8 +1581,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1464
1581
  } | {
1465
1582
  admin?: {
1466
1583
  components?: {
1467
- Error?: import("../../index.js").CustomComponent<import("../../index.js").ErrorProps>;
1468
- Label?: import("../../index.js").CustomComponent<import("../../index.js").LabelProps>;
1584
+ Error?: import("../../index.js").ErrorComponent;
1585
+ Label?: import("../../index.js").LabelComponent;
1469
1586
  };
1470
1587
  } & {
1471
1588
  className?: string;
@@ -1492,6 +1609,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1492
1609
  maxDepth?: number;
1493
1610
  relationTo: import("../../index.js").CollectionSlug;
1494
1611
  type: "upload";
1612
+ validate?: import("../../fields/config/types.js").Validate<unknown, unknown, unknown, import("../../fields/config/types.js").UploadField> & import("../../fields/config/types.js").Validate<any, any, any, object>;
1495
1613
  access?: {
1496
1614
  create?: import("../../fields/config/types.js").FieldAccess;
1497
1615
  read?: import("../../fields/config/types.js").FieldAccess;
@@ -1508,7 +1626,7 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1508
1626
  beforeValidate?: import("../../fields/config/types.js").FieldHook[];
1509
1627
  };
1510
1628
  index?: boolean;
1511
- label?: import("../../index.js").LabelFunction | Record<string, string> | false | string;
1629
+ label?: import("../../index.js").LabelFunction | import("../../index.js").LabelStatic | false;
1512
1630
  localized?: boolean;
1513
1631
  name: string;
1514
1632
  required?: boolean;
@@ -1517,7 +1635,6 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
1517
1635
  jsonSchema: import("json-schema").JSONSchema4;
1518
1636
  }) => import("json-schema").JSONSchema4>;
1519
1637
  unique?: boolean;
1520
- validate?: import("../../fields/config/types.js").Validate;
1521
1638
  };
1522
1639
  export declare const createClientFieldConfigs: ({ fields, t, }: {
1523
1640
  fields: Field[];