Search query validation
This commit is contained in:
parent
852a053e2b
commit
be489e9a18
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ const schema = {
|
|||
arrange: z.enum(["album", "artist", "label", "tag", "track"]),
|
||||
shape: z.enum(["grid", "list"]),
|
||||
filter_field: z.enum(["band_name", "band_url", "item_title", "item_id", "tag", "why"]).optional(),
|
||||
filter: z.string().optional(),
|
||||
filter: z.string().regex(/^[^%]+$/).optional(),
|
||||
filter_fuzzy: z.enum(["true"]).optional()
|
||||
}),
|
||||
account: z.object({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue