mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
10 lines
229 B
TypeScript
10 lines
229 B
TypeScript
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>;
|