aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/src/types.ts
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-15 17:44:55 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-15 17:44:55 -0800
commitc652ac6a2cd23ef29f48465be09c2b674783e8e9 (patch)
treec5c05a71a1d5b8155b05dad4a512b18ff7258f47 /frontend-vanilla/src/types.ts
parent90c1a68d6478138f538094fc83e48da8ddd21fa0 (diff)
downloadneko-c652ac6a2cd23ef29f48465be09c2b674783e8e9.tar.gz
neko-c652ac6a2cd23ef29f48465be09c2b674783e8e9.tar.bz2
neko-c652ac6a2cd23ef29f48465be09c2b674783e8e9.zip
Vanilla JS (v3): Implement 3-pane layout, item fetching, reading, and testing
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;
+}