41 lines
3.2 KiB
TypeScript
41 lines
3.2 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
export declare const NotificationGroupBySchema: z.ZodType<Prisma.NotificationGroupByArgs>;
|
|
export declare const NotificationGroupByZodSchema: z.ZodObject<{
|
|
where: z.ZodOptional<z.ZodType<Prisma.NotificationWhereInput, z.ZodTypeDef, Prisma.NotificationWhereInput>>;
|
|
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.NotificationOrderByWithAggregationInput, z.ZodTypeDef, Prisma.NotificationOrderByWithAggregationInput>, z.ZodArray<z.ZodType<Prisma.NotificationOrderByWithAggregationInput, z.ZodTypeDef, Prisma.NotificationOrderByWithAggregationInput>, "many">]>>;
|
|
having: z.ZodOptional<z.ZodType<Prisma.NotificationScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.NotificationScalarWhereWithAggregatesInput>>;
|
|
take: z.ZodOptional<z.ZodNumber>;
|
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
by: z.ZodArray<z.ZodEnum<["id", "userId", "type", "message", "createdAt", "read"]>, "many">;
|
|
_count: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodType<Prisma.NotificationCountAggregateInputType, z.ZodTypeDef, Prisma.NotificationCountAggregateInputType>]>>;
|
|
_min: z.ZodOptional<z.ZodType<Prisma.NotificationMinAggregateInputType, z.ZodTypeDef, Prisma.NotificationMinAggregateInputType>>;
|
|
_max: z.ZodOptional<z.ZodType<Prisma.NotificationMaxAggregateInputType, z.ZodTypeDef, Prisma.NotificationMaxAggregateInputType>>;
|
|
_avg: z.ZodOptional<z.ZodType<Prisma.NotificationAvgAggregateInputType, z.ZodTypeDef, Prisma.NotificationAvgAggregateInputType>>;
|
|
_sum: z.ZodOptional<z.ZodType<Prisma.NotificationSumAggregateInputType, z.ZodTypeDef, Prisma.NotificationSumAggregateInputType>>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
by: ("message" | "type" | "createdAt" | "id" | "userId" | "read")[];
|
|
where?: Prisma.NotificationWhereInput | undefined;
|
|
_count?: true | Prisma.NotificationCountAggregateInputType | undefined;
|
|
orderBy?: Prisma.NotificationOrderByWithAggregationInput | Prisma.NotificationOrderByWithAggregationInput[] | undefined;
|
|
take?: number | undefined;
|
|
skip?: number | undefined;
|
|
_min?: Prisma.NotificationMinAggregateInputType | undefined;
|
|
_max?: Prisma.NotificationMaxAggregateInputType | undefined;
|
|
_avg?: Prisma.NotificationAvgAggregateInputType | undefined;
|
|
_sum?: Prisma.NotificationSumAggregateInputType | undefined;
|
|
having?: Prisma.NotificationScalarWhereWithAggregatesInput | undefined;
|
|
}, {
|
|
by: ("message" | "type" | "createdAt" | "id" | "userId" | "read")[];
|
|
where?: Prisma.NotificationWhereInput | undefined;
|
|
_count?: true | Prisma.NotificationCountAggregateInputType | undefined;
|
|
orderBy?: Prisma.NotificationOrderByWithAggregationInput | Prisma.NotificationOrderByWithAggregationInput[] | undefined;
|
|
take?: number | undefined;
|
|
skip?: number | undefined;
|
|
_min?: Prisma.NotificationMinAggregateInputType | undefined;
|
|
_max?: Prisma.NotificationMaxAggregateInputType | undefined;
|
|
_avg?: Prisma.NotificationAvgAggregateInputType | undefined;
|
|
_sum?: Prisma.NotificationSumAggregateInputType | undefined;
|
|
having?: Prisma.NotificationScalarWhereWithAggregatesInput | undefined;
|
|
}>;
|
|
//# sourceMappingURL=groupByNotification.schema.d.ts.map
|