@types/parse
Advanced tools
Comparing version 2.2.13 to 2.2.14
@@ -18,2 +18,3 @@ // Type definitions for parse 2.2.9 | ||
// Jeff Gu Kang <https://github.com/jeffgukang> | ||
// Bui Tan Loc <https://github.com/buitanloc> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -79,7 +80,6 @@ // TypeScript Version: 2.4 | ||
FILE_READ_ERROR = 601, | ||
X_DOMAIN_REQUEST = 602 | ||
X_DOMAIN_REQUEST = 602, | ||
} | ||
declare namespace Parse { | ||
let applicationId: string; | ||
@@ -127,4 +127,3 @@ let javaScriptKey: string | undefined; | ||
interface SuccessFailureOptions extends SuccessOption, ErrorOption { | ||
} | ||
interface SuccessFailureOptions extends SuccessOption, ErrorOption {} | ||
@@ -155,4 +154,3 @@ interface SignUpOptions { | ||
interface ScopeOptions extends SessionTokenOption, UseMasterKeyOption { | ||
} | ||
interface ScopeOptions extends SessionTokenOption, UseMasterKeyOption {} | ||
@@ -177,3 +175,3 @@ interface SilentOption { | ||
interface AuthData { | ||
[key: string]: any | ||
[key: string]: any; | ||
} | ||
@@ -200,3 +198,2 @@ | ||
class ACL extends BaseObject { | ||
permissionsById: any; | ||
@@ -234,3 +231,2 @@ | ||
/** | ||
@@ -266,3 +262,2 @@ * A Parse.File is a local representation of a file that is saved to the Parse | ||
class File { | ||
constructor(name: string, data: any, type?: string); | ||
@@ -272,3 +267,2 @@ name(): string; | ||
save(options?: FullOptions): Promise<File>; | ||
} | ||
@@ -300,3 +294,2 @@ | ||
class GeoPoint extends BaseObject { | ||
latitude: number; | ||
@@ -318,3 +311,2 @@ longitude: number; | ||
class Relation<S extends Object = Object, T extends Object = Object> extends BaseObject { | ||
parent: S; | ||
@@ -362,3 +354,2 @@ key: string; | ||
class Object extends BaseObject { | ||
id: string; | ||
@@ -380,3 +371,7 @@ createdAt: Date; | ||
static fetchAllIfNeeded<T extends Object>(list: T[], options: Object.FetchAllOptions): Promise<T[]>; | ||
static fetchAllWithInclude<T extends Object>(list: T[], keys: string | Array<string | Array<string>>, options: RequestOptions): Promise<T[]>; | ||
static fetchAllWithInclude<T extends Object>( | ||
list: T[], | ||
keys: string | Array<string | Array<string>>, | ||
options: RequestOptions, | ||
): Promise<T[]>; | ||
static fromJSON<T extends Object>(json: any, override?: boolean): T; | ||
@@ -442,13 +437,18 @@ static pinAll(objects: Object[]): Promise<void>; | ||
namespace Object { | ||
interface DestroyOptions extends SuccessFailureOptions, WaitOption, ScopeOptions { } | ||
interface DestroyOptions extends SuccessFailureOptions, WaitOption, ScopeOptions {} | ||
interface DestroyAllOptions extends BatchSizeOption, ScopeOptions { } | ||
interface DestroyAllOptions extends BatchSizeOption, ScopeOptions {} | ||
interface FetchAllOptions extends SuccessFailureOptions, ScopeOptions { } | ||
interface FetchAllOptions extends SuccessFailureOptions, ScopeOptions {} | ||
interface FetchOptions extends SuccessFailureOptions, ScopeOptions { } | ||
interface FetchOptions extends SuccessFailureOptions, ScopeOptions {} | ||
interface SaveOptions extends CascadeSaveOption, SuccessFailureOptions, SilentOption, ScopeOptions, WaitOption { } | ||
interface SaveOptions | ||
extends CascadeSaveOption, | ||
SuccessFailureOptions, | ||
SilentOption, | ||
ScopeOptions, | ||
WaitOption {} | ||
interface SaveAllOptions extends BatchSizeOption, ScopeOptions { } | ||
interface SaveAllOptions extends BatchSizeOption, ScopeOptions {} | ||
@@ -470,3 +470,2 @@ interface SetOptions extends ErrorOption, SilentOption { | ||
class Installation extends Object { | ||
badge: any; | ||
@@ -484,3 +483,2 @@ channels: string[]; | ||
appIdentifier: string; | ||
} | ||
@@ -544,3 +542,2 @@ /** | ||
class Query<T extends Object = Object> extends BaseObject { | ||
objectClass: any; | ||
@@ -606,3 +603,3 @@ className: string; | ||
startsWith(key: string, prefix: string): Query<T>; | ||
subscribe(): LiveQuerySubscription; | ||
subscribe(): Promise<LiveQuerySubscription>; | ||
withJSON(json: any): this; | ||
@@ -617,11 +614,11 @@ withinGeoBox(key: string, southwest: GeoPoint, northeast: GeoPoint): Query<T>; | ||
namespace Query { | ||
interface EachOptions extends SuccessFailureOptions, ScopeOptions { } | ||
interface CountOptions extends SuccessFailureOptions, ScopeOptions { } | ||
interface FindOptions extends SuccessFailureOptions, ScopeOptions { } | ||
interface FirstOptions extends SuccessFailureOptions, ScopeOptions { } | ||
interface GetOptions extends SuccessFailureOptions, ScopeOptions { } | ||
interface EachOptions extends SuccessFailureOptions, ScopeOptions {} | ||
interface CountOptions extends SuccessFailureOptions, ScopeOptions {} | ||
interface FindOptions extends SuccessFailureOptions, ScopeOptions {} | ||
interface FirstOptions extends SuccessFailureOptions, ScopeOptions {} | ||
interface GetOptions extends SuccessFailureOptions, ScopeOptions {} | ||
// According to http://docs.parseplatform.org/rest/guide/#aggregate-queries | ||
interface AggregationOptions { | ||
group?: { objectId?: string, [key: string]: any }; | ||
group?: { objectId?: string; [key: string]: any }; | ||
match?: { [key: string]: any }; | ||
@@ -739,3 +736,2 @@ project?: { [key: string]: any }; | ||
class Role extends Object { | ||
constructor(name: string, acl: ACL); | ||
@@ -806,20 +802,19 @@ | ||
/** | ||
* A Parse.Schema object is for handling schema data from Parse. | ||
* All the schemas methods require MasterKey. | ||
* | ||
* @param {String} className Parse Class string | ||
* | ||
* https://parseplatform.org/Parse-SDK-JS/api/master/Parse.Schema.html | ||
* | ||
* ``` | ||
* const schema = new Parse.Schema('MyClass'); | ||
* schema.addString('field'); | ||
* schema.addIndex('index_name', { field: 1 }); | ||
* schema.save(); | ||
* ``` | ||
*/ | ||
* A Parse.Schema object is for handling schema data from Parse. | ||
* All the schemas methods require MasterKey. | ||
* | ||
* @param {String} className Parse Class string | ||
* | ||
* https://parseplatform.org/Parse-SDK-JS/api/master/Parse.Schema.html | ||
* | ||
* ``` | ||
* const schema = new Parse.Schema('MyClass'); | ||
* schema.addString('field'); | ||
* schema.addIndex('index_name', { field: 1 }); | ||
* schema.save(); | ||
* ``` | ||
*/ | ||
class Schema { | ||
constructor(className: string); | ||
constructor(className: string) | ||
/** | ||
@@ -831,10 +826,10 @@ * Static method to get all schemas | ||
*/ | ||
static all(options?: ScopeOptions): Promise<Schema[]> | ||
static all(options?: ScopeOptions): Promise<Schema[]>; | ||
addArray(name: string): this | ||
addBoolean(name: string): this | ||
addDate(name: string): this | ||
addField(name: string, type?: Schema.TYPE): this | ||
addFile(name: string): this | ||
addGeoPoint(name: string): this | ||
addArray(name: string): this; | ||
addBoolean(name: string): this; | ||
addDate(name: string): this; | ||
addField(name: string, type?: Schema.TYPE): this; | ||
addFile(name: string): this; | ||
addGeoPoint(name: string): this; | ||
@@ -851,6 +846,6 @@ /** | ||
*/ | ||
addIndex(name: string, index: Schema.Index): this | ||
addIndex(name: string, index: Schema.Index): this; | ||
addNumber(name: string): this | ||
addObject(name: string): this | ||
addNumber(name: string): this; | ||
addObject(name: string): this; | ||
@@ -863,5 +858,5 @@ /** | ||
*/ | ||
addPointer(name: string, targetClass: string): this | ||
addPointer(name: string, targetClass: string): this; | ||
addPolygon(name: string): this | ||
addPolygon(name: string): this; | ||
@@ -874,5 +869,5 @@ /** | ||
*/ | ||
addRelation(name: string, targetClass: string): this | ||
addRelation(name: string, targetClass: string): this; | ||
addString(name: string): this | ||
addString(name: string): this; | ||
@@ -888,3 +883,3 @@ /** | ||
// @TODO Fix Promise<any> | ||
delete(options?: ScopeOptions): Promise<any> | ||
delete(options?: ScopeOptions): Promise<any>; | ||
@@ -896,3 +891,3 @@ /** | ||
*/ | ||
deleteField(name: string): this | ||
deleteField(name: string): this; | ||
@@ -904,3 +899,3 @@ /** | ||
*/ | ||
deleteIndex(name: string): this | ||
deleteIndex(name: string): this; | ||
@@ -910,3 +905,3 @@ /** | ||
*/ | ||
get(options?: ScopeOptions): Promise<Schema> | ||
get(options?: ScopeOptions): Promise<Schema>; | ||
@@ -917,3 +912,3 @@ /** | ||
// TODO Fix Promise<any> | ||
purge(): Promise<any> | ||
purge(): Promise<any>; | ||
@@ -923,3 +918,3 @@ /** | ||
*/ | ||
save(options?: ScopeOptions): Promise<Schema> | ||
save(options?: ScopeOptions): Promise<Schema>; | ||
@@ -929,27 +924,14 @@ /** | ||
*/ | ||
update(options?: ScopeOptions): Promise<Schema> | ||
update(options?: ScopeOptions): Promise<Schema>; | ||
} | ||
namespace Schema { | ||
type TYPE = string | number | boolean | Date | File | GeoPoint | Array<any> | object | Pointer | Relation; | ||
type TYPE = | ||
| string | ||
| number | ||
| boolean | ||
| Date | ||
| File | ||
| GeoPoint | ||
| Array<any> | ||
| object | ||
| Pointer | ||
| Relation | ||
interface Index { | ||
[fieldName: string]: TYPE | ||
} | ||
[fieldName: string]: TYPE; | ||
} | ||
} | ||
namespace Analytics { | ||
function track(name: string, dimensions: any): Promise<any>; | ||
@@ -964,3 +946,2 @@ } | ||
namespace FacebookUtils { | ||
function init(options?: any): void; | ||
@@ -981,3 +962,2 @@ function isLinked(user: User): boolean; | ||
namespace Cloud { | ||
interface CookieOptions { | ||
@@ -1034,4 +1014,4 @@ domain?: string; | ||
} | ||
interface AfterDeleteRequest extends TriggerRequest { } | ||
interface BeforeDeleteRequest extends TriggerRequest { } | ||
interface AfterDeleteRequest extends TriggerRequest {} | ||
interface BeforeDeleteRequest extends TriggerRequest {} | ||
interface BeforeSaveRequest extends TriggerRequest { | ||
@@ -1047,14 +1027,14 @@ context: object; | ||
SecondaryPreferred = 'SECONDARY_PREFERRED', | ||
Nearest = 'NEAREST' | ||
Nearest = 'NEAREST', | ||
} | ||
interface BeforeFindRequest extends TriggerRequest { | ||
query: Query | ||
count: boolean | ||
isGet: boolean | ||
readPreference?: ReadPreferenceOption | ||
query: Query; | ||
count: boolean; | ||
isGet: boolean; | ||
readPreference?: ReadPreferenceOption; | ||
} | ||
interface AfterFindRequest extends TriggerRequest { | ||
objects: Object[] | ||
objects: Object[]; | ||
} | ||
@@ -1086,14 +1066,12 @@ | ||
/** | ||
* 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. | ||
*/ | ||
* 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 {} | ||
interface RunOptions extends SuccessFailureOptions, ScopeOptions { } | ||
/** | ||
@@ -1142,62 +1120,62 @@ * To use this Cloud Module in Cloud Code, you must require 'buffer' in your JavaScript file. | ||
class Error { | ||
static OTHER_CAUSE: ErrorCode.OTHER_CAUSE; | ||
static INTERNAL_SERVER_ERROR: ErrorCode.INTERNAL_SERVER_ERROR; | ||
static CONNECTION_FAILED: ErrorCode.CONNECTION_FAILED; | ||
static OBJECT_NOT_FOUND: ErrorCode.OBJECT_NOT_FOUND; | ||
static INVALID_QUERY: ErrorCode.INVALID_QUERY; | ||
static INVALID_CLASS_NAME: ErrorCode.INVALID_CLASS_NAME; | ||
static MISSING_OBJECT_ID: ErrorCode.MISSING_OBJECT_ID; | ||
static INVALID_KEY_NAME: ErrorCode.INVALID_KEY_NAME; | ||
static INVALID_POINTER: ErrorCode.INVALID_POINTER; | ||
static INVALID_JSON: ErrorCode.INVALID_JSON; | ||
static COMMAND_UNAVAILABLE: ErrorCode.COMMAND_UNAVAILABLE; | ||
static NOT_INITIALIZED: ErrorCode.NOT_INITIALIZED; | ||
static INCORRECT_TYPE: ErrorCode.INCORRECT_TYPE; | ||
static INVALID_CHANNEL_NAME: ErrorCode.INVALID_CHANNEL_NAME; | ||
static PUSH_MISCONFIGURED: ErrorCode.PUSH_MISCONFIGURED; | ||
static OBJECT_TOO_LARGE: ErrorCode.OBJECT_TOO_LARGE; | ||
static OPERATION_FORBIDDEN: ErrorCode.OPERATION_FORBIDDEN; | ||
static CACHE_MISS: ErrorCode.CACHE_MISS; | ||
static INVALID_NESTED_KEY: ErrorCode.INVALID_NESTED_KEY; | ||
static INVALID_FILE_NAME: ErrorCode.INVALID_FILE_NAME; | ||
static INVALID_ACL: ErrorCode.INVALID_ACL; | ||
static TIMEOUT: ErrorCode.TIMEOUT; | ||
static INVALID_EMAIL_ADDRESS: ErrorCode.INVALID_EMAIL_ADDRESS; | ||
static MISSING_CONTENT_TYPE: ErrorCode.MISSING_CONTENT_TYPE; | ||
static MISSING_CONTENT_LENGTH: ErrorCode.MISSING_CONTENT_LENGTH; | ||
static INVALID_CONTENT_LENGTH: ErrorCode.INVALID_CONTENT_LENGTH; | ||
static FILE_TOO_LARGE: ErrorCode.FILE_TOO_LARGE; | ||
static FILE_SAVE_ERROR: ErrorCode.FILE_SAVE_ERROR; | ||
static DUPLICATE_VALUE: ErrorCode.DUPLICATE_VALUE; | ||
static INVALID_ROLE_NAME: ErrorCode.INVALID_ROLE_NAME; | ||
static EXCEEDED_QUOTA: ErrorCode.EXCEEDED_QUOTA; | ||
static SCRIPT_FAILED: ErrorCode.SCRIPT_FAILED; | ||
static VALIDATION_ERROR: ErrorCode.VALIDATION_ERROR; | ||
static INVALID_IMAGE_DATA: ErrorCode.INVALID_IMAGE_DATA; | ||
static UNSAVED_FILE_ERROR: ErrorCode.UNSAVED_FILE_ERROR; | ||
static INVALID_PUSH_TIME_ERROR: ErrorCode.INVALID_PUSH_TIME_ERROR; | ||
static FILE_DELETE_ERROR: ErrorCode.FILE_DELETE_ERROR; | ||
static REQUEST_LIMIT_EXCEEDED: ErrorCode.REQUEST_LIMIT_EXCEEDED; | ||
static INVALID_EVENT_NAME: ErrorCode.INVALID_EVENT_NAME; | ||
static USERNAME_MISSING: ErrorCode.USERNAME_MISSING; | ||
static PASSWORD_MISSING: ErrorCode.PASSWORD_MISSING; | ||
static USERNAME_TAKEN: ErrorCode.USERNAME_TAKEN; | ||
static EMAIL_TAKEN: ErrorCode.EMAIL_TAKEN; | ||
static EMAIL_MISSING: ErrorCode.EMAIL_MISSING; | ||
static EMAIL_NOT_FOUND: ErrorCode.EMAIL_NOT_FOUND; | ||
static SESSION_MISSING: ErrorCode.SESSION_MISSING; | ||
static MUST_CREATE_USER_THROUGH_SIGNUP: ErrorCode.MUST_CREATE_USER_THROUGH_SIGNUP; | ||
static ACCOUNT_ALREADY_LINKED: ErrorCode.ACCOUNT_ALREADY_LINKED; | ||
static INVALID_SESSION_TOKEN: ErrorCode.INVALID_SESSION_TOKEN; | ||
static LINKED_ID_MISSING: ErrorCode.LINKED_ID_MISSING; | ||
static INVALID_LINKED_SESSION: ErrorCode.INVALID_LINKED_SESSION; | ||
static UNSUPPORTED_SERVICE: ErrorCode.UNSUPPORTED_SERVICE; | ||
static AGGREGATE_ERROR: ErrorCode.AGGREGATE_ERROR; | ||
static FILE_READ_ERROR: ErrorCode.FILE_READ_ERROR; | ||
static X_DOMAIN_REQUEST: ErrorCode.X_DOMAIN_REQUEST; | ||
static OTHER_CAUSE: ErrorCode.OTHER_CAUSE; | ||
static INTERNAL_SERVER_ERROR: ErrorCode.INTERNAL_SERVER_ERROR; | ||
static CONNECTION_FAILED: ErrorCode.CONNECTION_FAILED; | ||
static OBJECT_NOT_FOUND: ErrorCode.OBJECT_NOT_FOUND; | ||
static INVALID_QUERY: ErrorCode.INVALID_QUERY; | ||
static INVALID_CLASS_NAME: ErrorCode.INVALID_CLASS_NAME; | ||
static MISSING_OBJECT_ID: ErrorCode.MISSING_OBJECT_ID; | ||
static INVALID_KEY_NAME: ErrorCode.INVALID_KEY_NAME; | ||
static INVALID_POINTER: ErrorCode.INVALID_POINTER; | ||
static INVALID_JSON: ErrorCode.INVALID_JSON; | ||
static COMMAND_UNAVAILABLE: ErrorCode.COMMAND_UNAVAILABLE; | ||
static NOT_INITIALIZED: ErrorCode.NOT_INITIALIZED; | ||
static INCORRECT_TYPE: ErrorCode.INCORRECT_TYPE; | ||
static INVALID_CHANNEL_NAME: ErrorCode.INVALID_CHANNEL_NAME; | ||
static PUSH_MISCONFIGURED: ErrorCode.PUSH_MISCONFIGURED; | ||
static OBJECT_TOO_LARGE: ErrorCode.OBJECT_TOO_LARGE; | ||
static OPERATION_FORBIDDEN: ErrorCode.OPERATION_FORBIDDEN; | ||
static CACHE_MISS: ErrorCode.CACHE_MISS; | ||
static INVALID_NESTED_KEY: ErrorCode.INVALID_NESTED_KEY; | ||
static INVALID_FILE_NAME: ErrorCode.INVALID_FILE_NAME; | ||
static INVALID_ACL: ErrorCode.INVALID_ACL; | ||
static TIMEOUT: ErrorCode.TIMEOUT; | ||
static INVALID_EMAIL_ADDRESS: ErrorCode.INVALID_EMAIL_ADDRESS; | ||
static MISSING_CONTENT_TYPE: ErrorCode.MISSING_CONTENT_TYPE; | ||
static MISSING_CONTENT_LENGTH: ErrorCode.MISSING_CONTENT_LENGTH; | ||
static INVALID_CONTENT_LENGTH: ErrorCode.INVALID_CONTENT_LENGTH; | ||
static FILE_TOO_LARGE: ErrorCode.FILE_TOO_LARGE; | ||
static FILE_SAVE_ERROR: ErrorCode.FILE_SAVE_ERROR; | ||
static DUPLICATE_VALUE: ErrorCode.DUPLICATE_VALUE; | ||
static INVALID_ROLE_NAME: ErrorCode.INVALID_ROLE_NAME; | ||
static EXCEEDED_QUOTA: ErrorCode.EXCEEDED_QUOTA; | ||
static SCRIPT_FAILED: ErrorCode.SCRIPT_FAILED; | ||
static VALIDATION_ERROR: ErrorCode.VALIDATION_ERROR; | ||
static INVALID_IMAGE_DATA: ErrorCode.INVALID_IMAGE_DATA; | ||
static UNSAVED_FILE_ERROR: ErrorCode.UNSAVED_FILE_ERROR; | ||
static INVALID_PUSH_TIME_ERROR: ErrorCode.INVALID_PUSH_TIME_ERROR; | ||
static FILE_DELETE_ERROR: ErrorCode.FILE_DELETE_ERROR; | ||
static REQUEST_LIMIT_EXCEEDED: ErrorCode.REQUEST_LIMIT_EXCEEDED; | ||
static INVALID_EVENT_NAME: ErrorCode.INVALID_EVENT_NAME; | ||
static USERNAME_MISSING: ErrorCode.USERNAME_MISSING; | ||
static PASSWORD_MISSING: ErrorCode.PASSWORD_MISSING; | ||
static USERNAME_TAKEN: ErrorCode.USERNAME_TAKEN; | ||
static EMAIL_TAKEN: ErrorCode.EMAIL_TAKEN; | ||
static EMAIL_MISSING: ErrorCode.EMAIL_MISSING; | ||
static EMAIL_NOT_FOUND: ErrorCode.EMAIL_NOT_FOUND; | ||
static SESSION_MISSING: ErrorCode.SESSION_MISSING; | ||
static MUST_CREATE_USER_THROUGH_SIGNUP: ErrorCode.MUST_CREATE_USER_THROUGH_SIGNUP; | ||
static ACCOUNT_ALREADY_LINKED: ErrorCode.ACCOUNT_ALREADY_LINKED; | ||
static INVALID_SESSION_TOKEN: ErrorCode.INVALID_SESSION_TOKEN; | ||
static LINKED_ID_MISSING: ErrorCode.LINKED_ID_MISSING; | ||
static INVALID_LINKED_SESSION: ErrorCode.INVALID_LINKED_SESSION; | ||
static UNSUPPORTED_SERVICE: ErrorCode.UNSUPPORTED_SERVICE; | ||
static AGGREGATE_ERROR: ErrorCode.AGGREGATE_ERROR; | ||
static FILE_READ_ERROR: ErrorCode.FILE_READ_ERROR; | ||
static X_DOMAIN_REQUEST: ErrorCode.X_DOMAIN_REQUEST; | ||
code: ErrorCode; | ||
message: string; | ||
code: ErrorCode; | ||
message: string; | ||
constructor(code: ErrorCode, message: string); | ||
constructor(code: ErrorCode, message: string); | ||
} | ||
@@ -1218,3 +1196,2 @@ | ||
namespace Op { | ||
interface BaseOperation extends IBaseObject { | ||
@@ -1224,7 +1201,5 @@ objects(): any[]; | ||
interface Add extends BaseOperation { | ||
} | ||
interface Add extends BaseOperation {} | ||
interface AddUnique extends BaseOperation { | ||
} | ||
interface AddUnique extends BaseOperation {} | ||
@@ -1244,5 +1219,3 @@ interface Increment extends IBaseObject { | ||
interface Unset extends IBaseObject { | ||
} | ||
interface Unset extends IBaseObject {} | ||
} | ||
@@ -1313,14 +1286,14 @@ | ||
declare module "parse/node" { | ||
declare module 'parse/node' { | ||
export = Parse; | ||
} | ||
declare module "parse" { | ||
import * as parse from "parse/node"; | ||
export = parse | ||
declare module 'parse' { | ||
import * as parse from 'parse/node'; | ||
export = parse; | ||
} | ||
declare module "parse/react-native" { | ||
import * as parse from "parse/node"; | ||
export = parse | ||
declare module 'parse/react-native' { | ||
import * as parse from 'parse/node'; | ||
export = parse; | ||
} |
{ | ||
"name": "@types/parse", | ||
"version": "2.2.13", | ||
"version": "2.2.14", | ||
"description": "TypeScript definitions for parse", | ||
@@ -80,2 +80,7 @@ "license": "MIT", | ||
"githubUsername": "jeffgukang" | ||
}, | ||
{ | ||
"name": "Bui Tan Loc", | ||
"url": "https://github.com/buitanloc", | ||
"githubUsername": "buitanloc" | ||
} | ||
@@ -94,4 +99,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "62b7a5281851b5e2e4e073ad14f4c7335f75d788edba7008c73ce87d782b119b", | ||
"typesPublisherContentHash": "c0452eee132e59385488ad1e0207d3dd64337d8697f076246be3527ceab5609d", | ||
"typeScriptVersion": "2.4" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 14 Oct 2019 20:43:02 GMT | ||
* Last updated: Thu, 17 Oct 2019 21:20:11 GMT | ||
* Dependencies: @types/node | ||
@@ -17,2 +17,2 @@ * Global values: ErrorCode, 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>, Thibault MOCELLIN <https://github.com/tybi>, Raschid JF Rafaelly <https://github.com/RaschidJFR>, and Jeff Gu Kang <https://github.com/jeffgukang>. | ||
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>, Raschid JF Rafaelly <https://github.com/RaschidJFR>, Jeff Gu Kang <https://github.com/jeffgukang>, and Bui Tan Loc <https://github.com/buitanloc>. |
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
53581
1131