export default (function (projectId) {
  return {
    autoQuery: true,
    selection: false,
    paging: false,
    fields: [{
      name: 'id',
      type: 'string'
    }, {
      name: 'name',
      type: 'string'
    }, {
      name: 'connect',
      type: 'boolean'
    }],
    transport: {
      read: {
        url: "/devops/v1/projects/".concat(projectId, "/envs/list_clusters"),
        method: 'get'
      }
    }
  };
});