-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
datx-jsonapi-types #1167
datx-jsonapi-types #1167
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We would probably also want a readme file, because it's used on npm as the package info (it should probably link to some kind of docs)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
@@ -1,9 +1,9 @@ | |||
import { fetchLink, IResponseSnapshot, Response as PromiseResponse } from '@datx/jsonapi'; | |||
import type { ILink } from '@datx/jsonapi-types'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about this, because it's not just about those libs, but also about the usage in the project. This is a breaking change, so it might be a good idea to reexport the types within @datx/jsonapi just to avoid it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just re-exported old interfaces here https://github.com/infinum/datx/pull/1167/files#diff-6e096333c00ec510aa25c3e3e5d8d1c7522d841afb1b993d3b17ce6d932b7b85R45
ILink
was not one of them so this is an inprovement
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
This PR extracts JSON:API types to separate package.
Nothing is changed, there is no breaking changes.