mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
29 lines
779 B
TypeScript
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;
|
|
}
|