Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/StaffUpdateInput.schema.d.ts
2026-04-04 22:13:55 -04:00

32 lines
2.9 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
export declare const StaffUpdateInputObjectSchema: z.ZodType<Prisma.StaffUpdateInput>;
export declare const StaffUpdateInputObjectZodSchema: z.ZodObject<{
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
email: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
role: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
phone: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodLazy<z.ZodType<Prisma.DateTimeFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.DateTimeFieldUpdateOperationsInput>>]>>;
user: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.UserUpdateOneWithoutStaffNestedInput, z.ZodTypeDef, Prisma.UserUpdateOneWithoutStaffNestedInput>>>;
appointments: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.AppointmentUpdateManyWithoutStaffNestedInput, z.ZodTypeDef, Prisma.AppointmentUpdateManyWithoutStaffNestedInput>>>;
claims: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.ClaimUpdateManyWithoutStaffNestedInput, z.ZodTypeDef, Prisma.ClaimUpdateManyWithoutStaffNestedInput>>>;
}, "strict", z.ZodTypeAny, {
createdAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
user?: Prisma.UserUpdateOneWithoutStaffNestedInput | undefined;
claims?: Prisma.ClaimUpdateManyWithoutStaffNestedInput | undefined;
name?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
email?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
role?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
phone?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
appointments?: Prisma.AppointmentUpdateManyWithoutStaffNestedInput | undefined;
}, {
createdAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
user?: Prisma.UserUpdateOneWithoutStaffNestedInput | undefined;
claims?: Prisma.ClaimUpdateManyWithoutStaffNestedInput | undefined;
name?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
email?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
role?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
phone?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
appointments?: Prisma.AppointmentUpdateManyWithoutStaffNestedInput | undefined;
}>;
//# sourceMappingURL=StaffUpdateInput.schema.d.ts.map