initial commit
This commit is contained in:
70
packages/db/shared/schemas/findFirstOrThrowStaff.schema.d.ts
vendored
Normal file
70
packages/db/shared/schemas/findFirstOrThrowStaff.schema.d.ts
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
export declare const StaffFindFirstOrThrowSelectSchema: z.ZodType<Prisma.StaffSelect>;
|
||||
export declare const StaffFindFirstOrThrowSelectZodSchema: 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 StaffFindFirstOrThrowSchema: z.ZodType<Prisma.StaffFindFirstOrThrowArgs>;
|
||||
export declare const StaffFindFirstOrThrowZodSchema: 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=findFirstOrThrowStaff.schema.d.ts.map
|
||||
Reference in New Issue
Block a user