Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / docs-shared / lib / CommentInterface.ts
blob9775b26dc7d5992b74b521f6f7705ce7fc7203de
1 import type { ServerTime } from './ServerTime'
2 import type { CommentPayload } from './CommentPayload'
3 import type { CommentType } from './CommentType'
5 export interface CommentInterface {
6   id: string
7   createTime: ServerTime
8   modifyTime: ServerTime
9   content: string
10   parentCommentID: string | null
11   author: string | undefined
12   comments: CommentInterface[]
13   isPlaceholder: boolean
14   type: CommentType
16   asPayload(): CommentPayload