The Dotenv Refactor (#2275)
* dotenv refactoring * dotenv fixes * Env variables cleanup * Updates e2e variables * Moves environment file to types * Removes conflicting configs * Readds missing variables * Fixes * More fixes * Update .env.example * Update yarn.lock * Update turbo.json * Fixes e2e * Temp fix * disables cache for lint * Please work * I'm getting desperate here. * Matches node versions * Take 2 * Revert "Take 2" This reverts commit a735f47f2325c2040168e0cd99dea0fc357a791f. * Update .env.example
This commit is contained in:
1 parent
2d7e1ccc05
commit
ec58a9dd70
42 files changed
+498
-243
No files matched your search
Vendored
+62
@@ -0,0 +1,62 @@
|
||||
declare namespace NodeJS {
|
||||
interface ProcessEnv {
|
||||
/**
|
||||
* Set this value to 'agree' to accept our license:
|
||||
* LICENSE: https://github.com/calendso/calendso/blob/main/LICENSE
|
||||
*
|
||||
* Summary of terms:
|
||||
* - The codebase has to stay open source, whether it was modified or not
|
||||
* - You can not repackage or sell the codebase
|
||||
* - Acquire a commercial license to remove these terms by visiting: cal.com/sales
|
||||
**/
|
||||
readonly NEXT_PUBLIC_LICENSE_CONSENT: "agree" | undefined;
|
||||
readonly CALENDSO_ENCRYPTION_KEY: string | undefined;
|
||||
readonly DATABASE_URL: string | undefined;
|
||||
readonly GOOGLE_API_CREDENTIALS: string | undefined;
|
||||
/** @deprecated use `NEXT_PUBLIC_WEBAPP_URL` */
|
||||
readonly BASE_URL: string | undefined;
|
||||
/** @deprecated use `NEXT_PUBLIC_WEBAPP_URL` */
|
||||
readonly NEXT_PUBLIC_BASE_URL: string | undefined;
|
||||
/** @deprecated use `NEXT_PUBLIC_WEBSITE_URL` */
|
||||
readonly NEXT_PUBLIC_APP_URL: string | undefined;
|
||||
readonly JWT_SECRET: string | undefined;
|
||||
readonly NEXT_PUBLIC_TELEMETRY_KEY: string | undefined;
|
||||
readonly MS_GRAPH_CLIENT_ID: string | undefined;
|
||||
readonly MS_GRAPH_CLIENT_SECRET: string | undefined;
|
||||
readonly ZOOM_CLIENT_ID: string | undefined;
|
||||
readonly ZOOM_CLIENT_SECRET: string | undefined;
|
||||
readonly EMAIL_FROM: string | undefined;
|
||||
readonly EMAIL_SERVER_HOST: string | undefined;
|
||||
readonly EMAIL_SERVER_PORT: string | undefined;
|
||||
readonly EMAIL_SERVER_USER: string | undefined;
|
||||
readonly EMAIL_SERVER_PASSWORD: string | undefined;
|
||||
readonly CRON_API_KEY: string | undefined;
|
||||
readonly NEXT_PUBLIC_STRIPE_PUBLIC_KEY: string | undefined;
|
||||
readonly STRIPE_PRIVATE_KEY: string | undefined;
|
||||
readonly STRIPE_CLIENT_ID: string | undefined;
|
||||
readonly STRIPE_WEBHOOK_SECRET: string | undefined;
|
||||
readonly PAYMENT_FEE_PERCENTAGE: number | undefined;
|
||||
readonly PAYMENT_FEE_FIXED: number | undefined;
|
||||
readonly NEXT_PUBLIC_INTERCOM_APP_ID: string | undefined;
|
||||
readonly TANDEM_CLIENT_ID: string | undefined;
|
||||
readonly TANDEM_CLIENT_SECRET: string | undefined;
|
||||
readonly TANDEM_BASE_URL: string | undefined;
|
||||
readonly WEBSITE_BASE_URL: string | undefined;
|
||||
/** @deprecated use `NEXT_PUBLIC_WEBSITE_URL` */
|
||||
readonly NEXT_PUBLIC_WEBSITE_BASE_URL: string;
|
||||
readonly NEXT_PUBLIC_WEBSITE_URL: string;
|
||||
readonly APP_BASE_URL: string | undefined;
|
||||
/** @deprecated use `NEXT_PUBLIC_WEBAPP_URL` */
|
||||
readonly NEXT_PUBLIC_APP_BASE_URL: string;
|
||||
readonly NEXT_PUBLIC_WEBAPP_URL: string;
|
||||
/** The Environment that the app is deployed an running on. */
|
||||
readonly VERCEL_ENV: "production" | "preview" | "development" | undefined;
|
||||
/** The URL of the deployment. Example: my-site-7q03y4pi5.vercel.app. */
|
||||
readonly VERCEL_URL: string | undefined;
|
||||
/**
|
||||
* This is used so we can bypass emails in auth flows for E2E testing.
|
||||
* Set it to "1" if you need to run E2E tests locally
|
||||
**/
|
||||
readonly NEXT_PUBLIC_IS_E2E: 1 | undefined;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user