aboutsummaryrefslogtreecommitdiff
path: root/src/book.ts
blob: 328f8e16d259b85f72fe45f755960485680025f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export interface Book {
  title: string
  subtitle?: string
  authors: Array<string>
  authorsSort: string
  genres: Array<string>
  date: string
  read: ReadStatus,
  cover: string
}

export type ReadStatus = 'Read' | 'Unread' | 'Reading' | 'Stopped'

export const readStatuses: Array<ReadStatus> = ['Read', 'Unread', 'Reading', 'Stopped' ]