Files
tinyauth/frontend/src/schemas/login-schema.ts
T

8 lines
175 B
TypeScript

import { z } from "zod";
export const loginSchema = z.object({
username: z.string(),
password: z.string(),
});
export type LoginFormValues = z.infer<typeof loginSchema>;