41 lines
2.9 KiB
TypeScript
41 lines
2.9 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
export declare const StaffGroupBySchema: z.ZodType<Prisma.StaffGroupByArgs>;
|
|
export declare const StaffGroupByZodSchema: z.ZodObject<{
|
|
where: z.ZodOptional<z.ZodType<Prisma.StaffWhereInput, z.ZodTypeDef, Prisma.StaffWhereInput>>;
|
|
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.StaffOrderByWithAggregationInput, z.ZodTypeDef, Prisma.StaffOrderByWithAggregationInput>, z.ZodArray<z.ZodType<Prisma.StaffOrderByWithAggregationInput, z.ZodTypeDef, Prisma.StaffOrderByWithAggregationInput>, "many">]>>;
|
|
having: z.ZodOptional<z.ZodType<Prisma.StaffScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.StaffScalarWhereWithAggregatesInput>>;
|
|
take: z.ZodOptional<z.ZodNumber>;
|
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
by: z.ZodArray<z.ZodEnum<["id", "userId", "name", "email", "role", "phone", "createdAt"]>, "many">;
|
|
_count: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodType<Prisma.StaffCountAggregateInputType, z.ZodTypeDef, Prisma.StaffCountAggregateInputType>]>>;
|
|
_min: z.ZodOptional<z.ZodType<Prisma.StaffMinAggregateInputType, z.ZodTypeDef, Prisma.StaffMinAggregateInputType>>;
|
|
_max: z.ZodOptional<z.ZodType<Prisma.StaffMaxAggregateInputType, z.ZodTypeDef, Prisma.StaffMaxAggregateInputType>>;
|
|
_avg: z.ZodOptional<z.ZodType<Prisma.StaffAvgAggregateInputType, z.ZodTypeDef, Prisma.StaffAvgAggregateInputType>>;
|
|
_sum: z.ZodOptional<z.ZodType<Prisma.StaffSumAggregateInputType, z.ZodTypeDef, Prisma.StaffSumAggregateInputType>>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
by: ("createdAt" | "id" | "userId" | "name" | "email" | "role" | "phone")[];
|
|
where?: Prisma.StaffWhereInput | undefined;
|
|
_count?: true | Prisma.StaffCountAggregateInputType | undefined;
|
|
orderBy?: Prisma.StaffOrderByWithAggregationInput | Prisma.StaffOrderByWithAggregationInput[] | undefined;
|
|
take?: number | undefined;
|
|
skip?: number | undefined;
|
|
_min?: Prisma.StaffMinAggregateInputType | undefined;
|
|
_max?: Prisma.StaffMaxAggregateInputType | undefined;
|
|
_avg?: Prisma.StaffAvgAggregateInputType | undefined;
|
|
_sum?: Prisma.StaffSumAggregateInputType | undefined;
|
|
having?: Prisma.StaffScalarWhereWithAggregatesInput | undefined;
|
|
}, {
|
|
by: ("createdAt" | "id" | "userId" | "name" | "email" | "role" | "phone")[];
|
|
where?: Prisma.StaffWhereInput | undefined;
|
|
_count?: true | Prisma.StaffCountAggregateInputType | undefined;
|
|
orderBy?: Prisma.StaffOrderByWithAggregationInput | Prisma.StaffOrderByWithAggregationInput[] | undefined;
|
|
take?: number | undefined;
|
|
skip?: number | undefined;
|
|
_min?: Prisma.StaffMinAggregateInputType | undefined;
|
|
_max?: Prisma.StaffMaxAggregateInputType | undefined;
|
|
_avg?: Prisma.StaffAvgAggregateInputType | undefined;
|
|
_sum?: Prisma.StaffSumAggregateInputType | undefined;
|
|
having?: Prisma.StaffScalarWhereWithAggregatesInput | undefined;
|
|
}>;
|
|
//# sourceMappingURL=groupByStaff.schema.d.ts.map
|