Checkpoint

This commit is contained in:
aditya.chandel
2024-12-15 18:03:31 -07:00
parent 96a04621e1
commit 95e0d27de4
68 changed files with 1234 additions and 431 deletions
+27 -4
View File
@@ -1,10 +1,7 @@
import {Author} from './author.model';
export interface Book {
id: number;
libraryId: number;
title: string;
authors: Author[];
metadata: BookMetadata
}
export interface PaginatedBooksResponse {
@@ -16,3 +13,29 @@ export interface PaginatedBooksResponse {
first: boolean;
last: boolean;
}
export interface BookMetadata {
thumbnail: string;
title: string;
authors: Author[];
categories: Category[];
publisher: string;
publishedDate: string;
isbn10: string;
description: string;
pageCount: number;
language: string;
googleBookId: string;
}
export interface Author {
id: number;
name: string;
}
export interface Category {
id: number;
name: string;
}