"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

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

var _default = () => ({
  listTypes: {
    role: {
      listNodeName: 'ns2:roles_list',
      itemNodeName: 'role',
      messages: (0, _reactIntl.defineMessages)({
        resultCount: {
          "id": "list.role.resultCount",
          "defaultMessage": "{totalItems, plural, =0 {No roles} one {1 role} other {{startNum, number}\u2013{endNum, number} of {totalItems, number} roles}} found"
        },
        searching: {
          "id": "list.role.searching",
          "defaultMessage": "Finding roles..."
        }
      }),
      getItemLocationPath: item => {
        const csid = item.get('@csid');
        return "/admin/authrole/".concat(csid);
      }
    }
  }
});

exports.default = _default;