mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 15:35:35 +00:00
feat: add a search modal using the database (wip)
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
import vine from '@vinejs/vine';
|
||||
|
||||
export const searchValidator = vine.compile(
|
||||
vine.object({
|
||||
searchTerm: vine.string().trim().minLength(1).maxLength(254),
|
||||
links: vine.boolean(),
|
||||
collections: vine.boolean(),
|
||||
})
|
||||
);
|
||||
Reference in New Issue
Block a user