WIP: Rearrange code

This commit is contained in:
aditya.chandel
2025-01-12 13:38:57 -07:00
parent 7df0052036
commit ef3556cb0c
77 changed files with 101 additions and 115 deletions
@@ -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
}