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/pleroma/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/pleroma/notification.ts')
| -rw-r--r-- | packages/megalodon/src/pleroma/notification.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/megalodon/src/pleroma/notification.ts b/packages/megalodon/src/pleroma/notification.ts new file mode 100644 index 0000000000..2dad51a6e3 --- /dev/null +++ b/packages/megalodon/src/pleroma/notification.ts @@ -0,0 +1,15 @@ +import PleromaEntity from './entity' + +namespace PleromaNotificationType { + export const Mention: PleromaEntity.NotificationType = 'mention' + export const Reblog: PleromaEntity.NotificationType = 'reblog' + export const Favourite: PleromaEntity.NotificationType = 'favourite' + export const Follow: PleromaEntity.NotificationType = 'follow' + export const Poll: PleromaEntity.NotificationType = 'poll' + export const PleromaEmojiReaction: PleromaEntity.NotificationType = 'pleroma:emoji_reaction' + export const FollowRequest: PleromaEntity.NotificationType = 'follow_request' + export const Update: PleromaEntity.NotificationType = 'update' + export const Move: PleromaEntity.NotificationType = 'move' +} + +export default PleromaNotificationType |