summaryrefslogtreecommitdiff
path: root/src/models/instance.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2019-02-08 16:58:57 +0900
committerGitHub <noreply@github.com>2019-02-08 16:58:57 +0900
commit56275bcfcbd1366b0e96b79915e810baed0548bb (patch)
treeb35c8a6bd15ef8046c00119f0271808970f4f939 /src/models/instance.ts
parentSupress logs during test (diff)
downloadsharkey-56275bcfcbd1366b0e96b79915e810baed0548bb.tar.gz
sharkey-56275bcfcbd1366b0e96b79915e810baed0548bb.tar.bz2
sharkey-56275bcfcbd1366b0e96b79915e810baed0548bb.zip
Introduce per-instance chart (#4183)
* Introduce per-instance chart * Implement chart view in client * Handle note deleting * More chart srcs * Add drive stats * Improve drive stats * Fix bug * Add icon
Diffstat (limited to 'src/models/instance.ts')
-rw-r--r--src/models/instance.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/models/instance.ts b/src/models/instance.ts
index 242e80f300..985564f8de 100644
--- a/src/models/instance.ts
+++ b/src/models/instance.ts
@@ -44,6 +44,16 @@ export interface IInstance {
followersCount: number;
/**
+ * ドライブ使用量
+ */
+ driveUsage: number;
+
+ /**
+ * ドライブのファイル数
+ */
+ driveFiles: number;
+
+ /**
* 直近のリクエスト送信日時
*/
latestRequestSentAt?: Date;