Files
portabase/src/components/wrappers/dashboard/profile/schemas/general.schema.ts
T

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>;