wejsv2old-plugin-attribute

0.2.1 • Public • Published

We.js Attribute plugin

Dependency Status

Add suport to update one model value and add the Model.publishAttributeUpdate() pubsub action

API:

Publish one attribute update for subscribers:

sails.models[modelName].publishAttributeUpdate(record, data, req);

Avaible URLS:

Upload one model attribute and emit one socket.io message with the verb attributeUpdated

post /api/v1/:modelName/:id/:attribute

How to install:

In we.js project:

npm install we-plugin-attribute --save

NPM Info:

NPM

Copyright and license

Copyright 2013-2014 Alberto Souza alberto.souza.dev@gmail.com and contributors , under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i wejsv2old-plugin-attribute

Weekly Downloads

1

Version

0.2.1

License

MIT

Last publish

Collaborators

  • davidveloso
  • marcusvbp
  • santoswarlord
  • saviogl