Skip to content

quasarwork/shopify-api-types-codegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopify API Types codegen

Installation

# You can use your preferred Node package manager
yarn install

You will need to create a development store on your Shopify Partner dashboard, then create a custom app from your store backoffice with every scopes granted.

Then copy and paste your custom app credentials in the .env file.

You will also need to specify the output directory in which you want your types to be generated.

Usage

The supported Shopify APIs and API versions are defined here: src/config/shopify.config.ts.

release_candidate and latest need to be mapped to another existing version to work properly e.g. April23.

yarn build will trigger the function defined here: src/codegen/codegen.service.ts.

It will:

About

Shopify api types definitions generator based on @graphql-codegen.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published