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

24 lines
745 B
TypeScript
Raw Normal View History

/**
* 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";
// SQL 빌더 유틸 (고급 사용 시)
export { buildAggregationSQL, validateDataSourceConfig } from "./popSqlBuilder";