hoodie-plugin-chat

0.1.20 • Public • Published

hoodie-plugin-chat

Build Status Dependencies devDependency Status Code Climate

Dependencies

  hoodie install hoodie-plugin-chat

for cordova/phonegap users

  bower install hoodie-plugin-chat

Setup client

 <script src="/_api/_files/hoodie.js"></script>

for cordova/phonegap users

  <script src="<bowerdir>/hoodie/dist/hoodie.js"></script>
  <script src="<bowerdir>/hoodie-plugin-chat/hoodie.chat.js"></script>

API (Dream Code)

  • [x] hoodie.chat.follow(login)
  • [x] hoodie.chat.unfollow(login)
  • [x] hoodie.chat.post({text: 'text'}, /opitional/ {type: [mediaplugin.enum]})
  • [x] hoodie.chat.getPost({id: 'postId')
  • [x] hoodie.chat.updatePost({id: 'postId',text: 'text'}, /opitional/ {type: [mediaplugin.enum]})
  • [x] hoodie.chat.deletePost({id: 'postId'}, /opitional/ {type: [mediaplugin.enum]})
  • [x] hoodie.chat.comment(postId, {text:'text'})
  • [x] hoodie.chat.updateComment({ id: 'postId'}, {id: 'commentId'})
  • [x] hoodie.chat.deleteComment({ id: 'postId'}, {id: 'commentId'})
  • [x] hoodie.chat.count(postId, [type.enum])
  • [x] hoodie.chat.uncount(postId, [type.enum])
  • [x] hoodie.chat.like(postId)
  • [x] hoodie.chat.unlike(postId)
  • [x] hoodie.chat.feed(postId)
  • [x] hoodie.chat.share(postId)
  • [x] hoodie.chat.abuse(postId)
  • [x] hoodie.chat.following(/opitional/ login)
  • [x] hoodie.chat.followers(/opitional/ login)
  • [x] hoodie.chat.getProfile(/opitional/ login)
  • [x] hoodie.chat.updateProfile(/opitional/ login, profileObject)

Package Sidebar

Install

npm i hoodie-plugin-chat

Weekly Downloads

4

Version

0.1.20

License

none

Last publish

Collaborators

  • gabrielmancini