23 lines
1.0 KiB
TypeScript
23 lines
1.0 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
export declare const NotificationCreateInputObjectSchema: z.ZodType<Prisma.NotificationCreateInput>;
|
|
export declare const NotificationCreateInputObjectZodSchema: z.ZodObject<{
|
|
type: z.ZodEnum<["BACKUP", "CLAIM", "PAYMENT", "ETC"]>;
|
|
message: z.ZodString;
|
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
read: z.ZodOptional<z.ZodBoolean>;
|
|
user: z.ZodLazy<z.ZodType<Prisma.UserCreateNestedOneWithoutNotificationsInput, z.ZodTypeDef, Prisma.UserCreateNestedOneWithoutNotificationsInput>>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
message: string;
|
|
type: "BACKUP" | "CLAIM" | "PAYMENT" | "ETC";
|
|
user: Prisma.UserCreateNestedOneWithoutNotificationsInput;
|
|
createdAt?: Date | undefined;
|
|
read?: boolean | undefined;
|
|
}, {
|
|
message: string;
|
|
type: "BACKUP" | "CLAIM" | "PAYMENT" | "ETC";
|
|
user: Prisma.UserCreateNestedOneWithoutNotificationsInput;
|
|
createdAt?: Date | undefined;
|
|
read?: boolean | undefined;
|
|
}>;
|
|
//# sourceMappingURL=NotificationCreateInput.schema.d.ts.map
|