Files
zellyy-finance/src/stores/index.ts
hansoo 0a8b028a4c refactor: 코드베이스 정리 - Appwrite/Lovable 완전 제거
주요 변경사항:
• Appwrite SDK 및 관련 의존성 완전 제거
• Lovable 관련 도구 및 설정 제거
• 기존 Appwrite 기반 컴포넌트 및 훅 삭제
• Login/Register 페이지를 Clerk 기반으로 완전 전환

제거된 구성요소:
• src/lib/appwrite/ - 전체 디렉토리
• src/contexts/auth/ - 기존 인증 컨텍스트
• 구형 auth 컴포넌트들 (RegisterForm, LoginForm 등)
• useAuthQueries, useTransactionQueries 훅
• Appwrite 기반 테스트 파일들

설정 변경:
• package.json - appwrite, lovable-tagger 의존성 제거
• .env 파일 - Appwrite 환경변수 제거
• vercel.json - Supabase/Clerk 환경변수로 교체
• vite.config.ts - 청크 분할 설정 업데이트

성능 개선:
• 번들 크기 최적화 (Appwrite → Clerk + Supabase)
• 불필요한 코드 및 타입 정의 제거
• 테스트 설정을 Clerk/Supabase 모킹으로 업데이트

Task 11.4 완료: 기존 Appwrite 코드 완전 제거

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-13 14:13:28 +09:00

50 lines
911 B
TypeScript

/**
* Zustand 스토어 통합 export
*
* 모든 스토어와 관련 훅을 중앙에서 관리
*/
// Auth Store
export {
useAuthStore,
initializeAuthStore,
startSessionValidation,
stopSessionValidation,
} from "./authStore";
// 호환성을 위한 alias
export { useAuthStore as useAuth } from "./authStore";
// Budget Store
export {
useBudgetStore,
useBudget,
useTransactions,
useBudgetData,
useBudgetAnalytics,
} from "./budgetStore";
// App Store
export {
useAppStore,
useTheme,
useSidebar,
useGlobalLoading,
useGlobalError,
useNotifications,
useSyncStatus,
setupOnlineStatusListener,
cleanupOnlineStatusListener,
} from "./appStore";
// 타입 re-export (편의용)
export type {
Transaction,
BudgetData,
BudgetPeriod,
CategoryBudget,
PaymentMethodStats,
} from "@/contexts/budget/types";
// Clerk types are now used directly from @clerk/clerk-react