Whalebird-desktop-client-ma.../src/types/setting.ts

23 lines
382 B
TypeScript
Raw Normal View History

export type UnreadNotification = {
direct: boolean
local: boolean
public: boolean
}
export type UseMarker = {
home: boolean
notifications: boolean
2022-03-18 16:46:22 +01:00
mentions: boolean
}
export type Timeline = {
unreadNotification: UnreadNotification
useMarker: UseMarker
}
export type Setting = {
accountID: string
timeline: Timeline
}
export type BaseSettings = Array<Setting>