0.0.27 • Published 2 years ago
oute-services-workspace-sdk v0.0.27
This module expose helper functions
- Initialization
var params = {
url: @server url
token: @access token
}
var Workspace = require("oute-services-workspace-sdk")
var workspace_instance = new Workspace(params)Cache functions
Core functions
- Invite members
body = {
"workspace_id": "ZzBfJMpfQ",
"notify": false,
"message": "Hi this is imp",
"invitees": [
{
"email_id": "test1@gofo.app",
"role": "VIEWER" //posible values VIEWER, EDITOR, PERMANENT_DELETED
}
]
}
await workspace_instance.inviteMembers(body)- Save workspace
body = {
"_id" : "ZzBfJMpfQ",
"name": "test",
"src": "test",
"is_discoverable": false,
"is_default": false
}
await workspace_instance.save(body)- find one
query = {
"_id" : "ZzBfJMpfQ"
}
await workspace_instance.findOne(query)0.0.20
2 years ago
0.0.21
2 years ago
0.0.22
2 years ago
0.0.23
2 years ago
0.0.24
2 years ago
0.0.25
2 years ago
0.0.15
2 years ago
0.0.16
2 years ago
0.0.17
2 years ago
0.0.18
2 years ago
0.0.19
2 years ago
0.0.26
2 years ago
0.0.27
2 years ago
0.0.13
2 years ago
0.0.14
2 years ago
0.0.11
2 years ago
0.0.12
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago