58 lines
3.8 KiB
TypeScript
58 lines
3.8 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
export declare const NotificationFindFirstSelectSchema: z.ZodType<Prisma.NotificationSelect>;
|
|
export declare const NotificationFindFirstSelectZodSchema: z.ZodObject<{
|
|
id: z.ZodOptional<z.ZodBoolean>;
|
|
userId: z.ZodOptional<z.ZodBoolean>;
|
|
type: z.ZodOptional<z.ZodBoolean>;
|
|
message: z.ZodOptional<z.ZodBoolean>;
|
|
createdAt: z.ZodOptional<z.ZodBoolean>;
|
|
read: z.ZodOptional<z.ZodBoolean>;
|
|
user: z.ZodOptional<z.ZodBoolean>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
message?: boolean | undefined;
|
|
type?: boolean | undefined;
|
|
createdAt?: boolean | undefined;
|
|
id?: boolean | undefined;
|
|
userId?: boolean | undefined;
|
|
user?: boolean | undefined;
|
|
read?: boolean | undefined;
|
|
}, {
|
|
message?: boolean | undefined;
|
|
type?: boolean | undefined;
|
|
createdAt?: boolean | undefined;
|
|
id?: boolean | undefined;
|
|
userId?: boolean | undefined;
|
|
user?: boolean | undefined;
|
|
read?: boolean | undefined;
|
|
}>;
|
|
export declare const NotificationFindFirstSchema: z.ZodType<Prisma.NotificationFindFirstArgs>;
|
|
export declare const NotificationFindFirstZodSchema: z.ZodObject<{
|
|
select: z.ZodOptional<z.ZodType<Prisma.NotificationSelect<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.NotificationSelect<import("../../generated/prisma/runtime/client").DefaultArgs>>>;
|
|
include: z.ZodLazy<z.ZodOptional<z.ZodType<Prisma.NotificationInclude<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.NotificationInclude<import("../../generated/prisma/runtime/client").DefaultArgs>>>>;
|
|
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.NotificationOrderByWithRelationInput, z.ZodTypeDef, Prisma.NotificationOrderByWithRelationInput>, z.ZodArray<z.ZodType<Prisma.NotificationOrderByWithRelationInput, z.ZodTypeDef, Prisma.NotificationOrderByWithRelationInput>, "many">]>>;
|
|
where: z.ZodOptional<z.ZodType<Prisma.NotificationWhereInput, z.ZodTypeDef, Prisma.NotificationWhereInput>>;
|
|
cursor: z.ZodOptional<z.ZodType<Prisma.NotificationWhereUniqueInput, z.ZodTypeDef, Prisma.NotificationWhereUniqueInput>>;
|
|
take: z.ZodOptional<z.ZodNumber>;
|
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
distinct: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["id", "userId", "type", "message", "createdAt", "read"]>, z.ZodArray<z.ZodEnum<["id", "userId", "type", "message", "createdAt", "read"]>, "many">]>>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
where?: Prisma.NotificationWhereInput | undefined;
|
|
include?: Prisma.NotificationInclude<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
select?: Prisma.NotificationSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] | undefined;
|
|
cursor?: Prisma.NotificationWhereUniqueInput | undefined;
|
|
take?: number | undefined;
|
|
skip?: number | undefined;
|
|
distinct?: "message" | "type" | "createdAt" | "id" | "userId" | "read" | ("message" | "type" | "createdAt" | "id" | "userId" | "read")[] | undefined;
|
|
}, {
|
|
where?: Prisma.NotificationWhereInput | undefined;
|
|
include?: Prisma.NotificationInclude<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
select?: Prisma.NotificationSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] | undefined;
|
|
cursor?: Prisma.NotificationWhereUniqueInput | undefined;
|
|
take?: number | undefined;
|
|
skip?: number | undefined;
|
|
distinct?: "message" | "type" | "createdAt" | "id" | "userId" | "read" | ("message" | "type" | "createdAt" | "id" | "userId" | "read")[] | undefined;
|
|
}>;
|
|
//# sourceMappingURL=findFirstNotification.schema.d.ts.map
|