Kavita/UI/Web/src/app/admin/_models/server-settings.ts
Joe Milazzo d134196470
Implemented the ability to allow the admin to change the cover generation size. (#2213)
Changed how covers are merged together. Now a cover image will always be generated for reading list and collections.

Fixed reading list page being a bit laggy due to a missing trackby function.

Reading list page will now show the cover image always. Collection detail page will only hide the image if there is no summary on the collection.
2023-08-14 04:56:09 -07:00

26 lines
680 B
TypeScript

import { EncodeFormat } from "./encode-format";
import {CoverImageSize} from "./cover-image-size";
export interface ServerSettings {
cacheDirectory: string;
taskScan: string;
taskBackup: string;
loggingLevel: string;
port: number;
ipAddresses: string;
allowStatCollection: boolean;
enableOpds: boolean;
baseUrl: string;
bookmarksDirectory: string;
emailServiceUrl: string;
encodeMediaAs: EncodeFormat;
totalBackups: number;
totalLogs: number;
enableFolderWatching: boolean;
hostName: string;
cacheSize: number;
onDeckProgressDays: number;
onDeckUpdateDays: number;
coverImageSize: CoverImageSize;
}