import "choerodon-ui/pro/lib/data-set/style";
import _DataSet from "choerodon-ui/pro/lib/data-set";
var optionDs = new _DataSet({
  selection: 'single',
  data: [{
    name: 'Maven构建',
    value: 'Maven'
  }, {
    name: 'Npm构建',
    value: 'npm'
  }, {
    name: 'Docker构建',
    value: 'docker'
  }, {
    name: 'Maven发布',
    value: 'maven_deploy'
  }, {
    name: '上传jar包至制品库',
    value: 'upload_jar'
  }]
});
export default (function () {
  return {
    autoCreate: true,
    fields: [{
      name: 'kybz',
      type: 'string',
      label: '可用步骤',
      textField: 'name',
      valueField: 'value',
      required: true,
      options: optionDs
    }]
  };
});