summaryrefslogtreecommitdiff
path: root/apps/web/lib/types/subscription.ts
blob: d59556ac2804ae9d39405b0d0b1c575aa06a6555 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
export interface Folder {
  folderIdentifier: string
  name: string
  position: number
  iconUrl: string | null
}

export interface Subscription {
  subscriptionIdentifier: string
  feedIdentifier: string
  folderIdentifier: string | null
  customTitle: string | null
  position: number
  feedTitle: string
  feedUrl: string
  consecutiveFailures: number
  lastFetchError: string | null
  lastFetchedAt: string | null
  fetchIntervalSeconds: number
  feedType: string | null
  feedVisibility: "public" | "authenticated"
  hiddenFromTimeline: boolean
}