Interface NewsPost

API.getNewsPosts

interface NewsPost {
    author: string;
    edit_url: string;
    first_image: null | string;
    id: number;
    published_at: Date;
    slug: string;
    title: string;
    updated_at: Date;
}

Hierarchy (view full)

Properties

author: string
edit_url: string

Link to view the file on GitHub

first_image: null | string

Link to the first image in the document

id: number
published_at: Date
slug: string

Filename without the extension, used in URLs

title: string
updated_at: Date