Files
mediacms/frontend-tools/video-editor/shared/schema.ts
T

10 lines
229 B
TypeScript
Raw Normal View History

2025-06-11 14:48:30 +03:00
import { z } from "zod";
export const insertUserSchema = z.object({
username: z.string(),
password: z.string(),
});
export type InsertUser = z.infer<typeof insertUserSchema>;
export type User = InsertUser & { id: number };