테이블 노드 위치정보 저장 구현
This commit is contained in:
@@ -115,6 +115,16 @@ export interface DataFlowDiagramsResponse {
|
||||
hasPrev: boolean;
|
||||
}
|
||||
|
||||
// 노드 위치 정보 타입
|
||||
export interface NodePosition {
|
||||
x: number;
|
||||
y: number;
|
||||
}
|
||||
|
||||
export interface NodePositions {
|
||||
[tableName: string]: NodePosition;
|
||||
}
|
||||
|
||||
// 새로운 JSON 기반 타입들
|
||||
export interface JsonDataFlowDiagram {
|
||||
diagram_id: number;
|
||||
@@ -123,6 +133,7 @@ export interface JsonDataFlowDiagram {
|
||||
relationships: JsonRelationship[];
|
||||
tables: string[];
|
||||
};
|
||||
node_positions?: NodePositions;
|
||||
company_code: string;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
@@ -147,6 +158,7 @@ export interface CreateDiagramRequest {
|
||||
relationships: JsonRelationship[];
|
||||
tables: string[];
|
||||
};
|
||||
node_positions?: NodePositions;
|
||||
}
|
||||
|
||||
export interface JsonDataFlowDiagramsResponse {
|
||||
|
||||
Reference in New Issue
Block a user