From 7faafdc3299197e813e0879979bb9ff286380e4c Mon Sep 17 00:00:00 2001 From: nicwands Date: Tue, 24 Feb 2026 14:15:34 -0500 Subject: [PATCH] fix default bug --- src/validatePlugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validatePlugin.ts b/src/validatePlugin.ts index d6cc4a6..61e8dc0 100644 --- a/src/validatePlugin.ts +++ b/src/validatePlugin.ts @@ -6,7 +6,7 @@ const ConfigFieldSchema = z.object({ key: z.string(), label: z.string(), type: z.enum(['text', 'password', 'directory', 'number', 'boolean']), - default: z.enum(['text', 'password', 'directory', 'number', 'boolean']), + default: z.string(), required: z.boolean().optional(), })