WIP: Rearrange code
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
export interface BookMetadataBI {
|
||||
bookId: number;
|
||||
title: string;
|
||||
subtitle?: string;
|
||||
authors: Array<string>;
|
||||
categories: Array<string>;
|
||||
publisher: string;
|
||||
publishedDate: string;
|
||||
isbn10: string;
|
||||
isbn13: string;
|
||||
rating?: number | null;
|
||||
reviewCount?: number | null;
|
||||
description?: string;
|
||||
pageCount?: number | null;
|
||||
language: string;
|
||||
googleBookId?: string;
|
||||
thumbnailUrl?: string;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
export enum MetadataProvider {
|
||||
Amazon = "Amazon",
|
||||
Google = "Google",
|
||||
GoodReads = "GoodReads"
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
import {MetadataProvider} from '../../../book/model/provider.model';
|
||||
|
||||
export interface BookAutoMetadataRefresh {
|
||||
bookIds: number[],
|
||||
metadataProvider: MetadataProvider,
|
||||
replaceCover: boolean
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
import {MetadataProvider} from '../../../book/model/provider.model';
|
||||
|
||||
export interface LibraryAutoMetadataRefreshRequest {
|
||||
libraryId: number,
|
||||
metadataProvider: MetadataProvider,
|
||||
replaceCover: boolean
|
||||
}
|
||||
Reference in New Issue
Block a user