()
| 5398 | return existing |
| 5399 | } |
| 5400 | const allEntries = (): Array<Entry> => { |
| 5401 | const out: Array<Entry> = [] |
| 5402 | for (const byKey of index.values()) { |
| 5403 | for (const entry of byKey.values()) out.push(entry) |
| 5404 | } |
| 5405 | return out |
| 5406 | } |
| 5407 | const lookup = (def: QueryDef, argsKey: string): Entry | undefined => index.get(def.name)?.get(argsKey) |
| 5408 | const savedOf = ( |
| 5409 | def: QueryDef, |
no test coverage detected