mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-05 02:51:07 +00:00
feat(web): copy awel flow (#1200)
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { Node } from 'reactflow';
|
||||
|
||||
export type FlowState = 'deployed' | 'developing' | 'initializing' | 'testing' | 'disabled' | 'running' | 'load_failed';
|
||||
|
||||
export type IFlowUpdateParam = {
|
||||
name: string;
|
||||
label: string;
|
||||
@@ -7,9 +9,13 @@ export type IFlowUpdateParam = {
|
||||
description: string;
|
||||
uid?: string;
|
||||
flow_data?: IFlowData;
|
||||
state?: FlowState;
|
||||
};
|
||||
|
||||
export type IFlow = {
|
||||
dag_id: string;
|
||||
gmt_created: string;
|
||||
gmt_modified: string;
|
||||
uid: string;
|
||||
name: string;
|
||||
label: string;
|
||||
@@ -17,6 +23,8 @@ export type IFlow = {
|
||||
description: string;
|
||||
flow_data: IFlowData;
|
||||
source: string;
|
||||
state?: FlowState;
|
||||
error_message?: string;
|
||||
};
|
||||
|
||||
export type IFlowResponse = {
|
||||
|
Reference in New Issue
Block a user