legado初步支持

This commit is contained in:
mtvpls
2026-05-19 19:25:56 +08:00
parent b949b6da91
commit 87c3da046b
22 changed files with 1433 additions and 66 deletions
+2
View File
@@ -287,6 +287,7 @@ export interface AdminConfig {
Sources?: Array<{
id: string;
name: string;
type?: 'opds' | 'legado';
url: string;
enabled?: boolean;
authMode?: 'none' | 'basic' | 'header';
@@ -297,6 +298,7 @@ export interface AdminConfig {
searchTemplate?: string;
preferFormat?: Array<'epub' | 'pdf'>;
language?: string;
legado?: import('./book.types').LegadoBookSourceRule;
}>;
CacheTTL?: number;
};