aboutsummaryrefslogtreecommitdiff
path: root/src/book.ts
blob: a5ddb75f59e03974c49a3f75fe9696974d5e106f (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' ]