global.d.ts 589 B

12345678910111213141516171819202122232425
  1. interface ICustomEnv {
  2. NODE_ENV: string
  3. EXPO_PUBLIC_NODE_ENV: string
  4. EXPO_PUBLIC_API_URL: string
  5. accessSecret: string
  6. refreshSecret: string
  7. thirdId: string
  8. TEST_THIRD_TOKEN: string
  9. POSTGRESQL_ENDPOINT: string
  10. POSTGRESQL_USER: string
  11. POSTGRESQL_PASSWORD: string
  12. POSTGRESQL_INIT_DB: string
  13. MS_HOST: string
  14. FTP_COM: string
  15. FTP_KEY: string
  16. }
  17. declare module '@env' {
  18. export const EXPO_PUBLIC_NODE_ENV: string
  19. export const EXPO_PUBLIC_API_URL: string
  20. }
  21. declare namespace NodeJS {
  22. interface ProcessEnv extends ICustomEnv {}
  23. }