environment.d.hbs 671 B

123456789101112131415161718192021222324
  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. COOKIE_SECRET: string;
  9. SUPERADMIN_USERNAME: string;
  10. SUPERADMIN_PASSWORD: string;
  11. {{#if requiresConnection}}
  12. DB_HOST: string;
  13. DB_PORT: number;
  14. DB_NAME: string;
  15. DB_USERNAME: string;
  16. DB_PASSWORD: string;
  17. {{/if}}
  18. {{#if dbSchema}}
  19. DB_SCHEMA: string;
  20. {{/if}}
  21. }
  22. }
  23. }