-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathglobal.d.ts
22 lines (20 loc) · 1.05 KB
/
global.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// global.d.ts
export {}
import languageAbbreviation from '@/locales/i18n'
// Type definitions for global variables that
// we load via the environment variable env.js file in the public folder
// and then access them via the global window object
declare global {
interface Window {
VUE_APP_URL: string // URL for the frontend itself
VUE_APP_BASEMAP_URL: string // URL to the base map
VUE_APP_OAPI: string // API URL to the wis2box API
VUE_APP_BASEMAP_ATTRIBUTION: string // Attribution text displayed at the bottom of the base map
VUE_APP_LANG: languageAbbreviation // The language to use in the UI
VUE_APP_WAF: string //xml page that describes the s3 and the associated metadata
VUE_APP_CLUSTER: boolean // cluster the stations on the map instead of having each one as a separate marker
VUE_APP_CUSTOM_LOGO_URL: string // url to the site logo that should replace the default one
VUE_APP_CUSTOM_BACKGROUND_COLOR: string // color to use for the banner
VUE_APP_DISABLE_SEPARATOR_IMAGE: boolean // disable the footer image
}
}