export default (function (_ref) {
  var formatMessage = _ref.formatMessage,
      intlPrefix = _ref.intlPrefix;
  return {
    selection: false,
    pageSize: 10,
    transport: {
      read: {
        method: 'get'
      }
    },
    fields: [{
      name: 'error',
      type: 'string',
      label: formatMessage({
        id: "".concat(intlPrefix, ".environment.error.info")
      })
    }, {
      name: 'filePath',
      type: 'string',
      label: formatMessage({
        id: 'file'
      })
    }, {
      name: 'commit',
      type: 'string',
      label: formatMessage({
        id: 'commit'
      })
    }, {
      name: 'lastUpdateDate',
      type: 'dateTime',
      label: formatMessage({
        id: "".concat(intlPrefix, ".environment.error.time")
      })
    }]
  };
});