UNPKG

@terabits/grapi

Version:

Grapi Schema Generator For GraphQL Server

26 lines (25 loc) 805 B
"use strict"; exports.__esModule = true; var SdlScalarType = (function () { function SdlScalarType(_a) { var name = _a.name, description = _a.description, directives = _a.directives, typeDef = _a.typeDef; this.name = name; this.description = description; this.directives = directives || {}; this.typeDef = typeDef; } SdlScalarType.prototype.getName = function () { return this.name; }; SdlScalarType.prototype.getDescription = function () { return this.description; }; SdlScalarType.prototype.getDirectives = function () { return this.directives; }; SdlScalarType.prototype.getTypeDef = function () { return this.typeDef; }; return SdlScalarType; }()); exports["default"] = SdlScalarType;