parse 6.1.0-alpha.4 → 6.1.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/parse.js +24 -36
- package/dist/parse.min.js +2 -2
- package/dist/parse.weapp.js +24 -36
- package/dist/parse.weapp.min.js +2 -2
- package/lib/browser/CoreManager.js +1 -1
- package/lib/browser/Parse.js +14 -14
- package/lib/browser/ParseQuery.js +8 -20
- package/lib/node/CoreManager.js +1 -1
- package/lib/node/Parse.js +14 -14
- package/lib/node/ParseQuery.js +8 -20
- package/lib/react-native/CoreManager.js +1 -1
- package/lib/react-native/ParseQuery.js +8 -16
- package/lib/weapp/CoreManager.js +1 -1
- package/lib/weapp/Parse.js +14 -14
- package/lib/weapp/ParseQuery.js +8 -20
- package/package.json +1 -1
- package/types/Parse.d.ts +14 -14
- package/types/ParseQuery.d.ts +2 -10
package/types/Parse.d.ts
CHANGED
|
@@ -219,7 +219,7 @@ declare const Parse: {
|
|
|
219
219
|
Hooks: any;
|
|
220
220
|
Parse: any;
|
|
221
221
|
/**
|
|
222
|
-
* @
|
|
222
|
+
* @property {EventuallyQueue} Parse.EventuallyQueue
|
|
223
223
|
* @static
|
|
224
224
|
*/
|
|
225
225
|
EventuallyQueue: EventuallyQueue;
|
|
@@ -258,67 +258,67 @@ declare const Parse: {
|
|
|
258
258
|
*/
|
|
259
259
|
getServerHealth(): Promise<any>;
|
|
260
260
|
/**
|
|
261
|
-
* @
|
|
261
|
+
* @property {string} Parse.applicationId
|
|
262
262
|
* @static
|
|
263
263
|
*/
|
|
264
264
|
applicationId: any;
|
|
265
265
|
/**
|
|
266
|
-
* @
|
|
266
|
+
* @property {string} Parse.javaScriptKey
|
|
267
267
|
* @static
|
|
268
268
|
*/
|
|
269
269
|
javaScriptKey: any;
|
|
270
270
|
/**
|
|
271
|
-
* @
|
|
271
|
+
* @property {string} Parse.masterKey
|
|
272
272
|
* @static
|
|
273
273
|
*/
|
|
274
274
|
masterKey: any;
|
|
275
275
|
/**
|
|
276
|
-
* @
|
|
276
|
+
* @property {string} Parse.maintenanceKey
|
|
277
277
|
* @static
|
|
278
278
|
*/
|
|
279
279
|
maintenanceKey: any;
|
|
280
280
|
/**
|
|
281
|
-
* @
|
|
281
|
+
* @property {string} Parse.serverURL
|
|
282
282
|
* @static
|
|
283
283
|
*/
|
|
284
284
|
serverURL: any;
|
|
285
285
|
/**
|
|
286
|
-
* @
|
|
286
|
+
* @property {string} Parse.serverAuthToken
|
|
287
287
|
* @static
|
|
288
288
|
*/
|
|
289
289
|
serverAuthToken: any;
|
|
290
290
|
/**
|
|
291
|
-
* @
|
|
291
|
+
* @property {string} Parse.serverAuthType
|
|
292
292
|
* @static
|
|
293
293
|
*/
|
|
294
294
|
serverAuthType: any;
|
|
295
295
|
/**
|
|
296
|
-
* @
|
|
296
|
+
* @property {ParseLiveQuery} Parse.LiveQuery
|
|
297
297
|
* @static
|
|
298
298
|
*/
|
|
299
299
|
LiveQuery: ParseLiveQuery;
|
|
300
300
|
/**
|
|
301
|
-
* @
|
|
301
|
+
* @property {string} Parse.liveQueryServerURL
|
|
302
302
|
* @static
|
|
303
303
|
*/
|
|
304
304
|
liveQueryServerURL: any;
|
|
305
305
|
/**
|
|
306
|
-
* @
|
|
306
|
+
* @property {boolean} Parse.encryptedUser
|
|
307
307
|
* @static
|
|
308
308
|
*/
|
|
309
309
|
encryptedUser: boolean;
|
|
310
310
|
/**
|
|
311
|
-
* @
|
|
311
|
+
* @property {string} Parse.secret
|
|
312
312
|
* @static
|
|
313
313
|
*/
|
|
314
314
|
secret: any;
|
|
315
315
|
/**
|
|
316
|
-
* @
|
|
316
|
+
* @property {boolean} Parse.idempotency
|
|
317
317
|
* @static
|
|
318
318
|
*/
|
|
319
319
|
idempotency: any;
|
|
320
320
|
/**
|
|
321
|
-
* @
|
|
321
|
+
* @property {boolean} Parse.allowCustomObjectId
|
|
322
322
|
* @static
|
|
323
323
|
*/
|
|
324
324
|
allowCustomObjectId: any;
|
package/types/ParseQuery.d.ts
CHANGED
|
@@ -265,24 +265,16 @@ declare class ParseQuery<T extends ParseObject = ParseObject> {
|
|
|
265
265
|
* Executes a distinct query and returns unique values
|
|
266
266
|
*
|
|
267
267
|
* @param {string} key A field to find distinct values
|
|
268
|
-
* @param {object} options
|
|
269
|
-
* @param {string} [options.sessionToken] A valid session token, used for making a request on behalf of a specific user.
|
|
270
268
|
* @returns {Promise} A promise that is resolved with the query completes.
|
|
271
269
|
*/
|
|
272
|
-
distinct<K extends keyof T['attributes'], V = T['attributes'][K]>(key: K
|
|
273
|
-
sessionToken?: string;
|
|
274
|
-
}): Promise<V[]>;
|
|
270
|
+
distinct<K extends keyof T['attributes'], V = T['attributes'][K]>(key: K): Promise<V[]>;
|
|
275
271
|
/**
|
|
276
272
|
* Executes an aggregate query and returns aggregate results
|
|
277
273
|
*
|
|
278
274
|
* @param {(Array|object)} pipeline Array or Object of stages to process query
|
|
279
|
-
* @param {object} options
|
|
280
|
-
* @param {string} [options.sessionToken] A valid session token, used for making a request on behalf of a specific user.
|
|
281
275
|
* @returns {Promise} A promise that is resolved with the query completes.
|
|
282
276
|
*/
|
|
283
|
-
aggregate(pipeline: any
|
|
284
|
-
sessionToken?: string;
|
|
285
|
-
}): Promise<any[]>;
|
|
277
|
+
aggregate(pipeline: any): Promise<any[]>;
|
|
286
278
|
/**
|
|
287
279
|
* Retrieves at most one Parse.Object that satisfies this query.
|
|
288
280
|
*
|