summaryrefslogtreecommitdiff
path: root/packages/megalodon/src/entities/notification.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/megalodon/src/entities/notification.ts')
-rw-r--r--packages/megalodon/src/entities/notification.ts19
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
}