@beamf/graphql-schema-typescript
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -75,2 +75,7 @@ #!/usr/bin/env node | ||
minimizeInterfaceImplementation: true, | ||
resolver: { | ||
contextType: 'GQLContext', | ||
rootValueType: 'GraphqlRootValue', | ||
headerStatements: 'export type GQLContext = any; export type GraphqlRootValue = any;', | ||
}, | ||
})]; | ||
@@ -77,0 +82,0 @@ case 1: |
@@ -50,2 +50,3 @@ "use strict"; | ||
this.contextType = options.resolver.contextType; | ||
this.rootValueType = options.resolver.rootValueType; | ||
if (options.resolver.headerStatements) { | ||
@@ -52,0 +53,0 @@ this.importHeader.push(options.resolver.headerStatements); |
{ | ||
"name": "@beamf/graphql-schema-typescript", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "Generate TypeScript from GraphQL's schema type definitions", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
232837
6420