mirror of
https://github.com/Queer-Lexikon/regenbogenkarte
synced 2024-11-25 05:30:22 +00:00
28cb5f0bf0
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>
15 lines
535 B
TypeScript
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;
|
|
}
|