@grapi/server
Version:
Grapi Schema Generator For GraphQL Server
26 lines (25 loc) • 546 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class SdlDirectiveType {
typeDef;
name;
description;
constructor({ name, description, typeDef, }) {
this.name = name;
this.description = description;
this.typeDef = typeDef;
}
getName() {
return this.name;
}
getDirectives() {
return {};
}
getDescription() {
return this.description;
}
getTypeDef() {
return this.typeDef;
}
}
exports.default = SdlDirectiveType;