[agent-pipeline] pipe-20260311052455-y968 round-2

This commit is contained in:
DDD1542
2026-03-11 14:41:14 +09:00
parent b329b52036
commit d358de60d6
2 changed files with 106 additions and 232 deletions

View File

@@ -54,3 +54,27 @@ export interface ConfigPanelBuilderProps<T = any> {
tableColumns?: ConfigOption[];
children?: React.ReactNode;
}
/**
* 설정 패널에 전달되는 화면/컴포넌트 컨텍스트 정보
*/
export interface ConfigPanelContext {
tables?: any[];
tableColumns?: any[];
screenTableName?: string;
menuObjid?: number;
allComponents?: any[];
currentComponent?: any;
allTables?: any[];
screenComponents?: any[];
currentScreenCompanyCode?: string;
}
/**
* 모든 ConfigPanel이 공통으로 받는 표준 Props
*/
export interface StandardConfigPanelProps {
config: Record<string, any>;
onChange: (config: Record<string, any>) => void;
context?: ConfigPanelContext;
}