fix: commit vendored @kuns/zitadel-auth dist (was excluded by dist/ gitignore)
This commit is contained in:
16
vendor/zitadel-auth/dist/vue.d.cts
vendored
Normal file
16
vendor/zitadel-auth/dist/vue.d.cts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Ref } from 'vue';
|
||||
import { Router } from 'vue-router';
|
||||
import { Z as ZitadelAuthConfig, a as ZitadelUser } from './types-C5b7Bv-t.cjs';
|
||||
|
||||
interface ZitadelAuthReturn {
|
||||
isAuthenticated: Ref<boolean>;
|
||||
isLoading: Ref<boolean>;
|
||||
user: Ref<ZitadelUser | null>;
|
||||
error: Ref<string | null>;
|
||||
login: () => void;
|
||||
logout: () => Promise<void>;
|
||||
fetch: (url: string, init?: RequestInit) => Promise<Response>;
|
||||
}
|
||||
declare function useZitadelAuth(router: Router, config: ZitadelAuthConfig): ZitadelAuthReturn;
|
||||
|
||||
export { useZitadelAuth };
|
||||
Reference in New Issue
Block a user