replaced backend with vite

This commit is contained in:
Felix Kaspar
2024-05-10 22:38:47 +02:00
parent 2fc152e96f
commit 6eed4a3238
9 changed files with 760 additions and 117 deletions

View File

@@ -5,7 +5,6 @@ import { getOperatorByName } from "./operatorAccessor";
/** This function validates the "workflow-json" from the API */
export async function validateOperations(actions: Action[]): Promise<{ valid: boolean, reason?: string}> {
const done: Action[] = [];
for (const action of actions) {
if (action.type === "done") {
if(done[action.values.id] !== undefined) {