add space and finish item create/update mutations.

This commit is contained in:
2020-05-16 15:26:43 +02:00
parent 381cda1f8f
commit 51582210ca
9 changed files with 436 additions and 37 deletions
+5 -2
View File
@@ -40,14 +40,17 @@ input ItemCreateInput {
"Input for the editItem mutation."
input ItemEditInput {
"The item to edit."
itemId: String!
"Update the name."
setName: String
"Update the description."
setDescription: String
"Add new tags. The tags are added after removeTag tags are removed."
addTags: [String]
addTags: [String!]
"Remove existing tags. If a tag exists both here and in addTags, it will not be removed."
removeTags: [String]
removeTags: [String!]
"Update quantity unit."
setQuantityUnit: String
"Clear quantity unit."