dynamic operation endpoints (cur. impose only)

This commit is contained in:
Felix Kaspar
2023-11-21 01:18:32 +01:00
parent 162a2baa44
commit 1d89a4c081
6 changed files with 55 additions and 191 deletions

View File

@@ -52,8 +52,8 @@ export async function traverseOperations(operations: Action[], input: PdfFile[],
default:
const operator = getOperatorByName(action.type);
if(operator) {
let opteration = new operator(action);
input = await opteration.run(input, progressCallback);
let operation = new operator(action);
input = await operation.run(input, progressCallback);
await nextOperation(action.actions, input, progressCallback);
}
else