Lets the frontend build full viewer and delete URLs for both networks without hardcoding host shape in components.
18 lines
550 B
TypeScript
18 lines
550 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
readonly VITE_API_BASE_URL: string;
|
|
readonly VITE_CLEARNET_SCHEME: string;
|
|
readonly VITE_CLEARNET_DOMAIN: string;
|
|
readonly VITE_ONION_HOSTNAME: string;
|
|
readonly VITE_ALTCHA_ENABLED: string;
|
|
readonly VITE_ALTCHA_MAX_NUMBER: string;
|
|
readonly VITE_UPLOAD_MAX_QUEUE_SIZE: string;
|
|
readonly VITE_VALIDATION_UPLOAD_MAX_VIEWS_MAX: string;
|
|
readonly VITE_VALIDATION_UPLOAD_MAX_IMAGE_BYTES: string;
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv;
|
|
}
|