import type { CommentId } from "./CommentId"; import type { ModlogId } from "./ModlogId"; import type { NotificationId } from "./NotificationId"; import type { NotificationType } from "./NotificationType"; import type { PersonId } from "./PersonId"; import type { PostId } from "./PostId"; import type { PrivateMessageId } from "./PrivateMessageId"; export type Notification = { id: NotificationId; recipient_id: PersonId; comment_id?: CommentId; read: boolean; published_at: string; kind: NotificationType; post_id?: PostId; private_message_id?: PrivateMessageId; modlog_id?: ModlogId; creator_id: PersonId; };