diff options
Diffstat (limited to 'api/graphql/schema/label.graphql')
-rw-r--r-- | api/graphql/schema/label.graphql | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/api/graphql/schema/label.graphql b/api/graphql/schema/label.graphql index 1205915c..cbaf28b7 100644 --- a/api/graphql/schema/label.graphql +++ b/api/graphql/schema/label.graphql @@ -16,4 +16,19 @@ type LabelConnection { type LabelEdge { cursor: String! node: Label! -}
\ No newline at end of file +} + +enum LabelChangeStatus { + ADDED + REMOVED + DUPLICATE_IN_OP + ALREADY_SET + DOESNT_EXIST +} + +type LabelChangeResult { + """The source label.""" + label: Label! + """The effect this label had.""" + status: LabelChangeStatus! +} |