mirror of
https://gitlab.massbug.com/massbug/judge4c.git
synced 2025-07-04 09:11:14 +00:00
feat(workspaces): add schema for creating workspaces
This commit is contained in:
parent
dfc0123565
commit
ada4674997
5
src/features/workspaces/schemas.ts
Normal file
5
src/features/workspaces/schemas.ts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import { z } from "zod";
|
||||||
|
|
||||||
|
export const createWorkspaceSchema = z.object({
|
||||||
|
name: z.string().trim().min(1, "Required"),
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user