Files
workflow/app/public/logicflow/extension/es/turbo-adapter/index.d.ts
T
2022-11-28 14:55:01 +08:00

22 lines
477 B
TypeScript

export declare function toTurboData(data: any): {
flowElementList: any[];
};
export declare function toLogicflowData(data: any): {
nodes: any[];
edges: any[];
};
declare class TurboAdapter {
static pluginName: string;
constructor({ lf }: {
lf: any;
});
adapterOut(logicflowData: any): {
flowElementList: any[];
};
adapterIn(turboData: any): {
nodes: any[];
edges: any[];
};
}
export default TurboAdapter;