@types/parse
Advanced tools
Comparing version 2.2.8 to 2.2.9
@@ -1,2 +0,2 @@ | ||
// Type definitions for parse 2.2.1 | ||
// Type definitions for parse 2.2.9 | ||
// Project: https://parseplatform.org/ | ||
@@ -16,2 +16,3 @@ // Definitions by: Ullisen Media Group <http://ullisenmedia.com> | ||
// Thibault MOCELLIN <https://github.com/tybi> | ||
// Raschid JF Rafaelly <https://github.com/RaschidJFR> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -35,2 +36,7 @@ // TypeScript Version: 2.4 | ||
interface CascadeSaveOption { | ||
/** If `false`, nested objects will not be saved (default is `true`). */ | ||
cascadeSave?: boolean; | ||
} | ||
interface SuccessOption { | ||
@@ -351,2 +357,3 @@ success?: Function; | ||
revert(): void; | ||
revert(...keys: string[]): void; | ||
save(attrs?: { [key: string]: any } | null, options?: Object.SaveOptions): Promise<this>; | ||
@@ -374,3 +381,3 @@ save(key: string, value: any, options?: Object.SaveOptions): Promise<this>; | ||
interface SaveOptions extends SuccessFailureOptions, SilentOption, ScopeOptions, WaitOption { } | ||
interface SaveOptions extends CascadeSaveOption, SuccessFailureOptions, SilentOption, ScopeOptions, WaitOption { } | ||
@@ -837,7 +844,27 @@ interface SaveAllOptions extends BatchSizeOption, ScopeOptions { } | ||
function define(name: string, func?: (request: FunctionRequest) => Promise<any> | any): void; | ||
/** | ||
* Gets data for the current set of cloud jobs. | ||
* @returns A promise that will be resolved with the result of the function. | ||
*/ | ||
function getJobsData(): Promise<Object>; | ||
/** | ||
* Gets job status by Id | ||
* @param jobStatusId The Id of Job Status. | ||
* @returns Status of Job. | ||
*/ | ||
function getJobStatus(jobStatusId: string): Promise<Object>; | ||
function httpRequest(options: HTTPOptions): Promise<HttpResponse>; | ||
function job(name: string, func?: (request: JobRequest) => Promise<void> | void): HttpResponse; | ||
function run(name: string, data?: any, options?: RunOptions): Promise<any>; | ||
/** | ||
* Starts a given cloud job, which will process asynchronously. | ||
* @param jobName The function name. | ||
* @param data The parameters to send to the cloud function. | ||
* @returns A promise that will be resolved with the jobStatusId of the job. | ||
*/ | ||
function startJob(jobName: string, data: any): Promise<string>; | ||
function useMasterKey(): void; | ||
interface RunOptions extends SuccessFailureOptions, ScopeOptions { } | ||
@@ -844,0 +871,0 @@ |
{ | ||
"name": "@types/parse", | ||
"version": "2.2.8", | ||
"version": "2.2.9", | ||
"description": "TypeScript definitions for parse", | ||
@@ -70,2 +70,7 @@ "license": "MIT", | ||
"githubUsername": "tybi" | ||
}, | ||
{ | ||
"name": "Raschid JF Rafaelly", | ||
"url": "https://github.com/RaschidJFR", | ||
"githubUsername": "RaschidJFR" | ||
} | ||
@@ -84,4 +89,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "0fa956511940d227d7c12c631f573dbf8105d75e57db3f8914e207d6a083ea8c", | ||
"typesPublisherContentHash": "b1f2923331c21f0896ff1732677bd6e65f6c8245957bfda9765b6948beedf7f6", | ||
"typeScriptVersion": "2.4" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 03 Sep 2019 22:31:38 GMT | ||
* Last updated: Mon, 09 Sep 2019 12:51:50 GMT | ||
* Dependencies: @types/node | ||
@@ -17,2 +17,2 @@ * Global values: Parse | ||
# Credits | ||
These definitions were written by Ullisen Media Group <http://ullisenmedia.com>, David Poetzsch-Heffter <https://github.com/dpoetzsch>, Cedric Kemp <https://github.com/jaeggerr>, Flavio Negrão <https://github.com/flavionegrao>, Wes Grimes <https://github.com/wesleygrimes>, Otherwise SAS <https://github.com/owsas>, Andrew Goldis <https://github.com/agoldis>, Alexandre Hétu Rivard <https://github.com/AlexandreHetu>, Diamond Lewis <https://github.com/dplewis>, Jong Eun Lee <https://github.com/yomybaby>, Julien Quere <https://github.com/jlnquere>, Yago Tomé <https://github.com/yagotome>, and Thibault MOCELLIN <https://github.com/tybi>. | ||
These definitions were written by Ullisen Media Group <http://ullisenmedia.com>, David Poetzsch-Heffter <https://github.com/dpoetzsch>, Cedric Kemp <https://github.com/jaeggerr>, Flavio Negrão <https://github.com/flavionegrao>, Wes Grimes <https://github.com/wesleygrimes>, Otherwise SAS <https://github.com/owsas>, Andrew Goldis <https://github.com/agoldis>, Alexandre Hétu Rivard <https://github.com/AlexandreHetu>, Diamond Lewis <https://github.com/dplewis>, Jong Eun Lee <https://github.com/yomybaby>, Julien Quere <https://github.com/jlnquere>, Yago Tomé <https://github.com/yagotome>, Thibault MOCELLIN <https://github.com/tybi>, and Raschid JF Rafaelly <https://github.com/RaschidJFR>. |
45347
967