Revert "Add publishing date (#107)" (#108)

This commit is contained in:
Anders Gustafsson
2022-03-11 09:19:07 +01:00
committed by GitHub
parent cf6b1fd56e
commit b1da0b547e
8 changed files with 4051 additions and 4166 deletions
+10 -27
View File
@@ -236,7 +236,6 @@ type Product {
browsable: Boolean!
inserted: DateTime!
updated: DateTime
publishingDate: DateTime!
printProducts: [PrintProduct]
blacklisting: [ProductBlacklist]
categories: [Category]
@@ -406,7 +405,6 @@ input ProductInfoInput {
designerId: Int
browsable: Boolean!
visible: Boolean!
publishingDate: DateTime!
printFileWidth: Int!
printFileHeight: Int!
printFileDpi: Int!
@@ -437,9 +435,8 @@ type IdNumberResult {
}
type Mutation {
"""
Product
"""
""" Product """
addProduct(name: String!, batch: String): Product
productInfo(productId: Int!, info: ProductInfoInput!): Product
productWallpaperType(
@@ -450,9 +447,8 @@ type Mutation {
productId: Int!
markets: [ProductBlacklistingInput]
): Product
"""
Product Image
"""
""" Product Image """
productFocusPoint(
productId: Int!
focusXpoint2: Float!
@@ -469,32 +465,22 @@ type Mutation {
height: Int!
): String
"""
Product Relations
"""
""" Product Relations """
addRelatedProducts(productId: Int!, articleNumbers: [String]!): Product
removeRelatedProducts(productId: Int!, relatedProductIds: [Int]!): Product
"""
Product Categories
"""
""" Product Categories """
addCategoriesToProduct(productId: Int!, categoryIds: [Int]!): Product
removeCategoriesFromProduct(productId: Int!, categoryIds: [Int]!): Product
"""
Product Keywords
"""
""" Product Keywords """
productKeywords(productId: Int!, keywordIds: [Int]): Product
addKeyword(name: String!, type: KeywordType): Keyword
"""
Product Other
"""
""" Product Other """
updateProductComments(productId: Int!, comments: String!): Product
"""
Printproducts
"""
""" Printproducts """
productGroup(productId: Int!, groupIds: [Int]): Product
productGroupInteriors(productId: Int!, groupId: Int!, uris: [String]): Product
addOwnInteriorToPrintProduct(
@@ -510,9 +496,7 @@ type Mutation {
border: BorderType!
): PrintProductDefaults
"""
Mass Update
"""
""" Mass Update """
massUpdatePublishing(
productIds: [Int]!
visible: Boolean
@@ -522,5 +506,4 @@ type Mutation {
productIds: [Int]!
markets: [ProductBlacklistingInput]
): StringResult
massUpdatePublishingDate(productIds: [Int]!, date: DateTime!): StringResult
}