feat(effect-zod): add tuple support; migrate config/plugin to Effect Schema (#23178)
This commit is contained in:
parent
89029a20ef
commit
5980b0a5ee
1 changed files with 48 additions and 12 deletions
|
|
@ -31,7 +31,7 @@ export const TuiInfo = z
|
|||
$schema: z.string().optional(),
|
||||
theme: z.string().optional(),
|
||||
keybinds: KeybindOverride.optional(),
|
||||
plugin: ConfigPlugin.Spec.array().optional(),
|
||||
plugin: ConfigPlugin.Spec.zod.array().optional(),
|
||||
plugin_enabled: z.record(z.string(), z.boolean()).optional(),
|
||||
})
|
||||
.extend(TuiOptions.shape)
|
||||
|
|
|
|||
Loading…
Reference in a new issue