Skip to content
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

fix: redefine Client type merged with attached endpoints #370

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

fpdrozd
Copy link
Contributor

@fpdrozd fpdrozd commented Mar 30, 2023

Description

This PR redefines the Client type to include the endpoints that the storefront or platform sdks define. That type is then being exported as Client type instead of the Client from the core package.

That is because VueStorefront uses the Client type in its type definitions and it needs to have the endpoints included - having it inferred from the makeClient function is not enough.

@rafalcymerys rafalcymerys merged commit 53af27e into main Mar 30, 2023
@delete-merged-branch delete-merged-branch bot deleted the fix/client-type-endpoints branch March 30, 2023 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants