mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-04-07 21:45:39 -04:00
feat: Recipe import progress (#7252)
This commit is contained in:
@@ -13,6 +13,7 @@ interface AuthStatus {
|
||||
interface AuthState {
|
||||
data: AuthData;
|
||||
status: AuthStatus;
|
||||
token: { readonly value: string | null | undefined };
|
||||
signIn: (credentials: FormData, options?: { redirect?: boolean }) => Promise<void>;
|
||||
signOut: (callbackUrl?: string) => Promise<void>;
|
||||
refresh: () => Promise<void>;
|
||||
@@ -131,6 +132,7 @@ export const useAuthBackend = function (): AuthState {
|
||||
return {
|
||||
data: computed(() => authUser.value),
|
||||
status: computed(() => authStatus.value),
|
||||
token: computed(() => tokenCookie.value),
|
||||
signIn,
|
||||
signOut,
|
||||
refresh,
|
||||
|
||||
@@ -47,6 +47,7 @@ export const useMealieAuth = function () {
|
||||
return {
|
||||
user,
|
||||
loggedIn,
|
||||
token: auth.token,
|
||||
signIn: auth.signIn,
|
||||
signOut: auth.signOut,
|
||||
refresh: auth.refresh,
|
||||
|
||||
Reference in New Issue
Block a user