Represents the parsed environment variables available at runtime.

This type should be augmented by users to include additional configuration properties in their schema.

declare module '@douglasneuroinformatics/libnest/user-config' {
export interface RuntimeConfig {
foo: string;
}
}
interface RuntimeConfig {
    API_DEV_SERVER_PORT: number;
    DEBUG: boolean;
    MONGO_DIRECT_CONNECTION?: "true" | "false";
    MONGO_REPLICA_SET?: "rs0";
    MONGO_RETRY_WRITES?: "true" | "false";
    MONGO_URI: string;
    MONGO_WRITE_CONCERN?: "majority";
    NODE_ENV: "development" | "production" | "test";
    SECRET_KEY: string;
    VERBOSE: boolean;
}

Hierarchy (View Summary)

Properties

API_DEV_SERVER_PORT: number = ...
DEBUG: boolean = ...
MONGO_DIRECT_CONNECTION?: "true" | "false" = ...
MONGO_REPLICA_SET?: "rs0" = ...
MONGO_RETRY_WRITES?: "true" | "false" = ...
MONGO_URI: string = ...
MONGO_WRITE_CONCERN?: "majority" = ...
NODE_ENV: "development" | "production" | "test" = ...
SECRET_KEY: string = ...
VERBOSE: boolean = ...