graphql-codegen-typescript
Advanced tools
Comparing version 0.19.0-alpha.2249ff45 to 0.19.0-alpha.26bc98f9
import { PluginFunction } from 'graphql-codegen-core'; | ||
import { RawConfig } from 'graphql-codegen-visitor-plugin-common'; | ||
import { RawTypesConfig } from 'graphql-codegen-visitor-plugin-common'; | ||
export * from './typescript-variables-to-object'; | ||
export interface TypeScriptPluginConfig extends RawConfig { | ||
export interface TypeScriptPluginConfig extends RawTypesConfig { | ||
avoidOptionals?: boolean; | ||
@@ -6,0 +6,0 @@ constEnums?: boolean; |
@@ -1,5 +0,5 @@ | ||
import { BaseVisitor, ParsedConfig } from 'graphql-codegen-visitor-plugin-common'; | ||
import { BaseTypesVisitor, ParsedTypesConfig } from 'graphql-codegen-visitor-plugin-common'; | ||
import { TypeScriptPluginConfig } from './index'; | ||
import { FieldDefinitionNode, NamedTypeNode, ListTypeNode, NonNullTypeNode, EnumTypeDefinitionNode } from 'graphql'; | ||
export interface TypeScriptPluginParsedConfig extends ParsedConfig { | ||
export interface TypeScriptPluginParsedConfig extends ParsedTypesConfig { | ||
avoidOptionals: boolean; | ||
@@ -11,3 +11,3 @@ constEnums: boolean; | ||
} | ||
export declare class TsVisitor extends BaseVisitor<TypeScriptPluginConfig, TypeScriptPluginParsedConfig> { | ||
export declare class TsVisitor extends BaseTypesVisitor<TypeScriptPluginConfig, TypeScriptPluginParsedConfig> { | ||
constructor(pluginConfig?: TypeScriptPluginConfig); | ||
@@ -14,0 +14,0 @@ private clearOptional; |
@@ -80,4 +80,4 @@ "use strict"; | ||
return TsVisitor; | ||
}(graphql_codegen_visitor_plugin_common_1.BaseVisitor)); | ||
}(graphql_codegen_visitor_plugin_common_1.BaseTypesVisitor)); | ||
exports.TsVisitor = TsVisitor; | ||
//# sourceMappingURL=visitor.js.map |
{ | ||
"name": "graphql-codegen-typescript", | ||
"version": "0.19.0-alpha.2249ff45", | ||
"version": "0.19.0-alpha.26bc98f9", | ||
"description": "GraphQL Code Generator plugin for generating TypeScript types", | ||
@@ -14,5 +14,5 @@ "repository": "git@github.com:dotansimha/graphql-code-generator.git", | ||
"dependencies": { | ||
"graphql-codegen-core": "0.19.0-alpha.2249ff45", | ||
"graphql-codegen-plugin-helpers": "0.19.0-alpha.2249ff45", | ||
"graphql-codegen-visitor-plugin-common": "0.19.0-alpha.2249ff45" | ||
"graphql-codegen-core": "0.19.0-alpha.26bc98f9", | ||
"graphql-codegen-plugin-helpers": "0.19.0-alpha.26bc98f9", | ||
"graphql-codegen-visitor-plugin-common": "0.19.0-alpha.26bc98f9" | ||
}, | ||
@@ -19,0 +19,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
16358
+ Addeddependency-graph@0.8.0(transitive)
+ Addedgraphql-codegen-core@0.19.0-alpha.26bc98f9(transitive)
+ Addedgraphql-codegen-plugin-helpers@0.19.0-alpha.26bc98f9(transitive)
+ Addedgraphql-codegen-visitor-plugin-common@0.19.0-alpha.26bc98f9(transitive)
- Removedgraphql-codegen-core@0.19.0-alpha.2249ff45(transitive)
- Removedgraphql-codegen-plugin-helpers@0.19.0-alpha.2249ff45(transitive)
- Removedgraphql-codegen-visitor-plugin-common@0.19.0-alpha.2249ff45(transitive)
Updatedgraphql-codegen-visitor-plugin-common@0.19.0-alpha.26bc98f9