From eb7ad5d1a351e88f136959140a72dea38d0ed09f Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Thu, 15 Aug 2024 20:06:05 -0400 Subject: [PATCH] added logout functions --- frontend/wailsjs/go/main/App.d.ts | 6 ++++++ frontend/wailsjs/go/main/App.js | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/frontend/wailsjs/go/main/App.d.ts b/frontend/wailsjs/go/main/App.d.ts index f69c722..3cb297b 100755 --- a/frontend/wailsjs/go/main/App.d.ts +++ b/frontend/wailsjs/go/main/App.d.ts @@ -24,6 +24,12 @@ export function GetMyAnimeListLoggedInUser():Promise; export function GetSimklLoggedInUser():Promise; +export function LogoutAniList():Promise; + +export function LogoutMyAnimeList():Promise; + +export function LogoutSimkl():Promise; + export function MyAnimeListLogin():Promise; export function SimklGetUserWatchlist():Promise; diff --git a/frontend/wailsjs/go/main/App.js b/frontend/wailsjs/go/main/App.js index cfdd095..680f17a 100755 --- a/frontend/wailsjs/go/main/App.js +++ b/frontend/wailsjs/go/main/App.js @@ -46,6 +46,18 @@ export function 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() { return window['go']['main']['App']['MyAnimeListLogin'](); }