You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
833 B
44 lines
833 B
import type { PaginatedResponse } from './common';
|
|
|
|
export type LogMessage = {
|
|
timestamp: string;
|
|
level: string;
|
|
label: string;
|
|
message: string;
|
|
};
|
|
|
|
export interface LogsResultsResponse extends PaginatedResponse {
|
|
results: LogMessage[];
|
|
}
|
|
|
|
export interface SettingsAboutResponse {
|
|
version: string;
|
|
totalRequests: number;
|
|
totalMediaItems: number;
|
|
tz?: string;
|
|
}
|
|
|
|
export interface PublicSettingsResponse {
|
|
initialized: boolean;
|
|
applicationTitle: string;
|
|
hideAvailable: boolean;
|
|
localLogin: boolean;
|
|
movie4kEnabled: boolean;
|
|
series4kEnabled: boolean;
|
|
region: string;
|
|
originalLanguage: string;
|
|
partialRequestsEnabled: boolean;
|
|
}
|
|
|
|
export interface CacheItem {
|
|
id: string;
|
|
name: string;
|
|
stats: {
|
|
hits: number;
|
|
misses: number;
|
|
keys: number;
|
|
ksize: number;
|
|
vsize: number;
|
|
};
|
|
}
|