- main.jsx: remove VITE_AUTH_BASE_URL env var; add AppContent that reads authConfig from useAppContext() and passes to AuthProvider; reorder: AppProvider -> AuthProvider -> BrowserRouter - sync react-openapi: AuthConfig type, extractAuthConfig, loading fix - sync react-auth: authConfig prop, config-driven paths, server logout
14 lines
617 B
TypeScript
14 lines
617 B
TypeScript
export { AuthProvider, useAuth } from "./contexts";
|
|
export type { AuthServerConfig } from "./contexts";
|
|
export { createApiClient } from "./axios";
|
|
export { AuthPage } from "./AuthPage";
|
|
export { ProfileCreate } from "./ProfileCreate";
|
|
export { ProfileEdit } from "./ProfileEdit";
|
|
export { ProfileView } from "./ProfileView";
|
|
export type { AuthUser } from "./models";
|
|
export type { AuthMode } from "./AuthPage";
|
|
export type { ProfileCreateProps } from "./ProfileCreate";
|
|
export type { ProfileEditProps } from "./ProfileEdit";
|
|
export type { ProfileViewProps } from "./ProfileView";
|
|
export { tokenStore } from "./token"
|