diff options
| author | Mar0xy <marie@kaifa.ch> | 2023-09-24 01:44:53 +0200 |
|---|---|---|
| committer | Mar0xy <marie@kaifa.ch> | 2023-09-24 01:44:53 +0200 |
| commit | afda15260f4f97ec00b3e7fdf63bd13013daae40 (patch) | |
| tree | 8f7869ddb0fb48f096648d3765f0c25561606b10 /packages/megalodon/src/entities/notification.ts | |
| parent | upd: add new endpoints to Masto API (diff) | |
| download | sharkey-afda15260f4f97ec00b3e7fdf63bd13013daae40.tar.gz sharkey-afda15260f4f97ec00b3e7fdf63bd13013daae40.tar.bz2 sharkey-afda15260f4f97ec00b3e7fdf63bd13013daae40.zip | |
upd: megalodon to v7
Diffstat (limited to 'packages/megalodon/src/entities/notification.ts')
| -rw-r--r-- | packages/megalodon/src/entities/notification.ts | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/packages/megalodon/src/entities/notification.ts b/packages/megalodon/src/entities/notification.ts index 68eff3347e..653d235d99 100644 --- a/packages/megalodon/src/entities/notification.ts +++ b/packages/megalodon/src/entities/notification.ts @@ -2,14 +2,15 @@ /// <reference path="status.ts" /> namespace Entity { - export type Notification = { - account: Account; - created_at: string; - id: string; - status?: Status; - reaction?: Reaction; - type: NotificationType; - }; + export type Notification = { + account: Account + created_at: string + id: string + status?: Status + emoji?: string + type: NotificationType + target?: Account + } - export type NotificationType = string; + export type NotificationType = string } |