Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tng/soa-node-event

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tng/soa-node-event

SOA-Event for Node ================

  • 1.0.2
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

SOA-Event for Node

安装

yarn add @tng/soa-node-event

配置

Initialize with the given options.

同:https://github.com/teambition/node-teambition

使用

const SOAEvent = require('@tng/soa-node-event')
let accessToken = 'teambition accessToken'
let soaevent = new SOAEvent(accessToken, {
  endpoints: '/v1'
})

// 创建日程
let event = yield soaevent.events().create({
  title: 'new event',
  startDate: '2018-01-01',
  endDate: '2018-01-02',
  _creatorId: 'creator id'
})


// 获取日程信息
let eventInfo = yield soaevent.events(event._id).info()

接口

  • events()
    • .create(data): 创建日程
    • .info(): 获取日程详情
    • .remove(): 删除日程
    • .update(): 更新日程
    • .members().update(): 更新日程成员
    • .search(): 搜索日程
    • .activities().list(): 获取日程动态列表
    • .activities().create(): 新建日程动态

参数了解

FAQs

Package last updated on 30 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc