| 12345678910111213141516171819202122232425 |
- export {};
- // Here we declare the members of the process.env object, so that we
- // can use them in our application code in a type-safe manner.
- declare global {
- namespace NodeJS {
- interface ProcessEnv {
- APP_ENV: string;
- PORT: string;
- COOKIE_SECRET: string;
- SUPERADMIN_USERNAME: string;
- SUPERADMIN_PASSWORD: string;
- {{#if requiresConnection}}
- DB_HOST: string;
- DB_PORT: number;
- DB_NAME: string;
- DB_USERNAME: string;
- DB_PASSWORD: string;
- {{/if}}
- {{#if dbSchema}}
- DB_SCHEMA: string;
- {{/if}}
- }
- }
- }
|