Service - Comment
Overview
A single comment made by a user. A comment can be part of a conversation thread (or perhaps many), or perhaps standalone or connected to any object in the project.
Repository
- not yet made:
https://bitbucket.org/izara-conversations/izara-conversations-comment
DynamoDB tables
LogicalResults
Standard LogicalResults Per Service
Graph database
Nodes
{
nodeLabel: "{CommentLib.COMMENT_GRAPH_NODE_LABEL}", // "comment"
schema: {
identifier: true,
restrictProperties: true,
restrictRelationships: true,
properties: {
commentId: {
identifier: true, // create unique id from request params and uniqueMessageId
},
},
}
}
Relationships
{
relationshipType: "{CommentLib.IN_REPLY_TO_GRAPH_REL_TYPE}", // "inReplyTo_Comment"
schema: {
immutable: true,
restrictProperties: true,
properties: {
originTimestamp: //timestamp the request to create/change this relationship was sent
},
}
}