added cleanup mutation (#157)

* added cleanup mutation

* default to empty array
This commit is contained in:
Arwid Thornström
2023-10-17 11:18:29 +02:00
committed by GitHub
parent 91d6aa1d1a
commit 0ffeacc638
4 changed files with 127 additions and 0 deletions
+6
View File
@@ -462,6 +462,11 @@ type IdNumberResult {
id: Int!
}
type CleanupResponse {
active: [String]
deleted: [String]
}
type Mutation {
"""
Product
@@ -524,6 +529,7 @@ type Mutation {
productGroup(productId: Int!, groupIds: [Int]): Product
productGroupInteriors(productId: Int!, groupId: Int!, uris: [String]): Product
generateInteriors(productId: Int!, roomIds: [String]!): StringResult
cleanupInteriors(productId: Int!): CleanupResponse
addOwnInteriorToPrintProduct(
printId: Int!
uploadedS3Key: String!