You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sean McGeer edited this page May 23, 2014
·
5 revisions
#Strat
{
“_id”: “id”, //UNIQUE (just default mongo _id)
“stratName” : “name”, //UNIQUE BASED ON OWNER
“displayName” : “editable display name for a strat”,
“owner” : {“cat”: “user”, //“org” or “user”
“name”:”name”},
“desc”: “description”,
“map”: map _id
“root”: “_id of root frame” //UNIQUE
}
#Frame
{
“_id”: “id”, //UNIQUE (just default mongo _id)
“desc”: “description”,
“event”: {“desc”: “description”,
“icon”: “link to icon”} //icons stored in /public/icons/icon.png
“elem”: {}, //Associative array of elements (shapes)
“parent”: “_id of parent”,
“children”: [“_id”, “_id”, “_id”], //List of children
“editors”: [“user”, “user”, “user”], //List of users currently editing this frame. Listed by name.
“strat”: “id of parent strategy”
}
{
“name”: “organization name”, //UNIQUE
“admins”: [“user”, “user”, “user”], //List of admins in this organization. Listed by name. Admins automatically have edit rights.
“editors”: [“user”, “user”, “user”] //List of users who have edit rights on this organization. Listed by name.
}