Service - Conversation

From Izara Wiki
Revision as of 14:05, 22 September 2023 by Sven the Barbarian (talk | contribs) (Created page with "= Overview = A Conversation is a single thread of comments, and perhaps other objects. = Repository = * not yet made: https://bitbucket.org/izara-conversations/izara-conversations-conversation = DynamoDB tables = == LogicalResults == Standard LogicalResults Per Service = Graph database = == Nodes == <syntaxhighlight lang="JavaScript"> { nodeLabel: "{ConversationLib.CONVERSATION_GRAPH_NODE_LABEL}", // "conversation" schema: { identifier: true, restrict...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

A Conversation is a single thread of comments, and perhaps other objects.

Repository

  • not yet made:

https://bitbucket.org/izara-conversations/izara-conversations-conversation

DynamoDB tables

LogicalResults

Standard LogicalResults Per Service

Graph database

Nodes

{
	nodeLabel: "{ConversationLib.CONVERSATION_GRAPH_NODE_LABEL}", // "conversation"
	schema: {
		identifier: true,
		restrictProperties: true,
		restrictRelationships: true,
		properties: {
			conversationId: {
				identifier: true, // create unique id from request params and uniqueMessageId
			},
		},
	}
}

Relationships

{
	relationshipType: "{ConversationLib.INITIAL_COMMENT_GRAPH_REL_TYPE}", // "has_InitialComment"
	schema: {
		immutable: true,
		restrictProperties: true,
		properties: {
			originTimestamp: //timestamp the request to create/change this relationship was sent
		},
	}
}

Working documents

Conversation