@terabits/grapi
Version:
Grapi Schema Generator For GraphQL Server
18 lines (17 loc) • 447 B
JavaScript
;
exports.__esModule = true;
var ObjectType = (function () {
function ObjectType(_a) {
var name = _a.name, fields = _a.fields;
this.name = name;
this.fields = fields;
}
ObjectType.prototype.getTypename = function () {
return this.name;
};
ObjectType.prototype.getFields = function () {
return this.fields;
};
return ObjectType;
}());
exports["default"] = ObjectType;