(resp: {
requestCharge?: number
statusCode?: number
diagnostics?: { clientSideRequestStatistics?: { totalResponsePayloadLengthInBytes?: number } }
})
| 75 | }) |
| 76 | |
| 77 | const annotateItem = (resp: { |
| 78 | requestCharge?: number |
| 79 | statusCode?: number |
| 80 | diagnostics?: { clientSideRequestStatistics?: { totalResponsePayloadLengthInBytes?: number } } |
| 81 | }) => |
| 82 | annotateCosmosResponse({ |
| 83 | requestCharge: resp.requestCharge, |
| 84 | statusCode: resp.statusCode, |
| 85 | responseBytes: respBytes(resp) |
| 86 | }) |
| 87 | |
| 88 | const makeCosmosStore = Effect.fnUntraced(function*({ prefix }: StorageConfig) { |
| 89 | const { db } = yield* CosmosClient |
no test coverage detected
searching dependent graphs…