feat: Added "Whats New" indicator to Preferences button (#2107)

This commit is contained in:
Aman Harwara
2022-12-17 00:35:25 +05:30
committed by GitHub
parent 51aed0a518
commit f559442a67
4 changed files with 46 additions and 7 deletions

View File

@@ -1,6 +1,9 @@
import { Changelog, ChangelogVersion } from './Changelog'
export type ChangelogLastReadVersionListener = (version: string) => void
export interface ChangelogServiceInterface {
addLastReadChangeListener(listener: ChangelogLastReadVersionListener): () => void
getChangelog(): Promise<Changelog>
getVersions(): Promise<ChangelogVersion[]>
getDesktopDownloadsUrl(version: string): string