UNPKG

@pothos/core

Version:

Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript

25 lines (24 loc) 739 B
function _define_property(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } import { inputShapeKey } from '../types/index.js'; import { BaseTypeRef } from './base.js'; let _inputShapeKey = inputShapeKey; export class InputTypeRef extends BaseTypeRef { constructor(kind, name) { super(kind, name), _define_property(this, "kind", void 0), _define_property(this, "$inferInput", void 0), _define_property(this, _inputShapeKey, void 0); this.kind = kind; } } //# sourceMappingURL=input.js.map