mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 10:21:10 +02:00
- Create shared AuthGateModal component in @manacore/shared-auth-ui - Migrate 4 apps to use shared component: chat, todo, contacts, calendar - Remove duplicate local AuthGateModal components - Support for 'save', 'sync', 'feature', 'ai' actions - Built-in i18n (DE + EN) with custom translation support - Optional migration info display for session data - Uses Phosphor icons from @manacore/shared-icons - Update CONSISTENCY_REPORT.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
48 lines
1.2 KiB
TypeScript
48 lines
1.2 KiB
TypeScript
// Pages
|
|
export { default as LoginPage } from './pages/LoginPage.svelte';
|
|
export { default as RegisterPage } from './pages/RegisterPage.svelte';
|
|
export { default as ForgotPasswordPage } from './pages/ForgotPasswordPage.svelte';
|
|
|
|
// Components
|
|
export { default as GoogleSignInButton } from './components/GoogleSignInButton.svelte';
|
|
export { default as AppleSignInButton } from './components/AppleSignInButton.svelte';
|
|
export { default as GuestWelcomeModal } from './components/GuestWelcomeModal.svelte';
|
|
export { default as AuthGateModal } from './components/AuthGateModal.svelte';
|
|
|
|
// Utilities
|
|
export {
|
|
setGoogleClientId,
|
|
initializeGoogleAuth,
|
|
renderGoogleButton,
|
|
isGoogleAuthLoaded,
|
|
waitForGoogleAuth,
|
|
} from './utils/googleAuth';
|
|
|
|
export {
|
|
setAppleConfig,
|
|
initializeAppleAuth,
|
|
signInWithApple,
|
|
parseAppleAuthorizationResponse,
|
|
getStoredReturnUrl,
|
|
clearAppleSignInSession,
|
|
isAppleAuthLoaded,
|
|
waitForAppleAuth,
|
|
type AppleAuthorizationResponse,
|
|
} from './utils/appleAuth';
|
|
|
|
export {
|
|
shouldShowGuestWelcome,
|
|
markGuestWelcomeSeen,
|
|
resetGuestWelcome,
|
|
resetAllGuestWelcome,
|
|
} from './utils/guestWelcome';
|
|
|
|
// Types
|
|
export type {
|
|
AuthUIConfig,
|
|
AuthServiceInterface,
|
|
AuthResult,
|
|
GuestWelcomeTranslations,
|
|
AuthGateAction,
|
|
AuthGateTranslations,
|
|
} from './types';
|