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/types/Parse.d.ts CHANGED
@@ -219,7 +219,7 @@ declare const Parse: {
219
219
  Hooks: any;
220
220
  Parse: any;
221
221
  /**
222
- * @member {EventuallyQueue} Parse.EventuallyQueue
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
- * @member {string} Parse.applicationId
261
+ * @property {string} Parse.applicationId
262
262
  * @static
263
263
  */
264
264
  applicationId: any;
265
265
  /**
266
- * @member {string} Parse.javaScriptKey
266
+ * @property {string} Parse.javaScriptKey
267
267
  * @static
268
268
  */
269
269
  javaScriptKey: any;
270
270
  /**
271
- * @member {string} Parse.masterKey
271
+ * @property {string} Parse.masterKey
272
272
  * @static
273
273
  */
274
274
  masterKey: any;
275
275
  /**
276
- * @member {string} Parse.maintenanceKey
276
+ * @property {string} Parse.maintenanceKey
277
277
  * @static
278
278
  */
279
279
  maintenanceKey: any;
280
280
  /**
281
- * @member {string} Parse.serverURL
281
+ * @property {string} Parse.serverURL
282
282
  * @static
283
283
  */
284
284
  serverURL: any;
285
285
  /**
286
- * @member {string} Parse.serverAuthToken
286
+ * @property {string} Parse.serverAuthToken
287
287
  * @static
288
288
  */
289
289
  serverAuthToken: any;
290
290
  /**
291
- * @member {string} Parse.serverAuthType
291
+ * @property {string} Parse.serverAuthType
292
292
  * @static
293
293
  */
294
294
  serverAuthType: any;
295
295
  /**
296
- * @member {ParseLiveQuery} Parse.LiveQuery
296
+ * @property {ParseLiveQuery} Parse.LiveQuery
297
297
  * @static
298
298
  */
299
299
  LiveQuery: ParseLiveQuery;
300
300
  /**
301
- * @member {string} Parse.liveQueryServerURL
301
+ * @property {string} Parse.liveQueryServerURL
302
302
  * @static
303
303
  */
304
304
  liveQueryServerURL: any;
305
305
  /**
306
- * @member {boolean} Parse.encryptedUser
306
+ * @property {boolean} Parse.encryptedUser
307
307
  * @static
308
308
  */
309
309
  encryptedUser: boolean;
310
310
  /**
311
- * @member {string} Parse.secret
311
+ * @property {string} Parse.secret
312
312
  * @static
313
313
  */
314
314
  secret: any;
315
315
  /**
316
- * @member {boolean} Parse.idempotency
316
+ * @property {boolean} Parse.idempotency
317
317
  * @static
318
318
  */
319
319
  idempotency: any;
320
320
  /**
321
- * @member {boolean} Parse.allowCustomObjectId
321
+ * @property {boolean} Parse.allowCustomObjectId
322
322
  * @static
323
323
  */
324
324
  allowCustomObjectId: any;
@@ -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, options?: {
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, options?: {
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
  *