@@ -52,8 +52,6 @@ declare namespace AV {
5252 */
5353 export class ACL extends BaseObject {
5454
55- permissionsById : any ;
56-
5755 constructor ( arg1 ?: any ) ;
5856
5957 setPublicReadAccess ( allowed : boolean ) : void ;
@@ -226,23 +224,17 @@ declare namespace AV {
226224 createdAt : any ;
227225 updatedAt : any ;
228226 attributes : any ;
229- cid : string ;
230227 changed : boolean ;
231228 className : string ;
232229
233230 constructor ( className ?: string , options ?: any ) ;
234231 constructor ( attributes ?: string [ ] , options ?: any ) ;
235- /**
236- Create a local AV.Object by class name and objectId.
237- @param {string } className class name.
238- @param {string } objectId of the target AV.Object.
239- @static */
240232 static createWithoutData ( className : string , objectId : string ) : Object ;
241233 static extend ( className : string , protoProps ?: any , classProps ?: any ) : any ;
242234 static fetchAll < T > ( list : Object [ ] , options ?: AuthOptions ) : Promise < T > ;
243- static fetchAllIfNeeded < T > ( list : Object [ ] , options : AuthOptions ) : Promise < T > ;
244235 static destroyAll < T > ( list : Object [ ] , options ?: Object . DestroyAllOptions ) : Promise < T > ;
245236 static saveAll < T > ( list : Object [ ] , options ?: Object . SaveAllOptions ) : Promise < T > ;
237+ static register ( klass : Function , name ?: string ) : void ;
246238
247239 initialize ( ) : void ;
248240 add ( attributeName : string , item : any ) : Object ;
@@ -253,7 +245,6 @@ declare namespace AV {
253245 clone ( ) : Object ;
254246 destroy < T > ( options ?: Object . DestroyOptions ) : Promise < T > ;
255247 dirty ( attr : String ) : boolean ;
256- dirtyKeys ( ) : string [ ] ;
257248 escape ( attr : string ) : string ;
258249 fetch < T > ( fetchOptions ?: any , options ?: Object . FetchOptions ) : Promise < T > ;
259250 fetchWhenSave ( enable : boolean ) : any ;
@@ -407,7 +398,6 @@ declare namespace AV {
407398 */
408399 export class Query extends BaseObject {
409400
410- objectClass : any ;
411401 className : string ;
412402
413403 constructor ( objectClass : any ) ;
@@ -505,7 +495,6 @@ declare namespace AV {
505495 static signUp < T > ( username : string , password : string , attrs : any , options ?: AuthOptions ) : Promise < T > ;
506496 static logIn < T > ( username : string , password : string , options ?: AuthOptions ) : Promise < T > ;
507497 static logOut < T > ( ) : Promise < T > ;
508- static allowCustomUserClass ( isAllowed : boolean ) : void ;
509498 static become < T > ( sessionToken : string , options ?: AuthOptions ) : Promise < T > ;
510499
511500 static loginWithWeapp < T > ( ) : Promise < T > ;
0 commit comments