summaryrefslogtreecommitdiff
path: root/src/vite-env.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/vite-env.d.ts')
-rw-r--r--src/vite-env.d.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts
new file mode 100644
index 0000000..55d593d
--- /dev/null
+++ b/src/vite-env.d.ts
@@ -0,0 +1,11 @@
+/// <reference types="vite/client" />
+
+interface ImportMetaEnv {
+ readonly VITE_DRUPAL_BASE_URL?: string
+ readonly VITE_DRUPAL_API_PREFIX?: string
+ readonly VITE_DRUPAL_AUTH_TOKEN?: string
+}
+
+interface ImportMeta {
+ readonly env: ImportMetaEnv
+}