/*
 * @fileOverview
 * @author: Mike Grabowski (@grabbou)
 */

'use strict';

var Promise = require('bluebird');
var Blueprint = require('../../lib/models/blueprint');

module.exports = {
  description: 'Generates new store',
  beforeInstall: function(options) {
    return Promise.all([
      Blueprint.load('state').install(options),
      Blueprint.load('cursor').install(options)
    ]);
  }
};
/*
 * @fileOverview
 * @author: Mike Grabowski (@grabbou)
 */

'use strict';

var Promise = require('bluebird');
var Blueprint = require('../../lib/models/blueprint');

module.exports = {

  description: 'Generates new store',

  // Create __name__/actions.js and update state/cursor with appropriate elements
  beforeInstall: function(options) {
    return Promise.all([
      Blueprint.load('action').install(options),
      Blueprint.load('state').install(options),
      Blueprint.load('cursor').install(options)
    ]);
  }

};
Update store blueprint as per docs
Update store blueprint as per docs
