(data, restObject)
| 1025 | // Converts a REST-format object to a Parse.Object |
| 1026 | // data is either className or an object |
| 1027 | export function inflate(data, restObject) { |
| 1028 | var copy = typeof data == 'object' ? data : { className: data }; |
| 1029 | for (var key in restObject) { |
| 1030 | copy[key] = restObject[key]; |
| 1031 | } |
| 1032 | return Parse.Object.fromJSON(copy); |
| 1033 | } |
| 1034 | |
| 1035 | export function runLiveQueryEventHandlers(data, applicationId = Parse.applicationId) { |
| 1036 | if (!_triggerStore || !_triggerStore[applicationId] || !_triggerStore[applicationId].LiveQuery) { |
no outgoing calls
no test coverage detected