export var RetryDataSet = function RetryDataSet() {
  return {
    selection: false,
    paging: false,
    dataKey: null,
    transport: {
      read: {
        method: 'get'
      }
    },
    fields: []
  };
};
export var GitopsSyncDataSet = function GitopsSyncDataSet() {
  return {
    selection: false,
    paging: false,
    dataKey: null,
    transport: {
      read: {
        method: 'get'
      }
    },
    fields: [{
      name: 'sagaSyncCommit',
      type: 'string'
    }, {
      name: 'commitUrl',
      type: 'string'
    }, {
      name: 'agentSyncCommit',
      type: 'string'
    }, {
      name: 'devopsSyncCommit',
      type: 'string'
    }]
  };
};
export var GitopsLogDataSet = function GitopsLogDataSet(_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")
      })
    }]
  };
};