Throw FetchMetadata in bin.

This commit is contained in:
aditya.chandel
2025-01-26 20:17:38 -07:00
parent d7cb1c1846
commit 0d573e2cb0
34 changed files with 191 additions and 287 deletions
+5 -38
View File
@@ -32,9 +32,12 @@ export interface BookMetadata {
rating?: number | null;
reviewCount?: number | null;
coverUpdatedOn?: string;
authors: Author[];
categories: Category[];
authors: string[];
categories: string[];
awards?: Award[];
provider?: string;
providerBookId?: string;
thumbnailUrl?: string | null;
titleLocked?: boolean;
subtitleLocked?: boolean;
@@ -60,42 +63,6 @@ export interface BookMetadata {
[key: string]: any;
}
export interface FetchedMetadata {
bookId: number | null;
provider: string;
providerBookId: string;
title: string | null;
subtitle?: string | null;
publisher: string | null;
publishedDate: string | null;
description: string | null;
seriesName: string | null;
seriesNumber: number | null;
seriesTotal: number | null;
isbn13: string | null;
isbn10: string | null;
asin: string | null;
pageCount: number | null;
thumbnailUrl: string | undefined;
language: string | null;
rating: number | null;
reviewCount: number | null;
authors: string[];
categories: string[];
[key: string]: any;
}
export interface Author {
id: number;
name: string;
}
export interface Category {
id: number;
name: string;
}
export interface Award {
name: string;
category: string;