English
Appearance
basalt / comments/src / CommentNode
Defined in: comments/src/comments.ts:77
A comment plus its nested replies.
Comment
> authorId: string
string
Defined in: comments/src/store.ts:9
Comment.authorId
authorId
> body: string
Defined in: comments/src/store.ts:10
Comment.body
body
> createdAt: number
number
Defined in: comments/src/store.ts:16
Comment.createdAt
createdAt
> optional editedAt?: number
optional
Defined in: comments/src/store.ts:15
Comment.editedAt
editedAt
> id: string
Defined in: comments/src/store.ts:3
Comment.id
id
> mentions: string[]
Defined in: comments/src/store.ts:12
User ids extracted from @mentions in the body.
@mentions
Comment.mentions
mentions
> optional parentId?: string
Defined in: comments/src/store.ts:8
Set when this comment is a reply to another.
Comment.parentId
parentId
> replies: CommentNode[]
CommentNode
Defined in: comments/src/comments.ts:78
> optional resolvedAt?: number
Defined in: comments/src/store.ts:13
Comment.resolvedAt
resolvedAt
> optional resolvedBy?: string
Defined in: comments/src/store.ts:14
Comment.resolvedBy
resolvedBy
> resourceId: string
Defined in: comments/src/store.ts:6
Comment.resourceId
resourceId
> resourceType: string
Defined in: comments/src/store.ts:5
Comment.resourceType
resourceType
> tenantId: string
Defined in: comments/src/store.ts:4
Comment.tenantId
tenantId
basalt / comments/src / CommentNode
Interface: CommentNode
Defined in: comments/src/comments.ts:77
A comment plus its nested replies.
Extends
CommentProperties
authorId
> authorId:
stringDefined in: comments/src/store.ts:9
Inherited from
Comment.authorIdbody
> body:
stringDefined in: comments/src/store.ts:10
Inherited from
Comment.bodycreatedAt
> createdAt:
numberDefined in: comments/src/store.ts:16
Inherited from
Comment.createdAteditedAt?
>
optionaleditedAt?:numberDefined in: comments/src/store.ts:15
Inherited from
Comment.editedAtid
> id:
stringDefined in: comments/src/store.ts:3
Inherited from
Comment.idmentions
> mentions:
string[]Defined in: comments/src/store.ts:12
User ids extracted from
@mentionsin the body.Inherited from
Comment.mentionsparentId?
>
optionalparentId?:stringDefined in: comments/src/store.ts:8
Set when this comment is a reply to another.
Inherited from
Comment.parentIdreplies
> replies:
CommentNode[]Defined in: comments/src/comments.ts:78
resolvedAt?
>
optionalresolvedAt?:numberDefined in: comments/src/store.ts:13
Inherited from
Comment.resolvedAtresolvedBy?
>
optionalresolvedBy?:stringDefined in: comments/src/store.ts:14
Inherited from
Comment.resolvedByresourceId
> resourceId:
stringDefined in: comments/src/store.ts:6
Inherited from
Comment.resourceIdresourceType
> resourceType:
stringDefined in: comments/src/store.ts:5
Inherited from
Comment.resourceTypetenantId
> tenantId:
stringDefined in: comments/src/store.ts:4
Inherited from
Comment.tenantId