Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove unused types

dominik-zeglen1ae3d123998f
diff --git a/saleor/static/dashboard-next/productTypes/types/AttributeCreate.ts b/saleor/static/dashboard-next/productTypes/types/AttributeCreate.ts
deleted file mode 100644
index 1711348911..0000000000
--- a/saleor/static/dashboard-next/productTypes/types/AttributeCreate.ts
+++ /dev/null
@@ -1,85 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-// This file was automatically generated and should not be edited.
-
-import { AttributeCreateInput, AttributeTypeEnum } from "./../../types/globalTypes";
-
-// ====================================================
-// GraphQL mutation operation: AttributeCreate
-// ====================================================
-
-export interface AttributeCreate_attributeCreate_errors {
- __typename: "Error";
- field: string | null;
- message: string | null;
-}
-
-export interface AttributeCreate_attributeCreate_productType_taxType {
- __typename: "TaxType";
- description: string | null;
- taxCode: string | null;
-}
-
-export interface AttributeCreate_attributeCreate_productType_productAttributes_values {
- __typename: "AttributeValue";
- id: string;
- name: string | null;
- slug: string | null;
-}
-
-export interface AttributeCreate_attributeCreate_productType_productAttributes {
- __typename: "Attribute";
- id: string;
- name: string | null;
- slug: string | null;
- values: (AttributeCreate_attributeCreate_productType_productAttributes_values | null)[] | null;
-}
-
-export interface AttributeCreate_attributeCreate_productType_variantAttributes_values {
- __typename: "AttributeValue";
- id: string;
- name: string | null;
- slug: string | null;
-}
-
-export interface AttributeCreate_attributeCreate_productType_variantAttributes {
- __typename: "Attribute";
- id: string;
- name: string | null;
- slug: string | null;
- values: (AttributeCreate_attributeCreate_productType_variantAttributes_values | null)[] | null;
-}
-
-export interface AttributeCreate_attributeCreate_productType_weight {
- __typename: "Weight";
- unit: string;
- value: number;
-}
-
-export interface AttributeCreate_attributeCreate_productType {
- __typename: "ProductType";
- id: string;
- name: string;
- hasVariants: boolean;
- isShippingRequired: boolean;
- taxType: AttributeCreate_attributeCreate_productType_taxType | null;
- productAttributes: (AttributeCreate_attributeCreate_productType_productAttributes | null)[] | null;
- variantAttributes: (AttributeCreate_attributeCreate_productType_variantAttributes | null)[] | null;
- weight: AttributeCreate_attributeCreate_productType_weight | null;
-}
-
-export interface AttributeCreate_attributeCreate {
- __typename: "AttributeCreate";
- errors: AttributeCreate_attributeCreate_errors[] | null;
- productType: AttributeCreate_attributeCreate_productType | null;
-}
-
-export interface AttributeCreate {
- attributeCreate: AttributeCreate_attributeCreate | null;
-}
-
-export interface AttributeCreateVariables {
- id: string;
- input: AttributeCreateInput;
- type: AttributeTypeEnum;
-}
diff --git a/saleor/static/dashboard-next/productTypes/types/AttributeDelete.ts b/saleor/static/dashboard-next/productTypes/types/AttributeDelete.ts
deleted file mode 100644
index 2cd44da904..0000000000
--- a/saleor/static/dashboard-next/productTypes/types/AttributeDelete.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-// This file was automatically generated and should not be edited.
-
-// ====================================================
-// GraphQL mutation operation: AttributeDelete
-// ====================================================
-
-export interface AttributeDelete_attributeDelete_errors {
- __typename: "Error";
- field: string | null;
- message: string | null;
-}
-
-export interface AttributeDelete_attributeDelete {
- __typename: "AttributeDelete";
- errors: AttributeDelete_attributeDelete_errors[] | null;
-}
-
-export interface AttributeDelete {
- attributeDelete: AttributeDelete_attributeDelete | null;
-}
-
-export interface AttributeDeleteVariables {
- id: string;
-}
diff --git a/saleor/static/dashboard-next/productTypes/types/AttributeUpdate.ts b/saleor/static/dashboard-next/productTypes/types/AttributeUpdate.ts
deleted file mode 100644
index 08245fd55a..0000000000
--- a/saleor/static/dashboard-next/productTypes/types/AttributeUpdate.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-// This file was automatically generated and should not be edited.
-
-import { AttributeUpdateInput } from "./../../types/globalTypes";
-
-// ====================================================
-// GraphQL mutation operation: AttributeUpdate
-// ====================================================
-
-export interface AttributeUpdate_attributeUpdate_errors {
- __typename: "Error";
- field: string | null;
- message: string | null;
-}
-
-export interface AttributeUpdate_attributeUpdate_attribute_values {
- __typename: "AttributeValue";
- id: string;
- name: string | null;
- slug: string | null;
-}
-
-export interface AttributeUpdate_attributeUpdate_attribute {
- __typename: "Attribute";
- id: string;
- name: string | null;
- slug: string | null;
- values: (AttributeUpdate_attributeUpdate_attribute_values | null)[] | null;
-}
-
-export interface AttributeUpdate_attributeUpdate {
- __typename: "AttributeUpdate";
- errors: AttributeUpdate_attributeUpdate_errors[] | null;
- attribute: AttributeUpdate_attributeUpdate_attribute | null;
-}
-
-export interface AttributeUpdate {
- attributeUpdate: AttributeUpdate_attributeUpdate | null;
-}
-
-export interface AttributeUpdateVariables {
- id: string;
- input: AttributeUpdateInput;
-}