feat(sidecar): add sidecar JSON metadata file support (#2657)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import {SortOption} from './sort.model';
|
||||
import {BookType} from './book.model';
|
||||
|
||||
export type MetadataSource = 'EMBEDDED' | 'SIDECAR' | 'PREFER_SIDECAR' | 'PREFER_EMBEDDED' | 'NONE';
|
||||
|
||||
export interface Library {
|
||||
id?: number;
|
||||
name: string;
|
||||
@@ -12,6 +14,7 @@ export interface Library {
|
||||
paths: LibraryPath[];
|
||||
formatPriority?: BookType[];
|
||||
allowedFormats?: BookType[];
|
||||
metadataSource?: MetadataSource;
|
||||
}
|
||||
|
||||
export interface LibraryPath {
|
||||
|
||||
Reference in New Issue
Block a user