diff --git a/app/graphql/schema/types/array/parity.graphql b/app/graphql/schema/types/array/parity.graphql index 39d77f5b6..4a73e487d 100644 --- a/app/graphql/schema/types/array/parity.graphql +++ b/app/graphql/schema/types/array/parity.graphql @@ -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 { diff --git a/app/graphql/schema/types/vars/vars.graphql b/app/graphql/schema/types/vars/vars.graphql index a2fd5ba80..cf4ad4552 100644 --- a/app/graphql/schema/types/vars/vars.graphql +++ b/app/graphql/schema/types/vars/vars.graphql @@ -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