refactor(WEB): SearchableSelectionModal 공통화 및 actions lookup 통합
- SearchableSelectionModal<T> 제네릭 컴포넌트 추출 (organisms) - 검색 모달 5개 리팩토링: SupplierSearch, QuotationSelect, SalesOrderSelect, OrderSelect, ItemSearch - shared-lookups API 유틸 추가 (거래처/품목/수주 등 공통 조회) - create-crud-service 확장 (lookup, search 메서드) - actions.ts 20+개 파일 lookup 패턴 통일 - 공통 페이지 패턴 가이드 문서 추가 - CLAUDE.md Common Component Usage Rules 추가 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,23 @@ export { ApiClient, withTokenRefresh } from './client';
|
||||
export { serverFetch } from './fetch-wrapper';
|
||||
export { AUTH_CONFIG } from './auth/auth-config';
|
||||
|
||||
// 공용 API 타입 및 페이지네이션 유틸리티
|
||||
export {
|
||||
toPaginationMeta,
|
||||
type PaginatedApiResponse,
|
||||
type PaginationMeta,
|
||||
type PaginatedResult,
|
||||
type SelectOption,
|
||||
} from './types';
|
||||
|
||||
// 공용 룩업 헬퍼 (거래처/계좌 조회)
|
||||
export {
|
||||
fetchVendorOptions,
|
||||
fetchBankAccountOptions,
|
||||
fetchBankAccountDetailOptions,
|
||||
type BankAccountOption,
|
||||
} from './shared-lookups';
|
||||
|
||||
// 공통 코드 타입 및 유틸리티
|
||||
export {
|
||||
toCommonCodeOptions,
|
||||
|
||||
Reference in New Issue
Block a user