Service - Conversation: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
(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...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
= Overview =
= Overview =
'''OBSOLETE''' - conversation object no longer needed, comments can be the initial starting point of a conversation.


A Conversation is a single thread of comments, and perhaps other objects.
A Conversation is a single thread of comments, and perhaps other objects.
Line 29: Line 33:
identifier: true, // create unique id from request params and uniqueMessageId
identifier: true, // create unique id from request params and uniqueMessageId
},
},
title: {},
},
},
}
}
Line 48: Line 53:
}
}
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight lang="JavaScript">
{
relationshipType: "{ConversationLib.HAS_SUBJECT_GRAPH_REL_TYPE}", // "has_Subject"
schema: {
immutable: true,
restrictProperties: true,
properties: {
originTimestamp: //timestamp the request to create/change this relationship was sent
},
}
}
</syntaxhighlight>
* Links to any other object/s as the subject of the conversation
= Tagging or categorizing Conversations =
* Want a way to put comments into a category tree
* Perhaps have another service and object type that is conversation category tree, and link to nodes in there
* Or use NodeProperties to group Conversations into categories


= Working documents =
= Working documents =

Latest revision as of 01:29, 25 March 2025

Overview

OBSOLETE - conversation object no longer needed, comments can be the initial starting point of a conversation.


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
			},
			title: {},
		},
	}
}

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
		},
	}
}
{
	relationshipType: "{ConversationLib.HAS_SUBJECT_GRAPH_REL_TYPE}", // "has_Subject"
	schema: {
		immutable: true,
		restrictProperties: true,
		properties: {
			originTimestamp: //timestamp the request to create/change this relationship was sent
		},
	}
}
  • Links to any other object/s as the subject of the conversation

Tagging or categorizing Conversations

  • Want a way to put comments into a category tree
  • Perhaps have another service and object type that is conversation category tree, and link to nodes in there
  • Or use NodeProperties to group Conversations into categories

Working documents

Conversation