( workflowId: string )
| 138 | * build a parameter schema from the same input source the deploy modal uses. |
| 139 | */ |
| 140 | export async function getDeployedWorkflowInputFormat( |
| 141 | workflowId: string |
| 142 | ): Promise<InputFormatField[]> { |
| 143 | const deployed = await loadDeployedWorkflowState(workflowId) |
| 144 | if (!deployed?.blocks) return [] |
| 145 | return extractInputFormatFromBlocks(deployed.blocks as Record<string, unknown>) ?? [] |
| 146 | } |
| 147 | |
| 148 | interface SyncOptionsBase { |
| 149 | workflowId: string |
no test coverage detected