@types/parse
Advanced tools
Comparing version 1.11.12 to 1.11.13
@@ -284,3 +284,3 @@ // Type definitions for parse 1.11 | ||
//Adds a Parse.Object or an array of Parse.Objects to the relation. | ||
// Adds a Parse.Object or an array of Parse.Objects to the relation. | ||
add(object: T | Array<T>): void; | ||
@@ -317,3 +317,2 @@ | ||
* | ||
* | ||
* <p>The fundamental unit of Parse data, which implements the Backbone Model | ||
@@ -341,3 +340,3 @@ * interface.</p> | ||
static saveAll<T extends Object>(list: T[], options?: Object.SaveAllOptions): Promise<T[]>; | ||
static registerSubclass<T extends Object>(className: string, clazz: new (options?: any) => T): void; | ||
static registerSubclass<T extends Object>(className: string, clazz: new(options?: any) => T): void; | ||
static createWithoutData<T extends Object>(id: string): T; | ||
@@ -435,3 +434,2 @@ | ||
* | ||
* | ||
* <p>Provides a standard collection class for our sets of models, ordered | ||
@@ -493,3 +491,2 @@ * or unordered. For more information, see the | ||
/** | ||
* | ||
* <p>Parse.Events is a fork of Backbone's Events module, provided for your | ||
@@ -588,3 +585,3 @@ * convenience.</p> | ||
constructor(objectClass: string); | ||
constructor(objectClass: new (...args: any[]) => T); | ||
constructor(objectClass: new(...args: any[]) => T); | ||
@@ -663,6 +660,6 @@ static or<U extends Object>(...var_args: Query<U>[]): Query<U>; | ||
| { | ||
path: string; | ||
includeArrayIndex?: string; | ||
preserveNullAndEmptyArrays?: boolean; | ||
} | ||
path: string; | ||
includeArrayIndex?: string; | ||
preserveNullAndEmptyArrays?: boolean; | ||
} | ||
| string | ||
@@ -754,3 +751,2 @@ | undefined; | ||
/** | ||
* | ||
* <p>A Parse.User object is a local representation of a user persisted to the | ||
@@ -934,7 +930,7 @@ * Parse cloud. This class is a subclass of a Parse.Object, and retains the | ||
enum ReadPreferenceOption { | ||
Primary = 'PRIMARY', | ||
PrimaryPreferred = 'PRIMARY_PREFERRED', | ||
Secondary = 'SECONDARY', | ||
SecondaryPreferred = 'SECONDARY_PREFERRED', | ||
Nearest = 'NEAREST', | ||
Primary = "PRIMARY", | ||
PrimaryPreferred = "PRIMARY_PREFERRED", | ||
Secondary = "SECONDARY", | ||
SecondaryPreferred = "SECONDARY_PREFERRED", | ||
Nearest = "NEAREST", | ||
} | ||
@@ -979,3 +975,3 @@ | ||
*/ | ||
let HTTPOptions: new () => HTTPOptions; | ||
let HTTPOptions: new() => HTTPOptions; | ||
interface HTTPOptions { | ||
@@ -998,7 +994,7 @@ /** | ||
| { | ||
[headerName: string]: string | number | boolean; | ||
} | ||
[headerName: string]: string | number | boolean; | ||
} | ||
| undefined; | ||
/** | ||
*The method of the request (i.e GET, POST, etc). | ||
* The method of the request (i.e GET, POST, etc). | ||
*/ | ||
@@ -1168,3 +1164,3 @@ method?: string | undefined; | ||
// eslint-disable-next-line @definitelytyped/no-declare-current-package | ||
declare module 'parse/node' { | ||
declare module "parse/node" { | ||
export = Parse; | ||
@@ -1174,5 +1170,5 @@ } | ||
// eslint-disable-next-line @definitelytyped/no-declare-current-package | ||
declare module 'parse' { | ||
declare module "parse" { | ||
// eslint-disable-next-line @definitelytyped/no-self-import | ||
import * as parse from 'parse/node'; | ||
import * as parse from "parse/node"; | ||
export = parse; | ||
@@ -1182,6 +1178,6 @@ } | ||
// eslint-disable-next-line @definitelytyped/no-declare-current-package | ||
declare module 'parse/react-native' { | ||
declare module "parse/react-native" { | ||
// eslint-disable-next-line @definitelytyped/no-self-import | ||
import * as parse from 'parse/node'; | ||
import * as parse from "parse/node"; | ||
export = parse; | ||
} |
{ | ||
"name": "@types/parse", | ||
"version": "1.11.12", | ||
"version": "1.11.13", | ||
"description": "TypeScript definitions for parse", | ||
@@ -51,4 +51,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse", | ||
}, | ||
"typesPublisherContentHash": "2e46289c4e382925e4cb628cb4a1c47f6d2c3a863034d6db968dbf520a8a7f2b", | ||
"typeScriptVersion": "4.3" | ||
"typesPublisherContentHash": "50fe851ac6b49b09410e173053690e9175d46e3ee532715dcef7b29c6e2f56b4", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 01 Sep 2023 20:03:15 GMT | ||
* Last updated: Sun, 24 Sep 2023 06:37:27 GMT | ||
* Dependencies: [@types/jquery](https://npmjs.com/package/@types/jquery), [@types/node](https://npmjs.com/package/@types/node), [@types/underscore](https://npmjs.com/package/@types/underscore) | ||
@@ -14,0 +14,0 @@ * Global values: `Parse` |
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
48617
1039