From b1dc260d474673e81ebdc7f8f2fe458fdc50926d Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Sun, 25 Oct 2026 01:39:39 +0200 Subject: [PATCH] chore: add Vite environment types Added src/vite-env.d.ts containing the Vite environment type interfaces. --- src/vite-env.d.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/vite-env.d.ts diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts new file mode 100644 index 0000000..9e7b6b9 --- /dev/null +++ b/src/vite-env.d.ts @@ -0,0 +1,24 @@ +/* +Copyright 2026 Seekra + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +interface ImportMetaEnv { + readonly VITE_ASSETS_BUILD_ID: string; + readonly VITE_ASSETS_BASE_URL: string; +} + +interface ImportMeta { + readonly env: ImportMetaEnv; +}