graphql-codegen-typescript-common
Advanced tools
Comparing version
import { Field } from 'graphql-codegen-core'; | ||
import { SafeString } from 'handlebars'; | ||
import * as Handlebars from 'handlebars'; | ||
export declare function getScalarType(type: string, options: Handlebars.HelperOptions): any; | ||
export declare function getEnumValue(type: string, name: string, options: Handlebars.HelperOptions): any; | ||
@@ -4,0 +6,0 @@ export declare function getFieldType(field: Field, realType: string, options: Handlebars.HelperOptions): string; |
@@ -6,2 +6,3 @@ import { PluginFunction } from 'graphql-codegen-core'; | ||
namingConvention?: string; | ||
avoidOptionals?: boolean; | ||
constEnums?: boolean; | ||
@@ -49,5 +50,5 @@ enumsAsTypes?: boolean; | ||
}; | ||
convert: any; | ||
convert: (str: string) => string; | ||
scalars: any; | ||
}; | ||
export declare const plugin: PluginFunction<TypeScriptCommonConfig>; |
{ | ||
"name": "graphql-codegen-typescript-common", | ||
"version": "0.14.0-alpha.b4492c37", | ||
"version": "0.14.0-alpha.cfc8fe47", | ||
"description": "graphql-codegen-cli template for TypeScript typings for both client side and server side", | ||
@@ -18,7 +18,7 @@ "repository": "git@github.com:dotansimha/graphql-code-generator.git", | ||
"devDependencies": { | ||
"codegen-templates-scripts": "0.14.0-alpha.b4492c37", | ||
"codegen-templates-scripts": "0.14.0-alpha.cfc8fe47", | ||
"graphql": "14.0.2", | ||
"graphql-codegen-core": "0.14.0-alpha.b4492c37", | ||
"graphql-codegen-plugin-handlebars-helpers": "0.14.0-alpha.b4492c37", | ||
"graphql-codegen-plugin-helpers": "0.14.0-alpha.b4492c37" | ||
"graphql-codegen-core": "0.14.0-alpha.cfc8fe47", | ||
"graphql-codegen-plugin-handlebars-helpers": "0.14.0-alpha.cfc8fe47", | ||
"graphql-codegen-plugin-helpers": "0.14.0-alpha.cfc8fe47" | ||
}, | ||
@@ -25,0 +25,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1089613
0.24%10602
0.2%