graphql-codegen-core
Advanced tools
Comparing version 0.7.0-alpha.073f588d to 0.7.0-alpha.383c3d35
@@ -0,1 +1,2 @@ | ||
import gql from 'graphql-tag'; | ||
export { schemaToTemplateContext } from './schema/schema-to-template-context'; | ||
@@ -7,1 +8,3 @@ export { transformDocument } from './operations/transform-document'; | ||
export { DocumentNode, Source, parse, concatAST, graphql, introspectionQuery, GraphQLSchema, IntrospectionQuery } from 'graphql'; | ||
export { gql }; | ||
export { makeExecutableSchema } from 'graphql-tools'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var graphql_tag_1 = require("graphql-tag"); | ||
exports.gql = graphql_tag_1.default; | ||
var schema_to_template_context_1 = require("./schema/schema-to-template-context"); | ||
@@ -23,2 +25,4 @@ exports.schemaToTemplateContext = schema_to_template_context_1.schemaToTemplateContext; | ||
exports.GraphQLSchema = graphql_1.GraphQLSchema; | ||
var graphql_tools_1 = require("graphql-tools"); | ||
exports.makeExecutableSchema = graphql_tools_1.makeExecutableSchema; | ||
//# sourceMappingURL=index.js.map |
@@ -6,2 +6,3 @@ "use strict"; | ||
var debugging_1 = require("../debugging"); | ||
var printer_1 = require("graphql/language/printer"); | ||
function transformFragment(schema, fragment) { | ||
@@ -16,2 +17,3 @@ debugging_1.debugLog("[transformFragment] transforming fragment " + fragment.name.value + " on type " + fragment.typeCondition.name.value); | ||
selectionSet: build_selection_set_1.buildSelectionSet(schema, root, fragment.selectionSet), | ||
document: printer_1.print(fragment), | ||
}; | ||
@@ -18,0 +20,0 @@ } |
@@ -7,2 +7,3 @@ "use strict"; | ||
var debugging_1 = require("../debugging"); | ||
var printer_1 = require("graphql/language/printer"); | ||
function transformOperation(schema, operationNode) { | ||
@@ -22,2 +23,3 @@ var name = operationNode.name && operationNode.name.value ? operationNode.name.value : ''; | ||
isSubscription: operationNode.operation === 'subscription', | ||
document: printer_1.print(operationNode), | ||
}; | ||
@@ -24,0 +26,0 @@ } |
@@ -116,2 +116,3 @@ export interface Argument { | ||
onType: string; | ||
document: string; | ||
} | ||
@@ -127,2 +128,3 @@ export interface Operation { | ||
isSubscription: boolean; | ||
document: string; | ||
} | ||
@@ -129,0 +131,0 @@ export interface Variable { |
{ | ||
"name": "graphql-codegen-core", | ||
"version": "0.7.0-alpha.073f588d", | ||
"version": "0.7.0-alpha.383c3d35", | ||
"description": "GraphQL types and code generator based on schema", | ||
@@ -76,5 +76,5 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"graphql": "^0.10.3", | ||
"graphql-tag": "^2.4.2", | ||
"graphql-tools": "^1.1.0" | ||
"@types/graphql": "^0.10.0", | ||
"graphql": "^0.10.4", | ||
"graphql-tools": "^1.0.0" | ||
}, | ||
@@ -84,5 +84,3 @@ "devDependencies": { | ||
"@types/node": "7", | ||
"graphql": "^0.10.3", | ||
"graphql-tag": "^2.4.2", | ||
"graphql-tools": "^1.1.0", | ||
"jest": "^20.0.4", | ||
@@ -89,0 +87,0 @@ "rimraf": "^2.6.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
124811
7
811
+ Added@types/graphql@^0.10.0
+ Added@types/graphql@0.10.2(transitive)
- Removedgraphql-tag@^2.4.2
- Removedgraphql-tag@2.12.6(transitive)
- Removedtslib@2.8.1(transitive)
Updatedgraphql@^0.10.4
Updatedgraphql-tools@^1.0.0