[Home](./index.md) > [trashposs-js](./trashposs-js.md) > [entities](./trashposs-js.entities.md) > [Notification](./trashposs-js.entities.notification.md) ## entities.Notification type **Signature:** ```typescript export declare type Notification = { id: ID; createdAt: DateString; isRead: boolean; } & ( | { type: "reaction"; reaction: string; user: User; userId: User["id"]; note: Note; } | { type: "reply"; user: User; userId: User["id"]; note: Note; } | { type: "renote"; user: User; userId: User["id"]; note: Note; } | { type: "quote"; user: User; userId: User["id"]; note: Note; } | { type: "mention"; user: User; userId: User["id"]; note: Note; } | { type: "pollVote"; user: User; userId: User["id"]; note: Note; } | { type: "follow"; user: User; userId: User["id"]; } | { type: "followRequestAccepted"; user: User; userId: User["id"]; } | { type: "receiveFollowRequest"; user: User; userId: User["id"]; } | { type: "groupInvited"; invitation: UserGroup; user: User; userId: User["id"]; } | { type: "app"; header?: string | null; body: string; icon?: string | null; } ); ``` **References:** [ID](./trashposs-js.entities.id.md), [DateString](./trashposs-js.entities.datestring.md), [User](./trashposs-js.entities.user.md), [Note](./trashposs-js.entities.note.md), [UserGroup](./trashposs-js.entities.usergroup.md)