UNPKG

@fabric-es/fabric-cqrs

Version:

Hyperledger Fabric middleware for event sourcing and cqrs pattern

12 lines 674 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.postSelector = void 0; const reselect_1 = require("reselect"); exports.postSelector = reselect_1.createStructuredSelector({ description: (item) => item === null || item === void 0 ? void 0 : item.de, eventInvolved: (item) => item === null || item === void 0 ? void 0 : item.event.split(','), id: (item) => item === null || item === void 0 ? void 0 : item.id, tags: (item) => item === null || item === void 0 ? void 0 : item.tag.split(','), value: (item) => parseInt(item === null || item === void 0 ? void 0 : item.val, 10), }); //# sourceMappingURL=postSelector.js.map