This version added more power to we.js generator and some bugfix.
New JSON model definition
Now is possible to define models in .json with suport of new modelHooks feature.
EmaIL FEATURE MOVED TO WE-PLUGIN-EMAIL
Email feature not is need in many APIs then we moved it to other plugin for make it optional.
New Swagger documentation generator:
Improved resource and model generation:
Now is possible to set model attributes and model joins with command options, example:
yo wejs:model post title:string:allowNull=false body:text published:boolean creator:belongsTo:userThis will generate one post model with title, body and published attributes and creator association
Set one variable in current We.js project.
we vset variable.path value
Get one variable from current We.js project.
we vget variable.path