4230: added functionality for new interior generation (#156)
* added functionality for new interior generation * update * fixes
This commit is contained in:
+10
-4
@@ -37,7 +37,7 @@ type Query {
|
||||
market(name: String!): Market
|
||||
locales: [Locale]
|
||||
locale(value: String!): Locale
|
||||
interiors(filter: InteriorsFilterInput): [Interior]
|
||||
interiors(input: InteriorsInput): [Interior]
|
||||
signedFileUploadURL(config: SignedUploadURLInput): SignedUploadURL
|
||||
@cacheControl(maxAge: 0)
|
||||
translate(input: TranslateInput!): StringResult!
|
||||
@@ -111,7 +111,7 @@ type ProductsSearchResult {
|
||||
references: [Product]
|
||||
}
|
||||
|
||||
input InteriorsFilterInput {
|
||||
input InteriorsInput {
|
||||
productId: Int!
|
||||
}
|
||||
|
||||
@@ -210,7 +210,9 @@ type OrderRowData {
|
||||
}
|
||||
|
||||
type CategoryLocaleData {
|
||||
path: String, name: String, locale: String
|
||||
path: String
|
||||
name: String
|
||||
locale: String
|
||||
}
|
||||
|
||||
type Category {
|
||||
@@ -242,7 +244,7 @@ type Copyright {
|
||||
}
|
||||
|
||||
type Facet {
|
||||
attribute: String,
|
||||
attribute: String
|
||||
values: [String]
|
||||
}
|
||||
|
||||
@@ -372,6 +374,9 @@ type Interior {
|
||||
roomName: String
|
||||
position: Int
|
||||
roomType: String
|
||||
"""
|
||||
uri is set when there is a generated file on s3, null otherwise
|
||||
"""
|
||||
uri: String
|
||||
roomNumber: Int
|
||||
type: InteriorType
|
||||
@@ -518,6 +523,7 @@ type Mutation {
|
||||
"""
|
||||
productGroup(productId: Int!, groupIds: [Int]): Product
|
||||
productGroupInteriors(productId: Int!, groupId: Int!, uris: [String]): Product
|
||||
generateInteriors(productId: Int!, roomIds: [String]!): StringResult
|
||||
addOwnInteriorToPrintProduct(
|
||||
printId: Int!
|
||||
uploadedS3Key: String!
|
||||
|
||||
Reference in New Issue
Block a user