'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _advancedSearch = require('./advancedSearch');

var _advancedSearch2 = _interopRequireDefault(_advancedSearch);

var _columns = require('./columns');

var _columns2 = _interopRequireDefault(_columns);

var _fields = require('./fields');

var _fields2 = _interopRequireDefault(_fields);

var _messages = require('./messages');

var _messages2 = _interopRequireDefault(_messages);

var _serviceConfig = require('./serviceConfig');

var _serviceConfig2 = _interopRequireDefault(_serviceConfig);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = function () {
  return function (pluginContext) {
    return {
      recordTypes: {
        authority: {
          messages: _messages2.default,
          serviceConfig: _serviceConfig2.default,
          advancedSearch: (0, _advancedSearch2.default)(pluginContext),
          columns: (0, _columns2.default)(pluginContext),
          fields: (0, _fields2.default)(pluginContext)
        }
      }
    };
  };
};