summaryrefslogtreecommitdiff
path: root/apps/web/lib/types/highlight.ts
blob: 60ec53c244f57bb372a800bba91baa2a1950586f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export interface Highlight {
  identifier: string
  entryIdentifier: string
  highlightedText: string
  note: string | null
  textOffset: number
  textLength: number
  textPrefix: string
  textSuffix: string
  color: string
  createdAt: string
}

export interface HighlightWithEntryContext extends Highlight {
  entryTitle: string | null
  feedTitle: string | null
}