SW Combine SDK
    Preparing search index...

    Interface NewsItem

    Detailed news entry returned by gns.get() and simNews.get(). Uses a permissive object shape to accommodate API response variability.

    interface NewsItem {
        author: NewsReference;
        body?: string;
        category?: string;
        faction: NewsReference;
        hacked?: number;
        id: number;
        location?: string;
        logo?: string;
        posted?: NewsPostedTimestamp;
        title: string;
        url: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    body?: string
    category?: string
    faction: NewsReference
    hacked?: number
    id: number
    location?: string
    logo?: string
    title: string
    url: string