mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-28 17:56:37 +02:00
95 lines
2.3 KiB
TypeScript
95 lines
2.3 KiB
TypeScript
declare global {
|
|
namespace NodeJS {
|
|
interface ProcessEnv {
|
|
/**
|
|
* Full database connection string
|
|
*/
|
|
DATABASE_URL: string;
|
|
/**
|
|
* "development" or "production"
|
|
*/
|
|
NODE_ENV: "development" | "production";
|
|
/**
|
|
* Set to "true" to take users straight to app instead of landing page
|
|
*/
|
|
DISABLE_LANDING_PAGE?: string;
|
|
/**
|
|
* Must be 32 characters long
|
|
*/
|
|
SECRET_PASSWORD: string;
|
|
/**
|
|
* "1" to turn on maintenance mode
|
|
*/
|
|
NEXT_PUBLIC_MAINTENANCE_MODE?: string;
|
|
/**
|
|
* Posthog API key
|
|
*/
|
|
NEXT_PUBLIC_POSTHOG_API_KEY?: string;
|
|
/**
|
|
* Posthog API host
|
|
*/
|
|
NEXT_PUBLIC_POSTHOG_API_HOST?: string;
|
|
/**
|
|
* Crisp website ID
|
|
*/
|
|
NEXT_PUBLIC_CRISP_WEBSITE_ID?: string;
|
|
/**
|
|
* Users of your instance will see this as their support email
|
|
*/
|
|
SUPPORT_EMAIL: string;
|
|
/**
|
|
* Host address of the SMTP server
|
|
*/
|
|
SMTP_HOST: string;
|
|
/**
|
|
* Email address or user if authentication is required
|
|
*/
|
|
SMTP_USER: string;
|
|
/**
|
|
* Password if authentication is required
|
|
*/
|
|
SMTP_PWD: string;
|
|
/**
|
|
* "true" to use SSL
|
|
*/
|
|
SMTP_SECURE: string;
|
|
/**
|
|
* Port number of the SMTP server
|
|
*/
|
|
SMTP_PORT: string;
|
|
/**
|
|
* Comma separated list of email addresses that are allowed to register and login.
|
|
* If not set, all emails are allowed. Wildcard characters are supported.
|
|
*
|
|
* Example: "user@example.com, *@example.com, *@*.example.com"
|
|
*/
|
|
ALLOWED_EMAILS?: string;
|
|
/**
|
|
* Determines what email provider to use. "smtp" or "ses"
|
|
*/
|
|
EMAIL_PROVIDER?: "smtp" | "ses";
|
|
/**
|
|
* AWS access key ID
|
|
*/
|
|
AWS_ACCESS_KEY_ID?: string;
|
|
/**
|
|
* AWS secret access key
|
|
*/
|
|
AWS_SECRET_ACCESS_KEY?: string;
|
|
/**
|
|
* AWS region
|
|
*/
|
|
AWS_REGION?: string;
|
|
/**
|
|
* The app version just for reference
|
|
*/
|
|
NEXT_PUBLIC_APP_VERSION?: string;
|
|
/**
|
|
* "true" to enable finalization of polls
|
|
*/
|
|
NEXT_PUBLIC_ENABLE_FINALIZATION?: string;
|
|
}
|
|
}
|
|
}
|
|
|
|
export {};
|