mirror of
https://github.com/stashapp/stash.git
synced 2025-12-20 07:16:27 +01:00
* Fix environment vars in Vite * Add types, remove process.env override * Temporarily Remove Statigz / gzip * Update ui/v2.5/src/core/createClient.ts Co-authored-by: peolic <66393006+peolic@users.noreply.github.com> * Update ui/v2.5/src/serviceWorker.ts Co-authored-by: peolic <66393006+peolic@users.noreply.github.com> * Ignore case rules in types * Add windows js workaround Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
23 lines
832 B
TypeScript
23 lines
832 B
TypeScript
// eslint-disable-next-line no-var
|
|
declare var STASH_BASE_URL: string;
|
|
declare module "*.md";
|
|
declare module "string.prototype.replaceall";
|
|
declare module "mousetrap-pause";
|
|
declare module "hamming-distance";
|
|
declare module "@formatjs/intl-pluralrules/locale-data/en";
|
|
declare module "@formatjs/intl-numberformat/locale-data/en";
|
|
declare module "@formatjs/intl-numberformat/locale-data/en-GB";
|
|
|
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
interface ImportMetaEnv extends Readonly<Record<string, string>> {
|
|
readonly VITE_APP_GITHASH?: string;
|
|
readonly VITE_APP_STASH_VERSION?: string;
|
|
readonly VITE_APP_DATE?: string;
|
|
readonly VITE_APP_PLATFORM_PORT?: string;
|
|
readonly VITE_APP_HTTPS?: string;
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv;
|
|
}
|
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|