This commit is contained in:
2025-12-09 17:02:27 +09:00
parent 26f8e1dab2
commit 83127da569
275 changed files with 139682 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
/**
* API 모듈 통합 Export
*
* @description
* 모든 API 함수를 중앙에서 관리하고 export합니다.
* 한 곳에서 내보내기 다른 파일에서 @/lib/api로 import하면 자동으로 index.ts를 통해 관리
*
* @example
* import { cowApi, authApi } from '@/lib/api';
*/
export { authApi } from './auth.api'; // 인증 API
export { cowApi } from './cow.api';
export { dashboardApi } from './dashboard.api';
export { farmApi } from './farm.api';
export { genomeApi, type ComparisonAveragesDto, type CategoryAverageDto, type FarmTraitComparisonDto, type TraitComparisonAveragesDto, type TraitAverageDto } from './genome.api';
export { reproApi } from './repro.api';
export { breedApi } from './breed.api';
// API 클라이언트도 export (필요 시 직접 사용 가능)
export { default as apiClient } from '../api-client';