@4djs/gql-types
v0.1.2
Published
Outputs GraphQL types from a 4d catalog
Downloads
13
Readme
A simple tool to generate interfaces from the rest API catalog
How to use
You can simply call the binary using npx
:
npx @4djs/gql-types http://localhost:8081/rest/\$catalog/\$all
This will print the interfaces into the standard output.
You can also redirect the result to save it into a specific file:
npx @4djs/gql-types http://localhost:8081/rest/\$catalog/\$all > 4d.types.ts