Skip to content

Commit

Permalink
Merge pull request #58 from jmeas/add-utils
Browse files Browse the repository at this point in the history
Export utils as named exports
  • Loading branch information
jamesplease committed Feb 25, 2017
2 parents 9cc4777 + 1360f75 commit 4be5899
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import snakeCase from 'lodash.snakecase';
import generateReducer from './generate-reducer';
import generateActionTypes from './generate-action-types';
import {generateDefaultInitialState, xhrStatuses} from './utils';
import {
generateDefaultInitialState, xhrStatuses, updateResourcesMeta,
updateManyResourcesMeta, upsertResource, upsertManyResources
} from './utils';

const supportAllActions = {
create: true,
Expand Down Expand Up @@ -48,5 +51,8 @@ function createResource(resourceName, options = {}) {
};
}

export {xhrStatuses};
export {
xhrStatuses, updateResourcesMeta, updateManyResourcesMeta, upsertResource,
upsertManyResources
};
export default createResource;

0 comments on commit 4be5899

Please sign in to comment.