feat(web): workflow details page, showing custom node dependencies

This commit is contained in:
BennyKok
2023-12-25 20:36:44 +08:00
parent 536fdecb67
commit afc67bc0b9
5 changed files with 175 additions and 7 deletions
+6 -6
View File
@@ -51,12 +51,12 @@ export const workflowType = z.any();
// ),
// });
export const workflowAPIType = z.record(
z.object({
inputs: z.record(z.any()),
class_type: z.string().optional(),
})
);
export const workflowAPINodeType = z.object({
inputs: z.record(z.any()),
class_type: z.string().optional(),
});
export const workflowAPIType = z.record(workflowAPINodeType);
export const workflowVersionTable = dbSchema.table("workflow_versions", {
workflow_id: uuid("workflow_id")