mirror of
https://github.com/sct/overseerr.git
synced 2025-12-26 08:25:07 +01:00
Adding Jellyfin Setting for Custom "Forgot Password" URL. Useful in cases where you are using a custom authentication provider such as the LDAP plugin, Authelia, lldap, or any other external auth scheme with its own password reset page.
71 lines
1.5 KiB
TypeScript
71 lines
1.5 KiB
TypeScript
import type { PaginatedResponse } from './common';
|
|
|
|
export type LogMessage = {
|
|
timestamp: string;
|
|
level: string;
|
|
label?: string;
|
|
message: string;
|
|
data?: Record<string, unknown>;
|
|
};
|
|
|
|
export interface LogsResultsResponse extends PaginatedResponse {
|
|
results: LogMessage[];
|
|
}
|
|
|
|
export interface SettingsAboutResponse {
|
|
version: string;
|
|
totalRequests: number;
|
|
totalMediaItems: number;
|
|
tz?: string;
|
|
appDataPath: string;
|
|
}
|
|
|
|
export interface PublicSettingsResponse {
|
|
jellyfinHost?: string;
|
|
jellyfinExternalHost?: string;
|
|
jellyfinServerName?: string;
|
|
initialized: boolean;
|
|
applicationTitle: string;
|
|
applicationUrl: string;
|
|
hideAvailable: boolean;
|
|
localLogin: boolean;
|
|
movie4kEnabled: boolean;
|
|
series4kEnabled: boolean;
|
|
region: string;
|
|
originalLanguage: string;
|
|
mediaServerType: number;
|
|
partialRequestsEnabled: boolean;
|
|
cacheImages: boolean;
|
|
vapidPublic: string;
|
|
enablePushRegistration: boolean;
|
|
locale: string;
|
|
emailEnabled: boolean;
|
|
newPlexLogin: boolean;
|
|
jellyfinForgotPasswordUrl: string;
|
|
}
|
|
|
|
export interface CacheItem {
|
|
id: string;
|
|
name: string;
|
|
stats: {
|
|
hits: number;
|
|
misses: number;
|
|
keys: number;
|
|
ksize: number;
|
|
vsize: number;
|
|
};
|
|
}
|
|
|
|
export interface CacheResponse {
|
|
apiCaches: CacheItem[];
|
|
imageCache: Record<'tmdb', { size: number; imageCount: number }>;
|
|
}
|
|
|
|
export interface StatusResponse {
|
|
version: string;
|
|
commitTag: string;
|
|
updateAvailable: boolean;
|
|
commitsBehind: number;
|
|
restartRequired: boolean;
|
|
}
|