import type { ActivityReason } from "../types/ActivityReason"; import type { Issue } from "./Issue"; import type { IssueComment } from "./IssueComment"; import type { PullRequest } from "./PullRequest"; import type { PullRequestComment } from "./PullRequestComment"; import type { User } from "./User"; import type { UserNotificationProject } from "./UserNotificationProject"; export interface UserNotification { readonly id: number; readonly alreadyRead: boolean; readonly reason: ActivityReason; readonly user: User; readonly resourceAlreadyRead: boolean; readonly project?: UserNotificationProject; readonly issue?: Issue; readonly comment?: IssueComment; readonly pullRequest?: PullRequest; readonly pullRequestComment?: PullRequestComment; readonly sender: User; }