From 336912e4422394499cb47ea1b8d42cf2020ec93f Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 7 Feb 2019 15:00:44 +0900 Subject: Improve instance stats --- src/models/instance.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/models/instance.ts') 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; } -- cgit v1.2.3-freya