added logout functions
This commit is contained in:
parent
90b68b717a
commit
eb7ad5d1a3
6
frontend/wailsjs/go/main/App.d.ts
vendored
6
frontend/wailsjs/go/main/App.d.ts
vendored
@ -24,6 +24,12 @@ export function GetMyAnimeListLoggedInUser():Promise<main.MyAnimeListUser>;
|
|||||||
|
|
||||||
export function GetSimklLoggedInUser():Promise<main.SimklUser>;
|
export function GetSimklLoggedInUser():Promise<main.SimklUser>;
|
||||||
|
|
||||||
|
export function LogoutAniList():Promise<string>;
|
||||||
|
|
||||||
|
export function LogoutMyAnimeList():Promise<string>;
|
||||||
|
|
||||||
|
export function LogoutSimkl():Promise<string>;
|
||||||
|
|
||||||
export function MyAnimeListLogin():Promise<void>;
|
export function MyAnimeListLogin():Promise<void>;
|
||||||
|
|
||||||
export function SimklGetUserWatchlist():Promise<main.SimklWatchList>;
|
export function SimklGetUserWatchlist():Promise<main.SimklWatchList>;
|
||||||
|
@ -46,6 +46,18 @@ export function GetSimklLoggedInUser() {
|
|||||||
return window['go']['main']['App']['GetSimklLoggedInUser']();
|
return window['go']['main']['App']['GetSimklLoggedInUser']();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function LogoutAniList() {
|
||||||
|
return window['go']['main']['App']['LogoutAniList']();
|
||||||
|
}
|
||||||
|
|
||||||
|
export function LogoutMyAnimeList() {
|
||||||
|
return window['go']['main']['App']['LogoutMyAnimeList']();
|
||||||
|
}
|
||||||
|
|
||||||
|
export function LogoutSimkl() {
|
||||||
|
return window['go']['main']['App']['LogoutSimkl']();
|
||||||
|
}
|
||||||
|
|
||||||
export function MyAnimeListLogin() {
|
export function MyAnimeListLogin() {
|
||||||
return window['go']['main']['App']['MyAnimeListLogin']();
|
return window['go']['main']['App']['MyAnimeListLogin']();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user