Improve instance stats

This commit is contained in:
syuilo
2019-02-07 15:00:44 +09:00
parent 0bf602bae6
commit 336912e442
6 changed files with 78 additions and 6 deletions

View File

@ -32,4 +32,24 @@ export interface IInstance {
* このインスタンスから受け取った投稿数
*/
notesCount: number;
/**
* このインスタンスのユーザーからフォローされている、自インスタンスのユーザーの数
*/
followingCount: number;
/**
* このインスタンスのユーザーをフォローしている、自インスタンスのユーザーの数
*/
followersCount: number;
/**
* 最近の通信日時
*/
latestRequestSentAt?: Date;
/**
* 最近の通信のHTTPステータス
*/
latestStatus?: number;
}