Model controllers added

This commit is contained in:
Kiss Dávid
2025-07-28 13:00:46 +02:00
parent 590adb271d
commit 465613f6a0
17 changed files with 470 additions and 100 deletions
+1
View File
@@ -13,6 +13,7 @@ export const registerValidator = vine.compile(
return !match
}),
password,
fullName: vine.string()
})
)
export const loginValidator = vine.compile(
+10
View File
@@ -0,0 +1,10 @@
import vine from "@vinejs/vine";
export const menuItemValidator = vine.compile(
vine.object({
name: vine.string(),
priceSmall: vine.number(),
priceLarge: vine.number(),
description: vine.string(),
})
);