-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.d.ts
More file actions
34 lines (29 loc) · 773 Bytes
/
env.d.ts
File metadata and controls
34 lines (29 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/// <reference types="vite/client" />
/// <reference types="@tauri-apps/api" />
/**
* Vite environment variables available via import.meta.env
* See: https://vitejs.dev/guide/env-and-mode.html#env-files
*/
interface ImportMetaEnv {
/**
* Application display name from the root .env file.
*/
readonly VITE_APP_NAME?: string;
/**
* Optional app title for legacy usage.
* Prefer __APP_NAME__ defined in app/vite.config.ts for the UI title.
*/
readonly VITE_APP_TITLE?: string;
/**
* Project repository URL used in the UI.
*/
readonly VITE_PROJECT_URL?: string;
}
/**
* ImportMeta typing for Vite.
*/
interface ImportMeta {
readonly env: ImportMetaEnv;
}
declare const __APP_VERSION__: string;
declare const __BUILD_DATE__: string;