Files
maher 511fad8199
Build / run (push) Has been cancelled
Initial commit
2026-05-14 13:42:10 +02: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;
}