Update error type on CollectionBulkDelete

This commit is contained in:
Damian W 2021-03-29 12:28:59 +02:00
parent 9d01f5b24e
commit 3e0794cb61
402 changed files with 463 additions and 51 deletions

View file

@ -479,6 +479,7 @@ input AttributeFilterInput {
filterableInStorefront: Boolean filterableInStorefront: Boolean
filterableInDashboard: Boolean filterableInDashboard: Boolean
availableInGrid: Boolean availableInGrid: Boolean
metadata: [MetadataInput]
search: String search: String
ids: [ID] ids: [ID]
type: AttributeTypeEnum type: AttributeTypeEnum
@ -571,6 +572,7 @@ type AttributeValue implements Node {
id: ID! id: ID!
name: String name: String
slug: String slug: String
value: String
translation(languageCode: LanguageCodeEnum!): AttributeValueTranslation translation(languageCode: LanguageCodeEnum!): AttributeValueTranslation
inputType: AttributeInputTypeEnum inputType: AttributeInputTypeEnum
reference: ID reference: ID
@ -592,6 +594,7 @@ type AttributeValueCreate {
input AttributeValueCreateInput { input AttributeValueCreateInput {
name: String! name: String!
value: String
} }
type AttributeValueDelete { type AttributeValueDelete {
@ -717,6 +720,7 @@ type CategoryDelete {
input CategoryFilterInput { input CategoryFilterInput {
search: String search: String
metadata: [MetadataInput]
ids: [ID] ids: [ID]
} }
@ -1070,7 +1074,7 @@ type CollectionAddProducts {
type CollectionBulkDelete { type CollectionBulkDelete {
errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.") errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int! count: Int!
productErrors: [ProductError!]! collectionErrors: [CollectionError!]!
} }
type CollectionChannelListing implements Node { type CollectionChannelListing implements Node {
@ -1155,6 +1159,7 @@ enum CollectionErrorCode {
input CollectionFilterInput { input CollectionFilterInput {
published: CollectionPublished published: CollectionPublished
search: String search: String
metadata: [MetadataInput]
ids: [ID] ids: [ID]
channel: String channel: String
} }
@ -2426,6 +2431,7 @@ enum MenuErrorCode {
input MenuFilterInput { input MenuFilterInput {
search: String search: String
slug: [String] slug: [String]
metadata: [MetadataInput]
} }
input MenuInput { input MenuInput {
@ -2490,6 +2496,7 @@ type MenuItemDelete {
input MenuItemFilterInput { input MenuItemFilterInput {
search: String search: String
metadata: [MetadataInput]
} }
input MenuItemInput { input MenuItemInput {
@ -3034,6 +3041,7 @@ input OrderDraftFilterInput {
customer: String customer: String
created: DateRangeInput created: DateRangeInput
search: String search: String
metadata: [MetadataInput]
channels: [ID] channels: [ID]
} }
@ -3191,6 +3199,7 @@ input OrderFilterInput {
customer: String customer: String
created: DateRangeInput created: DateRangeInput
search: String search: String
metadata: [MetadataInput]
channels: [ID] channels: [ID]
} }
@ -3494,6 +3503,7 @@ enum PageErrorCode {
input PageFilterInput { input PageFilterInput {
search: String search: String
metadata: [MetadataInput]
} }
type PageInfo { type PageInfo {
@ -3726,6 +3736,10 @@ enum PaymentErrorCode {
NOT_SUPPORTED_GATEWAY NOT_SUPPORTED_GATEWAY
} }
input PaymentFilterInput {
checkouts: [ID]
}
type PaymentGateway { type PaymentGateway {
name: String! name: String!
id: ID! id: ID!
@ -3957,7 +3971,7 @@ type Product implements Node & ObjectWithMetadata {
mediaById(id: ID): ProductMedia! mediaById(id: ID): ProductMedia!
imageById(id: ID): ProductImage @deprecated(reason: "Will be removed in Saleor 4.0. Use the `mediaById` field instead.") imageById(id: ID): ProductImage @deprecated(reason: "Will be removed in Saleor 4.0. Use the `mediaById` field instead.")
variants: [ProductVariant] variants: [ProductVariant]
media: [ProductMedia] media: [ProductMedia!]
images: [ProductImage] @deprecated(reason: "Will be removed in Saleor 4.0. Use the `media` field instead.") images: [ProductImage] @deprecated(reason: "Will be removed in Saleor 4.0. Use the `media` field instead.")
collections: [Collection] collections: [Collection]
translation(languageCode: LanguageCodeEnum!): ProductTranslation translation(languageCode: LanguageCodeEnum!): ProductTranslation
@ -4127,6 +4141,7 @@ input ProductFilterInput {
productType: ID productType: ID
stocks: ProductStockFilterInput stocks: ProductStockFilterInput
search: String search: String
metadata: [MetadataInput]
price: PriceRangeInput price: PriceRangeInput
minimalPrice: PriceRangeInput minimalPrice: PriceRangeInput
productTypes: [ID] productTypes: [ID]
@ -4341,6 +4356,7 @@ input ProductTypeFilterInput {
search: String search: String
configurable: ProductTypeConfigurable configurable: ProductTypeConfigurable
productType: ProductTypeEnum productType: ProductTypeEnum
metadata: [MetadataInput]
ids: [ID] ids: [ID]
} }
@ -4486,6 +4502,7 @@ type ProductVariantDelete {
input ProductVariantFilterInput { input ProductVariantFilterInput {
search: String search: String
sku: [String] sku: [String]
metadata: [MetadataInput]
} }
input ProductVariantInput { input ProductVariantInput {
@ -4590,7 +4607,7 @@ type Query {
productVariants(ids: [ID], channel: String, filter: ProductVariantFilterInput, before: String, after: String, first: Int, last: Int): ProductVariantCountableConnection productVariants(ids: [ID], channel: String, filter: ProductVariantFilterInput, before: String, after: String, first: Int, last: Int): ProductVariantCountableConnection
reportProductSales(period: ReportingPeriod!, channel: String!, before: String, after: String, first: Int, last: Int): ProductVariantCountableConnection reportProductSales(period: ReportingPeriod!, channel: String!, before: String, after: String, first: Int, last: Int): ProductVariantCountableConnection
payment(id: ID!): Payment payment(id: ID!): Payment
payments(before: String, after: String, first: Int, last: Int): PaymentCountableConnection payments(filter: PaymentFilterInput, before: String, after: String, first: Int, last: Int): PaymentCountableConnection
page(id: ID, slug: String): Page page(id: ID, slug: String): Page
pages(sortBy: PageSortingInput, filter: PageFilterInput, before: String, after: String, first: Int, last: Int): PageCountableConnection pages(sortBy: PageSortingInput, filter: PageFilterInput, before: String, after: String, first: Int, last: Int): PageCountableConnection
pageType(id: ID!): PageType pageType(id: ID!): PageType
@ -5359,23 +5376,11 @@ type Transaction implements Node {
token: String! token: String!
kind: TransactionKind! kind: TransactionKind!
isSuccess: Boolean! isSuccess: Boolean!
error: TransactionError error: String
gatewayResponse: JSONString!
amount: Money amount: Money
} }
enum TransactionError {
TRANSACTIONERROR_INCORRECT_NUMBER
TRANSACTIONERROR_INVALID_NUMBER
TRANSACTIONERROR_INCORRECT_CVV
TRANSACTIONERROR_INVALID_CVV
TRANSACTIONERROR_INCORRECT_ZIP
TRANSACTIONERROR_INCORRECT_ADDRESS
TRANSACTIONERROR_INVALID_EXPIRY_DATE
TRANSACTIONERROR_EXPIRED
TRANSACTIONERROR_PROCESSING_ERROR
TRANSACTIONERROR_DECLINED
}
enum TransactionKind { enum TransactionKind {
EXTERNAL EXTERNAL
AUTH AUTH

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AppTypeEnum, PermissionEnum } from "./../../types/globalTypes"; import { AppTypeEnum, PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AppErrorCode, PermissionEnum } from "./../../types/globalTypes"; import { AppErrorCode, PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AppInput, AppTypeEnum, AppErrorCode, PermissionEnum } from "./../../types/globalTypes"; import { AppInput, AppTypeEnum, AppErrorCode, PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AppErrorCode, PermissionEnum } from "./../../types/globalTypes"; import { AppErrorCode, PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AppTypeEnum, AppErrorCode, PermissionEnum } from "./../../types/globalTypes"; import { AppTypeEnum, AppErrorCode, PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { JobStatusEnum, AppErrorCode, PermissionEnum } from "./../../types/globalTypes"; import { JobStatusEnum, AppErrorCode, PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { PermissionEnum, AppErrorCode } from "./../../types/globalTypes"; import { PermissionEnum, AppErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AppInstallInput, JobStatusEnum, AppErrorCode, PermissionEnum } from "./../../types/globalTypes"; import { AppInstallInput, JobStatusEnum, AppErrorCode, PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { JobStatusEnum, AppErrorCode, PermissionEnum } from "./../../types/globalTypes"; import { JobStatusEnum, AppErrorCode, PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AppTokenInput, AppErrorCode, PermissionEnum } from "./../../types/globalTypes"; import { AppTokenInput, AppErrorCode, PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AppErrorCode, PermissionEnum } from "./../../types/globalTypes"; import { AppErrorCode, PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AppInput, AppTypeEnum, PermissionEnum, AppErrorCode } from "./../../types/globalTypes"; import { AppInput, AppTypeEnum, PermissionEnum, AppErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { JobStatusEnum } from "./../../types/globalTypes"; import { JobStatusEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AppSortingInput, AppFilterInput, AppTypeEnum } from "./../../types/globalTypes"; import { AppSortingInput, AppFilterInput, AppTypeEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AttributeErrorCode } from "./../../types/globalTypes"; import { AttributeErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AttributeCreateInput, AttributeTypeEnum, AttributeInputTypeEnum, AttributeEntityTypeEnum, AttributeErrorCode } from "./../../types/globalTypes"; import { AttributeCreateInput, AttributeTypeEnum, AttributeInputTypeEnum, AttributeEntityTypeEnum, AttributeErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AttributeErrorCode } from "./../../types/globalTypes"; import { AttributeErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AttributeTypeEnum, AttributeInputTypeEnum, AttributeEntityTypeEnum } from "./../../types/globalTypes"; import { AttributeTypeEnum, AttributeInputTypeEnum, AttributeEntityTypeEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AttributeFilterInput, AttributeSortingInput, AttributeTypeEnum } from "./../../types/globalTypes"; import { AttributeFilterInput, AttributeSortingInput, AttributeTypeEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AttributeUpdateInput, AttributeTypeEnum, AttributeInputTypeEnum, AttributeEntityTypeEnum, AttributeErrorCode } from "./../../types/globalTypes"; import { AttributeUpdateInput, AttributeTypeEnum, AttributeInputTypeEnum, AttributeEntityTypeEnum, AttributeErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AttributeValueCreateInput, AttributeTypeEnum, AttributeInputTypeEnum, AttributeEntityTypeEnum, AttributeErrorCode } from "./../../types/globalTypes"; import { AttributeValueCreateInput, AttributeTypeEnum, AttributeInputTypeEnum, AttributeEntityTypeEnum, AttributeErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AttributeTypeEnum, AttributeInputTypeEnum, AttributeEntityTypeEnum, AttributeErrorCode } from "./../../types/globalTypes"; import { AttributeTypeEnum, AttributeInputTypeEnum, AttributeEntityTypeEnum, AttributeErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { ReorderInput, AttributeErrorCode } from "./../../types/globalTypes"; import { ReorderInput, AttributeErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AttributeValueCreateInput, AttributeTypeEnum, AttributeInputTypeEnum, AttributeEntityTypeEnum, AttributeErrorCode } from "./../../types/globalTypes"; import { AttributeValueCreateInput, AttributeTypeEnum, AttributeInputTypeEnum, AttributeEntityTypeEnum, AttributeErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
// ==================================================== // ====================================================

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AccountErrorCode } from "./../../types/globalTypes"; import { AccountErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { PermissionEnum, AccountErrorCode } from "./../../types/globalTypes"; import { PermissionEnum, AccountErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
// ==================================================== // ====================================================

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { PermissionEnum } from "./../../types/globalTypes"; import { PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
// ==================================================== // ====================================================

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AccountErrorCode } from "./../../types/globalTypes"; import { AccountErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AccountErrorCode, PermissionEnum } from "./../../types/globalTypes"; import { AccountErrorCode, PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { PermissionEnum } from "./../../types/globalTypes"; import { PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { PermissionEnum } from "./../../types/globalTypes"; import { PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { ProductErrorCode } from "./../../types/globalTypes"; import { ProductErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CategoryInput, ProductErrorCode } from "./../../types/globalTypes"; import { CategoryInput, ProductErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { ProductErrorCode } from "./../../types/globalTypes"; import { ProductErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
// ==================================================== // ====================================================

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CategoryInput, ProductErrorCode } from "./../../types/globalTypes"; import { CategoryInput, ProductErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CategoryFilterInput, CategorySortingInput } from "./../../types/globalTypes"; import { CategoryFilterInput, CategorySortingInput } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
// ==================================================== // ====================================================

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
// ==================================================== // ====================================================

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { ChannelErrorCode } from "./../../types/globalTypes"; import { ChannelErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { ChannelCreateInput, ChannelErrorCode } from "./../../types/globalTypes"; import { ChannelCreateInput, ChannelErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { ChannelErrorCode } from "./../../types/globalTypes"; import { ChannelErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { ChannelDeleteInput, ChannelErrorCode } from "./../../types/globalTypes"; import { ChannelDeleteInput, ChannelErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { ChannelUpdateInput, ChannelErrorCode } from "./../../types/globalTypes"; import { ChannelUpdateInput, ChannelErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
// ==================================================== // ====================================================

View file

@ -8,8 +8,7 @@ import {
} from "@saleor/fragments/collections"; } from "@saleor/fragments/collections";
import { import {
collectionChannelListingErrorFragment, collectionChannelListingErrorFragment,
collectionsErrorFragment, collectionsErrorFragment
productErrorFragment
} from "@saleor/fragments/errors"; } from "@saleor/fragments/errors";
import makeMutation from "@saleor/hooks/makeMutation"; import makeMutation from "@saleor/hooks/makeMutation";
import gql from "graphql-tag"; import gql from "graphql-tag";
@ -181,11 +180,11 @@ export const useUnassignCollectionProductMutation = makeMutation<
>(unassignCollectionProduct); >(unassignCollectionProduct);
const collectionBulkDelete = gql` const collectionBulkDelete = gql`
${productErrorFragment} ${collectionsErrorFragment}
mutation CollectionBulkDelete($ids: [ID]!) { mutation CollectionBulkDelete($ids: [ID]!) {
collectionBulkDelete(ids: $ids) { collectionBulkDelete(ids: $ids) {
errors: productErrors { errors: collectionErrors {
...ProductErrorFragment ...CollectionErrorFragment
} }
} }
} }

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CollectionErrorCode } from "./../../types/globalTypes"; import { CollectionErrorCode } from "./../../types/globalTypes";

View file

@ -1,16 +1,17 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { ProductErrorCode } from "./../../types/globalTypes"; import { CollectionErrorCode } from "./../../types/globalTypes";
// ==================================================== // ====================================================
// GraphQL mutation operation: CollectionBulkDelete // GraphQL mutation operation: CollectionBulkDelete
// ==================================================== // ====================================================
export interface CollectionBulkDelete_collectionBulkDelete_errors { export interface CollectionBulkDelete_collectionBulkDelete_errors {
__typename: "ProductError"; __typename: "CollectionError";
code: ProductErrorCode; code: CollectionErrorCode;
field: string | null; field: string | null;
} }

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CollectionChannelListingUpdateInput, ProductErrorCode } from "./../../types/globalTypes"; import { CollectionChannelListingUpdateInput, ProductErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
// ==================================================== // ====================================================

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CollectionFilterInput, CollectionSortingInput } from "./../../types/globalTypes"; import { CollectionFilterInput, CollectionSortingInput } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CollectionInput, CollectionErrorCode } from "./../../types/globalTypes"; import { CollectionInput, CollectionErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CollectionCreateInput, CollectionErrorCode } from "./../../types/globalTypes"; import { CollectionCreateInput, CollectionErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CollectionErrorCode } from "./../../types/globalTypes"; import { CollectionErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CollectionErrorCode } from "./../../types/globalTypes"; import { CollectionErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { OrderStatus } from "./../../../../types/globalTypes"; import { OrderStatus } from "./../../../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
// ==================================================== // ====================================================

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { WeightUnitsEnum, LanguageCodeEnum, PermissionEnum } from "./../../../types/globalTypes"; import { WeightUnitsEnum, LanguageCodeEnum, PermissionEnum } from "./../../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { JobStatusEnum } from "./../../../types/globalTypes"; import { JobStatusEnum } from "./../../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { JobStatusEnum } from "./../../../types/globalTypes"; import { JobStatusEnum } from "./../../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AccountErrorCode } from "./../../types/globalTypes"; import { AccountErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { UserCreateInput, AccountErrorCode } from "./../../types/globalTypes"; import { UserCreateInput, AccountErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AddressInput, AccountErrorCode } from "./../../types/globalTypes"; import { AddressInput, AccountErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
// ==================================================== // ====================================================

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
// ==================================================== // ====================================================

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { PaymentChargeStatusEnum } from "./../../types/globalTypes"; import { PaymentChargeStatusEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CustomerFilterInput, UserSortingInput } from "./../../types/globalTypes"; import { CustomerFilterInput, UserSortingInput } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AccountErrorCode } from "./../../types/globalTypes"; import { AccountErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AccountErrorCode } from "./../../types/globalTypes"; import { AccountErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AddressTypeEnum, AccountErrorCode } from "./../../types/globalTypes"; import { AddressTypeEnum, AccountErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CustomerInput, AccountErrorCode } from "./../../types/globalTypes"; import { CustomerInput, AccountErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AddressInput, AccountErrorCode } from "./../../types/globalTypes"; import { AddressInput, AccountErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
// ==================================================== // ====================================================

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CatalogueInput, DiscountErrorCode, SaleType } from "./../../types/globalTypes"; import { CatalogueInput, DiscountErrorCode, SaleType } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CatalogueInput, DiscountErrorCode, SaleType } from "./../../types/globalTypes"; import { CatalogueInput, DiscountErrorCode, SaleType } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { SaleChannelListingInput, DiscountErrorCode, SaleType } from "./../../types/globalTypes"; import { SaleChannelListingInput, DiscountErrorCode, SaleType } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { SaleInput, DiscountErrorCode, SaleType } from "./../../types/globalTypes"; import { SaleInput, DiscountErrorCode, SaleType } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { DiscountErrorCode } from "./../../types/globalTypes"; import { DiscountErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { SaleType } from "./../../types/globalTypes"; import { SaleType } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { SaleFilterInput, SaleSortingInput, SaleType } from "./../../types/globalTypes"; import { SaleFilterInput, SaleSortingInput, SaleType } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { SaleInput, DiscountErrorCode, SaleType } from "./../../types/globalTypes"; import { SaleInput, DiscountErrorCode, SaleType } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
// ==================================================== // ====================================================

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CatalogueInput, DiscountErrorCode, DiscountValueTypeEnum, VoucherTypeEnum } from "./../../types/globalTypes"; import { CatalogueInput, DiscountErrorCode, DiscountValueTypeEnum, VoucherTypeEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { CatalogueInput, DiscountErrorCode, DiscountValueTypeEnum, VoucherTypeEnum } from "./../../types/globalTypes"; import { CatalogueInput, DiscountErrorCode, DiscountValueTypeEnum, VoucherTypeEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { VoucherChannelListingInput, DiscountErrorCode, DiscountValueTypeEnum } from "./../../types/globalTypes"; import { VoucherChannelListingInput, DiscountErrorCode, DiscountValueTypeEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { VoucherInput, DiscountErrorCode, DiscountValueTypeEnum } from "./../../types/globalTypes"; import { VoucherInput, DiscountErrorCode, DiscountValueTypeEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { DiscountErrorCode } from "./../../types/globalTypes"; import { DiscountErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { DiscountValueTypeEnum, VoucherTypeEnum } from "./../../types/globalTypes"; import { DiscountValueTypeEnum, VoucherTypeEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { VoucherFilterInput, VoucherSortingInput, DiscountValueTypeEnum } from "./../../types/globalTypes"; import { VoucherFilterInput, VoucherSortingInput, DiscountValueTypeEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { VoucherInput, DiscountErrorCode, DiscountValueTypeEnum } from "./../../types/globalTypes"; import { VoucherInput, DiscountErrorCode, DiscountValueTypeEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { UploadErrorCode } from "./../../types/globalTypes"; import { UploadErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AccountErrorCode } from "./../../types/globalTypes"; import { AccountErrorCode } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
// ==================================================== // ====================================================

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AppErrorCode, PermissionEnum } from "./../../types/globalTypes"; import { AppErrorCode, PermissionEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AppTypeEnum } from "./../../types/globalTypes"; import { AppTypeEnum } from "./../../types/globalTypes";

View file

@ -1,5 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
// @generated
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { AttributeTypeEnum, AttributeInputTypeEnum, AttributeEntityTypeEnum } from "./../../types/globalTypes"; import { AttributeTypeEnum, AttributeInputTypeEnum, AttributeEntityTypeEnum } from "./../../types/globalTypes";

Some files were not shown because too many files have changed in this diff Show more