export type Writer = {
	id: number;
	sid: string;
	name?: string|null;
	thumbnail?: string|null;
	icon?: string|null;
	gradeImage?: string|null;
	createdAt: string;
};

export type Mention = {
	id: number;
	rawHandle: string;
};

export type CommentItem = {
	id: number;
	postID: number;
	memberID: number;
	parentID?: number;
	writer: Writer;
    mention?: Mention;
	content: string;
	isReply: boolean;
	isSecret: boolean;
	likes: number;
	dislikes: number;
	reports: number;
	replies: number;
	hasLike: boolean;
	hasDislike: boolean;
	hasReport: boolean;
	createdAt: string;
	children: CommentItem[]
}