Merge branch 'develop' into mkjs-n
This commit is contained in:
commit
3ec19e0b00
75 changed files with 650 additions and 562 deletions
|
|
@ -584,5 +584,4 @@ export type Endpoints = {
|
|||
$default: UserDetailed;
|
||||
};
|
||||
}; };
|
||||
'users/stats': { req: TODO; res: TODO; };
|
||||
};
|
||||
|
|
|
|||
|
|
@ -71,7 +71,9 @@ export type LiteInstanceMetadata = {
|
|||
themeColor: string | null;
|
||||
mascotImageUrl: string | null;
|
||||
bannerUrl: string | null;
|
||||
errorImageUrl: string | null;
|
||||
serverErrorImageUrl: string | null;
|
||||
infoImageUrl: string | null;
|
||||
notFoundImageUrl: string | null;
|
||||
iconUrl: string | null;
|
||||
backgroundImageUrl: string | null;
|
||||
logoImageUrl: string | null;
|
||||
|
|
|
|||
|
|
@ -186,6 +186,14 @@ export default class Stream extends EventEmitter<StreamEvents> {
|
|||
this.stream.send(JSON.stringify(typeOrPayload));
|
||||
}
|
||||
|
||||
public ping(): void {
|
||||
this.stream.send('ping');
|
||||
}
|
||||
|
||||
public heartbeat(): void {
|
||||
this.stream.send('h');
|
||||
}
|
||||
|
||||
/**
|
||||
* Close this connection
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue