diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-02-07 15:00:44 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-02-07 15:00:44 +0900 |
| commit | 336912e4422394499cb47ea1b8d42cf2020ec93f (patch) | |
| tree | 0bd8c6ef58834a2640ae83b56cb7b70cd756790b /src/models/instance.ts | |
| parent | 10.82.3 (diff) | |
| download | sharkey-336912e4422394499cb47ea1b8d42cf2020ec93f.tar.gz sharkey-336912e4422394499cb47ea1b8d42cf2020ec93f.tar.bz2 sharkey-336912e4422394499cb47ea1b8d42cf2020ec93f.zip | |
Improve instance stats
Diffstat (limited to 'src/models/instance.ts')
| -rw-r--r-- | src/models/instance.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/models/instance.ts b/src/models/instance.ts index d3906df427..7a94a0a041 100644 --- a/src/models/instance.ts +++ b/src/models/instance.ts @@ -32,4 +32,24 @@ export interface IInstance { * このインスタンスから受け取った投稿数 */ notesCount: number; + + /** + * このインスタンスのユーザーからフォローされている、自インスタンスのユーザーの数 + */ + followingCount: number; + + /** + * このインスタンスのユーザーをフォローしている、自インスタンスのユーザーの数 + */ + followersCount: number; + + /** + * 最近の通信日時 + */ + latestRequestSentAt?: Date; + + /** + * 最近の通信のHTTPステータス + */ + latestStatus?: number; } |