"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.catScope = catScope;
function _scope() {
  const data = require("@teambit/legacy/dist/scope");
  _scope = function () {
    return data;
  };
  return data;
}
function _models() {
  const data = require("@teambit/legacy/dist/scope/models");
  _models = function () {
    return data;
  };
  return data;
}
async function catScope(path, full) {
  const scope = await (0, _scope().loadScope)(path);
  return full ? scope.objects.list([_models().ModelComponent, _models().Symlink, _models().Lane, _models().Version, _models().ScopeMeta]) : scope.objects.list([_models().ModelComponent, _models().Symlink, _models().Lane]);
}

//# sourceMappingURL=cat-scope.js.map