Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gql-types-generator

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gql-types-generator - npm Package Compare versions

Comparing version 1.2.12 to 1.2.13

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc