mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Start working on the profile refactoring.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import z from "zod";
|
||||
import {zString} from "@/lib/zod";
|
||||
|
||||
export const ProfileSchema = z.object({
|
||||
name: zString().nonempty(),
|
||||
role: zString().nonempty(),
|
||||
});
|
||||
|
||||
export type ProfileSchemaType = z.infer<typeof ProfileSchema>;
|
||||
Reference in New Issue
Block a user