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' ]