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

70 lines
4.1 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
export declare const StaffFindManySelectSchema: z.ZodType<Prisma.StaffSelect>;
export declare const StaffFindManySelectZodSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodBoolean>;
userId: z.ZodOptional<z.ZodBoolean>;
name: z.ZodOptional<z.ZodBoolean>;
email: z.ZodOptional<z.ZodBoolean>;
role: z.ZodOptional<z.ZodBoolean>;
phone: z.ZodOptional<z.ZodBoolean>;
createdAt: z.ZodOptional<z.ZodBoolean>;
user: z.ZodOptional<z.ZodBoolean>;
appointments: z.ZodOptional<z.ZodBoolean>;
claims: z.ZodOptional<z.ZodBoolean>;
_count: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
createdAt?: boolean | undefined;
id?: boolean | undefined;
userId?: boolean | undefined;
user?: boolean | undefined;
claims?: boolean | undefined;
name?: boolean | undefined;
email?: boolean | undefined;
role?: boolean | undefined;
phone?: boolean | undefined;
appointments?: boolean | undefined;
_count?: boolean | undefined;
}, {
createdAt?: boolean | undefined;
id?: boolean | undefined;
userId?: boolean | undefined;
user?: boolean | undefined;
claims?: boolean | undefined;
name?: boolean | undefined;
email?: boolean | undefined;
role?: boolean | undefined;
phone?: boolean | undefined;
appointments?: boolean | undefined;
_count?: boolean | undefined;
}>;
export declare const StaffFindManySchema: z.ZodType<Prisma.StaffFindManyArgs>;
export declare const StaffFindManyZodSchema: z.ZodObject<{
select: z.ZodOptional<z.ZodType<Prisma.StaffSelect<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.StaffSelect<import("../../generated/prisma/runtime/client").DefaultArgs>>>;
include: z.ZodLazy<z.ZodOptional<z.ZodType<Prisma.StaffInclude<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.StaffInclude<import("../../generated/prisma/runtime/client").DefaultArgs>>>>;
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.StaffOrderByWithRelationInput, z.ZodTypeDef, Prisma.StaffOrderByWithRelationInput>, z.ZodArray<z.ZodType<Prisma.StaffOrderByWithRelationInput, z.ZodTypeDef, Prisma.StaffOrderByWithRelationInput>, "many">]>>;
where: z.ZodOptional<z.ZodType<Prisma.StaffWhereInput, z.ZodTypeDef, Prisma.StaffWhereInput>>;
cursor: z.ZodOptional<z.ZodType<Prisma.StaffWhereUniqueInput, z.ZodTypeDef, Prisma.StaffWhereUniqueInput>>;
take: z.ZodOptional<z.ZodNumber>;
skip: z.ZodOptional<z.ZodNumber>;
distinct: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["id", "userId", "name", "email", "role", "phone", "createdAt"]>, z.ZodArray<z.ZodEnum<["id", "userId", "name", "email", "role", "phone", "createdAt"]>, "many">]>>;
}, "strict", z.ZodTypeAny, {
where?: Prisma.StaffWhereInput | undefined;
include?: Prisma.StaffInclude<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
select?: Prisma.StaffSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
orderBy?: Prisma.StaffOrderByWithRelationInput | Prisma.StaffOrderByWithRelationInput[] | undefined;
cursor?: Prisma.StaffWhereUniqueInput | undefined;
take?: number | undefined;
skip?: number | undefined;
distinct?: "createdAt" | "id" | "userId" | "name" | "email" | "role" | "phone" | ("createdAt" | "id" | "userId" | "name" | "email" | "role" | "phone")[] | undefined;
}, {
where?: Prisma.StaffWhereInput | undefined;
include?: Prisma.StaffInclude<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
select?: Prisma.StaffSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
orderBy?: Prisma.StaffOrderByWithRelationInput | Prisma.StaffOrderByWithRelationInput[] | undefined;
cursor?: Prisma.StaffWhereUniqueInput | undefined;
take?: number | undefined;
skip?: number | undefined;
distinct?: "createdAt" | "id" | "userId" | "name" | "email" | "role" | "phone" | ("createdAt" | "id" | "userId" | "name" | "email" | "role" | "phone")[] | undefined;
}>;
//# sourceMappingURL=findManyStaff.schema.d.ts.map