From 6ec259a0e71174651bae95d4628138bf6fd68742 Mon Sep 17 00:00:00 2001
From: kj_sh604
Date: Sun, 15 Mar 2026 16:19:35 -0400
Subject: refactor: packages/
---
packages/excalidraw/vite-env.d.ts | 60 +++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
create mode 100644 packages/excalidraw/vite-env.d.ts
(limited to 'packages/excalidraw/vite-env.d.ts')
diff --git a/packages/excalidraw/vite-env.d.ts b/packages/excalidraw/vite-env.d.ts
new file mode 100644
index 0000000..4292e3b
--- /dev/null
+++ b/packages/excalidraw/vite-env.d.ts
@@ -0,0 +1,60 @@
+///
+///
+///
+///
+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;
+
+ VITE_APP_LIBRARY_URL: string;
+ VITE_APP_LIBRARY_BACKEND: 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;
+
+ FAST_REFRESH: string;
+
+ // MATOMO
+ VITE_APP_MATOMO_URL: string;
+ VITE_APP_CDN_MATOMO_TRACKER_URL: string;
+ VITE_APP_MATOMO_SITE_ID: string;
+
+ //Debug flags
+
+ // To enable bounding box for text containers
+ VITE_APP_DEBUG_ENABLE_TEXT_CONTAINER_BOUNDING_BOX: 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;
+ VITE_APP_ENABLE_TRACKING: string;
+
+ PKG_NAME: string;
+ PKG_VERSION: string;
+
+ VITE_APP_PLUS_LP: string;
+ VITE_APP_PLUS_APP: string;
+
+ VITE_WORKER_ID: string;
+ MODE: string;
+ DEV: string;
+ PROD: string;
+}
+
+interface ImportMeta {
+ readonly env: ImportMetaEnv;
+}
--
cgit v1.2.3