Skip to content

basalt / comments/src / ResourceComments

Interface: ResourceComments ​

Defined in: comments/src/comments.ts:126

Everything scoped to one resource (resourceType:resourceId) of a tenant.

Methods ​

add() ​

> add(input): Promise<Comment>

Defined in: comments/src/comments.ts:127

Parameters ​

input ​

AddCommentInput

Returns ​

Promise<Comment>


list() ​

> list(): Promise<Comment[]>

Defined in: comments/src/comments.ts:128

Returns ​

Promise<Comment[]>


tree() ​

> tree(): Promise<CommentNode[]>

Defined in: comments/src/comments.ts:129

Returns ​

Promise<CommentNode[]>

Released under the MIT License.