Interface Comment

interface Comment {
    _id: string;
    author: { id: string; name: string };
    created_at: string;
    parent_id: string;
    private: boolean;
    replies?: Comment[];
    text: string;
}

Properties

_id: string
author: { id: string; name: string }
created_at: string
parent_id: string
private: boolean
replies?: Comment[]
text: string