MCPcopy Create free account
hub / github.com/garrytan/gstack / BuildGbrainEnvOptions

Interface BuildGbrainEnvOptions

lib/gbrain-exec.ts:43–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43export 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected