import { NERResult } from "./NERResult";
import { NewsChannel } from "./NewsChannel";
import { SentimentResult } from "./SentimentResult";

export type NewsItem = {
    id: number;
    title: string;
    description?: string;
    thumbnail_url?: string;
    link: string;
    pub_date: string;
    category: string;
    guid: string;
    enclosure_url?: string;
    media_copyright: string;
    media_title: string;
    version: string;
    created_at: string;
    news_channel: NewsChannel;
    sentiment_result: SentimentResult;
    ner_result: NERResult;
};