@@ -1,9 +1,12 @@
|
||||
export class CommentDto {
|
||||
author!: string
|
||||
export interface CommentDto {
|
||||
author: string
|
||||
|
||||
text!: string
|
||||
text: string
|
||||
|
||||
mail!: string
|
||||
mail: string
|
||||
|
||||
url?: string
|
||||
|
||||
source?: 'github' | 'google'
|
||||
avatar?: string
|
||||
}
|
||||
|
||||
@@ -21,11 +21,14 @@ export interface CommentModel extends BaseModel {
|
||||
pin?: boolean
|
||||
|
||||
avatar: string
|
||||
|
||||
parent?: CommentModel | string
|
||||
children: CommentModel[]
|
||||
|
||||
isWhispers?: boolean
|
||||
location?: string
|
||||
|
||||
source?: string
|
||||
}
|
||||
export interface CommentRef {
|
||||
id: string
|
||||
|
||||
Reference in New Issue
Block a user