fix: commit vendored @kuns/zitadel-auth dist (was excluded by dist/ gitignore)

This commit is contained in:
2026-06-10 08:22:38 +00:00
parent 7331fe75e8
commit ab2f9affd1
24 changed files with 1707 additions and 1 deletions

26
vendor/zitadel-auth/dist/index.d.cts vendored Normal file
View File

@@ -0,0 +1,26 @@
import { Z as ZitadelAuthConfig, a as ZitadelUser, A as AuthState } from './types-C5b7Bv-t.cjs';
declare class ZitadelAuth {
private manager;
private currentUser;
private _isLoading;
private _error;
private listeners;
private redirectGuard;
private prefix;
constructor(config: ZitadelAuthConfig);
get isAuthenticated(): boolean;
get isLoading(): boolean;
get user(): ZitadelUser | null;
get accessToken(): string | null;
get error(): string | null;
init(): Promise<void>;
login(): void;
logout(): Promise<void>;
requireAuth(): boolean;
fetch(url: string, init?: RequestInit): Promise<Response>;
onAuthChange(cb: (state: AuthState) => void): () => void;
private notify;
}
export { AuthState, ZitadelAuth, ZitadelAuthConfig, ZitadelUser };