feat: add NewsItem type and getNewsItems() API client function

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-28 00:34:34 -04:00
parent 260103d533
commit 0a6e57e698
2 changed files with 32 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
export interface NewsItem {
id: number
title: string
url: string
snippet: string
published_at: string | null
topics: string[]
source: string
reaction: 'up' | 'down' | null
}