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
release(v2.1.1-beta): add latest type declarations
* chore(api): update models and methods for latest openapi.json changes
* automate manual fixes for auto-generated type errors with diff patch file in pre-commit hook
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,8 +77,12 @@ $ yarn run generate-sdk
77
77
$ yarn run release
78
78
```
79
79
80
-
If any TypeScript errors occur, make manual edits:
80
+
You may run into type errors after generating `src` code with `openapi-typescript-codegen`. To resolve this, we created `overrides.patch` wich will force apply changes during pre-commit and build.
Copy file name to clipboardExpand all lines: src/models/BaseMockupProduct.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,6 @@ export type BaseMockupProduct = {
16
16
* Available mockup styles for catalog product can be found under _[Retrieve catalog product mockup styles](#operation/retrieveMockupStylesByProductId)_.
0 commit comments