summaryrefslogtreecommitdiff
path: root/lib/approval/handlers-registry.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/approval/handlers-registry.ts')
-rw-r--r--lib/approval/handlers-registry.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/approval/handlers-registry.ts b/lib/approval/handlers-registry.ts
index 5c173565..beb6b971 100644
--- a/lib/approval/handlers-registry.ts
+++ b/lib/approval/handlers-registry.ts
@@ -68,6 +68,16 @@ export async function initializeApprovalHandlers() {
// 입찰초대 핸들러 등록 (결재 승인 후 실행될 함수 requestBiddingInvitationInternal)
registerActionHandler('bidding_invitation', requestBiddingInvitationInternal);
+ // 9. 폐찰 핸들러
+ const { requestBiddingClosureInternal } = await import('@/lib/bidding/handlers');
+ // 폐찰 핸들러 등록 (결재 승인 후 실행될 함수 requestBiddingClosureInternal)
+ registerActionHandler('bidding_closure', requestBiddingClosureInternal);
+
+ // 10. 낙찰 핸들러
+ const { requestBiddingAwardInternal } = await import('@/lib/bidding/handlers');
+ // 낙찰 핸들러 등록 (결재 승인 후 실행될 함수 requestBiddingAwardInternal)
+ registerActionHandler('bidding_award', requestBiddingAwardInternal);
+
// ... 추가 핸들러 등록
console.log('[Approval Handlers] All handlers registered successfully');