| 41 | } |
| 42 | |
| 43 | export interface BuildGbrainEnvOptions { |
| 44 | /** |
| 45 | * Caller env to extend. Defaults to `process.env`. Tests inject a |
| 46 | * synthetic env so the helper can be exercised without polluting the |
| 47 | * real process env. |
| 48 | */ |
| 49 | baseEnv?: NodeJS.ProcessEnv; |
| 50 | /** |
| 51 | * When true, announce on stderr that we overrode the caller's |
| 52 | * DATABASE_URL. Suppressed for the `--quiet` sync flow. |
| 53 | */ |
| 54 | announce?: boolean; |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * Detect whether a DATABASE_URL targets a PgBouncer transaction-mode pooler. |
nothing calls this directly
no outgoing calls
no test coverage detected