Add removeFromVerticesBuild and revertAllVerticesToBuild methods to FlowStoreType

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-02-23 12:54:49 -03:00
commit 6acace790e

View file

@ -88,7 +88,7 @@ export type FlowStoreType = {
getFlow: () => { nodes: Node[]; edges: Edge[]; viewport: Viewport };
updateBuildStatus: (nodeId: string[], status: BuildStatus) => void;
updateVerticesBuild: (vertices: string[]) => void;
removeFromVerticesBuild: (vertices: string[]) => void;
revertAllVerticesToBuild: () => void;
verticesBuild: string[];
inactiveNodes: string[];
setInactiveNodes: (newState: string[]) => void;
};