@terabits/grapi
Version:
Grapi Schema Generator For GraphQL Server
22 lines (21 loc) • 599 B
JavaScript
;
exports.__esModule = true;
var EnumType = (function () {
function EnumType(_a) {
var name = _a.name, values = _a.values, description = _a.description;
this.name = name;
this.values = values;
this.description = description;
}
EnumType.prototype.getTypename = function () {
return this.name;
};
EnumType.prototype.getValues = function () {
return this.values;
};
EnumType.prototype.getDescription = function () {
return this.description;
};
return EnumType;
}());
exports["default"] = EnumType;