@pothos/core
Advanced tools
Comparing version 3.12.1 to 3.12.2
# Change Log | ||
## 3.12.2 | ||
### Patch Changes | ||
- 784777c4: Fixed typo in input-field types | ||
## 3.12.1 | ||
@@ -4,0 +10,0 @@ |
@@ -12,3 +12,3 @@ import { inputFieldShapeKey } from '../types/index.js'; | ||
var ref1; | ||
const fieldName = (ref1 = (ref = this.argFor) === null || ref === void 0 ? void 0 : ref.fieldName) !== null && ref1 !== void 0 ? ref1 : "[unnamed filed]"; | ||
const fieldName = (ref1 = (ref = this.argFor) === null || ref === void 0 ? void 0 : ref.fieldName) !== null && ref1 !== void 0 ? ref1 : "[unnamed field]"; | ||
var _fieldName; | ||
@@ -15,0 +15,0 @@ const argName = (_fieldName = this.fieldName) !== null && _fieldName !== void 0 ? _fieldName : "[unnamed argument]"; |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>BuildCache, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>BuildCache | ||
}); | ||
@@ -10,0 +10,0 @@ const _graphql = require("graphql"); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>SchemaBuilder, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>SchemaBuilder | ||
}); | ||
@@ -10,0 +10,0 @@ const _graphql = require("graphql"); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>ConfigStore, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>ConfigStore | ||
}); | ||
@@ -10,0 +10,0 @@ const _graphql = require("graphql"); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>BaseFieldUtil, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>BaseFieldUtil | ||
}); | ||
@@ -10,0 +10,0 @@ const _graphql = require("graphql"); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>FieldBuilder, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>FieldBuilder | ||
}); | ||
@@ -10,0 +10,0 @@ const _root = _interopRequireDefault(require("./root")); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>InputFieldBuilder, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>InputFieldBuilder | ||
}); | ||
@@ -10,0 +10,0 @@ const _inputField = _interopRequireDefault(require("../refs/input-field")); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>InterfaceFieldBuilder, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>InterfaceFieldBuilder | ||
}); | ||
@@ -10,0 +10,0 @@ const _builder = _interopRequireDefault(require("./builder")); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>MutationFieldBuilder, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>MutationFieldBuilder | ||
}); | ||
@@ -10,0 +10,0 @@ const _root = _interopRequireDefault(require("./root")); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>ObjectFieldBuilder, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>ObjectFieldBuilder | ||
}); | ||
@@ -10,0 +10,0 @@ const _builder = _interopRequireDefault(require("./builder")); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>QueryFieldBuilder, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>QueryFieldBuilder | ||
}); | ||
@@ -10,0 +10,0 @@ const _root = _interopRequireDefault(require("./root")); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>RootFieldBuilder, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>RootFieldBuilder | ||
}); | ||
@@ -10,0 +10,0 @@ const _base = _interopRequireDefault(require("./base")); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>SubscriptionFieldBuilder, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>SubscriptionFieldBuilder | ||
}); | ||
@@ -10,0 +10,0 @@ const _root = _interopRequireDefault(require("./root")); |
@@ -7,4 +7,4 @@ "use strict"; | ||
for(var name in all)Object.defineProperty(target, name, { | ||
get: all[name], | ||
enumerable: true | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
@@ -81,12 +81,12 @@ } | ||
} | ||
function _getRequireWildcardCache() { | ||
function _getRequireWildcardCache(nodeInterop) { | ||
if (typeof WeakMap !== "function") return null; | ||
var cache = new WeakMap(); | ||
_getRequireWildcardCache = function() { | ||
return cache; | ||
}; | ||
return cache; | ||
var cacheBabelInterop = new WeakMap(); | ||
var cacheNodeInterop = new WeakMap(); | ||
return (_getRequireWildcardCache = function(nodeInterop) { | ||
return nodeInterop ? cacheNodeInterop : cacheBabelInterop; | ||
})(nodeInterop); | ||
} | ||
function _interopRequireWildcard(obj) { | ||
if (obj && obj.__esModule) { | ||
function _interopRequireWildcard(obj, nodeInterop) { | ||
if (!nodeInterop && obj && obj.__esModule) { | ||
return obj; | ||
@@ -99,3 +99,3 @@ } | ||
} | ||
var cache = _getRequireWildcardCache(); | ||
var cache = _getRequireWildcardCache(nodeInterop); | ||
if (cache && cache.has(obj)) { | ||
@@ -107,3 +107,3 @@ return cache.get(obj); | ||
for(var key in obj){ | ||
if (Object.prototype.hasOwnProperty.call(obj, key)) { | ||
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { | ||
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; | ||
@@ -110,0 +110,0 @@ if (desc && (desc.get || desc.set)) { |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "MergedPlugins", { | ||
get: ()=>MergedPlugins, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>MergedPlugins | ||
}); | ||
@@ -10,0 +10,0 @@ const _plugin = require("./plugin"); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "BasePlugin", { | ||
get: ()=>BasePlugin, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>BasePlugin | ||
}); | ||
@@ -10,0 +10,0 @@ const _contextCache = require("../utils/context-cache"); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>BaseTypeRef, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>BaseTypeRef | ||
}); | ||
@@ -10,0 +10,0 @@ class BaseTypeRef { |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>BuiltinScalarRef, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>BuiltinScalarRef | ||
}); | ||
@@ -10,0 +10,0 @@ const _scalar = _interopRequireDefault(require("./scalar")); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>EnumRef, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>EnumRef | ||
}); | ||
@@ -10,0 +10,0 @@ const _types = require("../types"); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>FieldRef, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>FieldRef | ||
}); | ||
@@ -10,0 +10,0 @@ const _types = require("../types"); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>InputFieldRef, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>InputFieldRef | ||
}); | ||
@@ -21,3 +21,3 @@ const _types = require("../types"); | ||
var ref1; | ||
const fieldName = (ref1 = (ref = this.argFor) === null || ref === void 0 ? void 0 : ref.fieldName) !== null && ref1 !== void 0 ? ref1 : '[unnamed filed]'; | ||
const fieldName = (ref1 = (ref = this.argFor) === null || ref === void 0 ? void 0 : ref.fieldName) !== null && ref1 !== void 0 ? ref1 : '[unnamed field]'; | ||
var _fieldName; | ||
@@ -24,0 +24,0 @@ const argName = (_fieldName = this.fieldName) !== null && _fieldName !== void 0 ? _fieldName : '[unnamed argument]'; |
@@ -7,4 +7,4 @@ "use strict"; | ||
for(var name in all)Object.defineProperty(target, name, { | ||
get: all[name], | ||
enumerable: true | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
@@ -11,0 +11,0 @@ } |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>InputTypeRef, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>InputTypeRef | ||
}); | ||
@@ -10,0 +10,0 @@ const _types = require("../types"); |
@@ -7,4 +7,4 @@ "use strict"; | ||
for(var name in all)Object.defineProperty(target, name, { | ||
get: all[name], | ||
enumerable: true | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
@@ -11,0 +11,0 @@ } |
@@ -7,4 +7,4 @@ "use strict"; | ||
for(var name in all)Object.defineProperty(target, name, { | ||
get: all[name], | ||
enumerable: true | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
@@ -11,0 +11,0 @@ } |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>OutputTypeRef, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>OutputTypeRef | ||
}); | ||
@@ -10,0 +10,0 @@ const _types = require("../types"); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>ScalarRef, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>ScalarRef | ||
}); | ||
@@ -10,0 +10,0 @@ const _types = require("../types"); |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "default", { | ||
get: ()=>UnionRef, | ||
enumerable: true | ||
enumerable: true, | ||
get: ()=>UnionRef | ||
}); | ||
@@ -10,0 +10,0 @@ const _types = require("../types"); |
@@ -7,4 +7,4 @@ "use strict"; | ||
for(var name in all)Object.defineProperty(target, name, { | ||
get: all[name], | ||
enumerable: true | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
@@ -11,0 +11,0 @@ } |
@@ -7,4 +7,4 @@ "use strict"; | ||
for(var name in all)Object.defineProperty(target, name, { | ||
get: all[name], | ||
enumerable: true | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
@@ -11,0 +11,0 @@ } |
@@ -7,4 +7,4 @@ "use strict"; | ||
for(var name in all)Object.defineProperty(target, name, { | ||
get: all[name], | ||
enumerable: true | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
@@ -11,0 +11,0 @@ } |
@@ -7,4 +7,4 @@ "use strict"; | ||
for(var name in all)Object.defineProperty(target, name, { | ||
get: all[name], | ||
enumerable: true | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
@@ -11,0 +11,0 @@ } |
@@ -7,4 +7,4 @@ "use strict"; | ||
for(var name in all)Object.defineProperty(target, name, { | ||
get: all[name], | ||
enumerable: true | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
@@ -11,0 +11,0 @@ } |
@@ -7,4 +7,4 @@ "use strict"; | ||
for(var name in all)Object.defineProperty(target, name, { | ||
get: all[name], | ||
enumerable: true | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
@@ -11,0 +11,0 @@ } |
@@ -7,4 +7,4 @@ "use strict"; | ||
for(var name in all)Object.defineProperty(target, name, { | ||
get: all[name], | ||
enumerable: true | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
@@ -11,0 +11,0 @@ } |
{ | ||
"name": "@pothos/core", | ||
"version": "3.12.1", | ||
"version": "3.12.2", | ||
"description": "Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -31,3 +31,3 @@ import { inputFieldShapeKey } from '../types'; | ||
} | ||
const fieldName = this.argFor?.fieldName ?? '[unnamed filed]'; | ||
const fieldName = this.argFor?.fieldName ?? '[unnamed field]'; | ||
const argName = this.fieldName ?? '[unnamed argument]'; | ||
@@ -34,0 +34,0 @@ |
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
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
840322