fix default bug
This commit is contained in:
@@ -6,7 +6,7 @@ const ConfigFieldSchema = z.object({
|
|||||||
key: z.string(),
|
key: z.string(),
|
||||||
label: z.string(),
|
label: z.string(),
|
||||||
type: z.enum(['text', 'password', 'directory', 'number', 'boolean']),
|
type: z.enum(['text', 'password', 'directory', 'number', 'boolean']),
|
||||||
default: z.enum(['text', 'password', 'directory', 'number', 'boolean']),
|
default: z.string(),
|
||||||
required: z.boolean().optional(),
|
required: z.boolean().optional(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user