(workflowId: string, runId?: string)
| 84 | * when not provided so the server targets the latest run. |
| 85 | */ |
| 86 | export function workflowExecutionRef(workflowId: string, runId?: string): Record<string, string> { |
| 87 | const ref: Record<string, string> = { workflowId: workflowId.trim() } |
| 88 | if (runId?.trim()) ref.runId = runId.trim() |
| 89 | return ref |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Builds the request headers for a Temporal HTTP API call, attaching the API key as a |
no outgoing calls
no test coverage detected