Type Alias BaseRuntimeConfig
BaseRuntimeConfig: {
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;
}
Type declaration
API_DEV_SERVER_PORT: number
DEBUG: boolean
Optional
MONGO_DIRECT_CONNECTION?: "true" | "false"
Optional
MONGO_REPLICA_SET?: "rs0"
Optional
MONGO_RETRY_WRITES?: "true" | "false"
MONGO_URI: string
Optional
MONGO_WRITE_CONCERN?: "majority"
NODE_ENV: "development" | "production" | "test"
SECRET_KEY: string
VERBOSE: boolean
Type representing the base runtime configuration.
Users can extend the $BaseRuntimeConfig schema in their application. Any extended schema must have, as it's output, a type that is assignable to this type.