@shopify/cli-kit
Version:
A set of utilities, interfaces, and models that are common across all the platform features
18 lines (17 loc) • 441 B
TypeScript
/**
* Enum that represents the environment to use for a given service.
*
* @readonly
*/
export declare enum Environment {
Local = "local",
Production = "production",
Spin = "spin"
}
/**
* Returns the environment to use for a given service.
*
* @param env - Environment variables.
* @returns The environment to use for a given service.
*/
export declare function serviceEnvironment(env?: NodeJS.ProcessEnv): Environment;