(connection: AdminConnection)
| 216 | * upstream account content (see `toHealth`). |
| 217 | */ |
| 218 | const toConnection = (connection: AdminConnection) => ({ |
| 219 | owner: connection.owner, |
| 220 | integration: connection.integration, |
| 221 | name: connection.name, |
| 222 | oauthScope: connection.oauthScope, |
| 223 | lastHealth: toHealth(connection.lastHealth), |
| 224 | }); |
| 225 | |
| 226 | const toUserWithConnections = ( |
| 227 | subject: AdminSubjectWithConnections, |
nothing calls this directly
no test coverage detected