aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/types.ts
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-14 08:58:38 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-14 08:58:38 -0800
commite3c379d069ffa9661561d25cdbf2f5894a2f8ee8 (patch)
tree24d0e9f5610dd9c8f873c5b78e6bc1c88d32840a /frontend/src/types.ts
parent4b06155fbde91a1bef6361ef36efb28789861928 (diff)
downloadneko-e3c379d069ffa9661561d25cdbf2f5894a2f8ee8.tar.gz
neko-e3c379d069ffa9661561d25cdbf2f5894a2f8ee8.tar.bz2
neko-e3c379d069ffa9661561d25cdbf2f5894a2f8ee8.zip
Refactor: project structure, implement dependency injection, and align v2 UI with v1
Diffstat (limited to 'frontend/src/types.ts')
-rw-r--r--frontend/src/types.ts34
1 files changed, 17 insertions, 17 deletions
diff --git a/frontend/src/types.ts b/frontend/src/types.ts
index 4c1110f..1feea1f 100644
--- a/frontend/src/types.ts
+++ b/frontend/src/types.ts
@@ -1,24 +1,24 @@
export interface Feed {
- _id: number;
- url: string;
- web_url: string;
- title: string;
- category: string;
+ _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;
+ _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;
+ title: string;
}