graphql-introspection-filtering
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -12,8 +12,2 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "FilteringSchemaDirectiveVisitor", { | ||
enumerable: true, | ||
get: function get() { | ||
return _FilteringSchemaDirectiveVisitor.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "schemaDirectivesToFilters", { | ||
@@ -30,4 +24,2 @@ enumerable: true, | ||
var _FilteringSchemaDirectiveVisitor = _interopRequireDefault(require("./FilteringSchemaDirectiveVisitor")); | ||
var _schemaDirectivesToFilters = _interopRequireDefault(require("./tools/schemaDirectivesToFilters")); | ||
@@ -34,0 +26,0 @@ |
@@ -20,11 +20,11 @@ "use strict"; | ||
if (visitor.visitTypeIntrospection) { | ||
if (typeof visitor.visitTypeIntrospection === 'function') { | ||
(0, _appendVisitor.default)(result, 'type', visitor.visitTypeIntrospection); | ||
} | ||
if (visitor.visitFieldIntrospection) { | ||
if (typeof visitor.visitFieldIntrospection === 'function') { | ||
(0, _appendVisitor.default)(result, 'field', visitor.visitFieldIntrospection); | ||
} | ||
if (visitor.visitDirectiveIntrospection) { | ||
if (typeof visitor.visitDirectiveIntrospection === 'function') { | ||
(0, _appendVisitor.default)(result, 'directive', visitor.visitDirectiveIntrospection); | ||
@@ -31,0 +31,0 @@ } |
"use strict"; | ||
var _graphqlTools = require("graphql-tools"); | ||
var _FilteringSchemaDirectiveVisitor = _interopRequireDefault(require("./FilteringSchemaDirectiveVisitor")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "graphql-introspection-filtering", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Filter graphql schema introspection result to hide restricted fields and types", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
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
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
23781
31
175