@types/parse
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -10,2 +10,3 @@ // Type definitions for parse 2.1.0 | ||
// Andrew Goldis <https://github.com/agoldis> | ||
// Alexandre Hétu Rivard <https://github.com/AlexandreHetu> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -494,3 +495,3 @@ // TypeScript Version: 2.4 | ||
* Represents a LiveQuery Subscription. | ||
* | ||
* | ||
* @see https://docs.parseplatform.org/js/guide/#live-queries | ||
@@ -561,3 +562,3 @@ * @see NodeJS.EventEmitter | ||
* Creates an instance of LiveQuerySubscription. | ||
* | ||
* | ||
* @param {string} id | ||
@@ -698,10 +699,5 @@ * @param {string} query | ||
params: any; | ||
message: (response: any) => void; | ||
} | ||
interface JobStatus { | ||
error?: (response: any) => void; | ||
message?: (response: any) => void; | ||
success?: (response: any) => void; | ||
} | ||
interface FunctionRequest { | ||
@@ -714,8 +710,2 @@ installationId?: String; | ||
interface FunctionResponse { | ||
success: (response: any) => void; | ||
error (code: number, response: any): void; | ||
error (response: any): void; | ||
} | ||
interface Cookie { | ||
@@ -742,7 +732,3 @@ name?: string; | ||
interface BeforeDeleteRequest extends TriggerRequest { } | ||
interface BeforeDeleteResponse extends FunctionResponse { } | ||
interface BeforeSaveRequest extends TriggerRequest { } | ||
interface BeforeSaveResponse extends FunctionResponse { | ||
success: () => void; | ||
} | ||
@@ -769,15 +755,12 @@ // Read preference describes how MongoDB driver route read operations to the members of a replica set. | ||
interface AfterFindResponse extends FunctionResponse { | ||
success: (objects: Object[]) => void; | ||
} | ||
function afterDelete(arg1: any, func?: (request: AfterDeleteRequest) => void): void; | ||
function afterSave(arg1: any, func?: (request: AfterSaveRequest) => void): void; | ||
function beforeDelete(arg1: any, func?: (request: BeforeDeleteRequest, response: BeforeDeleteResponse) => void): void; | ||
function beforeSave(arg1: any, func?: (request: BeforeSaveRequest, response: BeforeSaveResponse) => void): void; | ||
function beforeFind(arg1: any, func?: (request: BeforeFindRequest) => void): void; | ||
function afterFind(arg1: any, func?: (request: AfterFindRequest, response: AfterFindResponse) => void): void; | ||
function define(name: string, func?: (request: FunctionRequest, response: FunctionResponse) => void): void; | ||
function afterDelete(arg1: any, func?: (request: AfterDeleteRequest) => Promise<void> | void): void; | ||
function afterSave(arg1: any, func?: (request: AfterSaveRequest) => Promise<void> | void): void; | ||
function beforeDelete(arg1: any, func?: (request: BeforeDeleteRequest) => Promise<void> | void): void; | ||
function beforeSave(arg1: any, func?: (request: BeforeSaveRequest) => Promise<void> | void): void; | ||
function beforeFind(arg1: any, func?: (request: BeforeFindRequest) => Promise<void> | void): void; | ||
function beforeFind(arg1: any, func?: (request: BeforeFindRequest) => Promise<Query> | Query): void; | ||
function afterFind(arg1: any, func?: (request: AfterFindRequest) => Promise<any> | any): void; | ||
function define(name: string, func?: (request: FunctionRequest) => Promise<any> | any): void; | ||
function httpRequest(options: HTTPOptions): Promise<HttpResponse>; | ||
function job(name: string, func?: (request: JobRequest, status: JobStatus) => void): HttpResponse; | ||
function job(name: string, func?: (request: JobRequest) => Promise<void> | void): HttpResponse; | ||
function run(name: string, data?: any, options?: RunOptions): Promise<any>; | ||
@@ -784,0 +767,0 @@ function useMasterKey(): void; |
{ | ||
"name": "@types/parse", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "TypeScript definitions for parse", | ||
@@ -40,2 +40,7 @@ "license": "MIT", | ||
"githubUsername": "agoldis" | ||
}, | ||
{ | ||
"name": "Alexandre Hétu Rivard", | ||
"url": "https://github.com/AlexandreHetu", | ||
"githubUsername": "AlexandreHetu" | ||
} | ||
@@ -47,3 +52,4 @@ ], | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/parse" | ||
}, | ||
@@ -54,4 +60,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "234e1d3ce0f306efec5b9ae38cbb6f1987d9438bb8a483c12e0b79085d2529e9", | ||
"typesPublisherContentHash": "7f14ac65f164dc9390fcbdab45c2ec06e8c17589618b2d67e20e9bb328d25452", | ||
"typeScriptVersion": "2.4" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for parse (https://parseplatform.org/). | ||
This package contains type definitions for parse ( https://parseplatform.org/ ). | ||
@@ -12,7 +12,7 @@ # Details | ||
Additional Details | ||
* Last updated: Mon, 19 Nov 2018 19:48:59 GMT | ||
* Dependencies: node | ||
* Last updated: Mon, 25 Feb 2019 16:35:32 GMT | ||
* Dependencies: @types/node | ||
* 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>. | ||
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>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
39038
854