import DataStore from 'client/utils/data-store';

export default {
    name: 'datastore',

    initialize: function (container, application) {
      application.register('store:main', DataStore);
      application.inject('route', 'store', 'store:main');
    }
};

import DataStore from 'client/utils/data-store';

export default {
    name: 'data-store',

    initialize: function (container, application) {
      var store;

      application.register('store:main', DataStore);
      application.inject('route', 'store', 'store:main');

      // add basic model types to the store so they can accept models
      store = container.lookup('store:main');
      store.addType('groups');
      store.addType('items');
      window.s = store;
    }
};

Add model types to DataStore after instantiation
Add model types to DataStore after instantiation
