You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,7 @@ Processes that need to happen:
53
53
- However, don't replace documentation unless it makes sense.
54
54
- Also be careful that some versions of the Storefront API don't exactly match code here: for example, SFAPI `2022-07` could be both `2022-07` and `2022-7` in this codebase.
55
55
- Run the `graphql-types` NPM script to generate the new types.
56
+
- Look through the new schema and see if there are any breaking changes
56
57
- If there are new scalars, or scalars are removed, update the `codegen.yml` file's custom scalar settings and run the command again.
57
58
- Search for all instances of `@deprecated` and see if it is time to make that breaking change
58
59
- Run the `ci:checks` NPM script and fix any issues that may come up.
Copy file name to clipboardExpand all lines: packages/react/src/storefront-api-types.d.ts
+121-2Lines changed: 121 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
/**
2
2
* THIS FILE IS AUTO-GENERATED, DO NOT EDIT
3
-
* Based on Storefront API 2022-10
4
-
* If changes need to happen to the types defined in this file, then generally the Storefront API needs to update, and then you can run `yarn graphql-types`
3
+
* Based on Storefront API 2023-01
4
+
* If changes need to happen to the types defined in this file, then generally the Storefront API needs to update. After it's updated, you can run `yarn graphql-types`.
5
5
* Except custom Scalars, which are defined in the `codegen.ts` file
6
6
*/
7
7
/* eslint-disable */
@@ -1312,6 +1312,8 @@ export type CheckoutErrorCode =
0 commit comments