* adjustments for each language json file: - changed every Cal or Cal.com with a variable to make it possible to change that with a custom brand - fix and renamed ATTENDEE with attendeeName * added two new variables for appName and support mail address. so everybody can change it via env * changed static Cal or Cal.com with new defined constants * Using useLocal to modify static text to make it multilingual, and passing the correct variables for brand and mail * adding new readable variables for brand, website domain and mail address * fixed search routes * made static text multilingual and fixed german translations * Revert "fixed search routes" moved changes in another pr This reverts commit e6ba11a1ec7821d8c16c502d0357f6d5fcdb1958. * revert non whitelabel changes and moved it into another pr * revert attendeeName fix * reverted translation fixes and moved them in another pr * changed back to "Cal.com Logo" * changed back to "https://console.cal.com" * added new env variable for company name and replaced some domainName variables in language files * changed default for COMPANY_NAME to Cal.com, Inc. * changed Cal.com to APP_NAME for mail templates * Dropped website domain in favor of app name * Update .env.example * Apply suggestions from code review * Code review feedback * Delete App.tsx * Update packages/ui/Kbar.tsx * added meta.CTA back it was mistakenly removed * updated add members test Co-authored-by: maxi <maximilian.oehrlein@clicksports.de> Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: zomars <zomars@me.com>
68 lines
3.2 KiB
TypeScript
68 lines
3.2 KiB
TypeScript
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;
|
|
/** Needed to enable enterprise-only features */
|
|
readonly CALCOM_LICENSE_KEY: string | undefined;
|
|
readonly CALCOM_TELEMETRY_DISABLED: string | 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 NEXTAUTH_SECRET: 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;
|
|
readonly NEXT_PUBLIC_APP_NAME: string | "Cal";
|
|
readonly NEXT_PUBLIC_SUPPORT_MAIL_ADDRESS: string | "help@cal.com";
|
|
readonly NEXT_PUBLIC_COMPANY_NAME: string | "Cal.com, Inc.";
|
|
}
|
|
}
|