@graphql-inspector/core
Advanced tools
Comparing version 0.6.0-alpha.2 to 0.6.0-alpha.3
import { GraphQLSchema, GraphQLError, Source, GraphQLNamedType } from 'graphql'; | ||
export interface Location { | ||
start: number; | ||
end: number; | ||
} | ||
export interface TypeChildCoverage { | ||
hits: number; | ||
locations: { | ||
[name: string]: Array<{ | ||
start: number; | ||
end: number; | ||
}>; | ||
[name: string]: Array<Location>; | ||
}; | ||
@@ -10,0 +11,0 @@ } |
export { diff } from './diff/schema'; | ||
export { validate, InvalidDocument } from './validate'; | ||
export { similar, SimilarMap } from './similar'; | ||
export { coverage, SchemaCoverage } from './coverage'; | ||
export * from './coverage'; | ||
export { Change, CriticalityLevel, Criticality, ChangeType, } from './diff/changes/change'; | ||
export { getTypePrefix } from './utils/graphql'; | ||
export { Target, Rating, BestMatch } from './utils/string'; |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,4 +12,3 @@ var schema_1 = require("./diff/schema"); | ||
exports.similar = similar_1.similar; | ||
var coverage_1 = require("./coverage"); | ||
exports.coverage = coverage_1.coverage; | ||
__export(require("./coverage")); | ||
var change_1 = require("./diff/changes/change"); | ||
@@ -13,0 +15,0 @@ exports.CriticalityLevel = change_1.CriticalityLevel; |
import { GraphQLSchema, GraphQLError, Source } from 'graphql'; | ||
export interface InvalidDocument { | ||
source: Source; | ||
errors: ReadonlyArray<GraphQLError>; | ||
errors: GraphQLError[]; | ||
} | ||
export declare function validate(schema: GraphQLSchema, sources: Source[]): InvalidDocument[]; |
{ | ||
"name": "@graphql-inspector/core", | ||
"version": "0.6.0-alpha.2", | ||
"version": "0.6.0-alpha.3", | ||
"description": "Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.", | ||
@@ -37,3 +37,2 @@ "keywords": [ | ||
"jest": "23.6.0", | ||
"prettier": "1.15.2", | ||
"ts-jest": "23.10.4", | ||
@@ -40,0 +39,0 @@ "typescript": "3.1.6" |
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
129587
6
1583