Error on duplicate.

This commit is contained in:
gaba
2017-05-08 13:11:48 -07:00
parent 28920eb357
commit cb09c50820
19 changed files with 173 additions and 266 deletions
+11 -6
View File
@@ -54,10 +54,10 @@ type User {
type Tag {
# the actual tag for the comment.
name: String!
id: String!
# the user that assigned the tag. If NULL then the system automatically tagged it.
assigned_by: String
added_by: String
# the time when the tag was assigned.
created_at: Date!
@@ -588,8 +588,13 @@ enum ACTION_ITEM_TYPE {
USERS
}
enum TAG_TYPE {
STAFF
input CreateLikeInput {
# The item's id for which we are to create a like.
item_id: ID!
# The type of the item for which we are to create the like.
item_type: ACTION_ITEM_TYPE!
}
input CreateCommentInput {
@@ -604,7 +609,7 @@ input CreateCommentInput {
body: String!
# Tags
tags: [TAG_TYPE]
tags: [String]
}
@@ -746,7 +751,7 @@ type RootMutation {
setCommentStatus(id: ID!, status: COMMENT_STATUS!): SetCommentStatusResponse
# Add tag to comment.
addCommentTag(id: ID!, tag: String!, privacy_type: String!): AddCommentTagResponse
addCommentTag(id: ID!, tag: String!): AddCommentTagResponse
# Remove tag from comment.
removeCommentTag(id: ID!, tag: String!): RemoveCommentTagResponse