2020-05-26 07:33:55 +02:00
|
|
|
export const notificationTypes = ['follow', 'mention', 'reply', 'renote', 'quote', 'reaction', 'pollVote', 'receiveFollowRequest', 'followRequestAccepted', 'groupInvited', 'app'] as const;
|
|
|
|
|
|
|
|
export const noteVisibilities = ['public', 'home', 'followers', 'specified'] as const;
|
2020-07-27 06:34:20 +02:00
|
|
|
|
|
|
|
export const mutedNoteReasons = ['word', 'manual', 'spam', 'other'] as const;
|
2021-02-10 14:19:09 +01:00
|
|
|
|
|
|
|
export type pushNotificationData = {
|
|
|
|
type: 'notification' | 'unreadMessagingMessage' | 'readNotifications' | 'readAllNotifications',
|
|
|
|
body: any,
|
|
|
|
userId: string
|
|
|
|
};
|