(key: SelectorKey)
| 55 | } satisfies Record<SelectorKey, SelectorDefinition> |
| 56 | |
| 57 | export function getSelectorDefinition(key: SelectorKey): SelectorDefinition { |
| 58 | const definition = selectorRegistry[key] |
| 59 | if (!definition) { |
| 60 | throw new Error(`Missing selector definition for ${key}`) |
| 61 | } |
| 62 | return definition |
| 63 | } |
| 64 | |
| 65 | const MAX_LOAD_ALL_PAGES = 50 |
| 66 |
no outgoing calls
no test coverage detected