File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
packages/foundation/types/src Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,13 @@ export interface FieldOption {
116116 *
117117 * We make certain spec fields optional since Zod applies defaults at parse time.
118118 */
119- export interface FieldConfig extends Omit < Field , 'type' | 'options' | 'required' | 'multiple' | 'unique' | 'deleteBehavior' | 'hidden' | 'readonly' | 'encryption' | 'index' | 'externalId' > {
119+ export interface FieldConfig extends Omit < Field , 'name' | 'label' | 'type' | 'options' | 'required' | 'multiple' | 'unique' | 'deleteBehavior' | 'hidden' | 'readonly' | 'encryption' | 'index' | 'externalId' > {
120+ /** Field name (inferred from Record key when used in ObjectConfig.fields) */
121+ name ?: string ;
122+
123+ /** Display label (derived from name if not provided) */
124+ label ?: string ;
125+
120126 /** The data type of the field (extended with runtime types) */
121127 type : FieldType ;
122128
You can’t perform that action at this time.
0 commit comments