husq
2023-11-01 17f7080566318474c2f8b16e4754a4da60d626b7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Environment variable definition
// https://cn.vitejs.dev/guide/env-and-mode.html#env-files
/// <reference types="vite/client" />
interface ImportMetaEnv {
  VITE_APP_ENVIRONMENT: 'DEV' | 'STAG' | 'UAT' | 'PROD',
  // api gateway
  VITE_APP_APIGATEWAY_BACKEND_HOST: string
  VITE_API_URL: string
  VITE_WS_API_URL: string
  // More environment variables...
}
 
interface ImportMeta {
  readonly env: ImportMetaEnv
}