fix: commit vendored @kuns/zitadel-auth dist (was excluded by dist/ gitignore)
This commit is contained in:
13
vendor/zitadel-auth/dist/svelte.d.ts
vendored
Normal file
13
vendor/zitadel-auth/dist/svelte.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { ZitadelAuth } from './index.js';
|
||||
import { Z as ZitadelAuthConfig, A as AuthState } from './types-C5b7Bv-t.js';
|
||||
|
||||
interface ZitadelSvelteAuth {
|
||||
subscribe: (cb: (state: AuthState) => void) => () => void;
|
||||
login: () => void;
|
||||
logout: () => Promise<void>;
|
||||
fetch: (url: string, init?: RequestInit) => Promise<Response>;
|
||||
}
|
||||
declare function createZitadelHandle(config: ZitadelAuthConfig): ZitadelSvelteAuth;
|
||||
declare function getAuth(): ZitadelAuth;
|
||||
|
||||
export { createZitadelHandle, getAuth };
|
||||
Reference in New Issue
Block a user