(workflowId: string)
| 470 | } |
| 471 | |
| 472 | export async function deleteWorkflowRecord(workflowId: string) { |
| 473 | const { archiveWorkflow } = await import('@/lib/workflows/lifecycle') |
| 474 | await archiveWorkflow(workflowId, { |
| 475 | requestId: `workflow-record-${workflowId}`, |
| 476 | notifySocket: false, |
| 477 | }) |
| 478 | } |
| 479 | |
| 480 | export async function setWorkflowVariables(workflowId: string, variables: Record<string, unknown>) { |
| 481 | await db |
nothing calls this directly
no test coverage detected