(router: RouterName, modelId: string)
| 18 | const memoryCache = new NodeCache({ stdTTL: 5 * 60, checkperiod: 5 * 60 }) |
| 19 | |
| 20 | const getCacheKey = (router: RouterName, modelId: string) => sanitize(`${router}_${modelId}`) |
| 21 | |
| 22 | async function writeModelEndpoints(key: string, data: ModelRecord) { |
| 23 | const filename = `${key}_endpoints.json` |
no outgoing calls
no test coverage detected