restapi 버튼 동작

This commit is contained in:
kjs
2025-09-29 12:17:10 +09:00
parent cedb5e3ec3
commit c9afdec09f
19 changed files with 1910 additions and 81 deletions

View File

@@ -56,24 +56,34 @@ export interface ExtendedButtonTypeConfig {
}
/**
* 버튼 데이터플로우 설정
* 🔥 단순화된 버튼 데이터플로우 설정
*/
export interface ButtonDataflowConfig {
// 제어 방식 선택
controlMode: "simple" | "advanced";
// 제어 방식 선택 (관계 실행만)
controlMode: "relationship" | "none";
// 관계도 방식 (diagram 기반)
selectedDiagramId?: number;
selectedRelationshipId?: number;
// 관계 기반 제어
relationshipConfig?: {
relationshipId: string; // 관계 직접 선택
relationshipName: string; // 관계명 표시
executionTiming: "before" | "after" | "replace";
contextData?: Record<string, any>; // 실행 시 전달할 컨텍스트
};
// 직접 설정 방식
directControl?: DirectControlConfig;
// 제어 데이터 소스
// 제어 데이터 소스 (기존 호환성 유지)
controlDataSource?: ControlDataSource;
// 실행 옵션
executionOptions?: ExecutionOptions;
// 🔧 기존 호환성을 위한 필드들 (deprecated)
selectedDiagramId?: number;
selectedRelationshipId?: number;
directControl?: DirectControlConfig;
// 🔧 제거된 필드들 (하위 호환성을 위해 optional로 유지)
externalCallConfig?: any; // deprecated
customConfig?: any; // deprecated
}
/**