chore(ui): lint

This commit is contained in:
psychedelicious
2024-05-16 23:44:41 +10:00
parent a8b042177d
commit 6791b4eaa8
6 changed files with 19 additions and 116 deletions

View File

@@ -31,10 +31,7 @@ type ValidateWorkflowResult = {
* @throws {WorkflowVersionError} If the workflow version is not recognized.
* @throws {z.ZodError} If there is a validation error.
*/
export const validateWorkflow = (
workflow: unknown,
invocationTemplates: Templates
): ValidateWorkflowResult => {
export const validateWorkflow = (workflow: unknown, invocationTemplates: Templates): ValidateWorkflowResult => {
// Parse the raw workflow data & migrate it to the latest version
const _workflow = parseAndMigrateWorkflow(workflow);