stream-chat-react-native-core
Version:
The official React Native and Expo components for Stream Chat, a service for building chat applications
18 lines • 536 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getReactions = void 0;
var _mapStorableToReaction = require("../mappers/mapStorableToReaction");
var _SqliteClient = require("../SqliteClient");
var getReactions = ({
reactions
}) => {
_SqliteClient.SqliteClient.logger?.('info', 'getReactions', {
reactions
});
return reactions.map(reaction => ({
...(0, _mapStorableToReaction.mapStorableToReaction)(reaction)
}));
};
exports.getReactions = getReactions;
//# sourceMappingURL=getReactions.js.map