import getTablePostData from "../../../../../../utils/getTablePostData";
export default (function (_ref) {
  var formatMessage = _ref.formatMessage;
  return {
    selection: false,
    pageSize: 10,
    fields: [{
      name: 'id',
      type: 'string'
    }, {
      name: 'name',
      type: 'string',
      label: formatMessage({
        id: 'name'
      })
    }, {
      name: 'description',
      type: 'string',
      label: formatMessage({
        id: 'description'
      })
    }, {
      name: 'key',
      type: 'object',
      label: formatMessage({
        id: 'key'
      })
    }, {
      name: 'value',
      type: 'object'
    }, {
      name: 'commandStatus',
      type: 'string'
    }, {
      name: 'lastUpdateDate',
      type: 'string',
      label: formatMessage({
        id: 'updateDate'
      })
    }],
    queryFields: [{
      name: 'name',
      type: 'string',
      label: formatMessage({
        id: 'name'
      })
    }]
  };
});