(a, b)
| 34 | }; |
| 35 | |
| 36 | export const descendingModifiedSort: SortFunction<{ lastModifiedTimestamp: number }> = (a, b) => { |
| 37 | if (a.lastModifiedTimestamp === b.lastModifiedTimestamp) { |
| 38 | return 0; |
| 39 | } |
| 40 | |
| 41 | return a.lastModifiedTimestamp > b.lastModifiedTimestamp ? -1 : 1; |
| 42 | }; |
| 43 | |
| 44 | export const httpMethodSort: SortFunction<Pick<SortableModel, 'type' | 'metaSortKey' | '_id'>> = (a, b) => { |
| 45 | // Sort Requests and GrpcRequests to top, in that order |
nothing calls this directly
no outgoing calls
no test coverage detected