graphql-js-tree
Advanced tools
Comparing version 0.1.4 to 0.1.5
export * from "./TreeToGraphQL"; | ||
export * from "./Parser"; | ||
export * from "./Models"; | ||
export * from "./shared/getTypeName"; | ||
export * from "./shared/index"; |
@@ -20,2 +20,2 @@ "use strict"; | ||
__exportStar(require("./Models"), exports); | ||
__exportStar(require("./shared/getTypeName"), exports); | ||
__exportStar(require("./shared/index"), exports); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ArgumentTemplate = void 0; | ||
const getTypeName_1 = require("../../shared/getTypeName"); | ||
const shared_1 = require("../../shared"); | ||
const TemplateUtils_1 = require("./TemplateUtils"); | ||
@@ -17,5 +17,5 @@ class ArgumentTemplate { | ||
} | ||
return `${(0, getTypeName_1.getTypeName)(type.fieldType)}: ${argsString}`; | ||
return `${(0, shared_1.getTypeName)(type.fieldType)}: ${argsString}`; | ||
} | ||
} | ||
exports.ArgumentTemplate = ArgumentTemplate; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DirectiveTemplate = void 0; | ||
const getTypeName_1 = require("../../shared/getTypeName"); | ||
const shared_1 = require("../../shared"); | ||
const TemplateUtils_1 = require("./TemplateUtils"); | ||
@@ -15,5 +15,5 @@ class DirectiveTemplate { | ||
} | ||
return `@${(0, getTypeName_1.getTypeName)(f.type.fieldType)}${argsString}`; | ||
return `@${(0, shared_1.getTypeName)(f.type.fieldType)}${argsString}`; | ||
} | ||
} | ||
exports.DirectiveTemplate = DirectiveTemplate; |
@@ -5,3 +5,3 @@ "use strict"; | ||
const Models_1 = require("../../Models"); | ||
const getTypeName_1 = require("../../shared/getTypeName"); | ||
const shared_1 = require("../../shared"); | ||
const ArgumentTemplate_1 = require("./ArgumentTemplate"); | ||
@@ -22,3 +22,3 @@ const CommentTemplate_1 = require("./CommentTemplate"); | ||
TemplateUtils.resolveFieldType = (f) => { | ||
return (0, getTypeName_1.compileType)(f); | ||
return (0, shared_1.compileType)(f); | ||
}; | ||
@@ -25,0 +25,0 @@ TemplateUtils.resolveType = (f) => TemplateUtils.resolveFieldType(f.type.fieldType); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.UnionMemberTemplate = void 0; | ||
const getTypeName_1 = require("../../shared/getTypeName"); | ||
const shared_1 = require("../../shared"); | ||
class UnionMemberTemplate { | ||
static resolve(f) { | ||
return (0, getTypeName_1.getTypeName)(f.type.fieldType); | ||
return (0, shared_1.getTypeName)(f.type.fieldType); | ||
} | ||
} | ||
exports.UnionMemberTemplate = UnionMemberTemplate; |
@@ -5,3 +5,3 @@ "use strict"; | ||
const Models_1 = require("../../Models"); | ||
const getTypeName_1 = require("../../shared/getTypeName"); | ||
const shared_1 = require("../../shared"); | ||
const TemplateUtils_1 = require("./TemplateUtils"); | ||
@@ -13,3 +13,3 @@ class ValueTemplate { | ||
if (f.data.type === Models_1.Value.EnumValue) { | ||
returnedValue = `${(0, getTypeName_1.getTypeName)(f.type.fieldType)}`; | ||
returnedValue = `${(0, shared_1.getTypeName)(f.type.fieldType)}`; | ||
} | ||
@@ -16,0 +16,0 @@ if (f.data.type === Models_1.Value.StringValue) { |
{ | ||
"name": "graphql-js-tree", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
60957