@strapi/strapi
Version:
An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MySQL, MariaDB, PostgreSQL, SQLite
24 lines • 691 B
TypeScript
/**
* This is the base of _any_ env set for a strapi project,
* to build a strapi admin panel we require these env variables.
*/
interface DefaultEnv {
ADMIN_PATH: string;
STRAPI_ADMIN_BACKEND_URL: string;
STRAPI_TELEMETRY_DISABLED: string;
STRAPI_ANALYTICS_URL?: string;
}
/**
* @internal
*
* @description Load the .env file if it exists
*/
declare const loadEnv: (cwd: string) => Promise<void>;
/**
* @internal
*
* @description Get all the environment variables that start with `STRAPI_ADMIN_`
*/
declare const getStrapiAdminEnvVars: (defaultEnv: DefaultEnv) => Record<string, string>;
export { getStrapiAdminEnvVars, loadEnv };
//# sourceMappingURL=env.d.ts.map