'use strict';

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

var _reactIntl = require('react-intl');

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

var _columns2 = _interopRequireDefault(_columns);

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

exports.default = function () {
  return {
    subresources: {
      terms: {
        columns: _columns2.default,
        listType: 'authRef',
        messages: (0, _reactIntl.defineMessages)({
          collectionName: {
            'id': 'subresource.terms.collectionName',
            'defaultMessage': 'Authority Terms Used by {record}'
          }
        }),
        serviceConfig: {
          servicePath: 'authorityrefs'
        }
      }
    }
  };
};