mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 14:43:24 +00:00
9 lines
182 B
TypeScript
9 lines
182 B
TypeScript
import { THEMES } from '#user/constants/theme';
|
|
import vine from '@vinejs/vine';
|
|
|
|
export const updateThemeValidator = vine.compile(
|
|
vine.object({
|
|
theme: vine.enum(THEMES),
|
|
})
|
|
);
|