diff --git a/src/api.ts b/src/api.ts index 652e3cd1..9b8dbec0 100644 --- a/src/api.ts +++ b/src/api.ts @@ -10,8 +10,14 @@ import { ClientInfo, DeviceInfo } from './models'; import { getAuthorizationHeader } from '.'; +/** + * The authorization header field name. + */ export const AUTHORIZATION_HEADER = 'X-Emby-Authorization'; +/** + * Class representing the Jellyfin API. + */ export class Api { clientInfo; deviceInfo; diff --git a/src/jellyfin.ts b/src/jellyfin.ts index d106c428..b22e9fb2 100644 --- a/src/jellyfin.ts +++ b/src/jellyfin.ts @@ -9,6 +9,14 @@ import { Api } from './api'; import { Configuration } from './generated-client'; import { ClientInfo, DeviceInfo } from './models'; +/** + * The minimum supported server version. + */ +export const MINIMUM_VERSION = '10.7.0'; + +/** + * Class representing the Jellyfin SDK. + */ export class Jellyfin { clientInfo; deviceInfo;