File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -479,7 +479,7 @@ export class Events {
479479 unbind ( eventName ?: string , callback ?: Function , context ?: any ) : Events ;
480480}
481481
482- declare type Queriable = Object | File | Status ;
482+ declare type Queriable = Object | File ;
483483
484484declare class BaseQuery < T extends Queriable > extends BaseObject {
485485 className : string ;
@@ -1496,6 +1496,10 @@ export namespace Cloud {
14961496}
14971497
14981498export class Status {
1499+ id ?: string ;
1500+ createdAt ?: Date ;
1501+ updatedAt ?: Date ;
1502+ messageId ?: number ;
14991503 inboxType : string ;
15001504 constructor ( imageUrl ?: string | null , message ?: string | null ) ;
15011505 constructor ( data : Record < string , any > ) ;
@@ -1519,15 +1523,16 @@ export class Status {
15191523 options ?: AuthOptions
15201524 ) : Promise < any > ;
15211525 static statusQuery ( source ?: User ) : Query < Object > ;
1522- static inboxQuery ( owner ?: User , inboxType ?: string ) : InboxQuery < Status > ;
1526+ static inboxQuery ( owner ?: User , inboxType ?: string ) : InboxQuery ;
15231527 get ( key : string ) : any ;
15241528 set ( key : string , value : any ) : this;
15251529 destroy ( options ?: AuthOptions ) : Promise < any > ;
15261530 toObject ( ) : Object ;
15271531 send ( options ?: AuthOptions ) : Promise < this> ;
15281532}
15291533
1530- export class InboxQuery < T extends Queriable > extends Query < T > {
1534+ // @ts -ignore
1535+ export class InboxQuery extends Query < Status > {
15311536 sinceId ( id : number ) : this;
15321537 maxId ( id : number ) : this;
15331538 owner ( owner : User ) : this;
You can’t perform that action at this time.
0 commit comments