import type { NewsItem, SourceID } from "@shared/types" export interface RSSInfo { title: string description: string link: string image: string updatedTime: string items: RSSItem[] } export interface RSSItem { title: string description: string link: string created?: string } export interface CacheInfo { id: SourceID data: NewsItem[] updated: number } export interface RSSHubInfo { title: string home_page_url: string description: string items: RSSHubItem[] } export interface RSSHubItem { id: string url: string title: string content_html: string date_published: string } export interface UserInfo { id: string email: string type: "github" data: string created: number updated: number }