feat: grouped follow notification

This commit is contained in:
Anthony Fu 2022-11-30 08:47:54 +08:00
parent 07209a7d29
commit a6406abc52
6 changed files with 118 additions and 25 deletions

View file

@ -1,4 +1,4 @@
import type { AccountCredentials, Emoji, Instance } from 'masto'
import type { AccountCredentials, Emoji, Instance, Notification } from 'masto'
export interface AppInfo {
id: string
@ -23,3 +23,9 @@ export interface ServerInfo extends Instance {
timeUpdated: number
customEmojis?: Record<string, Emoji>
}
export interface GroupedNotifications {
id: string
type: string
items: Notification[]
}