Skip to content
Snippets Groups Projects
Commit 268ace9f authored by Adam Procter's avatar Adam Procter
Browse files

updated OtherNodes

small update to take account of emojis / connections being present now
parent 21a5ecb7
No related branches found
No related tags found
No related merge requests found
...@@ -7,9 +7,9 @@ This is version 1 of the API documents to be created. For now this document outl ...@@ -7,9 +7,9 @@ This is version 1 of the API documents to be created. For now this document outl
``` ```
"nodes": [ "nodes": [
{ {
"nodeid": "wanxtrk54ulhl0k8bd5mqd", "node_id": "wanxtrk54ulhl0k8bd5mqd",
"nodetext": "#\nhello", "node_text": "#\nhello",
"nodeowner": "iPhoneX", "node_owner": "iPhoneX",
"content_type": "sheet", "content_type": "sheet",
"deleted": true, "deleted": true,
"attachment_name": "" "attachment_name": ""
...@@ -23,9 +23,9 @@ This is version 1 of the API documents to be created. For now this document outl ...@@ -23,9 +23,9 @@ This is version 1 of the API documents to be created. For now this document outl
"connections": [ "connections": [
{ {
"connectid": "xboi6bducmngjv0yrgdhpf", "connect_id": "xboi6bducmngjv0yrgdhpf",
"startid": "7nltu5jdotbeb6t9hgm9dd", "start_id": "7nltu5jdotbeb6t9hgm9dd",
"endid": "z67hbvdxr8nrsixn5nt6b9", "end_id": "z67hbvdxr8nrsixn5nt6b9",
"connected": "true" "connected": "true"
} }
...@@ -39,9 +39,12 @@ This is version 1 of the API documents to be created. For now this document outl ...@@ -39,9 +39,12 @@ This is version 1 of the API documents to be created. For now this document outl
"positions": [ "positions": [
{ {
"nodeid": "xwio4e5etcevxag3lzyj4", "node_id": "xwio4e5etcevxag3lzyj4",
"xpos": 831, "x_pos": 831,
"ypos": 293 "y_pos": 293,
"width": 386,
"height": 417,
"z_index":1
} }
] ]
...@@ -53,9 +56,9 @@ This is version 1 of the API documents to be created. For now this document outl ...@@ -53,9 +56,9 @@ This is version 1 of the API documents to be created. For now this document outl
"emojis": [ "emojis": [
{ {
"emojiid": "nxs9836kgelncf4bg61w7", "emoji_id": "nxs9836kgelncf4bg61w7",
"nodeid": "cejt3ul3b7awnh5gin8b2c", "node_id": "cejt3ul3b7awnh5gin8b2c",
"emojitext": "👍" "emoji_text": "👍"
} }
] ]
......
...@@ -115,7 +115,9 @@ const store = new Vuex.Store({ ...@@ -115,7 +115,9 @@ const store = new Vuex.Store({
for (i = 0; i < Object.keys(state.allNodes).length; i++) { for (i = 0; i < Object.keys(state.allNodes).length; i++) {
if ( if (
state.allNodes[i].id != state.myclient && state.allNodes[i].id != state.myclient &&
state.allNodes[i].id != state.global_pos_name state.allNodes[i].id != state.global_pos_name &&
state.allNodes[i].id != state.global_emoji_name &&
state.allNodes[i].id != state.global_con_name
) { ) {
for ( for (
j = 0; j = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment