24 lines
1001 B
TypeScript
24 lines
1001 B
TypeScript
/**
|
|
* 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 { geneApi, type GeneDetail, type GeneSummary } from './gene.api';
|
|
export { genomeApi, type ComparisonAveragesDto, type CategoryAverageDto, type FarmTraitComparisonDto, type TraitComparisonAveragesDto, type TraitAverageDto, type GenomeRequestDto } from './genome.api';
|
|
export { reproApi } from './repro.api';
|
|
export { breedApi } from './breed.api';
|
|
|
|
// API 클라이언트도 export (필요 시 직접 사용 가능)
|
|
export { default as apiClient } from '../api-client';
|
|
export { mptApi, type MptDto } from './mpt.api';
|