feat: add a search modal using the database (wip)

This commit is contained in:
Sonny
2024-05-25 03:40:08 +02:00
committed by Sonny
parent b28499a69a
commit 56c05f1bf6
21 changed files with 535 additions and 621 deletions

View File

@@ -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(),
})
);