Skip to content

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

Update GraphQL schema

Pacu2548fc671ea6f
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index 82b0624019..5cd90eaadf 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -626,23 +626,6 @@ input FulfillmentUpdateInput {
scalar GenericScalar
-type Group implements Node {
- id: ID!
- name: String!
- permissions: [PermissionDisplay]
-}
-
-type GroupCountableConnection {
- pageInfo: PageInfo!
- edges: [GroupCountableEdge!]!
- totalCount: Int
-}
-
-type GroupCountableEdge {
- node: Group!
- cursor: String!
-}
-
type HomepageCollectionUpdate {
errors: [Error]
shop: Shop
@@ -877,7 +860,7 @@ type Order implements Node {
trackingClientId: String!
billingAddress: Address
shippingAddress: Address
- userEmail: String!
+ userEmail: String
shippingMethod: ShippingMethod
shippingPrice: TaxedMoney
shippingMethodName: String
@@ -1716,7 +1699,6 @@ scalar Upload
type User implements Node {
id: ID!
- groups(before: String, after: String, first: Int, last: Int): GroupCountableConnection
email: String!
addresses(before: String, after: String, first: Int, last: Int): AddressCountableConnection
isStaff: Boolean!
diff --git a/saleor/static/dashboard-next/orders/types/OrderList.ts b/saleor/static/dashboard-next/orders/types/OrderList.ts
index 713c6d3723..ed424efe5e 100644
--- a/saleor/static/dashboard-next/orders/types/OrderList.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderList.ts
@@ -26,7 +26,7 @@ export interface OrderList_orders_edges_node {
paymentStatus: string | null;
status: OrderStatus;
total: OrderList_orders_edges_node_total | null;
- userEmail: string;
+ userEmail: string | null;
}
export interface OrderList_orders_edges {