Add warn for proportions mutation for product (#40)
This commit is contained in:
+13
-3
@@ -270,8 +270,6 @@ type Product {
|
||||
Will be single values return in later release
|
||||
"""
|
||||
type: [ProductType]
|
||||
# Below are for debug and will be removed soon
|
||||
fields_json: JSON
|
||||
}
|
||||
|
||||
type ProductFields {
|
||||
@@ -283,7 +281,7 @@ type ProductFields {
|
||||
canvasResolution: Int
|
||||
wallpaperResolution: Int
|
||||
copyright: String!
|
||||
proportionsWarning: String
|
||||
proportionsWarning: Boolean!
|
||||
marginWidthMax: Int
|
||||
marginWidthMin: Int
|
||||
marginHeightMax: Int
|
||||
@@ -419,6 +417,14 @@ input ProductBlacklistingInput {
|
||||
groupIds: [Int]
|
||||
}
|
||||
|
||||
input ProductProportionsInput {
|
||||
proportionsWarning: Boolean
|
||||
marginWidthMax: Int!
|
||||
marginWidthMin: Int!
|
||||
marginHeightMax: Int!
|
||||
marginHeightMin: Int!
|
||||
}
|
||||
|
||||
type IdNumberResult {
|
||||
id: Int!
|
||||
}
|
||||
@@ -436,6 +442,10 @@ type Mutation {
|
||||
): Product
|
||||
productGroup(productId: Int!, groupIds: [Int]): Product
|
||||
productKeywords(productId: Int!, keywordIds: [Int]): Product
|
||||
productProportionsWarning(
|
||||
productId: Int!
|
||||
proportions: ProductProportionsInput!
|
||||
): Product
|
||||
addOwnInteriorToPrintProduct(
|
||||
printId: Int!
|
||||
uploadedS3Key: String!
|
||||
|
||||
Reference in New Issue
Block a user