@graphql-mesh/transform-naming-convention
Version:
11 lines (10 loc) • 531 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const bareNamingConvention_js_1 = tslib_1.__importDefault(require("./bareNamingConvention.js"));
const wrapNamingConvention_js_1 = tslib_1.__importDefault(require("./wrapNamingConvention.js"));
exports.default = (function NamingConventionTransform(options) {
return options.config.mode === 'bare'
? new bareNamingConvention_js_1.default(options)
: new wrapNamingConvention_js_1.default(options);
});
;