summaryrefslogtreecommitdiff
path: root/src/models/instance.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/instance.ts')
-rw-r--r--src/models/instance.ts20
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;
}