Files
DentalManagementMH05/packages/db/shared/schemas/variants/pure/Notification.pure.d.ts

28 lines
787 B
TypeScript

import * as z from 'zod';
export declare const NotificationModelSchema: z.ZodObject<{
id: z.ZodNumber;
userId: z.ZodNumber;
type: z.ZodEnum<["BACKUP", "CLAIM", "PAYMENT", "ETC"]>;
message: z.ZodString;
createdAt: z.ZodDate;
read: z.ZodBoolean;
user: z.ZodUnknown;
}, "strict", z.ZodTypeAny, {
message: string;
type: "BACKUP" | "CLAIM" | "PAYMENT" | "ETC";
id: number;
createdAt: Date;
userId: number;
read: boolean;
user?: unknown;
}, {
message: string;
type: "BACKUP" | "CLAIM" | "PAYMENT" | "ETC";
id: number;
createdAt: Date;
userId: number;
read: boolean;
user?: unknown;
}>;
export type NotificationPureType = z.infer<typeof NotificationModelSchema>;
//# sourceMappingURL=Notification.pure.d.ts.map