UNPKG

stream-chat-react-native-core

Version:

The official React Native and Expo components for Stream Chat, a service for building chat applications

23 lines 527 B
Object.defineProperty(exports, "__esModule", { value: true }); exports.mapStorableToTask = void 0; var mapStorableToTask = row => { var channelId = row.channelId, channelType = row.channelType, threadId = row.threadId, id = row.id, messageId = row.messageId, type = row.type; return { channelId, channelType, id, messageId, payload: JSON.parse(row.payload), threadId, type }; }; exports.mapStorableToTask = mapStorableToTask; //# sourceMappingURL=mapStorableToTask.js.map