2.0.5 • Published 4 years ago

@contractql/cli v2.0.5

Weekly downloads
3
License
MIT
Repository
-
Last release
4 years ago

ContractQL | Creator

Sync

Syncs a schema to its relative files:

  • a Typescript file with all the Graphql definitions translated to Typescript
  • resolver files in typescript resolving Graphql definitions
  • client queries and mutation files
  • React files with Apollo
contractql sync schema.graphql

Sync options

--resolvers-dir=STRING
--schema-dir=STRING
--ts-file=STRING
--plugins=STRING(separated by comas)