@galette/core
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -15,3 +15,3 @@ "use strict"; | ||
const { payloadResolver } = options, rest = __rest(options, ["payloadResolver"]); | ||
return Object.assign({}, rest, { itemIdentifierResolver: (item) => { | ||
return Object.assign({ itemIdentifierResolver: (item) => { | ||
return item['@id']; | ||
@@ -22,3 +22,3 @@ }, items: (action) => { | ||
return payloadResolver(action)['hydra:totalItems']; | ||
} }); | ||
} }, rest); | ||
}; | ||
@@ -25,0 +25,0 @@ function reduceList(state, action, options) { |
import * as store from "./store"; | ||
import * as hydra from "./hydra"; | ||
import * as ram from "./redux-api-middleware"; | ||
import typedActionCreatorFactory from "./typed-action-creator/factory"; | ||
export { store, hydra, typedActionCreatorFactory, }; | ||
export { store, hydra, ram, typedActionCreatorFactory, }; |
@@ -17,4 +17,6 @@ "use strict"; | ||
exports.hydra = hydra; | ||
const ram = __importStar(require("./redux-api-middleware")); | ||
exports.ram = ram; | ||
const factory_1 = __importDefault(require("./typed-action-creator/factory")); | ||
exports.typedActionCreatorFactory = factory_1.default; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@galette/core", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "npm run build-ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
25619
37
410