2021-06-11 14:49:57 +02:00
|
|
|
export declare global {
|
2022-02-15 23:42:46 +03:00
|
|
|
import { ApiClient, Events } from 'jellyfin-apiclient';
|
|
|
|
|
2023-10-27 00:20:07 -04:00
|
|
|
// Globals declared in webpack
|
|
|
|
declare const __USE_SYSTEM_FONTS__: boolean;
|
|
|
|
declare const __WEBPACK_SERVE__: boolean;
|
|
|
|
|
2021-06-11 14:49:57 +02:00
|
|
|
interface Window {
|
2022-02-15 23:42:46 +03:00
|
|
|
ApiClient: ApiClient;
|
|
|
|
Events: Events;
|
2025-01-14 05:16:44 +11:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2022-11-28 16:39:13 -05:00
|
|
|
NativeShell: any;
|
2023-12-31 17:07:19 -08:00
|
|
|
Loading: {
|
|
|
|
show();
|
|
|
|
hide();
|
|
|
|
}
|
2021-06-11 14:49:57 +02:00
|
|
|
}
|
2023-05-18 11:28:16 -04:00
|
|
|
|
|
|
|
interface DocumentEventMap {
|
|
|
|
'viewshow': CustomEvent;
|
|
|
|
}
|
2024-02-21 00:47:03 -05:00
|
|
|
|
2024-05-17 17:22:55 -04:00
|
|
|
const __COMMIT_SHA__: string;
|
2024-02-21 00:47:03 -05:00
|
|
|
const __JF_BUILD_VERSION__: string;
|
2024-03-23 09:28:24 +01:00
|
|
|
const __PACKAGE_JSON_NAME__: string;
|
|
|
|
const __PACKAGE_JSON_VERSION__: string;
|
2024-08-15 20:36:41 +03:00
|
|
|
const __USE_SYSTEM_FONTS__: boolean;
|
|
|
|
const __WEBPACK_SERVE__: boolean;
|
2021-06-11 14:49:57 +02:00
|
|
|
}
|