(db: ConnectionsDal.DBConnection)
| 16 | import { Connection } from "@monkeytype/schemas/connections"; |
| 17 | |
| 18 | function convert(db: ConnectionsDal.DBConnection): Connection { |
| 19 | return replaceObjectId(omit(db, ["key"])); |
| 20 | } |
| 21 | export async function getConnections( |
| 22 | req: MonkeyRequest<GetConnectionsQuery>, |
| 23 | ): Promise<GetConnectionsResponse> { |
no test coverage detected