ERP-node/frontend/hooks/pop/index.ts

31 lines
963 B
TypeScript

/**
* POP 공통 훅 배럴 파일
*
* 사용법: import { usePopEvent, useDataSource } from "@/hooks/pop";
*/
// 이벤트 통신 훅
export { usePopEvent, cleanupScreen } from "./usePopEvent";
// 데이터 CRUD 훅
export { useDataSource } from "./useDataSource";
export type { MutationResult, DataSourceResult } from "./useDataSource";
// 액션 실행 순수 함수
export { executePopAction } from "./executePopAction";
export type { ActionResult } from "./executePopAction";
// 액션 실행 React 훅
export { usePopAction } from "./usePopAction";
export type { PendingConfirmState } from "./usePopAction";
// 연결 해석기
export { useConnectionResolver } from "./useConnectionResolver";
// 장바구니 동기화 훅
export { useCartSync } from "./useCartSync";
export type { UseCartSyncReturn } from "./useCartSync";
// SQL 빌더 유틸 (고급 사용 시)
export { buildAggregationSQL, validateDataSourceConfig } from "./popSqlBuilder";