Store workflow definitions as table rows and drop YAML

This commit is contained in:
Ian Gulliver
2026-10-20 21:30:39 -07:00
parent 5823af6ff9
commit 32ebf08b66
17 changed files with 624 additions and 454 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ struct WorkflowEditor: View {
return
}
do {
let def = try await store.api.client.getWorkflow(path: .init(name: original), headers: .init(accept: [.init(contentType: .json)])).ok.body.json
let def = try await store.api.client.getWorkflow(path: .init(name: original)).ok.body.json
name = original
description = def.description ?? ""
root = StepNode(kind: .order, children: def.steps.map { StepNode($0) })