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

19
vendor/zitadel-auth/dist/react.d.ts vendored Normal file
View File

@@ -0,0 +1,19 @@
import * as react_jsx_runtime from 'react/jsx-runtime';
import { ReactNode } from 'react';
import { Z as ZitadelAuthConfig, a as ZitadelUser } from './types-C5b7Bv-t.js';
interface ZitadelProviderProps extends ZitadelAuthConfig {
children: ReactNode;
}
declare function ZitadelProvider({ children, ...config }: ZitadelProviderProps): react_jsx_runtime.JSX.Element | null;
declare function useAuth(): {
login: () => void;
logout: () => Promise<void>;
fetch: (url: string, init?: RequestInit) => Promise<Response>;
isAuthenticated: boolean;
isLoading: boolean;
user: ZitadelUser | null;
error: string | null;
};
export { ZitadelProvider, useAuth };