From aa9912329bcd13d9fa431a7ff4822142ae75eec6 Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Mon, 15 Jul 2019 16:10:00 +0930 Subject: [PATCH] add more descriptions and update parity check name Signed-off-by: Alexis Tyler --- app/graphql/schema/types/array/parity.graphql | 8 ++++---- app/graphql/schema/types/vars/vars.graphql | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) 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