Support multi select for metadata

This commit is contained in:
aditya.chandel
2025-01-08 11:57:05 -07:00
parent 65b7e6df8d
commit ccc2fa23b6
16 changed files with 632 additions and 47 deletions
+4 -3
View File
@@ -1,5 +1,5 @@
import {Shelf} from './shelf.model';
import {SafeUrl} from '@angular/platform-browser';
import {Provider} from './provider.model';
export interface Book {
id: number;
@@ -30,8 +30,8 @@ export interface BookMetadata {
export interface FetchedMetadata {
bookId: number | null;
googleBookId: string | null;
amazonBookId: string | null;
provider: string,
providerBookId: string,
title: string | null;
subtitle?: string | null;
publisher: string | null;
@@ -39,6 +39,7 @@ export interface FetchedMetadata {
description: string | null;
isbn13: string | null;
isbn10: string | null;
asin: string | null;
pageCount: number | null;
thumbnailUrl: string | undefined;
language: string | null;
@@ -1,6 +1,6 @@
export interface FetchMetadataRequest {
bookId: number,
provider: string,
providers: string[],
title: string,
isbn: string,
author: string
@@ -1,5 +1,5 @@
export enum Provider {
AMAZON = 'Amazon',
GOOGLE_BOOKS = 'Google Books',
GOOGLE_BOOKS_API = 'Google Books (API)'
GOOGLE = 'Google Books',
GOOD_READS = 'Good Reads'
}