export default (function (_ref) {
  var projectId = _ref.projectId,
      envId = _ref.envId,
      appServiceId = _ref.appServiceId;
  return {
    autoCreate: false,
    autoQuery: false,
    selection: 'single',
    paging: false,
    transport: {
      read: {
        url: "/devops/v1/projects/".concat(projectId, "/service/list_by_env?env_id=").concat(envId).concat(appServiceId ? "&app_service_id=".concat(appServiceId) : ''),
        method: 'get'
      }
    }
  };
});