kopia lustrzana https://github.com/cloudflare/wildebeest
23 wiersze
464 B
TypeScript
23 wiersze
464 B
TypeScript
|
import type { MastodonAccount } from 'wildebeest/backend/src/types/account'
|
||
|
import type { MastodonStatus } from 'wildebeest/backend/src/types/status'
|
||
|
|
||
|
export type NotificationType =
|
||
|
| 'mention'
|
||
|
| 'status'
|
||
|
| 'reblog'
|
||
|
| 'follow'
|
||
|
| 'follow_request'
|
||
|
| 'favourite'
|
||
|
| 'poll'
|
||
|
| 'update'
|
||
|
| 'admin.sign_up'
|
||
|
| 'admin.report'
|
||
|
|
||
|
export type Notification = {
|
||
|
id: string
|
||
|
type: NotificationType
|
||
|
created_at: string
|
||
|
account: MastodonAccount
|
||
|
status?: MastodonStatus
|
||
|
}
|