UNPKG

@pothos/core

Version:

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

34 lines (33 loc) 1.03 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "OutputTypeRef", { enumerable: true, get: function() { return OutputTypeRef; } }); const _types = require("../types"); const _base = require("./base"); 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; } let _outputShapeKey = _types.outputShapeKey, _parentShapeKey = _types.parentShapeKey; class OutputTypeRef extends _base.BaseTypeRef { constructor(kind, name){ super(kind, name), _define_property(this, "kind", void 0), _define_property(this, "$inferType", void 0), _define_property(this, _outputShapeKey, void 0), _define_property(this, _parentShapeKey, void 0); this.kind = kind; } } //# sourceMappingURL=output.js.map