New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

graphql-codegen-typescript

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-codegen-typescript - npm Package Compare versions

Comparing version 0.19.0-alpha.2249ff45 to 0.19.0-alpha.26bc98f9

4

dist/index.d.ts
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

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