(className, config, types)
| 17 | const { createSanitizedError } = require('./Error'); |
| 18 | |
| 19 | function checkTriggers(className, config, types) { |
| 20 | return types.some(triggerType => { |
| 21 | return triggers.getTrigger(className, triggers.Types[triggerType], config.applicationId); |
| 22 | }); |
| 23 | } |
| 24 | |
| 25 | function checkLiveQuery(className, config) { |
| 26 | return config.liveQueryController && config.liveQueryController.hasLiveQuery(className); |
no test coverage detected