mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
feat(books): add quick view panel and proportional cover card overlay
This commit is contained in:
+43
-17
@@ -1,22 +1,48 @@
|
||||
export type BookFileRef = {
|
||||
id: number
|
||||
format: string | null
|
||||
role: string
|
||||
}
|
||||
id: number;
|
||||
format: string | null;
|
||||
role: string;
|
||||
};
|
||||
|
||||
export type BookCard = {
|
||||
id: number
|
||||
status: string
|
||||
title: string | null
|
||||
authors: string[]
|
||||
seriesName: string | null
|
||||
seriesIndex: number | null
|
||||
files: BookFileRef[]
|
||||
}
|
||||
id: number;
|
||||
status: string;
|
||||
title: string | null;
|
||||
authors: string[];
|
||||
seriesName: string | null;
|
||||
seriesIndex: number | null;
|
||||
files: BookFileRef[];
|
||||
};
|
||||
|
||||
export type BookDetailFile = {
|
||||
id: number;
|
||||
format: string | null;
|
||||
role: string;
|
||||
sizeBytes: number | null;
|
||||
};
|
||||
|
||||
export type BookDetail = {
|
||||
id: number;
|
||||
status: string;
|
||||
title: string | null;
|
||||
subtitle: string | null;
|
||||
description: string | null;
|
||||
isbn10: string | null;
|
||||
isbn13: string | null;
|
||||
publisher: string | null;
|
||||
publishedYear: number | null;
|
||||
language: string | null;
|
||||
pageCount: number | null;
|
||||
seriesName: string | null;
|
||||
seriesIndex: number | null;
|
||||
authors: { id: number; name: string; sortName: string | null }[];
|
||||
tags: string[];
|
||||
files: BookDetailFile[];
|
||||
};
|
||||
|
||||
export type BooksPage = {
|
||||
items: BookCard[]
|
||||
total: number
|
||||
page: number
|
||||
size: number
|
||||
}
|
||||
items: BookCard[];
|
||||
total: number;
|
||||
page: number;
|
||||
size: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user