(query = {})
| 33 | } |
| 34 | |
| 35 | function listGenes(query = {}) { |
| 36 | const genes = readGenes(getObserverPaths()); |
| 37 | return { |
| 38 | ...paginate(filterText(genes, query.q), query), |
| 39 | categories: countBy(genes, 'category'), |
| 40 | }; |
| 41 | } |
| 42 | |
| 43 | function listCapsules(query = {}) { |
| 44 | const paths = getObserverPaths(); |
nothing calls this directly
no test coverage detected