regenbogenkarte/ts/env.d.ts
Zora Franke 28cb5f0bf0
Django backend preparation (#147)
This prepares the data fetching for the upcoming Django backend.
It is made in a backwards-compatible way to ensure no breakage
of the existing map.

Co-authored-by: Zora Franke <zora@zorafranke.de>
2024-06-29 14:02:20 +00:00

15 lines
535 B
TypeScript

interface ImportMeta {
readonly env: ImportMetaEnv;
}
interface ImportMetaEnv {
// This variable is set in our GitHub Actions for adding additional features
// that should be only available on karte.queer-lexikon.net and not
// for development purposes.
//
// Although it's actually a boolean, all environment variables are strings, so we
// type it as string here as well.
readonly VITE_QUEER_LEXIKON_PRIVATE?: string;
// The backend URL for the upcoming django backend.
readonly VITE_QUEER_LEXIKON_BACKEND_URL?: string;
}