global.d.ts 658 B

123456789101112131415161718192021222324252627
  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. POSTGRESQL_PORT: number
  14. MS_HOST: string
  15. FTP_COM: string
  16. FTP_KEY: string
  17. }
  18. declare module '@env' {
  19. export const EXPO_PUBLIC_NODE_ENV: string
  20. export const EXPO_PUBLIC_API_URL: string
  21. export const POSTGRESQL_PORT: string
  22. }
  23. declare namespace NodeJS {
  24. interface ProcessEnv extends ICustomEnv {}
  25. }