Skip to content

Commit

Permalink
fix: Update Notification.type types (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Nov 25, 2022
1 parent 4ff3e77 commit 50c5c5c
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/entities/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@ import type { Account } from './account';
import type { Status } from './status';

export type NotificationType =
| 'mention'
| 'reblog'
| 'favourite'
| 'follow'
| 'poll'
| 'follow_request';
| 'mention' // Someone mentioned you in their status
| 'status' //Someone you enabled notifications for has posted a status
| 'reblog' //Someone boosted one of your statuses
| 'follow' // Someone followed you
| 'follow_request' // Someone requested to follow you
| 'favourite' // Someone favourited one of your statuses
| 'poll' // A poll you have voted in or created has ended
| 'update' // A status you interacted with has been edited
| 'admin.sign_up' // Someone signed up (optionally sent to admins)
| 'admin.report'; // A new report has been filed

/**
* Represents a notification of an event relevant to the user.
Expand Down

0 comments on commit 50c5c5c

Please sign in to comment.