Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1162 from ozzyonfire/main
Browse files Browse the repository at this point in the history
[Enhancement] Add GraphqlClient export to types.ts
  • Loading branch information
paulomarg authored Jan 25, 2024
2 parents 646e50d + 83b6a11 commit fcdc0fb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/many-brooms-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopify/shopify-api": minor
---

Export GraphqlClient class from types
2 changes: 2 additions & 0 deletions packages/shopify-api/lib/clients/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ export interface GraphqlQueryOptions<
retries?: number;
}

export {GraphqlClient} from './admin/graphql/client';

export interface ShopifyClients {
Rest: typeof RestClient;
Graphql: typeof GraphqlClient;
Expand Down

0 comments on commit fcdc0fb

Please sign in to comment.