@teambit/graph 0.0.881 → 0.0.883

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/component-graph/component-graph.js +4 -46
  2. package/dist/component-graph/component-graph.js.map +1 -1
  3. package/dist/component-graph/index.js +0 -3
  4. package/dist/component-graph/index.js.map +1 -1
  5. package/dist/duplicate-dependency.js +1 -7
  6. package/dist/duplicate-dependency.js.map +1 -1
  7. package/dist/edge-type.js +0 -1
  8. package/dist/edge-type.js.map +1 -1
  9. package/dist/graph-builder.js +0 -17
  10. package/dist/graph-builder.js.map +1 -1
  11. package/dist/graph-cmd.js +4 -65
  12. package/dist/graph-cmd.js.map +1 -1
  13. package/dist/graph.aspect.js +0 -5
  14. package/dist/graph.aspect.js.map +1 -1
  15. package/dist/graph.compare.section.js +0 -13
  16. package/dist/graph.compare.section.js.map +1 -1
  17. package/dist/graph.composition.js +0 -6
  18. package/dist/graph.composition.js.map +1 -1
  19. package/dist/graph.graphql.js +0 -14
  20. package/dist/graph.graphql.js.map +1 -1
  21. package/dist/graph.main.runtime.js +0 -36
  22. package/dist/graph.main.runtime.js.map +1 -1
  23. package/dist/graph.ui.runtime.js +1 -38
  24. package/dist/graph.ui.runtime.js.map +1 -1
  25. package/dist/index.js +0 -33
  26. package/dist/index.js.map +1 -1
  27. package/dist/model/dependency/dependency.js +0 -8
  28. package/dist/model/dependency/dependency.js.map +1 -1
  29. package/dist/model/dependency/index.js +0 -3
  30. package/dist/model/dependency/index.js.map +1 -1
  31. package/dist/object-list-to-graph.js +0 -23
  32. package/dist/object-list-to-graph.js.map +1 -1
  33. package/dist/ui/component-node/component-node.js +9 -56
  34. package/dist/ui/component-node/component-node.js.map +1 -1
  35. package/dist/ui/component-node/index.js +0 -12
  36. package/dist/ui/component-node/index.js.map +1 -1
  37. package/dist/ui/component-node/variants.js +0 -6
  38. package/dist/ui/component-node/variants.js.map +1 -1
  39. package/dist/ui/dependencies-compare/compare-graph-model.js +0 -6
  40. package/dist/ui/dependencies-compare/compare-graph-model.js.map +1 -1
  41. package/dist/ui/dependencies-compare/compare-node-model.js +0 -11
  42. package/dist/ui/dependencies-compare/compare-node-model.js.map +1 -1
  43. package/dist/ui/dependencies-compare/dependencies-compare.js +0 -41
  44. package/dist/ui/dependencies-compare/dependencies-compare.js.map +1 -1
  45. package/dist/ui/dependencies-compare/dependency-compare-node.js +4 -66
  46. package/dist/ui/dependencies-compare/dependency-compare-node.js.map +1 -1
  47. package/dist/ui/dependencies-compare/diff-graph.js +2 -23
  48. package/dist/ui/dependencies-compare/diff-graph.js.map +1 -1
  49. package/dist/ui/dependencies-compare/index.js +0 -3
  50. package/dist/ui/dependencies-compare/index.js.map +1 -1
  51. package/dist/ui/dependencies-graph/calc-elements.js +0 -14
  52. package/dist/ui/dependencies-graph/calc-elements.js.map +1 -1
  53. package/dist/ui/dependencies-graph/calc-layout.js +5 -11
  54. package/dist/ui/dependencies-graph/calc-layout.js.map +1 -1
  55. package/dist/ui/dependencies-graph/dep-edge/dep-edge.js +0 -15
  56. package/dist/ui/dependencies-graph/dep-edge/dep-edge.js.map +1 -1
  57. package/dist/ui/dependencies-graph/dep-edge/index.js +0 -3
  58. package/dist/ui/dependencies-graph/dep-edge/index.js.map +1 -1
  59. package/dist/ui/dependencies-graph/dependencies-graph.js +12 -47
  60. package/dist/ui/dependencies-graph/dependencies-graph.js.map +1 -1
  61. package/dist/ui/dependencies-graph/graph-context.js +0 -4
  62. package/dist/ui/dependencies-graph/graph-context.js.map +1 -1
  63. package/dist/ui/dependencies-graph/index.js +0 -24
  64. package/dist/ui/dependencies-graph/index.js.map +1 -1
  65. package/dist/ui/dependencies-graph/minimap.js +0 -8
  66. package/dist/ui/dependencies-graph/minimap.js.map +1 -1
  67. package/dist/ui/graph-page/graph-filters.js +5 -19
  68. package/dist/ui/graph-page/graph-filters.js.map +1 -1
  69. package/dist/ui/graph-page/graph-page.js +0 -37
  70. package/dist/ui/graph-page/graph-page.js.map +1 -1
  71. package/dist/ui/graph-page/index.js +0 -12
  72. package/dist/ui/graph-page/index.js.map +1 -1
  73. package/dist/ui/graph.section.js +0 -13
  74. package/dist/ui/graph.section.js.map +1 -1
  75. package/dist/ui/query/edge-model.js +0 -8
  76. package/dist/ui/query/edge-model.js.map +1 -1
  77. package/dist/ui/query/get-graph.query.js +1 -4
  78. package/dist/ui/query/get-graph.query.js.map +1 -1
  79. package/dist/ui/query/graph-model.js +0 -10
  80. package/dist/ui/query/graph-model.js.map +1 -1
  81. package/dist/ui/query/index.js +0 -18
  82. package/dist/ui/query/index.js.map +1 -1
  83. package/dist/ui/query/node-model.js +2 -13
  84. package/dist/ui/query/node-model.js.map +1 -1
  85. package/dist/ui/query/use-graph-query.js +0 -16
  86. package/dist/ui/query/use-graph-query.js.map +1 -1
  87. package/dist/ui/query/use-graph.js +0 -7
  88. package/dist/ui/query/use-graph.js.map +1 -1
  89. package/package-tar/teambit-graph-0.0.883.tgz +0 -0
  90. package/package.json +6 -6
  91. package/{preview-1666409808293.js → preview-1666582798766.js} +2 -2
  92. package/package-tar/teambit-graph-0.0.881.tgz +0 -0
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
@@ -18,42 +17,31 @@ Object.defineProperty(exports, "GraphPage", {
18
17
  }
19
18
  });
20
19
  exports.styles = void 0;
21
-
22
20
  function _graphPageModule() {
23
21
  const data = _interopRequireDefault(require("./graph-page.module.scss"));
24
-
25
22
  _graphPageModule = function () {
26
23
  return data;
27
24
  };
28
-
29
25
  return data;
30
26
  }
31
-
32
27
  function _graphPage() {
33
28
  const data = require("./graph-page");
34
-
35
29
  _graphPage = function () {
36
30
  return data;
37
31
  };
38
-
39
32
  return data;
40
33
  }
41
-
42
34
  function _graphFilters() {
43
35
  const data = require("./graph-filters");
44
-
45
36
  _graphFilters = function () {
46
37
  return data;
47
38
  };
48
-
49
39
  return data;
50
40
  }
51
-
52
41
  const {
53
42
  graph,
54
43
  filters
55
44
  } = _graphPageModule().default;
56
-
57
45
  const styles = {
58
46
  graph,
59
47
  filters
@@ -1 +1 @@
1
- {"version":3,"names":["graph","filters","pageStyles","styles"],"sources":["index.ts"],"sourcesContent":["import pageStyles from './graph-page.module.scss';\n\nexport { GraphPage } from './graph-page';\nexport { GraphFilters } from './graph-filters';\n\nconst { graph, filters } = pageStyles;\nexport const styles = { graph, filters };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA,MAAM;EAAEA,KAAF;EAASC;AAAT,IAAqBC,0BAA3B;;AACO,MAAMC,MAAM,GAAG;EAAEH,KAAF;EAASC;AAAT,CAAf"}
1
+ {"version":3,"names":["graph","filters","pageStyles","styles"],"sources":["index.ts"],"sourcesContent":["import pageStyles from './graph-page.module.scss';\n\nexport { GraphPage } from './graph-page';\nexport { GraphFilters } from './graph-filters';\n\nconst { graph, filters } = pageStyles;\nexport const styles = { graph, filters };\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEA,MAAM;EAAEA,KAAK;EAAEC;AAAQ,CAAC,GAAGC,0BAAU;AAC9B,MAAMC,MAAM,GAAG;EAAEH,KAAK;EAAEC;AAAQ,CAAC;AAAC"}
@@ -1,42 +1,31 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.GraphSection = void 0;
9
-
10
8
  function _defineProperty2() {
11
9
  const data = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
12
-
13
10
  _defineProperty2 = function () {
14
11
  return data;
15
12
  };
16
-
17
13
  return data;
18
14
  }
19
-
20
15
  function _react() {
21
16
  const data = _interopRequireDefault(require("react"));
22
-
23
17
  _react = function () {
24
18
  return data;
25
19
  };
26
-
27
20
  return data;
28
21
  }
29
-
30
22
  function _graphPage() {
31
23
  const data = require("./graph-page");
32
-
33
24
  _graphPage = function () {
34
25
  return data;
35
26
  };
36
-
37
27
  return data;
38
28
  }
39
-
40
29
  class GraphSection {
41
30
  constructor(componentWidgetSlot) {
42
31
  this.componentWidgetSlot = componentWidgetSlot;
@@ -52,9 +41,7 @@ class GraphSection {
52
41
  });
53
42
  (0, _defineProperty2().default)(this, "order", 40);
54
43
  }
55
-
56
44
  }
57
-
58
45
  exports.GraphSection = GraphSection;
59
46
 
60
47
  //# sourceMappingURL=graph.section.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["GraphSection","constructor","componentWidgetSlot","path","element","href","children"],"sources":["graph.section.tsx"],"sourcesContent":["import { Section } from '@teambit/component';\nimport React from 'react';\n\nimport { GraphPage } from './graph-page';\nimport { ComponentWidgetSlot } from '../graph.ui.runtime';\n\nexport class GraphSection implements Section {\n constructor(private componentWidgetSlot: ComponentWidgetSlot) {}\n\n route = {\n path: '~dependencies',\n element: <GraphPage componentWidgets={this.componentWidgetSlot} />,\n };\n navigationLink = {\n href: '~dependencies',\n children: 'Dependencies',\n };\n order = 40;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAGO,MAAMA,YAAN,CAAsC;EAC3CC,WAAW,CAASC,mBAAT,EAAmD;IAAA,KAA1CA,mBAA0C,GAA1CA,mBAA0C;IAAA,+CAEtD;MACNC,IAAI,EAAE,eADA;MAENC,OAAO,eAAE,+BAAC,sBAAD;QAAW,gBAAgB,EAAE,KAAKF;MAAlC;IAFH,CAFsD;IAAA,wDAM7C;MACfG,IAAI,EAAE,eADS;MAEfC,QAAQ,EAAE;IAFK,CAN6C;IAAA,+CAUtD,EAVsD;EAAE;;AADrB"}
1
+ {"version":3,"names":["GraphSection","constructor","componentWidgetSlot","path","element","href","children"],"sources":["graph.section.tsx"],"sourcesContent":["import { Section } from '@teambit/component';\nimport React from 'react';\n\nimport { GraphPage } from './graph-page';\nimport { ComponentWidgetSlot } from '../graph.ui.runtime';\n\nexport class GraphSection implements Section {\n constructor(private componentWidgetSlot: ComponentWidgetSlot) {}\n\n route = {\n path: '~dependencies',\n element: <GraphPage componentWidgets={this.componentWidgetSlot} />,\n };\n navigationLink = {\n href: '~dependencies',\n children: 'Dependencies',\n };\n order = 40;\n}\n"],"mappings":";;;;;;;;;;;;;;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAGO,MAAMA,YAAY,CAAoB;EAC3CC,WAAW,CAASC,mBAAwC,EAAE;IAAA,KAA1CA,mBAAwC,GAAxCA,mBAAwC;IAAA,+CAEpD;MACNC,IAAI,EAAE,eAAe;MACrBC,OAAO,eAAE,+BAAC,sBAAS;QAAC,gBAAgB,EAAE,IAAI,CAACF;MAAoB;IACjE,CAAC;IAAA,wDACgB;MACfG,IAAI,EAAE,eAAe;MACrBC,QAAQ,EAAE;IACZ,CAAC;IAAA,+CACO,EAAE;EAVqD;AAWjE;AAAC"}
@@ -1,29 +1,23 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.EdgeModel = void 0;
9
-
10
8
  function _defineProperty2() {
11
9
  const data = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
12
-
13
10
  _defineProperty2 = function () {
14
11
  return data;
15
12
  };
16
-
17
13
  return data;
18
14
  }
19
-
20
15
  class EdgeModel {
21
16
  constructor() {
22
17
  (0, _defineProperty2().default)(this, "sourceId", void 0);
23
18
  (0, _defineProperty2().default)(this, "targetId", void 0);
24
19
  (0, _defineProperty2().default)(this, "dependencyLifecycleType", void 0);
25
20
  }
26
-
27
21
  static from(rawEdge) {
28
22
  const edge = new EdgeModel();
29
23
  edge.sourceId = rawEdge.sourceId;
@@ -31,9 +25,7 @@ class EdgeModel {
31
25
  edge.dependencyLifecycleType = rawEdge.dependencyLifecycleType;
32
26
  return edge;
33
27
  }
34
-
35
28
  }
36
-
37
29
  exports.EdgeModel = EdgeModel;
38
30
 
39
31
  //# sourceMappingURL=edge-model.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["EdgeModel","from","rawEdge","edge","sourceId","targetId","dependencyLifecycleType"],"sources":["edge-model.ts"],"sourcesContent":["import { EdgeType } from '@teambit/graph';\nimport { RawEdge } from './get-graph.query';\n\nexport class EdgeModel {\n sourceId: string;\n targetId: string;\n dependencyLifecycleType: EdgeType;\n\n static from(rawEdge: RawEdge) {\n const edge = new EdgeModel();\n edge.sourceId = rawEdge.sourceId;\n edge.targetId = rawEdge.targetId;\n edge.dependencyLifecycleType = rawEdge.dependencyLifecycleType;\n return edge;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAGO,MAAMA,SAAN,CAAgB;EAAA;IAAA;IAAA;IAAA;EAAA;;EAKV,OAAJC,IAAI,CAACC,OAAD,EAAmB;IAC5B,MAAMC,IAAI,GAAG,IAAIH,SAAJ,EAAb;IACAG,IAAI,CAACC,QAAL,GAAgBF,OAAO,CAACE,QAAxB;IACAD,IAAI,CAACE,QAAL,GAAgBH,OAAO,CAACG,QAAxB;IACAF,IAAI,CAACG,uBAAL,GAA+BJ,OAAO,CAACI,uBAAvC;IACA,OAAOH,IAAP;EACD;;AAXoB"}
1
+ {"version":3,"names":["EdgeModel","from","rawEdge","edge","sourceId","targetId","dependencyLifecycleType"],"sources":["edge-model.ts"],"sourcesContent":["import { EdgeType } from '@teambit/graph';\nimport { RawEdge } from './get-graph.query';\n\nexport class EdgeModel {\n sourceId: string;\n targetId: string;\n dependencyLifecycleType: EdgeType;\n\n static from(rawEdge: RawEdge) {\n const edge = new EdgeModel();\n edge.sourceId = rawEdge.sourceId;\n edge.targetId = rawEdge.targetId;\n edge.dependencyLifecycleType = rawEdge.dependencyLifecycleType;\n return edge;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AAGO,MAAMA,SAAS,CAAC;EAAA;IAAA;IAAA;IAAA;EAAA;EAKrB,OAAOC,IAAI,CAACC,OAAgB,EAAE;IAC5B,MAAMC,IAAI,GAAG,IAAIH,SAAS,EAAE;IAC5BG,IAAI,CAACC,QAAQ,GAAGF,OAAO,CAACE,QAAQ;IAChCD,IAAI,CAACE,QAAQ,GAAGH,OAAO,CAACG,QAAQ;IAChCF,IAAI,CAACG,uBAAuB,GAAGJ,OAAO,CAACI,uBAAuB;IAC9D,OAAOH,IAAI;EACb;AACF;AAAC"}
@@ -4,18 +4,15 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.GET_GRAPH = void 0;
7
-
8
7
  function _client() {
9
8
  const data = require("@apollo/client");
10
-
11
9
  _client = function () {
12
10
  return data;
13
11
  };
14
-
15
12
  return data;
16
13
  }
17
-
18
14
  // please update types when updating query, for added safety
15
+
19
16
  const GET_GRAPH = (0, _client().gql)`
20
17
  query graph($ids: [String], $filter: String) {
21
18
  graph(ids: $ids, filter: $filter) {
@@ -1 +1 @@
1
- {"version":3,"names":["GET_GRAPH","gql"],"sources":["get-graph.query.ts"],"sourcesContent":["import { gql } from '@apollo/client';\nimport { EdgeType } from '@teambit/graph';\n\n// please update types when updating query, for added safety\n\nexport const GET_GRAPH = gql`\n query graph($ids: [String], $filter: String) {\n graph(ids: $ids, filter: $filter) {\n nodes {\n id\n component {\n id {\n name\n version\n scope\n }\n displayName\n\n deprecation {\n isDeprecate\n }\n\n env {\n id\n icon\n }\n }\n }\n edges {\n sourceId\n targetId\n dependencyLifecycleType\n }\n }\n }\n`;\n\nexport type RawGraphQuery = {\n graph: RawGraph;\n};\n\nexport type RawGraph = {\n nodes: RawNode[];\n edges: [];\n};\n\nexport type RawNode = {\n id: string;\n component: {\n id: {\n name: string;\n scope: string;\n version: string;\n };\n\n displayName: string;\n\n deprecation: {\n isDeprecate: boolean;\n };\n\n env: {\n id: string;\n icon: string;\n };\n };\n};\n\nexport type RawEdge = {\n sourceId: string;\n targetId: string;\n dependencyLifecycleType: EdgeType;\n};\n"],"mappings":";;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAGA;AAEO,MAAMA,SAAS,GAAG,IAAAC,aAAA,CAAI;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CA9BO"}
1
+ {"version":3,"names":["GET_GRAPH","gql"],"sources":["get-graph.query.ts"],"sourcesContent":["import { gql } from '@apollo/client';\nimport { EdgeType } from '@teambit/graph';\n\n// please update types when updating query, for added safety\n\nexport const GET_GRAPH = gql`\n query graph($ids: [String], $filter: String) {\n graph(ids: $ids, filter: $filter) {\n nodes {\n id\n component {\n id {\n name\n version\n scope\n }\n displayName\n\n deprecation {\n isDeprecate\n }\n\n env {\n id\n icon\n }\n }\n }\n edges {\n sourceId\n targetId\n dependencyLifecycleType\n }\n }\n }\n`;\n\nexport type RawGraphQuery = {\n graph: RawGraph;\n};\n\nexport type RawGraph = {\n nodes: RawNode[];\n edges: [];\n};\n\nexport type RawNode = {\n id: string;\n component: {\n id: {\n name: string;\n scope: string;\n version: string;\n };\n\n displayName: string;\n\n deprecation: {\n isDeprecate: boolean;\n };\n\n env: {\n id: string;\n icon: string;\n };\n };\n};\n\nexport type RawEdge = {\n sourceId: string;\n targetId: string;\n dependencyLifecycleType: EdgeType;\n};\n"],"mappings":";;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAGA;;AAEO,MAAMA,SAAS,GAAG,IAAAC,aAAG,CAAC;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAAC"}
@@ -4,41 +4,31 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.GraphModel = void 0;
7
-
8
7
  function _nodeModel() {
9
8
  const data = require("./node-model");
10
-
11
9
  _nodeModel = function () {
12
10
  return data;
13
11
  };
14
-
15
12
  return data;
16
13
  }
17
-
18
14
  function _edgeModel() {
19
15
  const data = require("./edge-model");
20
-
21
16
  _edgeModel = function () {
22
17
  return data;
23
18
  };
24
-
25
19
  return data;
26
20
  }
27
-
28
21
  class GraphModel {
29
22
  constructor(nodes, edges) {
30
23
  this.nodes = nodes;
31
24
  this.edges = edges;
32
25
  }
33
-
34
26
  static from(rawGraph) {
35
27
  const nodes = rawGraph.nodes.map(_nodeModel().NodeModel.from);
36
28
  const edges = rawGraph.edges.map(_edgeModel().EdgeModel.from);
37
29
  return new GraphModel(nodes, edges);
38
30
  }
39
-
40
31
  }
41
-
42
32
  exports.GraphModel = GraphModel;
43
33
 
44
34
  //# sourceMappingURL=graph-model.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["GraphModel","constructor","nodes","edges","from","rawGraph","map","NodeModel","EdgeModel"],"sources":["graph-model.ts"],"sourcesContent":["import { RawGraph } from './get-graph.query';\nimport { NodeModel } from './node-model';\nimport { EdgeModel } from './edge-model';\n\nexport class GraphModel<N extends NodeModel, E extends EdgeModel> {\n constructor(public nodes: N[], public edges: E[]) {}\n\n static from(rawGraph: RawGraph) {\n const nodes = rawGraph.nodes.map(NodeModel.from);\n const edges = rawGraph.edges.map(EdgeModel.from);\n return new GraphModel(nodes, edges);\n }\n}\n"],"mappings":";;;;;;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,UAAN,CAA2D;EAChEC,WAAW,CAAQC,KAAR,EAA2BC,KAA3B,EAAuC;IAAA,KAA/BD,KAA+B,GAA/BA,KAA+B;IAAA,KAAZC,KAAY,GAAZA,KAAY;EAAE;;EAEzC,OAAJC,IAAI,CAACC,QAAD,EAAqB;IAC9B,MAAMH,KAAK,GAAGG,QAAQ,CAACH,KAAT,CAAeI,GAAf,CAAmBC,sBAAA,CAAUH,IAA7B,CAAd;IACA,MAAMD,KAAK,GAAGE,QAAQ,CAACF,KAAT,CAAeG,GAAf,CAAmBE,sBAAA,CAAUJ,IAA7B,CAAd;IACA,OAAO,IAAIJ,UAAJ,CAAeE,KAAf,EAAsBC,KAAtB,CAAP;EACD;;AAP+D"}
1
+ {"version":3,"names":["GraphModel","constructor","nodes","edges","from","rawGraph","map","NodeModel","EdgeModel"],"sources":["graph-model.ts"],"sourcesContent":["import { RawGraph } from './get-graph.query';\nimport { NodeModel } from './node-model';\nimport { EdgeModel } from './edge-model';\n\nexport class GraphModel<N extends NodeModel, E extends EdgeModel> {\n constructor(public nodes: N[], public edges: E[]) {}\n\n static from(rawGraph: RawGraph) {\n const nodes = rawGraph.nodes.map(NodeModel.from);\n const edges = rawGraph.edges.map(EdgeModel.from);\n return new GraphModel(nodes, edges);\n }\n}\n"],"mappings":";;;;;;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEO,MAAMA,UAAU,CAA2C;EAChEC,WAAW,CAAQC,KAAU,EAASC,KAAU,EAAE;IAAA,KAA/BD,KAAU,GAAVA,KAAU;IAAA,KAASC,KAAU,GAAVA,KAAU;EAAG;EAEnD,OAAOC,IAAI,CAACC,QAAkB,EAAE;IAC9B,MAAMH,KAAK,GAAGG,QAAQ,CAACH,KAAK,CAACI,GAAG,CAACC,sBAAS,CAACH,IAAI,CAAC;IAChD,MAAMD,KAAK,GAAGE,QAAQ,CAACF,KAAK,CAACG,GAAG,CAACE,sBAAS,CAACJ,IAAI,CAAC;IAChD,OAAO,IAAIJ,UAAU,CAACE,KAAK,EAAEC,KAAK,CAAC;EACrC;AACF;AAAC"}
@@ -39,64 +39,46 @@ Object.defineProperty(exports, "useGraphQuery", {
39
39
  return _useGraphQuery().useGraphQuery;
40
40
  }
41
41
  });
42
-
43
42
  function _useGraphQuery() {
44
43
  const data = require("./use-graph-query");
45
-
46
44
  _useGraphQuery = function () {
47
45
  return data;
48
46
  };
49
-
50
47
  return data;
51
48
  }
52
-
53
49
  function _useGraph() {
54
50
  const data = require("./use-graph");
55
-
56
51
  _useGraph = function () {
57
52
  return data;
58
53
  };
59
-
60
54
  return data;
61
55
  }
62
-
63
56
  function _graphModel() {
64
57
  const data = require("./graph-model");
65
-
66
58
  _graphModel = function () {
67
59
  return data;
68
60
  };
69
-
70
61
  return data;
71
62
  }
72
-
73
63
  function _edgeModel() {
74
64
  const data = require("./edge-model");
75
-
76
65
  _edgeModel = function () {
77
66
  return data;
78
67
  };
79
-
80
68
  return data;
81
69
  }
82
-
83
70
  function _nodeModel() {
84
71
  const data = require("./node-model");
85
-
86
72
  _nodeModel = function () {
87
73
  return data;
88
74
  };
89
-
90
75
  return data;
91
76
  }
92
-
93
77
  function _getGraph() {
94
78
  const data = require("./get-graph.query");
95
-
96
79
  _getGraph = function () {
97
80
  return data;
98
81
  };
99
-
100
82
  return data;
101
83
  }
102
84
 
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export { useGraphQuery } from './use-graph-query';\nexport { useGraph } from './use-graph';\n\nexport { GraphModel } from './graph-model';\nexport { EdgeModel } from './edge-model';\nexport { NodeModel } from './node-model';\nexport { RawGraph } from './get-graph.query';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA"}
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export { useGraphQuery } from './use-graph-query';\nexport { useGraph } from './use-graph';\n\nexport { GraphModel } from './graph-model';\nexport { EdgeModel } from './edge-model';\nexport { NodeModel } from './node-model';\nexport { RawGraph } from './get-graph.query';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA"}
@@ -1,49 +1,38 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.NodeModel = void 0;
9
-
10
8
  function _defineProperty2() {
11
9
  const data = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
12
-
13
10
  _defineProperty2 = function () {
14
11
  return data;
15
12
  };
16
-
17
13
  return data;
18
14
  }
19
-
20
15
  function _component() {
21
16
  const data = require("@teambit/component");
22
-
23
17
  _component = function () {
24
18
  return data;
25
19
  };
26
-
27
20
  return data;
28
21
  }
29
-
30
22
  class NodeModel {
31
23
  constructor() {
32
24
  (0, _defineProperty2().default)(this, "id", void 0);
33
25
  (0, _defineProperty2().default)(this, "component", void 0);
34
26
  }
35
-
36
27
  static from(rawNode) {
37
28
  const node = new NodeModel();
38
- node.id = rawNode.id; // @TODO - component model should not expect all fields to have values
29
+ node.id = rawNode.id;
30
+ // @TODO - component model should not expect all fields to have values
39
31
  // @ts-ignore
40
-
41
32
  node.component = _component().ComponentModel.from(rawNode.component);
42
33
  return node;
43
34
  }
44
-
45
35
  }
46
-
47
36
  exports.NodeModel = NodeModel;
48
37
 
49
38
  //# sourceMappingURL=node-model.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["NodeModel","from","rawNode","node","id","component","ComponentModel"],"sources":["node-model.ts"],"sourcesContent":["import { ComponentModel } from '@teambit/component';\nimport { RawNode } from './get-graph.query';\n\nexport class NodeModel {\n id: string;\n component: ComponentModel;\n\n static from(rawNode: RawNode) {\n const node = new NodeModel();\n node.id = rawNode.id;\n // @TODO - component model should not expect all fields to have values\n // @ts-ignore\n node.component = ComponentModel.from(rawNode.component);\n return node;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAGO,MAAMA,SAAN,CAAgB;EAAA;IAAA;IAAA;EAAA;;EAIV,OAAJC,IAAI,CAACC,OAAD,EAAmB;IAC5B,MAAMC,IAAI,GAAG,IAAIH,SAAJ,EAAb;IACAG,IAAI,CAACC,EAAL,GAAUF,OAAO,CAACE,EAAlB,CAF4B,CAG5B;IACA;;IACAD,IAAI,CAACE,SAAL,GAAiBC,2BAAA,CAAeL,IAAf,CAAoBC,OAAO,CAACG,SAA5B,CAAjB;IACA,OAAOF,IAAP;EACD;;AAXoB"}
1
+ {"version":3,"names":["NodeModel","from","rawNode","node","id","component","ComponentModel"],"sources":["node-model.ts"],"sourcesContent":["import { ComponentModel } from '@teambit/component';\nimport { RawNode } from './get-graph.query';\n\nexport class NodeModel {\n id: string;\n component: ComponentModel;\n\n static from(rawNode: RawNode) {\n const node = new NodeModel();\n node.id = rawNode.id;\n // @TODO - component model should not expect all fields to have values\n // @ts-ignore\n node.component = ComponentModel.from(rawNode.component);\n return node;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAGO,MAAMA,SAAS,CAAC;EAAA;IAAA;IAAA;EAAA;EAIrB,OAAOC,IAAI,CAACC,OAAgB,EAAE;IAC5B,MAAMC,IAAI,GAAG,IAAIH,SAAS,EAAE;IAC5BG,IAAI,CAACC,EAAE,GAAGF,OAAO,CAACE,EAAE;IACpB;IACA;IACAD,IAAI,CAACE,SAAS,GAAGC,2BAAc,CAACL,IAAI,CAACC,OAAO,CAACG,SAAS,CAAC;IACvD,OAAOF,IAAI;EACb;AACF;AAAC"}
@@ -4,57 +4,41 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.useGraphQuery = useGraphQuery;
7
-
8
7
  function _react() {
9
8
  const data = require("react");
10
-
11
9
  _react = function () {
12
10
  return data;
13
11
  };
14
-
15
12
  return data;
16
13
  }
17
-
18
14
  function _uiFoundationUiHooks() {
19
15
  const data = require("@teambit/ui-foundation.ui.hooks.use-data-query");
20
-
21
16
  _uiFoundationUiHooks = function () {
22
17
  return data;
23
18
  };
24
-
25
19
  return data;
26
20
  }
27
-
28
21
  function _graphql() {
29
22
  const data = require("@teambit/graphql");
30
-
31
23
  _graphql = function () {
32
24
  return data;
33
25
  };
34
-
35
26
  return data;
36
27
  }
37
-
38
28
  function _getGraph() {
39
29
  const data = require("./get-graph.query");
40
-
41
30
  _getGraph = function () {
42
31
  return data;
43
32
  };
44
-
45
33
  return data;
46
34
  }
47
-
48
35
  function _graphModel() {
49
36
  const data = require("./graph-model");
50
-
51
37
  _graphModel = function () {
52
38
  return data;
53
39
  };
54
-
55
40
  return data;
56
41
  }
57
-
58
42
  /** provides dependencies graph data from graphQL */
59
43
  function useGraphQuery(componentId, filter) {
60
44
  const {
@@ -1 +1 @@
1
- {"version":3,"names":["useGraphQuery","componentId","filter","data","error","loading","useDataQuery","GET_GRAPH","variables","ids","skip","rawGraph","graph","clientError","GraphQlError","undefined","serverError","message","useMemo","GraphModel","from"],"sources":["use-graph-query.ts"],"sourcesContent":["import { useMemo } from 'react';\nimport { useDataQuery } from '@teambit/ui-foundation.ui.hooks.use-data-query';\nimport { GraphQlError } from '@teambit/graphql';\nimport { GET_GRAPH, RawGraphQuery } from './get-graph.query';\nimport { GraphModel } from './graph-model';\n\ntype QueryVariables = {\n ids?: string[];\n filter?: string;\n};\n\n/** provides dependencies graph data from graphQL */\nexport function useGraphQuery(componentId?: string[], filter?: string) {\n const { data, error, loading } = useDataQuery<RawGraphQuery, QueryVariables>(GET_GRAPH, {\n variables: { ids: componentId, filter },\n skip: !componentId,\n });\n\n const rawGraph = data?.graph;\n const clientError = !rawGraph && !loading ? new GraphQlError(404) : undefined;\n const serverError = error ? new GraphQlError(500, error.message) : undefined;\n\n return useMemo(() => {\n return {\n graph: rawGraph ? GraphModel.from(rawGraph) : undefined,\n error: serverError || clientError,\n loading,\n };\n }, [rawGraph, error]);\n}\n"],"mappings":";;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAOA;AACO,SAASA,aAAT,CAAuBC,WAAvB,EAA+CC,MAA/C,EAAgE;EACrE,MAAM;IAAEC,IAAF;IAAQC,KAAR;IAAeC;EAAf,IAA2B,IAAAC,mCAAA,EAA4CC,qBAA5C,EAAuD;IACtFC,SAAS,EAAE;MAAEC,GAAG,EAAER,WAAP;MAAoBC;IAApB,CAD2E;IAEtFQ,IAAI,EAAE,CAACT;EAF+E,CAAvD,CAAjC;EAKA,MAAMU,QAAQ,GAAGR,IAAH,aAAGA,IAAH,uBAAGA,IAAI,CAAES,KAAvB;EACA,MAAMC,WAAW,GAAG,CAACF,QAAD,IAAa,CAACN,OAAd,GAAwB,KAAIS,uBAAJ,EAAiB,GAAjB,CAAxB,GAAgDC,SAApE;EACA,MAAMC,WAAW,GAAGZ,KAAK,GAAG,KAAIU,uBAAJ,EAAiB,GAAjB,EAAsBV,KAAK,CAACa,OAA5B,CAAH,GAA0CF,SAAnE;EAEA,OAAO,IAAAG,gBAAA,EAAQ,MAAM;IACnB,OAAO;MACLN,KAAK,EAAED,QAAQ,GAAGQ,wBAAA,CAAWC,IAAX,CAAgBT,QAAhB,CAAH,GAA+BI,SADzC;MAELX,KAAK,EAAEY,WAAW,IAAIH,WAFjB;MAGLR;IAHK,CAAP;EAKD,CANM,EAMJ,CAACM,QAAD,EAAWP,KAAX,CANI,CAAP;AAOD"}
1
+ {"version":3,"names":["useGraphQuery","componentId","filter","data","error","loading","useDataQuery","GET_GRAPH","variables","ids","skip","rawGraph","graph","clientError","GraphQlError","undefined","serverError","message","useMemo","GraphModel","from"],"sources":["use-graph-query.ts"],"sourcesContent":["import { useMemo } from 'react';\nimport { useDataQuery } from '@teambit/ui-foundation.ui.hooks.use-data-query';\nimport { GraphQlError } from '@teambit/graphql';\nimport { GET_GRAPH, RawGraphQuery } from './get-graph.query';\nimport { GraphModel } from './graph-model';\n\ntype QueryVariables = {\n ids?: string[];\n filter?: string;\n};\n\n/** provides dependencies graph data from graphQL */\nexport function useGraphQuery(componentId?: string[], filter?: string) {\n const { data, error, loading } = useDataQuery<RawGraphQuery, QueryVariables>(GET_GRAPH, {\n variables: { ids: componentId, filter },\n skip: !componentId,\n });\n\n const rawGraph = data?.graph;\n const clientError = !rawGraph && !loading ? new GraphQlError(404) : undefined;\n const serverError = error ? new GraphQlError(500, error.message) : undefined;\n\n return useMemo(() => {\n return {\n graph: rawGraph ? GraphModel.from(rawGraph) : undefined,\n error: serverError || clientError,\n loading,\n };\n }, [rawGraph, error]);\n}\n"],"mappings":";;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAOA;AACO,SAASA,aAAa,CAACC,WAAsB,EAAEC,MAAe,EAAE;EACrE,MAAM;IAAEC,IAAI;IAAEC,KAAK;IAAEC;EAAQ,CAAC,GAAG,IAAAC,mCAAY,EAAgCC,qBAAS,EAAE;IACtFC,SAAS,EAAE;MAAEC,GAAG,EAAER,WAAW;MAAEC;IAAO,CAAC;IACvCQ,IAAI,EAAE,CAACT;EACT,CAAC,CAAC;EAEF,MAAMU,QAAQ,GAAGR,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAES,KAAK;EAC5B,MAAMC,WAAW,GAAG,CAACF,QAAQ,IAAI,CAACN,OAAO,GAAG,KAAIS,uBAAY,EAAC,GAAG,CAAC,GAAGC,SAAS;EAC7E,MAAMC,WAAW,GAAGZ,KAAK,GAAG,KAAIU,uBAAY,EAAC,GAAG,EAAEV,KAAK,CAACa,OAAO,CAAC,GAAGF,SAAS;EAE5E,OAAO,IAAAG,gBAAO,EAAC,MAAM;IACnB,OAAO;MACLN,KAAK,EAAED,QAAQ,GAAGQ,wBAAU,CAACC,IAAI,CAACT,QAAQ,CAAC,GAAGI,SAAS;MACvDX,KAAK,EAAEY,WAAW,IAAIH,WAAW;MACjCR;IACF,CAAC;EACH,CAAC,EAAE,CAACM,QAAQ,EAAEP,KAAK,CAAC,CAAC;AACvB"}
@@ -4,27 +4,20 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.useGraph = useGraph;
7
-
8
7
  function _uiFoundationUiReactRouter() {
9
8
  const data = require("@teambit/ui-foundation.ui.react-router.use-query");
10
-
11
9
  _uiFoundationUiReactRouter = function () {
12
10
  return data;
13
11
  };
14
-
15
12
  return data;
16
13
  }
17
-
18
14
  function _useGraphQuery() {
19
15
  const data = require("./use-graph-query");
20
-
21
16
  _useGraphQuery = function () {
22
17
  return data;
23
18
  };
24
-
25
19
  return data;
26
20
  }
27
-
28
21
  function useGraph() {
29
22
  const componentId = (0, _uiFoundationUiReactRouter().useQuery)().get('componentId');
30
23
  return (0, _useGraphQuery().useGraphQuery)([componentId]);
@@ -1 +1 @@
1
- {"version":3,"names":["useGraph","componentId","useQuery","get","useGraphQuery"],"sources":["use-graph.tsx"],"sourcesContent":["import { useQuery } from '@teambit/ui-foundation.ui.react-router.use-query';\nimport { useGraphQuery } from './use-graph-query';\n\nexport function useGraph() {\n const componentId = useQuery().get('componentId') as string;\n\n return useGraphQuery([componentId]);\n}\n"],"mappings":";;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,SAASA,QAAT,GAAoB;EACzB,MAAMC,WAAW,GAAG,IAAAC,qCAAA,IAAWC,GAAX,CAAe,aAAf,CAApB;EAEA,OAAO,IAAAC,8BAAA,EAAc,CAACH,WAAD,CAAd,CAAP;AACD"}
1
+ {"version":3,"names":["useGraph","componentId","useQuery","get","useGraphQuery"],"sources":["use-graph.tsx"],"sourcesContent":["import { useQuery } from '@teambit/ui-foundation.ui.react-router.use-query';\nimport { useGraphQuery } from './use-graph-query';\n\nexport function useGraph() {\n const componentId = useQuery().get('componentId') as string;\n\n return useGraphQuery([componentId]);\n}\n"],"mappings":";;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEO,SAASA,QAAQ,GAAG;EACzB,MAAMC,WAAW,GAAG,IAAAC,qCAAQ,GAAE,CAACC,GAAG,CAAC,aAAa,CAAW;EAE3D,OAAO,IAAAC,8BAAa,EAAC,CAACH,WAAW,CAAC,CAAC;AACrC"}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/graph",
3
- "version": "0.0.881",
3
+ "version": "0.0.883",
4
4
  "homepage": "https://bit.dev/teambit/component/graph",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "graph",
9
- "version": "0.0.881"
9
+ "version": "0.0.883"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -26,13 +26,13 @@
26
26
  "@teambit/base-ui.text.muted-text": "1.0.1",
27
27
  "@teambit/evangelist.input.checkbox.label": "1.0.3",
28
28
  "@teambit/documenter.ui.heading": "4.1.1",
29
- "@teambit/component": "0.0.881",
29
+ "@teambit/component": "0.0.883",
30
30
  "@teambit/cli": "0.0.591",
31
31
  "@teambit/legacy-bit-id": "0.0.414",
32
- "@teambit/graphql": "0.0.881",
32
+ "@teambit/graphql": "0.0.883",
33
33
  "@teambit/logger": "0.0.684",
34
- "@teambit/component-compare": "0.0.129",
35
- "@teambit/ui": "0.0.881",
34
+ "@teambit/component-compare": "0.0.131",
35
+ "@teambit/ui": "0.0.883",
36
36
  "@teambit/component.modules.component-url": "0.0.141",
37
37
  "@teambit/component.ui.deprecation-icon": "0.0.500",
38
38
  "@teambit/design.ui.styles.ellipsis": "0.0.353",
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_graph@0.0.881/dist/graph.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_graph@0.0.881/dist/graph.docs.md';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_graph@0.0.883/dist/graph.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_graph@0.0.883/dist/graph.docs.md';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];