@dxos/plugin-explorer 0.8.4-main.c4373fc → 0.8.4-main.c85a9c8dae

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 (146) hide show
  1. package/dist/lib/browser/ExplorerContainer-4RB2TY3G.mjs +48 -0
  2. package/dist/lib/browser/ExplorerContainer-4RB2TY3G.mjs.map +7 -0
  3. package/dist/lib/browser/chunk-4NFGHCGO.mjs +84 -0
  4. package/dist/lib/browser/chunk-4NFGHCGO.mjs.map +7 -0
  5. package/dist/lib/browser/{chunk-UCDNCIRV.mjs → chunk-6AZY4CDH.mjs} +343 -406
  6. package/dist/lib/{node-esm/chunk-WHKUQG5M.mjs.map → browser/chunk-6AZY4CDH.mjs.map} +4 -4
  7. package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
  8. package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
  9. package/dist/lib/browser/{chunk-2DGFNLRO.mjs → chunk-YNQF4CPY.mjs} +7 -2
  10. package/dist/lib/browser/chunk-YNQF4CPY.mjs.map +7 -0
  11. package/dist/lib/browser/index.mjs +51 -68
  12. package/dist/lib/browser/index.mjs.map +4 -4
  13. package/dist/lib/browser/meta.json +1 -1
  14. package/dist/lib/browser/meta.mjs +2 -1
  15. package/dist/lib/browser/react-surface-KAHVDMFX.mjs +38 -0
  16. package/dist/lib/browser/react-surface-KAHVDMFX.mjs.map +7 -0
  17. package/dist/lib/browser/types/index.mjs +6 -6
  18. package/dist/lib/node-esm/ExplorerContainer-LCG425I7.mjs +49 -0
  19. package/dist/lib/node-esm/ExplorerContainer-LCG425I7.mjs.map +7 -0
  20. package/dist/lib/node-esm/{chunk-PX6LHR2N.mjs → chunk-DK77RB6M.mjs} +7 -2
  21. package/dist/lib/node-esm/chunk-DK77RB6M.mjs.map +7 -0
  22. package/dist/lib/node-esm/{chunk-WHKUQG5M.mjs → chunk-DOXAIJEC.mjs} +343 -406
  23. package/dist/lib/{browser/chunk-UCDNCIRV.mjs.map → node-esm/chunk-DOXAIJEC.mjs.map} +4 -4
  24. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
  25. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
  26. package/dist/lib/node-esm/chunk-V42OFY7B.mjs +85 -0
  27. package/dist/lib/node-esm/chunk-V42OFY7B.mjs.map +7 -0
  28. package/dist/lib/node-esm/index.mjs +51 -68
  29. package/dist/lib/node-esm/index.mjs.map +4 -4
  30. package/dist/lib/node-esm/meta.json +1 -1
  31. package/dist/lib/node-esm/meta.mjs +2 -1
  32. package/dist/lib/node-esm/react-surface-7XILIUI4.mjs +39 -0
  33. package/dist/lib/node-esm/react-surface-7XILIUI4.mjs.map +7 -0
  34. package/dist/lib/node-esm/types/index.mjs +6 -6
  35. package/dist/types/src/ExplorerPlugin.d.ts +2 -1
  36. package/dist/types/src/ExplorerPlugin.d.ts.map +1 -1
  37. package/dist/types/src/capabilities/index.d.ts +1 -2
  38. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  39. package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
  40. package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
  41. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
  42. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
  43. package/dist/types/src/components/Graph/D3ForceGraph.d.ts +3 -3
  44. package/dist/types/src/components/Graph/D3ForceGraph.d.ts.map +1 -1
  45. package/dist/types/src/components/Graph/D3ForceGraph.stories.d.ts +1 -1
  46. package/dist/types/src/components/Graph/D3ForceGraph.stories.d.ts.map +1 -1
  47. package/dist/types/src/components/Graph/ForceGraph.stories.d.ts.map +1 -1
  48. package/dist/types/src/components/Graph/adapter.d.ts +1 -1
  49. package/dist/types/src/components/Graph/adapter.d.ts.map +1 -1
  50. package/dist/types/src/components/Graph/testing.d.ts.map +1 -1
  51. package/dist/types/src/components/Tree/Tree.d.ts.map +1 -1
  52. package/dist/types/src/components/Tree/Tree.stories.d.ts.map +1 -1
  53. package/dist/types/src/components/Tree/testing/generator.d.ts.map +1 -1
  54. package/dist/types/src/components/Tree/types/tree.d.ts +18 -16
  55. package/dist/types/src/components/Tree/types/tree.d.ts.map +1 -1
  56. package/dist/types/src/components/Tree/types/types.d.ts +1 -1
  57. package/dist/types/src/components/Tree/types/types.d.ts.map +1 -1
  58. package/dist/types/src/components/index.d.ts +0 -4
  59. package/dist/types/src/components/index.d.ts.map +1 -1
  60. package/dist/types/src/containers/ExplorerContainer/ExplorerContainer.d.ts +6 -0
  61. package/dist/types/src/containers/ExplorerContainer/ExplorerContainer.d.ts.map +1 -0
  62. package/dist/types/src/containers/ExplorerContainer/index.d.ts +3 -0
  63. package/dist/types/src/containers/ExplorerContainer/index.d.ts.map +1 -0
  64. package/dist/types/src/containers/index.d.ts +3 -0
  65. package/dist/types/src/containers/index.d.ts.map +1 -0
  66. package/dist/types/src/hooks/useGraphModel.d.ts.map +1 -1
  67. package/dist/types/src/meta.d.ts +2 -2
  68. package/dist/types/src/meta.d.ts.map +1 -1
  69. package/dist/types/src/translations.d.ts +17 -10
  70. package/dist/types/src/translations.d.ts.map +1 -1
  71. package/dist/types/src/types/ExplorerAction.d.ts +6 -0
  72. package/dist/types/src/types/ExplorerAction.d.ts.map +1 -0
  73. package/dist/types/src/types/Graph.d.ts +30 -0
  74. package/dist/types/src/types/Graph.d.ts.map +1 -0
  75. package/dist/types/src/types/index.d.ts +2 -2
  76. package/dist/types/src/types/index.d.ts.map +1 -1
  77. package/dist/types/tsconfig.tsbuildinfo +1 -1
  78. package/package.json +51 -45
  79. package/src/ExplorerPlugin.tsx +29 -50
  80. package/src/capabilities/index.ts +1 -4
  81. package/src/capabilities/react-surface/index.ts +7 -0
  82. package/src/capabilities/react-surface/react-surface.tsx +31 -0
  83. package/src/components/Chart/Chart.stories.tsx +3 -3
  84. package/src/components/Globe/Globe.stories.tsx +3 -3
  85. package/src/components/Graph/D3ForceGraph.stories.tsx +30 -14
  86. package/src/components/Graph/D3ForceGraph.tsx +8 -7
  87. package/src/components/Graph/ForceGraph.stories.tsx +30 -14
  88. package/src/components/Graph/adapter.ts +14 -8
  89. package/src/components/Graph/testing.ts +11 -8
  90. package/src/components/Tree/Tree.stories.tsx +4 -3
  91. package/src/components/Tree/Tree.tsx +8 -3
  92. package/src/components/Tree/testing/generator.ts +4 -2
  93. package/src/components/Tree/types/tree.test.ts +5 -3
  94. package/src/components/Tree/types/tree.ts +40 -19
  95. package/src/components/Tree/types/types.ts +1 -1
  96. package/src/components/index.ts +0 -4
  97. package/src/containers/ExplorerContainer/ExplorerContainer.tsx +53 -0
  98. package/src/containers/ExplorerContainer/index.ts +7 -0
  99. package/src/containers/index.ts +7 -0
  100. package/src/hooks/useGraphModel.ts +6 -3
  101. package/src/meta.ts +8 -3
  102. package/src/translations.ts +4 -2
  103. package/src/types/ExplorerAction.ts +21 -0
  104. package/src/types/Graph.ts +63 -0
  105. package/src/types/index.ts +2 -2
  106. package/dist/lib/browser/ExplorerContainer-S66JDOAF.mjs +0 -49
  107. package/dist/lib/browser/ExplorerContainer-S66JDOAF.mjs.map +0 -7
  108. package/dist/lib/browser/chunk-2DGFNLRO.mjs.map +0 -7
  109. package/dist/lib/browser/chunk-2MKBRIUT.mjs +0 -31
  110. package/dist/lib/browser/chunk-2MKBRIUT.mjs.map +0 -7
  111. package/dist/lib/browser/chunk-4ETQJYX4.mjs +0 -38
  112. package/dist/lib/browser/chunk-4ETQJYX4.mjs.map +0 -7
  113. package/dist/lib/browser/chunk-NXGP6NTP.mjs +0 -203
  114. package/dist/lib/browser/chunk-NXGP6NTP.mjs.map +0 -7
  115. package/dist/lib/browser/intent-resolver-OXJJ3PII.mjs +0 -24
  116. package/dist/lib/browser/intent-resolver-OXJJ3PII.mjs.map +0 -7
  117. package/dist/lib/browser/react-surface-C4EC6ZDZ.mjs +0 -31
  118. package/dist/lib/browser/react-surface-C4EC6ZDZ.mjs.map +0 -7
  119. package/dist/lib/node-esm/ExplorerContainer-GIJN67DO.mjs +0 -50
  120. package/dist/lib/node-esm/ExplorerContainer-GIJN67DO.mjs.map +0 -7
  121. package/dist/lib/node-esm/chunk-3ODK27PU.mjs +0 -33
  122. package/dist/lib/node-esm/chunk-3ODK27PU.mjs.map +0 -7
  123. package/dist/lib/node-esm/chunk-6JACZE7E.mjs +0 -205
  124. package/dist/lib/node-esm/chunk-6JACZE7E.mjs.map +0 -7
  125. package/dist/lib/node-esm/chunk-AGHU3KVI.mjs +0 -39
  126. package/dist/lib/node-esm/chunk-AGHU3KVI.mjs.map +0 -7
  127. package/dist/lib/node-esm/chunk-PX6LHR2N.mjs.map +0 -7
  128. package/dist/lib/node-esm/intent-resolver-GVM36TJX.mjs +0 -25
  129. package/dist/lib/node-esm/intent-resolver-GVM36TJX.mjs.map +0 -7
  130. package/dist/lib/node-esm/react-surface-YGGLTBF3.mjs +0 -32
  131. package/dist/lib/node-esm/react-surface-YGGLTBF3.mjs.map +0 -7
  132. package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
  133. package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
  134. package/dist/types/src/capabilities/react-surface.d.ts +0 -4
  135. package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
  136. package/dist/types/src/components/ExplorerContainer.d.ts +0 -9
  137. package/dist/types/src/components/ExplorerContainer.d.ts.map +0 -1
  138. package/dist/types/src/types/schema.d.ts +0 -12
  139. package/dist/types/src/types/schema.d.ts.map +0 -1
  140. package/dist/types/src/types/types.d.ts +0 -18
  141. package/dist/types/src/types/types.d.ts.map +0 -1
  142. package/src/capabilities/intent-resolver.ts +0 -19
  143. package/src/capabilities/react-surface.tsx +0 -23
  144. package/src/components/ExplorerContainer.tsx +0 -50
  145. package/src/types/schema.ts +0 -16
  146. package/src/types/types.ts +0 -22
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { type ComponentPropsWithoutRef } from 'react';
2
2
  import { SelectionModel } from '@dxos/graph';
3
3
  import { type ThemedClassName } from '@dxos/react-ui';
4
4
  import { type GraphProps } from '@dxos/react-ui-graph';
@@ -9,6 +9,6 @@ export type D3ForceGraphProps = ThemedClassName<{
9
9
  match?: RegExp;
10
10
  selection?: SelectionModel;
11
11
  grid?: boolean;
12
- } & Pick<GraphProps, 'drag'>>;
13
- export declare const D3ForceGraph: ({ classNames, model, selection: _selection, grid, ...props }: D3ForceGraphProps) => React.JSX.Element;
12
+ } & Pick<GraphProps, 'drag'> & ComponentPropsWithoutRef<'div'>>;
13
+ export declare const D3ForceGraph: ({ classNames, model, selection: _selection, grid, drag, ...props }: D3ForceGraphProps) => React.JSX.Element;
14
14
  //# sourceMappingURL=D3ForceGraph.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"D3ForceGraph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/D3ForceGraph.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAGvE,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAIL,KAAK,UAAU,EAGhB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAuB,KAAK,eAAe,EAAuB,MAAM,cAAc,CAAC;AAE9F,OAAO,uCAAuC,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAC7C;IACE,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAC7B,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,8DAA8D,iBAAiB,sBAqE3G,CAAC"}
1
+ {"version":3,"file":"D3ForceGraph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/D3ForceGraph.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,wBAAwB,EAA2C,MAAM,OAAO,CAAC;AAGtG,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAIL,KAAK,UAAU,EAGhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAuB,KAAK,eAAe,EAAuB,MAAM,cAAc,CAAC;AAG9F,OAAO,uCAAuC,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAC7C;IACE,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,GAC1B,wBAAwB,CAAC,KAAK,CAAC,CAClC,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,oEAAoE,iBAAiB,sBAqEjH,CAAC"}
@@ -2,7 +2,7 @@ import { type StoryObj } from '@storybook/react-vite';
2
2
  import React from 'react';
3
3
  declare const meta: {
4
4
  title: string;
5
- component: ({ classNames, model, selection: _selection, grid, ...props }: import("./D3ForceGraph").D3ForceGraphProps) => React.JSX.Element;
5
+ component: ({ classNames, model, selection: _selection, grid, drag, ...props }: import("./D3ForceGraph").D3ForceGraphProps) => React.JSX.Element;
6
6
  render: (args: unknown) => React.JSX.Element;
7
7
  decorators: import("@storybook/react").Decorator[];
8
8
  parameters: {
@@ -1 +1 @@
1
- {"version":3,"file":"D3ForceGraph.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/D3ForceGraph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA8B,MAAM,OAAO,CAAC;AA0CnD,QAAA,MAAM,IAAI;;;;;;;;CAc2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
1
+ {"version":3,"file":"D3ForceGraph.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/D3ForceGraph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AAiDxC,QAAA,MAAM,IAAI;;;;;;;;CAuB2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ForceGraph.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/ForceGraph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA8B,MAAM,OAAO,CAAC;AA0CnD,QAAA,MAAM,IAAI;;;;;;;;CAcyB,CAAC;AAEpC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
1
+ {"version":3,"file":"ForceGraph.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/ForceGraph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AAiDxC,QAAA,MAAM,IAAI;;;;;;;;CAuByB,CAAC;AAEpC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -17,7 +17,7 @@ export declare class GraphAdapter implements GraphData {
17
17
  private readonly graph;
18
18
  private readonly _nodes;
19
19
  private readonly _links;
20
- constructor(graph: Graph);
20
+ constructor(graph: Graph.Any);
21
21
  get nodes(): GraphNode[];
22
22
  get links(): GraphLink[];
23
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/adapter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,qBAAa,YAAa,YAAW,SAAS;IAIhC,OAAO,CAAC,QAAQ,CAAC,KAAK;IAHlC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;gBAEb,KAAK,EAAE,KAAK;IAezC,IAAI,KAAK,gBAER;IAED,IAAI,KAAK,gBAER;CACF"}
1
+ {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/adapter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,qBAAa,YAAa,YAAW,SAAS;IAIhC,OAAO,CAAC,QAAQ,CAAC,KAAK;IAHlC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;gBAEb,KAAK,EAAE,KAAK,CAAC,GAAG;IAqB7C,IAAI,KAAK,gBAER;IAED,IAAI,KAAK,gBAER;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/testing.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAuB,MAAM,sBAAsB,CAAC;AAW/F,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE;QACV,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,QAAQ,GACnB,OAAO,KAAK,EACZ,WAAW,cAAc,EACzB,sBAAuD,eAAoB,kBAoB5E,CAAC"}
1
+ {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/testing.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAuB,MAAM,sBAAsB,CAAC;AAY/F,MAAM,MAAM,eAAe,GAAG;IAC5B,IAA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CAAoD,kBAAkB,CAAC,CAAC,CAAC,sBA+CjG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Tree.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tree/Tree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAuCnD,QAAA,MAAM,IAAI;;eAEW,GAAG;;;;;;CAMa,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAIpB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC"}
1
+ {"version":3,"file":"Tree.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tree/Tree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAwCnD,QAAA,MAAM,IAAI;;eAEW,GAAG;;;;;;CAMa,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAIpB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/testing/generator.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,IAAI,EAAqB,MAAM,UAAU,CAAC;AAEnD,KAAK,mBAAmB,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAI7C;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,OAAM,mBAAmB,EAAO,EAAE,aAAa,MAAM,MAAM,KAAG,IA6BxF,CAAC"}
1
+ {"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/testing/generator.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,IAAI,EAAqB,MAAM,UAAU,CAAC;AAEnD,KAAK,mBAAmB,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAI7C;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,OAAM,mBAAmB,EAAO,EAAE,aAAa,MAAM,MAAM,KAAG,IA+BxF,CAAC"}
@@ -1,28 +1,30 @@
1
1
  import * as Schema from 'effect/Schema';
2
- import { Key, Type } from '@dxos/echo';
2
+ import { Key, Ref, Type } from '@dxos/echo';
3
3
  export declare const TreeNodeType: Schema.mutable<Schema.Struct<{
4
4
  id: import("@dxos/keys").ObjectIdClass;
5
5
  children: Schema.mutable<Schema.Array$<import("@dxos/keys").ObjectIdClass>>;
6
6
  data: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
7
- ref: Schema.optional<Type.ref<Schema.Schema<Type.Expando, {
8
- [x: string]: any;
9
- id: string;
10
- }, never>>>;
7
+ ref: Schema.optional<Ref.RefSchema<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
8
+ readonly [x: string]: any;
9
+ }>>;
11
10
  }>>;
12
11
  export interface TreeNodeType extends Schema.Schema.Type<typeof TreeNodeType> {
13
12
  }
14
- export declare const TreeType: Type.obj<Schema.Struct<{
15
- root: import("@dxos/keys").ObjectIdClass;
16
- nodes: Schema.mutable<Schema.Record$<import("@dxos/keys").ObjectIdClass, Schema.mutable<Schema.Struct<{
17
- id: import("@dxos/keys").ObjectIdClass;
18
- children: Schema.mutable<Schema.Array$<import("@dxos/keys").ObjectIdClass>>;
19
- data: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
20
- ref: Schema.optional<Type.ref<Schema.Schema<Type.Expando, {
21
- [x: string]: any;
13
+ export declare const TreeType: Type.Obj<{
14
+ readonly nodes: {
15
+ [x: string]: {
16
+ ref?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
17
+ readonly [x: string]: any;
18
+ }> | undefined;
19
+ data: {
20
+ [x: string]: any;
21
+ };
22
22
  id: string;
23
- }, never>>>;
24
- }>>>>;
25
- }>>;
23
+ children: string[];
24
+ };
25
+ };
26
+ readonly root: string;
27
+ }, Schema.Struct.Fields>;
26
28
  export interface TreeType extends Schema.Schema.Type<typeof TreeType> {
27
29
  }
28
30
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/types/tree.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,GAAG,EAAO,IAAI,EAAE,MAAM,YAAY,CAAC;AAK5C,eAAO,MAAM,YAAY;;;;;;;;GAKF,CAAC;AAExB,MAAM,WAAW,YAAa,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC;CAAG;AAEhF,eAAO,MAAM,QAAQ;;;;;;;;;;;GAQpB,CAAC;AAEF,MAAM,WAAW,QAAS,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC;CAAG;AAExE;;GAEG;AACH,qBAAa,IAAI;IACf,MAAM,CAAC,MAAM,QAAO,QAAQ,CAY1B;IAEF,OAAO,CAAC,KAAK,CAAW;gBAEZ,IAAI,CAAC,EAAE,QAAQ;IAI3B,IAAI,IAAI,aAEP;IAGD,IAAI,IAAI,WAEP;IAED,IAAI,IAAI,iBAEP;IAMD;;OAEG;IACH,SAAS,CAAC,CAAC,EACT,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC,GAAG,IAAI,EACzD,IAAI,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IAAI,IAAI;IAUb;;OAEG;IACH,OAAO,CAAC,MAAM,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,YAAY,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,YAAY;IAchF;;OAEG;IACH,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,EAAE,EAAE,GAAG,CAAC,QAAQ,GAAG,YAAY,GAAG,SAAS;IAmB5E;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI;IAe3E;;OAEG;IACH,UAAU,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;IAkBpC;;OAEG;IACH,YAAY,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;CA8BvC"}
@@ -4,5 +4,5 @@ export type TreeNode = {
4
4
  label?: string;
5
5
  children?: TreeNode[];
6
6
  };
7
- export declare const mapGraphToTreeData: (model: GraphModel, maxDepth?: number) => TreeNode | undefined;
7
+ export declare const mapGraphToTreeData: (model: GraphModel.GraphModel, maxDepth?: number) => TreeNode | undefined;
8
8
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,UAAU,EAAE,iBAAY,KAAG,QAAQ,GAAG,SA4B/E,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,UAAU,CAAC,UAAU,EAAE,iBAAY,KAAG,QAAQ,GAAG,SA4B1F,CAAC"}
@@ -1,7 +1,3 @@
1
- export declare const ExplorerContainer: import("react").LazyExoticComponent<({ role, view }: {
2
- role: string;
3
- view: import("../types").ViewType;
4
- }) => import("react").JSX.Element | null>;
5
1
  export * from './Chart';
6
2
  export * from './Globe';
7
3
  export * from './Graph';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB;;;yCAA4C,CAAC;AAE3E,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { type SurfaceComponentProps } from '@dxos/app-toolkit/ui';
3
+ import { type View } from '@dxos/echo';
4
+ export type ExplorerContainerProps = SurfaceComponentProps<View.View>;
5
+ export declare const ExplorerContainer: ({ role, subject: view }: ExplorerContainerProps) => React.JSX.Element | null;
6
+ //# sourceMappingURL=ExplorerContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExplorerContainer.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ExplorerContainer/ExplorerContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AAUvC,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEtE,eAAO,MAAM,iBAAiB,GAAI,yBAAyB,sBAAsB,6BAgChF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ExplorerContainer } from './ExplorerContainer';
2
+ export default ExplorerContainer;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ExplorerContainer/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type ComponentType } from 'react';
2
+ export declare const ExplorerContainer: ComponentType<any>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,GAAG,CAA6C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useGraphModel.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useGraphModel.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,KAAK,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,KAAK,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAG5E,eAAO,MAAM,aAAa,GACxB,OAAO,KAAK,GAAG,SAAS,EACxB,SAAS,MAAM,CAAC,GAAG,GAAG,SAAS,EAC/B,UAAU,sBAAsB,EAChC,QAAQ,KAAK,KACZ,eAAe,GAAG,SAoBpB,CAAC"}
1
+ {"version":3,"file":"useGraphModel.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useGraphModel.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,KAAK,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,KAAK,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAG5E,eAAO,MAAM,aAAa,GACxB,OAAO,KAAK,GAAG,SAAS,EACxB,SAAS,MAAM,CAAC,GAAG,GAAG,SAAS,EAC/B,UAAU,sBAAsB,EAChC,QAAQ,KAAK,KACZ,eAAe,GAAG,SAqBpB,CAAC"}
@@ -1,3 +1,3 @@
1
- import { type PluginMeta } from '@dxos/app-framework';
2
- export declare const meta: PluginMeta;
1
+ import { type Plugin } from '@dxos/app-framework';
2
+ export declare const meta: Plugin.Meta;
3
3
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,IAAI,EAAE,UAQlB,CAAC"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IAYzB,CAAC"}
@@ -1,8 +1,6 @@
1
- import { meta } from './meta';
2
- import { ViewType } from './types';
3
1
  export declare const translations: [{
4
2
  readonly 'en-US': {
5
- readonly [ViewType.typename]: {
3
+ readonly [x: string]: {
6
4
  readonly 'typename label': "Explorer";
7
5
  readonly 'typename label_zero': "Explorers";
8
6
  readonly 'typename label_one': "Explorer";
@@ -10,20 +8,29 @@ export declare const translations: [{
10
8
  readonly 'object name placeholder': "New explorer";
11
9
  readonly 'rename object label': "Rename explorer";
12
10
  readonly 'delete object label': "Delete explorer";
13
- };
14
- readonly [meta.id]: {
11
+ readonly 'object deleted label': "Explorer deleted";
12
+ readonly 'plugin name'?: undefined;
13
+ readonly 'object title label'?: undefined;
14
+ } | {
15
15
  readonly 'plugin name': "Explorer";
16
16
  readonly 'object title label': "Title";
17
+ readonly 'typename label'?: undefined;
18
+ readonly 'typename label_zero'?: undefined;
19
+ readonly 'typename label_one'?: undefined;
20
+ readonly 'typename label_other'?: undefined;
21
+ readonly 'object name placeholder'?: undefined;
22
+ readonly 'rename object label'?: undefined;
23
+ readonly 'delete object label'?: undefined;
24
+ readonly 'object deleted label'?: undefined;
17
25
  };
18
26
  };
19
27
  }, {
20
28
  readonly 'en-US': {
21
- readonly "react-ui-components": {
22
- readonly "scroll-down.button": "Scroll down";
29
+ readonly "@dxos/react-ui-components": {
23
30
  readonly "no commits message": "No events yet";
24
- readonly "query placeholder": "Enter query (e.g., \"type:\")";
25
- readonly "picker select": "Select";
26
- readonly "picker none": "None";
31
+ readonly "query editor placeholder": "Enter query (e.g., \"#tag\", \"type\")";
32
+ readonly "picker select label": "Select";
33
+ readonly "picker none label": "None";
27
34
  readonly "picker type placeholder": "Type";
28
35
  readonly "picker tag placeholder": "Tag";
29
36
  };
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,QAAQ,CAAC,QAAQ,CAAC;;;;;;;;UAQlB;QACD,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;UAGR;;;;;;;;;;;;;;EAIwB,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBM,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as Schema from 'effect/Schema';
2
+ export declare const GraphProps: Schema.Struct<{
3
+ name: Schema.optional<typeof Schema.String>;
4
+ typename: Schema.optional<Schema.SchemaClass<string, string, never>>;
5
+ }>;
6
+ //# sourceMappingURL=ExplorerAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExplorerAction.d.ts","sourceRoot":"","sources":["../../../../src/types/ExplorerAction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,eAAO,MAAM,UAAU;;;EAYrB,CAAC"}
@@ -0,0 +1,30 @@
1
+ import * as Schema from 'effect/Schema';
2
+ import { Obj, QueryAST, Type } from '@dxos/echo';
3
+ import { View } from '@dxos/echo';
4
+ declare const GraphSchema: Type.Obj<{
5
+ readonly view: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & View.View>;
6
+ readonly query: {
7
+ readonly ast: QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryHierarchyTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause | QueryAST.QueryLimitClause | QueryAST.QueryFromClause;
8
+ readonly raw?: string | undefined;
9
+ };
10
+ readonly name?: string | undefined;
11
+ }, Schema.Struct.Fields>;
12
+ export interface Graph extends Schema.Schema.Type<typeof GraphSchema> {
13
+ }
14
+ export declare const Graph: Type.Obj<Graph>;
15
+ type MakeProps = Omit<Partial<Obj.MakeProps<typeof Graph>>, 'view'> & {
16
+ view: View.View;
17
+ };
18
+ /**
19
+ * Make a graph as a view of a data set.
20
+ */
21
+ export declare const make: ({ name, query, view, }: MakeProps) => Graph;
22
+ export declare const GraphV1: Type.Obj<{
23
+ readonly query: {
24
+ readonly ast: QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryHierarchyTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause | QueryAST.QueryLimitClause | QueryAST.QueryFromClause;
25
+ readonly raw?: string | undefined;
26
+ };
27
+ readonly name?: string | undefined;
28
+ }, Schema.Struct.Fields>;
29
+ export {};
30
+ //# sourceMappingURL=Graph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Graph.d.ts","sourceRoot":"","sources":["../../../../src/types/Graph.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAU,GAAG,EAAS,QAAQ,EAAO,IAAI,EAAE,MAAM,YAAY,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAIlC,QAAA,MAAM,WAAW;;;;;;;wBAgBhB,CAAC;AACF,MAAM,WAAW,KAAM,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC;CAAG;AACxE,eAAO,MAAM,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,CAAsB,CAAC;AAEzD,KAAK,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG;IACpE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,IAAI,GAAI,wBAIlB,SAAS,KAAG,KAEd,CAAC;AAMF,eAAO,MAAM,OAAO;;;;;;wBAYnB,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from './schema';
2
- export * from './types';
1
+ export * as ExplorerAction from './ExplorerAction';
2
+ export * as Graph from './Graph';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC"}