From 1ebc55c72a1a17293bbf4ad86e0177a10a794750 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 17 Sep 2023 12:23:47 +0200 Subject: Make app packageable --- library/client/book.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 library/client/book.ts (limited to 'library/client/book.ts') diff --git a/library/client/book.ts b/library/client/book.ts new file mode 100644 index 0000000..680cc11 --- /dev/null +++ b/library/client/book.ts @@ -0,0 +1,15 @@ +export interface Book { + title: string + subtitle?: string + authors: Array + authorsSort: string + genres: Array + date: number + summary?: string + read: ReadStatus, + cover: string +} + +export type ReadStatus = 'Read' | 'Unread' | 'Reading' | 'Stopped' + +export const readStatuses: Array = ['Read', 'Unread', 'Reading', 'Stopped' ] -- cgit v1.2.3