// This file was auto-generated by Fern from our API Definition.

/**
 * The Content of an Article.
 */
export interface ArticleContent {
    /** The type of object - `article_content` . */
    type?: "article_content";
    /** The title of the article. */
    title?: string;
    /** The description of the article. */
    description?: string;
    /** The body of the article. */
    body?: string;
    /** The ID of the author of the article. */
    author_id?: number;
    /** Whether the article is `published` or is a `draft` . */
    state?: ArticleContent.State;
    /** The time when the article was created (seconds). */
    created_at?: number;
    /** The time when the article was last updated (seconds). */
    updated_at?: number;
    /** The URL of the article. */
    url?: string;
}

export namespace ArticleContent {
    /** Whether the article is `published` or is a `draft` . */
    export const State = {
        Published: "published",
        Draft: "draft",
    } as const;
    export type State = (typeof State)[keyof typeof State];
}
