-
-
Notifications
You must be signed in to change notification settings - Fork 603
Expand file tree
/
Copy pathOfflineQuery.d.ts
More file actions
20 lines (20 loc) · 696 Bytes
/
OfflineQuery.d.ts
File metadata and controls
20 lines (20 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
* matchesQuery -- Determines if an object would be returned by a Parse Query
* It's a lightweight, where-clause only implementation of a full query engine.
* Since we find queries that match objects, rather than objects that match
* queries, we can avoid building a full-blown query tool.
*
* @param className
* @param object
* @param objects
* @param query
* @private
* @returns {boolean}
*/
declare function matchesQuery(className: any, object: any, objects: any, query: any): boolean;
declare function validateQuery(query: any): void;
declare const OfflineQuery: {
matchesQuery: typeof matchesQuery;
validateQuery: typeof validateQuery;
};
export default OfflineQuery;