Skip to content

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 ​

Properties ​

authorId ​

> authorId: string

Defined in: comments/src/store.ts:9


body ​

> body: string

Defined in: comments/src/store.ts:10


createdAt ​

> createdAt: number

Defined in: comments/src/store.ts:16


editedAt? ​

> optional editedAt?: number

Defined in: comments/src/store.ts:15


id ​

> id: string

Defined in: comments/src/store.ts:3


mentions ​

> mentions: string[]

Defined in: comments/src/store.ts:12

User ids extracted from @mentions in the body.


parentId? ​

> optional parentId?: string

Defined in: comments/src/store.ts:8

Set when this comment is a reply to another.


resolvedAt? ​

> optional resolvedAt?: number

Defined in: comments/src/store.ts:13


resolvedBy? ​

> optional resolvedBy?: string

Defined in: comments/src/store.ts:14


resourceId ​

> resourceId: string

Defined in: comments/src/store.ts:6


resourceType ​

> resourceType: string

Defined in: comments/src/store.ts:5


tenantId ​

> tenantId: string

Defined in: comments/src/store.ts:4

Released under the MIT License.