Skip to content

Commit 2b08ec6

Browse files
committed
fix conflicts
1 parent be37156 commit 2b08ec6

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

types/Parse.d.ts

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,15 +223,21 @@ declare const Parse: {
223223
purge: (className: string) => Promise<any>;
224224
get: (className: string, options?: import("./RESTController").RequestOptions) => Promise<any>;
225225
delete: (className: string, options?: import("./RESTController").RequestOptions) => Promise<void>;
226-
create: (className: string, params: any, options?: import("./RESTController").RequestOptions) => Promise<any>;
226+
create: (className: string, params: any, options? /**
227+
* @member {string} Parse.maintenanceKey
228+
* @static
229+
*/: import("./RESTController").RequestOptions) => Promise<any>;
227230
update: (className: string, params: any, options?: import("./RESTController").RequestOptions) => Promise<any>;
228231
send(className: string, method: string, params: any, options?: import("./RESTController").RequestOptions): Promise<any>;
229232
}): void;
230233
getSchemaController(): {
231234
purge: (className: string) => Promise<any>;
232235
get: (className: string, options?: import("./RESTController").RequestOptions) => Promise<any>;
233236
delete: (className: string, options?: import("./RESTController").RequestOptions) => Promise<void>;
234-
create: (className: string, params: any, options?: import("./RESTController").RequestOptions) => Promise<any>;
237+
create: (className: string, params: any, options? /**
238+
* @member {string} Parse.maintenanceKey
239+
* @static
240+
*/: import("./RESTController").RequestOptions) => Promise<any>;
235241
update: (className: string, params: any, options?: import("./RESTController").RequestOptions) => Promise<any>;
236242
send(className: string, method: string, params: any, options?: import("./RESTController").RequestOptions): Promise<any>;
237243
};
@@ -487,7 +493,7 @@ declare const Parse: {
487493
* @static
488494
*/
489495
initialize(applicationId: string, javaScriptKey: string): void;
490-
_initialize(applicationId: string, javaScriptKey: string, masterKey?: string): void;
496+
_initialize(applicationId: string, javaScriptKey: string, masterKey?: string, maintenanceKey?: string): void;
491497
/**
492498
* Call this method to set your AsyncStorage engine
493499
* Starting [email protected], the ParseSDK do not provide a React AsyncStorage as the ReactNative module
@@ -527,6 +533,11 @@ declare const Parse: {
527533
* @static
528534
*/
529535
masterKey: any;
536+
/**
537+
* @member {string} Parse.maintenanceKey
538+
* @static
539+
*/
540+
maintenanceKey: any;
530541
/**
531542
* @member {string} Parse.serverURL
532543
* @static

types/ParseQuery.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import type { Pointer } from './ParseObject';
66
type BatchOptions = FullOptions & {
77
batchSize?: number;
88
useMasterKey?: boolean;
9+
useMaintenanceKey?: boolean;
910
sessionToken?: string;
1011
context?: {
1112
[key: string]: any;

types/RESTController.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export type RequestOptions = {
22
useMasterKey?: boolean;
3+
useMaintenanceKey?: boolean;
34
sessionToken?: string;
45
installationId?: string;
56
returnStatus?: boolean;
@@ -15,6 +16,7 @@ export type FullOptions = {
1516
success?: any;
1617
error?: any;
1718
useMasterKey?: boolean;
19+
useMaintenanceKey?: boolean;
1820
sessionToken?: string;
1921
installationId?: string;
2022
progress?: any;

0 commit comments

Comments
 (0)