(gravityApiKey: string | undefined)
| 52 | } |
| 53 | |
| 54 | const requireGravityApiKey = (gravityApiKey: string | undefined) => { |
| 55 | if (!gravityApiKey) { |
| 56 | throw new Error('GRAVITY_API_KEY is not configured') |
| 57 | } |
| 58 | return gravityApiKey |
| 59 | } |
| 60 | |
| 61 | const buildGravityIndexRequest = ( |
| 62 | input: GravityIndexInput, |
no outgoing calls
no test coverage detected