Skip to content

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

Add new GraphQL schema

fowczarekdd5049db97b7
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index 6b04091cb2..4a95da5aa0 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -1626,7 +1626,7 @@ type Query {
type ReducedRate {
rate: Float!
- rateType: String!
+ rateType: TaxRateType!
}
type Refresh {
@@ -1908,6 +1908,7 @@ enum TaxRateType {
SOCIAL_HOUSING
STANDARD
WATER
+ WINE
}
type TaxedMoney {
diff --git a/saleor/static/dashboard-next/types/globalTypes.ts b/saleor/static/dashboard-next/types/globalTypes.ts
index 6eddfd70d0..2c86092ba2 100644
--- a/saleor/static/dashboard-next/types/globalTypes.ts
+++ b/saleor/static/dashboard-next/types/globalTypes.ts
@@ -116,6 +116,7 @@ export enum TaxRateType {
SOCIAL_HOUSING = "SOCIAL_HOUSING",
STANDARD = "STANDARD",
WATER = "WATER",
+ WINE = "WINE",
}
export enum WeightUnitsEnum {