gql-types-generator
Advanced tools
Comparing version 1.2.12 to 1.2.13
{ | ||
"name": "gql-types-generator", | ||
"version": "1.2.12", | ||
"version": "1.2.13", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"repository": "https://github.com/wolframdeus/gql-types-generator.git", | ||
"author": "wolframdeus <wolframdeus@gmail.com>", | ||
"author": "wolframdeus <wolfram.deus@gmail.com>", | ||
"keywords": [ | ||
@@ -9,0 +9,0 @@ "graphql", |
@@ -54,3 +54,3 @@ gql-types-generator | ||
### `compile` | ||
### `compile(options)` | ||
#### List of available options | ||
@@ -60,7 +60,7 @@ | ||
|---|---|---| | ||
| `outputDirectory` | `string` | Full path to output directory | | ||
| `removeDescription` | `boolean?` | Should library remove descriptions | | ||
| `display` | `DisplayType?` | How to display compiled types. Valid values are "as-is" and "default". By default, generator compiles scalars first, then enums, interfaces, inputs, unions and then types. "as-is" places types as they are placed in schema | | ||
| `schemaPath` | `PathType` | Defines paths to schema. Watch [possible values](https://github.com/wolframdeus/gql-types-generator/blob/master/src/types/compilation.ts#L23-L26) for more | | ||
| `operationsPath` | `PathType?` | Defines paths to operations. Watch [possible values](https://github.com/wolframdeus/gql-types-generator/blob/master/src/types/compilation.ts#L23-L26) for more | | ||
| `options.outputDirectory` | `string` | Full path to output directory | | ||
| `options.removeDescription` | `boolean?` | Should library remove descriptions | | ||
| `options.display` | `DisplayType?` | How to display compiled types. Valid values are "as-is" and "default". By default, generator compiles scalars first, then enums, interfaces, inputs, unions and then types. "as-is" places types as they are placed in schema | | ||
| `options.schemaPath` | `PathType` | Defines paths to schema. Watch [possible values](https://github.com/wolframdeus/gql-types-generator/blob/master/src/types/compilation.ts#L23-L26) for more | | ||
| `options.operationsPath` | `PathType?` | Defines paths to operations. Watch [possible values](https://github.com/wolframdeus/gql-types-generator/blob/master/src/types/compilation.ts#L23-L26) for more | | ||
@@ -67,0 +67,0 @@ #### Example |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67646