Homepage and started styling

This commit is contained in:
Felix Kaspar
2024-08-10 00:17:38 +02:00
parent d449ccf624
commit f7f6d40eee
15 changed files with 301 additions and 508 deletions

View File

@@ -22,7 +22,9 @@ export class Operator {
}
async run(input: PdfFile[] | any[], progressCallback: (progress: Progress) => void): Promise<PdfFile[] | any[]> {
progressCallback({ curFileProgress: 1, operationProgress: 1 })
throw new Error("Operator.run() was called directly. This is not the desired behavior; call the Subclass's run function instead.");
// For reference:
progressCallback({ curFileProgress: 1, operationProgress: 1 });
return input;
}
}