aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/types.ts
blob: 1feea1ff9156c63fcb70a50f7cb3ce15f4ea5ac7 (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
24
export interface Feed {
  _id: number;
  url: string;
  web_url: string;
  title: string;
  category: string;
}

export interface Item {
  _id: number;
  feed_id: number;
  title: string;
  url: string;
  description: string;
  publish_date: string;
  read: boolean;
  starred: boolean;
  full_content?: string;
  header_image?: string;
  feed_title?: string;
}
export interface Category {
  title: string;
}