(runId: string, auth?: AuthContext | null)
| 1165 | } |
| 1166 | |
| 1167 | async getRunConfig(runId: string, auth?: AuthContext | null): Promise<WorkflowRunConfigPayload> { |
| 1168 | const { run } = await this.requireRunAccess(runId, auth); |
| 1169 | return { |
| 1170 | runId: run.runId, |
| 1171 | workflowId: run.workflowId, |
| 1172 | workflowVersionId: run.workflowVersionId ?? null, |
| 1173 | workflowVersion: run.workflowVersion ?? null, |
| 1174 | inputs: run.inputs ?? {}, |
| 1175 | }; |
| 1176 | } |
| 1177 | |
| 1178 | async getWorkflowVersion(workflowId: string, versionId: string, auth?: AuthContext | null) { |
| 1179 | const organizationId = this.requireOrganizationId(auth); |
no test coverage detected