Skip to content

Commit e3bdbf9

Browse files
authored
Merge pull request #62 from vtex-apps/feat/clear-of-messages
CHK-464: Add resource for clearOrderFormMessages mutation
2 parents db1e79d + 830627d commit e3bdbf9

File tree

6 files changed

+18
-8
lines changed

6 files changed

+18
-8
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@
1010

1111
- [ ] Updated `README.md`.
1212
- [ ] Updated `CHANGELOG.md`.
13-
- [ ] Linked this PR to a Clubhouse story (if applicable).
13+
- [ ] Linked this PR to a Jira story (if applicable).
1414
- [ ] Updated/created tests (important for bug fixes).
1515
- [ ] Deleted the workspace after merging this PR (if applicable).
1616

17-
#### Screenshots or example usage
18-
1917
#### Type of changes
2018

2119
<!--- Add a ✔️ where applicable -->

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9+
### Added
10+
- Mutation `clearOrderFormMessages`.
911

1012
## [0.37.0] - 2020-10-30
1113
### Added
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import clearOrderFormMessages from './mutations/clearOrderFormMessages.graphql'
2+
3+
export default clearOrderFormMessages
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# import '../fragments/orderForm.graphql'
2+
3+
mutation ClearOrderFormMessages($orderFormId: ID!) {
4+
clearOrderFormMessages(orderFormId: $orderFormId) {
5+
...OrderFormFragment
6+
}
7+
}

react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@types/react-intl": "^2.3.17",
2929
"@vtex/test-tools": "^2.1.1",
3030
"apollo-client": "^2.5.1",
31-
"typescript": "3.8.3",
31+
"typescript": "3.9.7",
3232
"vtex.apps-graphql": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.apps-graphql@2.5.1/public/@types/vtex.apps-graphql",
3333
"vtex.checkout-graphql": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.checkout-graphql@0.39.1/public/@types/vtex.checkout-graphql",
3434
"vtex.gateway-graphql": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.gateway-graphql@1.0.0/public/@types/vtex.gateway-graphql",

react/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4888,10 +4888,10 @@ type-check@~0.3.2:
48884888
dependencies:
48894889
prelude-ls "~1.1.2"
48904890

4891-
typescript@3.8.3:
4892-
version "3.8.3"
4893-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
4894-
integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==
4891+
typescript@3.9.7:
4892+
version "3.9.7"
4893+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa"
4894+
integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==
48954895

48964896
typescript@^3.7.3:
48974897
version "3.7.3"

0 commit comments

Comments
 (0)