Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/parse

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/parse - npm Package Compare versions

Comparing version 1.11.8 to 1.11.9

134

parse v1.11/index.d.ts

@@ -25,7 +25,7 @@ // Type definitions for parse 1.11

interface SuccessOption {
success?: Function;
success?: Function | undefined;
}
interface ErrorOption {
error?: Function;
error?: Function | undefined;
}

@@ -36,8 +36,8 @@

interface SignUpOptions {
useMasterKey?: boolean;
installationId?: string;
useMasterKey?: boolean | undefined;
installationId?: string | undefined;
}
interface SessionTokenOption {
sessionToken?: string;
sessionToken?: string | undefined;
}

@@ -50,3 +50,3 @@

*/
wait?: boolean;
wait?: boolean | undefined;
}

@@ -58,3 +58,3 @@

*/
useMasterKey?: boolean;
useMasterKey?: boolean | undefined;
}

@@ -68,3 +68,3 @@

*/
silent?: boolean;
silent?: boolean | undefined;
}

@@ -477,5 +477,5 @@

interface Options {
model?: Object;
query?: Query<Object>;
comparator?: string;
model?: Object | undefined;
query?: Query<Object> | undefined;
comparator?: string | undefined;
}

@@ -487,3 +487,3 @@

*/
at?: number;
at?: number | undefined;
}

@@ -661,11 +661,11 @@

interface AggregationOptions {
group?: { objectId?: string; [key: string]: any };
match?: { [key: string]: any };
project?: { [key: string]: any };
limit?: number;
skip?: number;
group?: { objectId?: string | undefined; [key: string]: any } | undefined;
match?: { [key: string]: any } | undefined;
project?: { [key: string]: any } | undefined;
limit?: number | undefined;
skip?: number | undefined;
// Sort documentation https://docs.mongodb.com/v3.2/reference/operator/aggregation/sort/#pipe._S_sort
sort?: { [key: string]: 1 | -1 };
sort?: { [key: string]: 1 | -1 } | undefined;
// Sample documentation: https://docs.mongodb.com/v3.2/reference/operator/aggregation/sample/
sample?: { size: number };
sample?: { size: number } | undefined;
}

@@ -675,5 +675,5 @@

interface FullTextOptions {
language?: string;
caseSensitive?: boolean;
diacriticSensitive?: boolean;
language?: string | undefined;
caseSensitive?: boolean | undefined;
diacriticSensitive?: boolean | undefined;
}

@@ -752,3 +752,3 @@ }

interface NavigateOptions {
trigger?: boolean;
trigger?: boolean | undefined;
}

@@ -833,6 +833,6 @@ }

el?: any;
id?: string;
className?: string;
tagName?: string;
attributes?: Attribute[];
id?: string | undefined;
className?: string | undefined;
tagName?: string | undefined;
attributes?: Attribute[] | undefined;
}

@@ -871,17 +871,17 @@

interface CookieOptions {
domain?: string;
expires?: Date;
httpOnly?: boolean;
maxAge?: number;
path?: string;
secure?: boolean;
domain?: string | undefined;
expires?: Date | undefined;
httpOnly?: boolean | undefined;
maxAge?: number | undefined;
path?: string | undefined;
secure?: boolean | undefined;
}
interface HttpResponse {
buffer?: Buffer;
buffer?: Buffer | undefined;
cookies?: any;
data?: any;
headers?: any;
status?: number;
text?: string;
status?: number | undefined;
text?: string | undefined;
}

@@ -894,12 +894,12 @@

interface JobStatus {
error?: (response: any) => void;
message?: (response: any) => void;
success?: (response: any) => void;
error?: ((response: any) => void) | undefined;
message?: ((response: any) => void) | undefined;
success?: ((response: any) => void) | undefined;
}
interface FunctionRequest {
installationId?: String;
master?: boolean;
installationId?: String | undefined;
master?: boolean | undefined;
params?: any;
user?: User;
user?: User | undefined;
}

@@ -914,11 +914,11 @@

interface Cookie {
name?: string;
options?: CookieOptions;
value?: string;
name?: string | undefined;
options?: CookieOptions | undefined;
value?: string | undefined;
}
interface TriggerRequest {
installationId?: String;
master?: boolean;
user?: User;
installationId?: String | undefined;
master?: boolean | undefined;
user?: User | undefined;
ip: string;

@@ -929,3 +929,3 @@ headers: any;

object: Object;
original?: Parse.Object;
original?: Parse.Object | undefined;
}

@@ -955,3 +955,3 @@

isGet: boolean;
readPreference?: ReadPreferenceOption;
readPreference?: ReadPreferenceOption | undefined;
}

@@ -997,7 +997,7 @@

*/
body?: string | Buffer | Object;
body?: string | Buffer | Object | undefined;
/**
* Defaults to 'false'.
*/
followRedirects?: boolean;
followRedirects?: boolean | undefined;
/**

@@ -1008,7 +1008,7 @@ * The headers for the request.

[headerName: string]: string | number | boolean;
};
} | undefined;
/**
*The method of the request (i.e GET, POST, etc).
*/
method?: string;
method?: string | undefined;
/**

@@ -1023,4 +1023,4 @@ * The query portion of the url.

success?: (response: any) => void;
error?: (response: any) => void;
success?: ((response: any) => void) | undefined;
error?: ((response: any) => void) | undefined;
}

@@ -1143,17 +1143,17 @@ }

interface PushData {
channels?: string[];
push_time?: Date;
expiration_time?: Date;
expiration_interval?: number;
where?: Query<Installation>;
channels?: string[] | undefined;
push_time?: Date | undefined;
expiration_time?: Date | undefined;
expiration_interval?: number | undefined;
where?: Query<Installation> | undefined;
data?: any;
alert?: string;
badge?: string;
sound?: string;
title?: string;
alert?: string | undefined;
badge?: string | undefined;
sound?: string | undefined;
title?: string | undefined;
}
interface SendOptions extends UseMasterKeyOption {
success?: () => void;
error?: (error: Error) => void;
success?: (() => void) | undefined;
error?: ((error: Error) => void) | undefined;
}

@@ -1160,0 +1160,0 @@ }

{
"name": "@types/parse",
"version": "1.11.8",
"version": "1.11.9",
"description": "TypeScript definitions for parse",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse",
"license": "MIT",

@@ -50,4 +51,4 @@ "contributors": [

},
"typesPublisherContentHash": "24029b941c4e2c8a75ed1cdc35743b819f2dfb17198f57348802c9aa018b485d",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "502dcc4133a241bc0077d01ecb7a071719bc657885f0e69018a7917b03eb7dd0",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sat, 01 May 2021 11:31:24 GMT
* Last updated: Thu, 08 Jul 2021 20:19:18 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/jquery](https://npmjs.com/package/@types/jquery), [@types/underscore](https://npmjs.com/package/@types/underscore)

@@ -14,0 +14,0 @@ * Global values: `Parse`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc