UNPKG

@terabits/grapi

Version:

Grapi Schema Generator For GraphQL Server

21 lines (20 loc) 534 B
"use strict"; exports.__esModule = true; var graphql_1 = require("graphql"); var ObjectValue = (function () { function ObjectValue(_a) { var fields = _a.fields; this.fields = fields; } ObjectValue.prototype.isScalar = function () { return false; }; ObjectValue.prototype.getType = function () { return graphql_1.Kind.OBJECT; }; ObjectValue.prototype.getValue = function () { return this.fields; }; return ObjectValue; }()); exports["default"] = ObjectValue;