graphql-codegen-plugin-helpers
Advanced tools
Comparing version 0.19.0-alpha.63dff9f8 to 0.19.0-alpha.645c985c
@@ -145,5 +145,5 @@ import { DocumentNode, GraphQLSchema } from 'graphql'; | ||
} | ||
export declare function isFieldNode(node: SelectionSetItem): node is SelectionSetFieldNode; | ||
export declare function isFragmentSpreadNode(node: SelectionSetItem): node is SelectionSetFragmentSpread; | ||
export declare function isInlineFragmentNode(node: SelectionSetItem): node is SelectionSetInlineFragment; | ||
export declare function isFieldNode(node: any): node is SelectionSetFieldNode; | ||
export declare function isFragmentSpreadNode(node: any): node is SelectionSetFragmentSpread; | ||
export declare function isInlineFragmentNode(node: any): node is SelectionSetInlineFragment; | ||
export interface Fragment extends AstNode { | ||
@@ -150,0 +150,0 @@ name: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function isFieldNode(node) { | ||
return node['name'] !== undefined && node['selectionSet'] !== undefined && node['type'] !== undefined; | ||
return node.name !== undefined && node.selectionSet !== undefined && node.type !== undefined; | ||
} | ||
exports.isFieldNode = isFieldNode; | ||
function isFragmentSpreadNode(node) { | ||
return node['fragmentName'] !== undefined; | ||
return node.fragmentName !== undefined; | ||
} | ||
exports.isFragmentSpreadNode = isFragmentSpreadNode; | ||
function isInlineFragmentNode(node) { | ||
return node['selectionSet'] !== undefined && node['onType'] !== undefined; | ||
return node.selectionSet !== undefined && node.onType !== undefined; | ||
} | ||
exports.isInlineFragmentNode = isInlineFragmentNode; | ||
//# sourceMappingURL=types.js.map |
@@ -145,5 +145,5 @@ import { DocumentNode, GraphQLSchema } from 'graphql'; | ||
} | ||
export declare function isFieldNode(node: SelectionSetItem): node is SelectionSetFieldNode; | ||
export declare function isFragmentSpreadNode(node: SelectionSetItem): node is SelectionSetFragmentSpread; | ||
export declare function isInlineFragmentNode(node: SelectionSetItem): node is SelectionSetInlineFragment; | ||
export declare function isFieldNode(node: any): node is SelectionSetFieldNode; | ||
export declare function isFragmentSpreadNode(node: any): node is SelectionSetFragmentSpread; | ||
export declare function isInlineFragmentNode(node: any): node is SelectionSetInlineFragment; | ||
export interface Fragment extends AstNode { | ||
@@ -150,0 +150,0 @@ name: string; |
export function isFieldNode(node) { | ||
return node['name'] !== undefined && node['selectionSet'] !== undefined && node['type'] !== undefined; | ||
return node.name !== undefined && node.selectionSet !== undefined && node.type !== undefined; | ||
} | ||
export function isFragmentSpreadNode(node) { | ||
return node['fragmentName'] !== undefined; | ||
return node.fragmentName !== undefined; | ||
} | ||
export function isInlineFragmentNode(node) { | ||
return node['selectionSet'] !== undefined && node['onType'] !== undefined; | ||
return node.selectionSet !== undefined && node.onType !== undefined; | ||
} | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "graphql-codegen-plugin-helpers", | ||
"version": "0.19.0-alpha.63dff9f8", | ||
"version": "0.19.0-alpha.645c985c", | ||
"description": "graphql-codegen-cli template for TypeScript typings for both client side and server side", | ||
@@ -23,2 +23,3 @@ "repository": "git@github.com:dotansimha/graphql-code-generator.git", | ||
}, | ||
"sideEffects": false, | ||
"main": "dist/commonjs/index.js", | ||
@@ -25,0 +26,0 @@ "module": "dist/esnext/index.js", |
@@ -8,3 +8,2 @@ { | ||
"lib": ["es6", "esnext", "es2015"], | ||
"suppressImplicitAnyIndexErrors": true, | ||
"moduleResolution": "node", | ||
@@ -15,2 +14,3 @@ "emitDecoratorMetadata": true, | ||
"outDir": "./dist/", | ||
"rootDir": "./src", | ||
"noImplicitAny": true, | ||
@@ -17,0 +17,0 @@ "noImplicitThis": true, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
35915