4.0.0 • Published 3 years ago

saleor-client-typescript v4.0.0

Weekly downloads
105
License
-
Repository
-
Last release
3 years ago

saleor-client-typescript

api client for saleor

built with https://github.com/bitjson/typescript-starter

and https://graphql-code-generator.com/

example usage

import { GraphQLClient } from 'graphql-request';
import { CategoryInput, getSdk } from 'saleor-client-typescript';

async function main() {
  const myInput: CategoryInput = { name: 'foo', description: 'bar' };

  const client = new GraphQLClient('http://localhost:8000/graphql/');
  const sdk = getSdk(client);
  const response = await sdk.categoryCreate({ input: myInput });
  console.log(response);
}

Contributer guidelines

create feature branches to merge to master

commit with commitizen

npm install -g commitizen

# commit your changes:
git cz

before you merge to master, run

# bump package.json version, update CHANGELOG.md, git tag the release
yarn run version
4.0.0

3 years ago

3.2.0

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.13.0

3 years ago

1.12.2

3 years ago

1.12.1

3 years ago

1.12.0

3 years ago

1.11.0

3 years ago

1.10.0

3 years ago

1.9.0

3 years ago

1.8.0

3 years ago

1.7.0

3 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago