aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/src/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend-vanilla/src/types.ts')
-rw-r--r--frontend-vanilla/src/types.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/frontend-vanilla/src/types.ts b/frontend-vanilla/src/types.ts
new file mode 100644
index 0000000..4c1110f
--- /dev/null
+++ b/frontend-vanilla/src/types.ts
@@ -0,0 +1,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;
+}