environment.d.hbs 697 B

12345678910111213141516171819202122232425
  1. export {};
  2. // Here we declare the members of the process.env object, so that we
  3. // can use them in our application code in a type-safe manner.
  4. declare global {
  5. namespace NodeJS {
  6. interface ProcessEnv {
  7. APP_ENV: string;
  8. PORT: string;
  9. COOKIE_SECRET: string;
  10. SUPERADMIN_USERNAME: string;
  11. SUPERADMIN_PASSWORD: string;
  12. {{#if requiresConnection}}
  13. DB_HOST: string;
  14. DB_PORT: number;
  15. DB_NAME: string;
  16. DB_USERNAME: string;
  17. DB_PASSWORD: string;
  18. {{/if}}
  19. {{#if dbSchema}}
  20. DB_SCHEMA: string;
  21. {{/if}}
  22. }
  23. }
  24. }