tidy(ui): clean up unused code 5

variables, types and schemas
This commit is contained in:
psychedelicious
2024-02-27 18:13:16 +11:00
parent b661d93bd8
commit d99bec8b1a
44 changed files with 151 additions and 996 deletions

View File

@ -27,7 +27,7 @@ const workflowKeys = [
'id',
] satisfies (keyof WorkflowV3)[];
export type BuildWorkflowFunction = (arg: BuildWorkflowArg) => WorkflowV3;
type BuildWorkflowFunction = (arg: BuildWorkflowArg) => WorkflowV3;
export const buildWorkflowFast: BuildWorkflowFunction = ({ nodes, edges, workflow }: BuildWorkflowArg): WorkflowV3 => {
const clonedWorkflow = pick(cloneDeep(workflow), workflowKeys);