English
Appearance
basalt / comments/src / Comment
Defined in: comments/src/store.ts:2
A comment attached to a resource (resourceType:resourceId) within a tenant.
resourceType
resourceId
CommentNode
> authorId: string
string
Defined in: comments/src/store.ts:9
> body: string
Defined in: comments/src/store.ts:10
> createdAt: number
number
Defined in: comments/src/store.ts:16
> optional editedAt?: number
optional
Defined in: comments/src/store.ts:15
> id: string
Defined in: comments/src/store.ts:3
> mentions: string[]
Defined in: comments/src/store.ts:12
User ids extracted from @mentions in the body.
@mentions
> optional parentId?: string
Defined in: comments/src/store.ts:8
Set when this comment is a reply to another.
> optional resolvedAt?: number
Defined in: comments/src/store.ts:13
> optional resolvedBy?: string
Defined in: comments/src/store.ts:14
> resourceId: string
Defined in: comments/src/store.ts:6
> resourceType: string
Defined in: comments/src/store.ts:5
> tenantId: string
Defined in: comments/src/store.ts:4
basalt / comments/src / Comment
Interface: Comment
Defined in: comments/src/store.ts:2
A comment attached to a resource (
resourceType:resourceId) within a tenant.Extended by
CommentNodeProperties
authorId
> authorId:
stringDefined in: comments/src/store.ts:9
body
> body:
stringDefined in: comments/src/store.ts:10
createdAt
> createdAt:
numberDefined in: comments/src/store.ts:16
editedAt?
>
optionaleditedAt?:numberDefined in: comments/src/store.ts:15
id
> id:
stringDefined in: comments/src/store.ts:3
mentions
> mentions:
string[]Defined in: comments/src/store.ts:12
User ids extracted from
@mentionsin the body.parentId?
>
optionalparentId?:stringDefined in: comments/src/store.ts:8
Set when this comment is a reply to another.
resolvedAt?
>
optionalresolvedAt?:numberDefined in: comments/src/store.ts:13
resolvedBy?
>
optionalresolvedBy?:stringDefined in: comments/src/store.ts:14
resourceId
> resourceId:
stringDefined in: comments/src/store.ts:6
resourceType
> resourceType:
stringDefined in: comments/src/store.ts:5
tenantId
> tenantId:
stringDefined in: comments/src/store.ts:4