🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

graphql-codegen-typescript-common

Package Overview
Dependencies
Maintainers
1
Versions
1079
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-codegen-typescript-common - npm Package Compare versions

Comparing version

to
0.14.0-alpha.a4fbd654

2

dist/helpers.d.ts
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,5 +6,12 @@ import { PluginFunction } from 'graphql-codegen-core';

namingConvention?: string;
avoidOptionals?: boolean;
constEnums?: boolean;
enumsAsTypes?: boolean;
immutableTypes?: boolean;
interfacePrefix?: string;
enums?: {
[enumName: string]: {
[valueName: string]: string;
};
};
scalars?: {

@@ -43,5 +50,5 @@ [scalarName: string]: string;

};
convert: any;
convert: (str: string) => string;
scalars: any;
};
export declare const plugin: PluginFunction<TypeScriptCommonConfig>;

13

package.json
{
"name": "graphql-codegen-typescript-common",
"version": "0.14.0-alpha.92ec3c00",
"version": "0.14.0-alpha.a4fbd654",
"description": "graphql-codegen-cli template for TypeScript typings for both client side and server side",

@@ -10,3 +10,4 @@ "repository": "git@github.com:dotansimha/graphql-code-generator.git",

"build": "codegen-templates-scripts build",
"pretest": "yarn build"
"pretest": "yarn build",
"test": "codegen-templates-scripts test"
},

@@ -18,7 +19,7 @@ "dependencies": {

"devDependencies": {
"codegen-templates-scripts": "0.14.0-alpha.92ec3c00",
"codegen-templates-scripts": "0.14.0-alpha.a4fbd654",
"graphql": "14.0.2",
"graphql-codegen-core": "0.14.0-alpha.92ec3c00",
"graphql-codegen-plugin-handlebars-helpers": "0.14.0-alpha.92ec3c00",
"graphql-codegen-plugin-helpers": "0.14.0-alpha.92ec3c00"
"graphql-codegen-core": "0.14.0-alpha.a4fbd654",
"graphql-codegen-plugin-handlebars-helpers": "0.14.0-alpha.a4fbd654",
"graphql-codegen-plugin-helpers": "0.14.0-alpha.a4fbd654"
},

@@ -25,0 +26,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