'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 = () => ({
  subresources: {
    refs: {
      columns: _columns2.default,
      listType: 'refDoc',
      messages: (0, _reactIntl.defineMessages)({
        collectionName: {
          'id': 'subresource.refs.collectionName',
          'defaultMessage': 'Uses of {record}'
        }
      }),
      serviceConfig: {
        servicePath: 'refObjs'
      }
    }
  }
});