add more descriptions and update parity check name

Signed-off-by: Alexis Tyler <xo@wvvw.me>
This commit is contained in:
Alexis Tyler
2019-07-15 16:10:00 +09:30
parent 848829d5e7
commit aa9912329b
2 changed files with 8 additions and 4 deletions

View File

@@ -4,13 +4,13 @@ type Query {
type Mutation {
"""Start parity check"""
startPartityCheck(correct: Boolean): JSON @func(module: "array/update-parity", data: { state: "start" })
startPartityCheck(correct: Boolean): JSON @func(module: "array/update-parity-check", data: { state: "start" })
"""Pause parity check"""
pausePartityCheck: JSON @func(module: "array/update-parity", data: { state: "pause" })
pausePartityCheck: JSON @func(module: "array/update-parity-check", data: { state: "pause" })
"""Resume parity check"""
resumePartityCheck: JSON @func(module: "array/update-parity", data: { state: "resume" })
resumePartityCheck: JSON @func(module: "array/update-parity-check", data: { state: "resume" })
"""Cancel parity check"""
cancelPartityCheck: JSON @func(module: "array/update-parity", data: { state: "cancel" })
cancelPartityCheck: JSON @func(module: "array/update-parity-check", data: { state: "cancel" })
}
type ParityCheck {

View File

@@ -151,9 +151,13 @@ type Vars {
fsNumMounted: Int
fsNumUnmountable: Int
fsUnmountableMask: String
"""Total amount of user shares"""
shareCount: Int
"""Total amount shares with SMB enabled"""
shareSmbCount: Int
"""Total amount shares with NFS enabled"""
shareNfsCount: Int
"""Total amount shares with AFP enabled"""
shareAfpCount: Int
shareMoverActive: Boolean
csrfToken: String