initial commit
This commit is contained in:
58
packages/db/shared/schemas/findFirstOrThrowNotification.schema.d.ts
vendored
Normal file
58
packages/db/shared/schemas/findFirstOrThrowNotification.schema.d.ts
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
export declare const NotificationFindFirstOrThrowSelectSchema: z.ZodType<Prisma.NotificationSelect>;
|
||||
export declare const NotificationFindFirstOrThrowSelectZodSchema: 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 NotificationFindFirstOrThrowSchema: z.ZodType<Prisma.NotificationFindFirstOrThrowArgs>;
|
||||
export declare const NotificationFindFirstOrThrowZodSchema: 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=findFirstOrThrowNotification.schema.d.ts.map
|
||||
Reference in New Issue
Block a user