1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/**
* 결재 워크플로우 모듈 Export
*
* 사용 방법:
* 1. registerActionHandler()로 액션 핸들러 등록
* 2. withApproval()로 결재가 필요한 액션 래핑
* 3. 폴링 서비스가 자동으로 상태 확인 및 실행
*/
export {
registerActionHandler,
getRegisteredHandlers,
withApproval,
executeApprovedAction,
handleRejectedAction,
type ActionHandler,
} from './approval-workflow';
export {
startApprovalPollingScheduler,
checkPendingApprovals,
checkSingleApprovalStatus,
} from './approval-polling-service';
export {
getApprovalTemplateByName,
replaceTemplateVariables,
htmlTableConverter,
htmlListConverter,
htmlDescriptionList,
} from './template-utils';
export type { TemplateVariables, ApprovalConfig, ApprovalResult } from './types';
|