diff options
| author | kj_sh604 | 2026-03-15 16:19:35 -0400 |
|---|---|---|
| committer | kj_sh604 | 2026-03-15 16:19:35 -0400 |
| commit | bfc2cec7d43eb8eaa46dd3f91084932381257059 (patch) | |
| tree | 0857e3aac2cff922826d4871ff54536b26fad6fc /excalidraw-app/vite-env.d.ts | |
| parent | 225db4a7805befe009fe055fc2ef5daedd6c04f9 (diff) | |
refactor: excalidraw-app/
Diffstat (limited to 'excalidraw-app/vite-env.d.ts')
| -rw-r--r-- | excalidraw-app/vite-env.d.ts | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/excalidraw-app/vite-env.d.ts b/excalidraw-app/vite-env.d.ts new file mode 100644 index 0000000..ade60e8 --- /dev/null +++ b/excalidraw-app/vite-env.d.ts @@ -0,0 +1,49 @@ +/// <reference types="vite-plugin-pwa/vanillajs" /> +/// <reference types="vite-plugin-pwa/info" /> +/// <reference types="vite-plugin-svgr/client" /> +interface ImportMetaEnv { + // The port to run the dev server + VITE_APP_PORT: string; + + VITE_APP_BACKEND_V2_GET_URL: string; + VITE_APP_BACKEND_V2_POST_URL: string; + + // collaboration WebSocket server (https: string + VITE_APP_WS_SERVER_URL: string; + + // set this only if using the collaboration workflow we use on excalidraw.com + VITE_APP_PORTAL_URL: string; + VITE_APP_AI_BACKEND: string; + + VITE_APP_FIREBASE_CONFIG: string; + + // whether to disable live reload / HMR. Usuaully what you want to do when + // debugging Service Workers. + VITE_APP_DEV_DISABLE_LIVE_RELOAD: string; + + VITE_APP_DISABLE_SENTRY: string; + + // Set this flag to false if you want to open the overlay by default + VITE_APP_COLLAPSE_OVERLAY: string; + + // Enable eslint in dev server + VITE_APP_ENABLE_ESLINT: string; + + // Enable PWA in dev server + VITE_APP_ENABLE_PWA: string; + + VITE_APP_PLUS_LP: string; + + VITE_APP_PLUS_APP: string; + + VITE_APP_GIT_SHA: string; + + MODE: string; + + DEV: string; + PROD: string; +} + +interface ImportMeta { + readonly env: ImportMetaEnv; +} |
