From d10936749d324c670760b44f6f63424a7337bd51 Mon Sep 17 00:00:00 2001 From: David Jay Date: Fri, 17 Feb 2017 11:14:42 -0500 Subject: [PATCH] Adding DontAgreeActionSummaries --- graph/typeDefs.graphql | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/graph/typeDefs.graphql b/graph/typeDefs.graphql index 72696cd86..04fc5ed70 100644 --- a/graph/typeDefs.graphql +++ b/graph/typeDefs.graphql @@ -307,6 +307,19 @@ type FlagActionSummary implements ActionSummary { current_user: FlagAction } +# Summary for Don't Agree Action with a a unique reason. +type DontAgreeActionSummary implements ActionSummary { + + # The total count of flags with this reason. + count: Int! + + # The reason for which the Flag Action was created. + reason: String + + # The don't agree action by the current user against the parent entity with this reason. + current_user: DontAgreeAction +} + ################################################################################ ## Settings ################################################################################