Files
maher 703f50a09d
Some checks failed
Build / run (push) Has been cancelled
first commit
2025-10-29 11:42:25 +01:00

18 lines
469 B
TypeScript
Executable File

import {User} from '@common/auth/user';
import {NormalizedModel} from '@common/datatable/filters/normalized-model';
import {VotableModel} from '@common/votes/votable-model';
export interface Comment extends VotableModel {
content: string;
user_id: number;
user?: User;
depth: number;
deleted: boolean;
commentable_id: number;
commentable_type: string;
commentable?: NormalizedModel;
children: Comment[];
position?: number;
created_at?: string;
}