Files
medusa-store/packages/admin/dashboard/src/vite-env.d.ts
Oli Juhl c93f77d1b2 chore: Configure auth on JS-SDK in dashboard (#14013)
* chore: Use env vars rather than configs

* Create wicked-turkeys-sell.md
2025-11-11 11:15:58 +01:00

21 lines
562 B
TypeScript

// / <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_MEDUSA_ADMIN_BACKEND_URL: string
readonly VITE_MEDUSA_STOREFRONT_URL: string
readonly VITE_MEDUSA_V2: "true" | "false"
}
interface ImportMeta {
readonly env: ImportMetaEnv
readonly hot: {
accept: () => void
}
}
declare const __BACKEND_URL__: string | undefined
declare const __STOREFRONT_URL__: string | undefined
declare const __BASE__: string
declare const __AUTH_TYPE__: "session" | "jwt" | undefined
declare const __JWT_TOKEN_STORAGE_KEY__: string | undefined