diff options
| author | AAGaming <aa@mail.catvibers.me> | 2022-08-26 01:18:28 -0400 |
|---|---|---|
| committer | AAGaming <aa@mail.catvibers.me> | 2022-08-26 01:18:28 -0400 |
| commit | d4d1c2bbabfcec3c62767e614c9d67f516938af2 (patch) | |
| tree | c30a7643507ade7200eff36e9c16d0512bb1edce /frontend/src/updater.ts | |
| parent | effc4ab0f56119041ac6efecdbf0a782714ec783 (diff) | |
| download | decky-loader-d4d1c2bbabfcec3c62767e614c9d67f516938af2.tar.gz decky-loader-d4d1c2bbabfcec3c62767e614c9d67f516938af2.zip | |
basic patch notes viewer, lazy-load settings and store, build frontend as esmodule, add lazy-loaded react-markdown, backend changes to accomodate ESModule frontend
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; } |
