* Build SessionMetadata from ActivityInput.
(input: ActivityInput)
| 102 | * Build SessionMetadata from ActivityInput. |
| 103 | */ |
| 104 | function buildSessionMetadata(input: ActivityInput): SessionMetadata { |
| 105 | const { webUrl, repoPath, outputPath, sessionId } = input; |
| 106 | return { |
| 107 | id: sessionId, |
| 108 | webUrl, |
| 109 | repoPath, |
| 110 | ...(outputPath && { outputPath }), |
| 111 | }; |
| 112 | } |
| 113 | |
| 114 | /** |
| 115 | * Build ContainerConfig from ActivityInput, falling back to defaults. |
no outgoing calls
no test coverage detected