feat: add CreateFlowModal #918 (#1343)

### What problem does this PR solve?

feat: add CreateFlowModal #918

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-07-02 16:15:54 +08:00
committed by GitHub
parent 04487d1bce
commit f9adeb9647
11 changed files with 185 additions and 24 deletions

View File

@ -1,6 +1,6 @@
export interface ResponseType {
export interface ResponseType<T = any> {
retcode: number;
data: any;
data: T;
retmsg: string;
status: number;
}

View File

@ -42,3 +42,16 @@ export interface IFlow {
update_time: number;
user_id: string;
}
export interface IFlowTemplate {
avatar: string;
canvas_type: string;
create_date: string;
create_time: number;
description: string;
dsl: DSL;
id: string;
title: string;
update_date: string;
update_time: number;
}