zen: better error
This commit is contained in:
parent
004a9284af
commit
47af00b245
2 changed files with 14 additions and 12 deletions
|
|
@ -44,6 +44,7 @@ export namespace ZenData {
|
|||
})
|
||||
|
||||
const ProviderSchema = z.object({
|
||||
displayName: z.string().optional(),
|
||||
api: z.string(),
|
||||
apiKey: z.union([z.string(), z.record(z.string(), z.string())]),
|
||||
format: FormatSchema.optional(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue