17
common/resources/client/comments/comment.ts
Executable file
17
common/resources/client/comments/comment.ts
Executable file
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user