Service - Comment
Revision as of 14:08, 22 September 2023 by Sven the Barbarian (talk | contribs) (Created page with "= 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 == <syntaxhighlight lang="JavaScript"> { nodeLabel: "{CommentLib.COMMENT_GRAP...")
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
},
}
}