@terabits/grapi
Version:
Grapi Schema Generator For GraphQL Server
25 lines (24 loc) • 744 B
JavaScript
;
exports.__esModule = true;
var SdlDirectiveType = (function () {
function SdlDirectiveType(_a) {
var name = _a.name, description = _a.description, typeDef = _a.typeDef;
this.name = name;
this.description = description;
this.typeDef = typeDef;
}
SdlDirectiveType.prototype.getName = function () {
return this.name;
};
SdlDirectiveType.prototype.getDirectives = function () {
return {};
};
SdlDirectiveType.prototype.getDescription = function () {
return this.description;
};
SdlDirectiveType.prototype.getTypeDef = function () {
return this.typeDef;
};
return SdlDirectiveType;
}());
exports["default"] = SdlDirectiveType;