diff options
Diffstat (limited to 'frontend/src/updater.ts')
| -rw-r--r-- | frontend/src/updater.ts | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/frontend/src/updater.ts b/frontend/src/updater.ts index dd37f0b4..ff9cb591 100644 --- a/frontend/src/updater.ts +++ b/frontend/src/updater.ts @@ -11,19 +11,22 @@ export interface DeckyUpdater { finish: () => void; } +export interface RemoteVerInfo { + assets: { + browser_download_url: string; + created_at: string; + }[]; + name: string; + body: string; + prerelease: boolean; + published_at: string; + tag_name: string; +} + export interface VerInfo { current: string; - remote: { - assets: { - browser_download_url: string; - created_at: string; - }[]; - name: string; - body: string; - prerelease: boolean; - published_at: string; - tag_name: string; - } | null; + remote: RemoteVerInfo | null; + all: RemoteVerInfo[] | null; updatable: boolean; } |
