lore-hook-actions

Creates a set of actions for each model using blueprints

Default Config

The default configuration is shown below.

import create from './blueprints/create';
import destroy from './blueprints/destroy';
import get from './blueprints/get';
import find from './blueprints/find';
import refetch from './blueprints/refetch';
import update from './blueprints/update';

export default {
  normalize: true,
  addCidToBody: false,
  cidBodyAttributeName: 'cid',
  blueprints: {
    create,
    destroy,
    get,
    find,
    refetch,
    update
  }
}