diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-02-08 20:56:16 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-02-08 20:56:16 +0900 |
| commit | 5e0eda9526d512344485a4ec642775ca04c2c1af (patch) | |
| tree | 90dd49e1a9ca318816305b8e35ff812d32b91163 /src/models | |
| parent | 10.83.0 (diff) | |
| download | sharkey-5e0eda9526d512344485a4ec642775ca04c2c1af.tar.gz sharkey-5e0eda9526d512344485a4ec642775ca04c2c1af.tar.bz2 sharkey-5e0eda9526d512344485a4ec642775ca04c2c1af.zip | |
Improve instances manegement
Resolve #4187
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/instance.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/models/instance.ts b/src/models/instance.ts index 985564f8de..cdce570a4b 100644 --- a/src/models/instance.ts +++ b/src/models/instance.ts @@ -69,7 +69,22 @@ export interface IInstance { latestRequestReceivedAt?: Date; /** + * このインスタンスと不通かどうか + */ + isNotResponding: boolean; + + /** + * このインスタンスと最後にやり取りした日時 + */ + lastCommunicatedAt: Date; + + /** * このインスタンスをブロックしているか */ isBlocked: boolean; + + /** + * このインスタンスが閉鎖済みとしてマークされているか + */ + isMarkedAsClosed: boolean; } |