@graphcommerce/magento-graphql 9.0.0-canary.60 → 9.0.0-canary.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.0-canary.62
4
+
5
+ ## 9.0.0-canary.61
6
+
3
7
  ## 9.0.0-canary.60
4
8
 
5
9
  ## 9.0.0-canary.59
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-graphql",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.0-canary.60",
5
+ "version": "9.0.0-canary.62",
6
6
  "sideEffects": false,
7
7
  "main": "index.ts",
8
8
  "prettier": "@graphcommerce/prettier-config-pwa",
@@ -13,10 +13,10 @@
13
13
  }
14
14
  },
15
15
  "peerDependencies": {
16
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.60",
17
- "@graphcommerce/graphql": "^9.0.0-canary.60",
18
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.60",
19
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.60",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.62",
17
+ "@graphcommerce/graphql": "^9.0.0-canary.62",
18
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.62",
19
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.62",
20
20
  "next": "*",
21
21
  "react": "^18.2.0",
22
22
  "react-dom": "^18.2.0"
@@ -32,3 +32,18 @@ type Mutation {
32
32
  """
33
33
  cancelOrder(input: CancelOrderInput!): CancelOrderOutput @deprecated(reason: "Magento >= 2.4.7")
34
34
  }
35
+
36
+ type CancellationReason {
37
+ description: String!
38
+ }
39
+
40
+ type StoreConfig {
41
+ """
42
+ Indicates whether orders can be cancelled by customers or not.
43
+ """
44
+ order_cancellation_enabled: Boolean
45
+ """
46
+ An array containing available cancellation reasons.
47
+ """
48
+ order_cancellation_reasons: [CancellationReason]
49
+ }