MCPcopy Create free account
hub / github.com/parse-community/parse-server / validateLiveQueryOptions

Method validateLiveQueryOptions

src/Config.js:809–818  ·  view source on GitHub ↗
(liveQuery)

Source from the content-addressed store, hash-verified

807 }
808
809 static validateLiveQueryOptions(liveQuery) {
810 if (liveQuery == undefined) {
811 return;
812 }
813 if (liveQuery.regexTimeout === undefined) {
814 liveQuery.regexTimeout = LiveQueryOptions.regexTimeout.default;
815 } else if (typeof liveQuery.regexTimeout !== 'number') {
816 throw `liveQuery.regexTimeout must be a number`;
817 }
818 }
819
820 static validateRouteAllowList(routeAllowList) {
821 if (routeAllowList === undefined || routeAllowList === null) {

Callers 1

validateOptionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected