Skip to content

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

Update types

dominik-zeglen4feff5bb4763
diff --git a/saleor/static/dashboard-next/discounts/fixtures.ts b/saleor/static/dashboard-next/discounts/fixtures.ts
index bb2bab755f..2d08eb6824 100644
--- a/saleor/static/dashboard-next/discounts/fixtures.ts
+++ b/saleor/static/dashboard-next/discounts/fixtures.ts
@@ -1,7 +1,6 @@
import * as placeholderImage from "../../images/placeholder60x60.png";
import {
SaleType,
- VoucherCountries,
VoucherDiscountValueType,
VoucherType
} from "../types/globalTypes";
diff --git a/saleor/static/dashboard-next/types/globalTypes.ts b/saleor/static/dashboard-next/types/globalTypes.ts
index 1f99bf92f8..37277ef818 100644
--- a/saleor/static/dashboard-next/types/globalTypes.ts
+++ b/saleor/static/dashboard-next/types/globalTypes.ts
@@ -189,6 +189,12 @@ export interface AuthorizationKeyInput {
password: string;
}
+export interface CatalogueInput {
+ products?: (string | null)[] | null;
+ categories?: (string | null)[] | null;
+ collections?: (string | null)[] | null;
+}
+
export interface CategoryInput {
description?: string | null;
name?: string | null;