UNPKG

@graphql-mesh/transform-naming-convention

Version:
8 lines (7 loc) 321 B
import BareNamingConvention from './bareNamingConvention.js'; import WrapNamingConvention from './wrapNamingConvention.js'; export default (function NamingConventionTransform(options) { return options.config.mode === 'bare' ? new BareNamingConvention(options) : new WrapNamingConvention(options); });