(resp: {
resources: readonly unknown[]
requestCharge?: number
diagnostics?: { clientSideRequestStatistics?: { totalResponsePayloadLengthInBytes?: number } }
})
| 64 | ) => resp.diagnostics?.clientSideRequestStatistics?.totalResponsePayloadLengthInBytes ?? 0 |
| 65 | |
| 66 | const annotateFeed = (resp: { |
| 67 | resources: readonly unknown[] |
| 68 | requestCharge?: number |
| 69 | diagnostics?: { clientSideRequestStatistics?: { totalResponsePayloadLengthInBytes?: number } } |
| 70 | }) => |
| 71 | annotateCosmosResponse({ |
| 72 | requestCharge: resp.requestCharge, |
| 73 | returnedRows: resp.resources.length, |
| 74 | responseBytes: respBytes(resp) |
| 75 | }) |
| 76 | |
| 77 | const annotateItem = (resp: { |
| 78 | requestCharge?: number |
no test coverage detected
searching dependent graphs…