1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/src/global.d.ts
2025-03-27 03:36:05 -04:00

29 lines
779 B
TypeScript

export declare global {
import { ApiClient, Events } from 'jellyfin-apiclient';
// Globals declared in webpack
declare const __USE_SYSTEM_FONTS__: boolean;
declare const __WEBPACK_SERVE__: boolean;
interface Window {
ApiClient: ApiClient;
Events: Events;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
NativeShell: any;
Loading: {
show();
hide();
}
}
interface DocumentEventMap {
'viewshow': CustomEvent;
}
const __COMMIT_SHA__: string;
const __JF_BUILD_VERSION__: string;
const __PACKAGE_JSON_NAME__: string;
const __PACKAGE_JSON_VERSION__: string;
const __USE_SYSTEM_FONTS__: boolean;
const __WEBPACK_SERVE__: boolean;
}