Fix new Frontend 4

This commit is contained in:
Urtzi Alfaro
2025-08-03 20:42:29 +02:00
parent f9d52d6719
commit 2b358e2a7a
6 changed files with 102 additions and 110 deletions

20
frontend/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1,20 @@
/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_API_URL: string
readonly VITE_API_TIMEOUT: string
readonly VITE_API_RETRIES: string
readonly VITE_API_RETRY_DELAY: string
readonly VITE_API_LOGGING: string
readonly VITE_API_CACHING: string
readonly VITE_API_CACHE_TIMEOUT: string
readonly VITE_ENABLE_WEBSOCKETS: string
readonly VITE_ENABLE_OFFLINE: string
readonly VITE_ENABLE_OPTIMISTIC_UPDATES: string
readonly VITE_ENABLE_DEDUPLICATION: string
readonly VITE_ENABLE_METRICS: string
}
interface ImportMeta {
readonly env: ImportMetaEnv
}