import { UserDetail } from "../user"; export interface Notification { id: string; title: string; user: UserDetail; type: NotificationType; status: NotificationStatus; description: string; source: string; createdAt: Date; updatedAt: Date; } export enum NotificationType { WELCOME = "WELCOME", ACCOUNT_LOCKED = "ACCOUNT_LOCKED", ACCOUNT_UNLOCKED = "ACCOUNT_UNLOCKED", NEW_COMMENT = "NEW_COMMENT", NEW_REACTION = "NEW_REACTION", } export enum NotificationStatus { READ = "READ", UNREAD = "UNREAD", }