aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/types.ts
blob: 4c1110ff9ffea828ced622202a54b2b36c2b373c (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;
}