import { NewsItem } from "./NewsItem";

// enums for entity types (PERSON, ORGANIZATION, LOCATION)
export enum EntityType {
    PERSON = "B-PER",
    ORGANIZATION = "B-ORG",
    LOCATION = "B-LOC",
};

export type NamedEntity = {
    name: string;
    entity_type: EntityType;
    created_at: string;
    news_items: Array<NewsItem>;
};
