@launchql/env
Version:
LaunchQL environment configuration with GraphQL/Graphile support
18 lines (17 loc) • 744 B
TypeScript
import { LaunchQLOptions } from '@launchql/types';
/**
* Get LaunchQL environment options by merging:
* 1. Core PGPM defaults (from @pgpmjs/env)
* 2. GraphQL defaults (from @launchql/types)
* 3. Config file options (including GraphQL options)
* 4. Environment variables (both core and GraphQL)
* 5. Runtime overrides
*
* This is the main entry point for LaunchQL packages that need
* both core PGPM options and GraphQL/Graphile options.
*/
export declare const getEnvOptions: (overrides?: Partial<LaunchQLOptions>, cwd?: string) => LaunchQLOptions;
/**
* Alias for backward compatibility - same as getEnvOptions
*/
export declare const getLaunchQLEnvOptions: (overrides?: Partial<LaunchQLOptions>, cwd?: string) => LaunchQLOptions;