0.0.27 • Published 1 year ago

oute-services-workspace-sdk v0.0.27

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

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

1 year ago

0.0.21

1 year ago

0.0.22

1 year ago

0.0.23

1 year ago

0.0.24

1 year ago

0.0.25

1 year ago

0.0.15

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.26

1 year ago

0.0.27

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago