refactor: add options field for enum args
This commit is contained in:
1 parent
7994e9c515
commit
a6c1f51b5d
2 files changed
+12
-5
No files matched your search
@@ -1,10 +1,16 @@
|
||||
import { TreeGraphData } from "@antv/g6/lib/types";
|
||||
|
||||
export interface ArgsOptional{
|
||||
name:string;
|
||||
value:string|number;
|
||||
}
|
||||
|
||||
export interface ArgsDefType {
|
||||
name: string;
|
||||
type: string;
|
||||
desc: string;
|
||||
default: string;
|
||||
options: ArgsOptional[];
|
||||
}
|
||||
export interface BehaviorNodeTypeModel {
|
||||
name: string;
|
||||
|
||||
Reference in new issue
Block a user