32 lines
1.7 KiB
TypeScript
32 lines
1.7 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
export declare const StaffCreateInputObjectSchema: z.ZodType<Prisma.StaffCreateInput>;
|
|
export declare const StaffCreateInputObjectZodSchema: z.ZodObject<{
|
|
name: z.ZodString;
|
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
role: z.ZodString;
|
|
phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
user: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.UserCreateNestedOneWithoutStaffInput, z.ZodTypeDef, Prisma.UserCreateNestedOneWithoutStaffInput>>>;
|
|
appointments: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.AppointmentCreateNestedManyWithoutStaffInput, z.ZodTypeDef, Prisma.AppointmentCreateNestedManyWithoutStaffInput>>>;
|
|
claims: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.ClaimCreateNestedManyWithoutStaffInput, z.ZodTypeDef, Prisma.ClaimCreateNestedManyWithoutStaffInput>>>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
name: string;
|
|
role: string;
|
|
createdAt?: Date | undefined;
|
|
user?: Prisma.UserCreateNestedOneWithoutStaffInput | undefined;
|
|
claims?: Prisma.ClaimCreateNestedManyWithoutStaffInput | undefined;
|
|
email?: string | null | undefined;
|
|
phone?: string | null | undefined;
|
|
appointments?: Prisma.AppointmentCreateNestedManyWithoutStaffInput | undefined;
|
|
}, {
|
|
name: string;
|
|
role: string;
|
|
createdAt?: Date | undefined;
|
|
user?: Prisma.UserCreateNestedOneWithoutStaffInput | undefined;
|
|
claims?: Prisma.ClaimCreateNestedManyWithoutStaffInput | undefined;
|
|
email?: string | null | undefined;
|
|
phone?: string | null | undefined;
|
|
appointments?: Prisma.AppointmentCreateNestedManyWithoutStaffInput | undefined;
|
|
}>;
|
|
//# sourceMappingURL=StaffCreateInput.schema.d.ts.map
|