Interface Comment

Comment information

interface Comment {
    article_id: number;
    author: string;
    blog_id: number;
    body: string;
    created_on: string;
    email: string;
    id: number;
    ip?: string;
    published: boolean;
    updated_on: string;
    user_agent?: string;
    website?: string;
}

Properties

article_id: number

Article ID

author: string

Comment author

blog_id: number

Blog ID

body: string

Comment content

created_on: string

Creation timestamp

email: string

Author email

id: number

Unique identifier

ip?: string

IP address of commenter

published: boolean

Whether comment is published

updated_on: string

Last update timestamp

user_agent?: string

User agent string

website?: string

Author's URL