@cutls/megalodon
Version:
Mastodon, Pleroma, Misskey API client for node.js and browser
14 lines (13 loc) • 314 B
TypeScript
import { Account } from './account'
import { Status } from './status'
import { Reaction } from './reaction'
export type Notification = {
account: Account | null
created_at: string
id: string
status?: Status
reaction?: Reaction
type: NotificationType
target?: Account
}
export type NotificationType = string