mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-16 22:41:34 -05:00
chore(ui): lint
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user