lore-hook-actions

Creates a set of actions for each model using blueprints

Installation

First install the hook:

npm install lore-hook-actions --save

Then add the hook to your index.js file.

// index.js
import actions from 'lore-hook-actions';
import collections from 'lore-hook-collections';
import models from 'lore-hook-models';

lore.summon({
  hooks: {
    actions,
    collections,
    models
  }
});