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

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 (156) hide show
  1. package/dist/lib/{browser/ExplorerContainer-4RB2TY3G.mjs → neutral/ExplorerContainer-5TOK2ZEY.mjs} +8 -16
  2. package/dist/lib/neutral/ExplorerContainer-5TOK2ZEY.mjs.map +7 -0
  3. package/dist/lib/neutral/ExplorerPlugin.mjs +26 -0
  4. package/dist/lib/neutral/ExplorerPlugin.mjs.map +7 -0
  5. package/dist/lib/neutral/capabilities/index.mjs +11 -0
  6. package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
  7. package/dist/lib/{browser/chunk-4NFGHCGO.mjs → neutral/chunk-5X5ATGCS.mjs} +11 -22
  8. package/dist/lib/neutral/chunk-5X5ATGCS.mjs.map +7 -0
  9. package/dist/lib/{browser/chunk-YNQF4CPY.mjs → neutral/chunk-HPIS2WXY.mjs} +2 -2
  10. package/dist/lib/{browser/chunk-YNQF4CPY.mjs.map → neutral/chunk-HPIS2WXY.mjs.map} +3 -3
  11. package/dist/lib/{browser/chunk-6AZY4CDH.mjs → neutral/components/index.mjs} +144 -148
  12. package/dist/lib/{node-esm/chunk-DOXAIJEC.mjs.map → neutral/components/index.mjs.map} +4 -4
  13. package/dist/lib/neutral/containers/index.mjs +9 -0
  14. package/dist/lib/neutral/containers/index.mjs.map +7 -0
  15. package/dist/lib/neutral/create-object-F6TKVAGV.mjs +39 -0
  16. package/dist/lib/neutral/create-object-F6TKVAGV.mjs.map +7 -0
  17. package/dist/lib/neutral/hooks/index.mjs +40 -0
  18. package/dist/lib/neutral/hooks/index.mjs.map +7 -0
  19. package/dist/lib/neutral/index.mjs +14 -0
  20. package/dist/lib/neutral/meta.json +1 -0
  21. package/dist/lib/{browser → neutral}/meta.mjs +1 -1
  22. package/dist/lib/neutral/plugin.mjs +12 -0
  23. package/dist/lib/neutral/plugin.mjs.map +7 -0
  24. package/dist/lib/neutral/react-surface-U3JEY7V7.mjs +26 -0
  25. package/dist/lib/neutral/react-surface-U3JEY7V7.mjs.map +7 -0
  26. package/dist/lib/neutral/translations.mjs +33 -0
  27. package/dist/lib/neutral/translations.mjs.map +7 -0
  28. package/dist/lib/{browser → neutral}/types/index.mjs +1 -1
  29. package/dist/types/data/cities.d.ts +4 -4
  30. package/dist/types/data/cities.d.ts.map +1 -1
  31. package/dist/types/data/countries-110m.d.ts +19 -22
  32. package/dist/types/data/countries-110m.d.ts.map +1 -1
  33. package/dist/types/src/ExplorerPlugin.d.ts +1 -0
  34. package/dist/types/src/ExplorerPlugin.d.ts.map +1 -1
  35. package/dist/types/src/ExplorerPlugin.test.d.ts +2 -0
  36. package/dist/types/src/ExplorerPlugin.test.d.ts.map +1 -0
  37. package/dist/types/src/capabilities/create-object.d.ts +11 -0
  38. package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
  39. package/dist/types/src/capabilities/index.d.ts +8 -1
  40. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  41. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  42. package/dist/types/src/components/Chart/Chart.d.ts.map +1 -1
  43. package/dist/types/src/components/Chart/Chart.stories.d.ts +4 -1
  44. package/dist/types/src/components/Chart/Chart.stories.d.ts.map +1 -1
  45. package/dist/types/src/components/Globe/Globe.d.ts.map +1 -1
  46. package/dist/types/src/components/Globe/Globe.stories.d.ts +5 -2
  47. package/dist/types/src/components/Globe/Globe.stories.d.ts.map +1 -1
  48. package/dist/types/src/components/Graph/CanvasForceGraph.d.ts +13 -0
  49. package/dist/types/src/components/Graph/CanvasForceGraph.d.ts.map +1 -0
  50. package/dist/types/src/components/Graph/CanvasForceGraph.stories.d.ts +17 -0
  51. package/dist/types/src/components/Graph/CanvasForceGraph.stories.d.ts.map +1 -0
  52. package/dist/types/src/components/Graph/ForceGraph.d.ts +12 -5
  53. package/dist/types/src/components/Graph/ForceGraph.d.ts.map +1 -1
  54. package/dist/types/src/components/Graph/ForceGraph.stories.d.ts +4 -2
  55. package/dist/types/src/components/Graph/ForceGraph.stories.d.ts.map +1 -1
  56. package/dist/types/src/components/Graph/{adapter.d.ts → graph-adapter.d.ts} +1 -1
  57. package/dist/types/src/components/Graph/graph-adapter.d.ts.map +1 -0
  58. package/dist/types/src/components/Graph/index.d.ts +1 -1
  59. package/dist/types/src/components/Graph/index.d.ts.map +1 -1
  60. package/dist/types/src/components/Graph/testing.d.ts.map +1 -1
  61. package/dist/types/src/components/Tree/Tree.d.ts.map +1 -1
  62. package/dist/types/src/components/Tree/Tree.stories.d.ts +5 -1
  63. package/dist/types/src/components/Tree/Tree.stories.d.ts.map +1 -1
  64. package/dist/types/src/components/Tree/layout/HierarchicalEdgeBundling.d.ts.map +1 -1
  65. package/dist/types/src/components/Tree/layout/RadialTree.d.ts.map +1 -1
  66. package/dist/types/src/components/Tree/layout/TidyTree.d.ts.map +1 -1
  67. package/dist/types/src/components/Tree/testing/generator.d.ts.map +1 -1
  68. package/dist/types/src/components/Tree/types/tree.d.ts +6 -6
  69. package/dist/types/src/components/Tree/types/tree.d.ts.map +1 -1
  70. package/dist/types/src/components/Tree/types/types.d.ts.map +1 -1
  71. package/dist/types/src/components/plot.d.ts.map +1 -1
  72. package/dist/types/src/containers/ExplorerContainer/ExplorerContainer.d.ts +3 -3
  73. package/dist/types/src/containers/ExplorerContainer/ExplorerContainer.d.ts.map +1 -1
  74. package/dist/types/src/containers/ExplorerContainer/index.d.ts +1 -2
  75. package/dist/types/src/containers/ExplorerContainer/index.d.ts.map +1 -1
  76. package/dist/types/src/hooks/useGraphModel.d.ts.map +1 -1
  77. package/dist/types/src/index.d.ts +1 -3
  78. package/dist/types/src/index.d.ts.map +1 -1
  79. package/dist/types/src/plugin.d.ts +3 -0
  80. package/dist/types/src/plugin.d.ts.map +1 -0
  81. package/dist/types/src/translations.d.ts +28 -26
  82. package/dist/types/src/translations.d.ts.map +1 -1
  83. package/dist/types/src/types/ExplorerAction.d.ts.map +1 -1
  84. package/dist/types/src/types/Graph.d.ts +2 -9
  85. package/dist/types/src/types/Graph.d.ts.map +1 -1
  86. package/dist/types/tsconfig.tsbuildinfo +1 -1
  87. package/package.json +98 -57
  88. package/src/ExplorerPlugin.test.ts +26 -0
  89. package/src/ExplorerPlugin.tsx +7 -24
  90. package/src/capabilities/create-object.ts +36 -0
  91. package/src/capabilities/index.ts +4 -1
  92. package/src/capabilities/{react-surface/react-surface.tsx → react-surface.tsx} +10 -9
  93. package/src/components/Chart/Chart.stories.tsx +14 -21
  94. package/src/components/Globe/Globe.stories.tsx +17 -20
  95. package/src/components/Graph/CanvasForceGraph.stories.tsx +83 -0
  96. package/src/components/Graph/CanvasForceGraph.tsx +124 -0
  97. package/src/components/Graph/ForceGraph.stories.tsx +75 -44
  98. package/src/components/Graph/ForceGraph.tsx +104 -85
  99. package/src/components/Graph/index.ts +1 -1
  100. package/src/components/Tree/Tree.stories.tsx +43 -36
  101. package/src/components/Tree/testing/generator.ts +1 -1
  102. package/src/components/Tree/types/tree.test.ts +3 -4
  103. package/src/components/Tree/types/tree.ts +13 -13
  104. package/src/containers/ExplorerContainer/ExplorerContainer.tsx +7 -9
  105. package/src/containers/ExplorerContainer/index.ts +1 -3
  106. package/src/hooks/useGraphModel.ts +14 -10
  107. package/src/index.ts +1 -4
  108. package/src/meta.ts +1 -1
  109. package/src/plugin.ts +9 -0
  110. package/src/translations.ts +14 -13
  111. package/src/types/ExplorerAction.ts +1 -2
  112. package/src/types/Graph.ts +8 -22
  113. package/src/typings.d.ts +8 -0
  114. package/dist/lib/browser/ExplorerContainer-4RB2TY3G.mjs.map +0 -7
  115. package/dist/lib/browser/chunk-4NFGHCGO.mjs.map +0 -7
  116. package/dist/lib/browser/chunk-6AZY4CDH.mjs.map +0 -7
  117. package/dist/lib/browser/index.mjs +0 -95
  118. package/dist/lib/browser/index.mjs.map +0 -7
  119. package/dist/lib/browser/meta.json +0 -1
  120. package/dist/lib/browser/react-surface-KAHVDMFX.mjs +0 -38
  121. package/dist/lib/browser/react-surface-KAHVDMFX.mjs.map +0 -7
  122. package/dist/lib/node-esm/ExplorerContainer-LCG425I7.mjs +0 -49
  123. package/dist/lib/node-esm/ExplorerContainer-LCG425I7.mjs.map +0 -7
  124. package/dist/lib/node-esm/chunk-DK77RB6M.mjs +0 -26
  125. package/dist/lib/node-esm/chunk-DK77RB6M.mjs.map +0 -7
  126. package/dist/lib/node-esm/chunk-DOXAIJEC.mjs +0 -11280
  127. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
  128. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +0 -7
  129. package/dist/lib/node-esm/chunk-V42OFY7B.mjs +0 -85
  130. package/dist/lib/node-esm/chunk-V42OFY7B.mjs.map +0 -7
  131. package/dist/lib/node-esm/index.mjs +0 -96
  132. package/dist/lib/node-esm/index.mjs.map +0 -7
  133. package/dist/lib/node-esm/meta.json +0 -1
  134. package/dist/lib/node-esm/meta.mjs +0 -9
  135. package/dist/lib/node-esm/meta.mjs.map +0 -7
  136. package/dist/lib/node-esm/react-surface-7XILIUI4.mjs +0 -39
  137. package/dist/lib/node-esm/react-surface-7XILIUI4.mjs.map +0 -7
  138. package/dist/lib/node-esm/types/index.mjs +0 -11
  139. package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
  140. package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
  141. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
  142. package/dist/types/src/components/Graph/D3ForceGraph.d.ts +0 -14
  143. package/dist/types/src/components/Graph/D3ForceGraph.d.ts.map +0 -1
  144. package/dist/types/src/components/Graph/D3ForceGraph.stories.d.ts +0 -15
  145. package/dist/types/src/components/Graph/D3ForceGraph.stories.d.ts.map +0 -1
  146. package/dist/types/src/components/Graph/adapter.d.ts.map +0 -1
  147. package/src/capabilities/react-surface/index.ts +0 -7
  148. package/src/components/Graph/D3ForceGraph.stories.tsx +0 -84
  149. package/src/components/Graph/D3ForceGraph.tsx +0 -102
  150. /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs +0 -0
  151. /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs.map +0 -0
  152. /package/dist/lib/{browser/types → neutral}/index.mjs.map +0 -0
  153. /package/dist/lib/{browser → neutral}/meta.mjs.map +0 -0
  154. /package/dist/lib/{node-esm → neutral}/types/index.mjs.map +0 -0
  155. /package/dist/types/src/capabilities/{react-surface/react-surface.d.ts → react-surface.d.ts} +0 -0
  156. /package/src/components/Graph/{adapter.ts → graph-adapter.ts} +0 -0
@@ -1,8 +1,15 @@
1
- import { type FC } from 'react';
2
- import { type SpaceGraphModel } from '@dxos/schema';
1
+ import React from 'react';
2
+ import { SelectionModel } from '@dxos/graph';
3
+ import { type GraphProps } from '@dxos/react-ui-graph';
4
+ import { type SpaceGraphEdge, type SpaceGraphModel, type SpaceGraphNode } from '@dxos/schema';
5
+ import '@dxos/react-ui-graph/styles/graph.css';
3
6
  export type ForceGraphProps = {
4
7
  model?: SpaceGraphModel;
5
- match?: RegExp;
6
- };
7
- export declare const ForceGraph: FC<ForceGraphProps>;
8
+ grid?: boolean;
9
+ selection?: SelectionModel;
10
+ onInspect?: GraphProps<SpaceGraphNode, SpaceGraphEdge>['onInspect'];
11
+ } & Pick<GraphProps, 'drag'>;
12
+ export declare const ForceGraph: React.ForwardRefExoticComponent<Omit<ForceGraphProps, "className"> & {
13
+ classNames?: import("@dxos/ui-types").ClassNameValue;
14
+ } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
8
15
  //# sourceMappingURL=ForceGraph.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ForceGraph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/ForceGraph.tsx"],"names":[],"mappings":"AAMA,OAAc,EAAE,KAAK,EAAE,EAA+B,MAAM,OAAO,CAAC;AAIpE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAwE1C,CAAC"}
1
+ {"version":3,"file":"ForceGraph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/ForceGraph.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAIL,KAAK,UAAU,EAGhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9F,OAAO,uCAAuC,CAAC;AAI/C,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,SAAS,CAAC,EAAE,UAAU,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC,WAAW,CAAC,CAAC;CACrE,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;AAE7B,eAAO,MAAM,UAAU;;2HAgFtB,CAAC"}
@@ -2,8 +2,10 @@ import { type StoryObj } from '@storybook/react-vite';
2
2
  import React from 'react';
3
3
  declare const meta: {
4
4
  title: string;
5
- component: React.FC<import("./ForceGraph").ForceGraphProps>;
6
- render: (args: unknown) => React.JSX.Element;
5
+ component: React.ForwardRefExoticComponent<Omit<import("./ForceGraph").ForceGraphProps, "className"> & {
6
+ classNames?: import("@dxos/ui-types").ClassNameValue;
7
+ } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
8
+ render: () => React.JSX.Element;
7
9
  decorators: import("@storybook/react").Decorator[];
8
10
  parameters: {
9
11
  layout: string;
@@ -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,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"}
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;AAEjE,OAAO,KAA+B,MAAM,OAAO,CAAC;AAgEpD,QAAA,MAAM,IAAI;;;;;;;;QAoCN,MAAM;;CAEyB,CAAC;eAErB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -21,4 +21,4 @@ export declare class GraphAdapter implements GraphData {
21
21
  get nodes(): GraphNode[];
22
22
  get links(): GraphLink[];
23
23
  }
24
- //# sourceMappingURL=adapter.d.ts.map
24
+ //# sourceMappingURL=graph-adapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-adapter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/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;IAE1C,YAA6B,KAAK,EAAE,KAAK,CAAC,GAAG,EAmB5C;IAED,IAAI,KAAK,gBAER;IAED,IAAI,KAAK,gBAER;CACF"}
@@ -1,3 +1,3 @@
1
- export * from './D3ForceGraph';
1
+ export * from './CanvasForceGraph';
2
2
  export * from './ForceGraph';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/index.ts"],"names":[],"mappings":"AAIA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC"}
@@ -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;AAE/C,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAuB,MAAM,sBAAsB,CAAC;AAY/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;AAOF;;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,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE;QACV,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH,CAAC;AAOF;;GAEG;AACH,eAAO,MAAM,QAAQ,UACZ,KAAK,aACD,cAAc,wBAC8B,eAAe,kBAoBvE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tree/Tree.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAa/C,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAGvD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;IAE1B,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,MAAM,CAAC,EAAE,MAA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EhB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,eAIpC,CAAC;AAQF,MAAM,MAAM,kBAAkB,CAAC,CAAC,GAAG,OAAO,IAAI;IAC5C,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;CAClC,CAAC;AAGF,eAAO,MAAM,IAAI,GAAI,CAAC,6CAAuD,kBAAkB,CAAC,CAAC,CAAC,sBA+CjG,CAAC"}
@@ -1,9 +1,13 @@
1
1
  import { type StoryObj } from '@storybook/react-vite';
2
2
  import React from 'react';
3
+ import { type TreeComponentProps } from './Tree';
4
+ type StoryArgs = {
5
+ variant?: TreeComponentProps<any>['variant'];
6
+ };
3
7
  declare const meta: {
4
8
  title: string;
5
9
  component: any;
6
- render: () => React.JSX.Element;
10
+ render: ({ variant }: StoryArgs) => React.JSX.Element;
7
11
  decorators: import("@storybook/react").Decorator[];
8
12
  parameters: {
9
13
  layout: string;
@@ -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;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
+ {"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;AAEjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,EAAQ,KAAK,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAKvD,KAAK,SAAS,GAAG;IAAE,OAAO,CAAC,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAA;CAAE,CAAC;AAYlE,QAAA,MAAM,IAAI;;eAEW,GAAG;0BAZW,SAAS;;;QAiCxC,MAAM;;CAE2B,CAAC;eAEvB,IAAI;AAEnB,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":"HierarchicalEdgeBundling.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/HierarchicalEdgeBundling.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AASzC,QAAA,MAAM,wBAAwB,GAAI,GAAG,aAAa,EAAE,MAAM,QAAQ,EAAE,SAAS,WAAW,SAuFvF,CAAC;AAwDF,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"HierarchicalEdgeBundling.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/HierarchicalEdgeBundling.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AASzC,QAAA,MAAM,wBAAwB,MAAO,aAAa,QAAQ,QAAQ,WAAW,WAAW,SAuFvF,CAAC;eAwDa,wBAAwB"}
@@ -1 +1 @@
1
- {"version":3,"file":"RadialTree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/RadialTree.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAK3C,QAAA,MAAM,UAAU,GAAI,GAAG,aAAa,EAAE,MAAM,GAAG,EAAE,SAAS,WAAW,yBA+EpE,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"RadialTree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/RadialTree.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAK3C,QAAA,MAAM,UAAU,MAAO,aAAa,QAAQ,GAAG,WAAW,WAAW,yBA+EpE,CAAC;eAEa,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"TidyTree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/TidyTree.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C,QAAA,MAAM,QAAQ,GAAI,GAAG,aAAa,EAAE,MAAM,GAAG,EAAE,SAAS,WAAW,SAuFlE,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"TidyTree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/TidyTree.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C,QAAA,MAAM,QAAQ,MAAO,aAAa,QAAQ,GAAG,WAAW,WAAW,SAuFlE,CAAC;eAEa,QAAQ"}
@@ -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,IA+BxF,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,UAAU,mBAAmB,EAAE,eAAoB,MAAM,MAAM,KAAG,IA+BxF,CAAC"}
@@ -11,19 +11,19 @@ export declare const TreeNodeType: Schema.mutable<Schema.Struct<{
11
11
  export interface TreeNodeType extends Schema.Schema.Type<typeof TreeNodeType> {
12
12
  }
13
13
  export declare const TreeType: Type.Obj<{
14
+ readonly root: string;
14
15
  readonly nodes: {
15
16
  [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;
17
+ id: string;
18
+ children: string[];
19
19
  data: {
20
20
  [x: string]: any;
21
21
  };
22
- id: string;
23
- children: string[];
22
+ ref?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
23
+ readonly [x: string]: any;
24
+ }> | undefined;
24
25
  };
25
26
  };
26
- readonly root: string;
27
27
  }, Schema.Struct.Fields>;
28
28
  export interface TreeType extends Schema.Schema.Type<typeof TreeType> {
29
29
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/types/tree.ts"],"names":[],"mappings":"AAIA,OAA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AgBnC;IAED;;OAEG;IACH,YAAY,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CA6BrC;CACF"}
@@ -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,CAAC,UAAU,EAAE,iBAAY,KAAG,QAAQ,GAAG,SA4B1F,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,UAAW,UAAU,CAAC,UAAU,wBAAiB,QAAQ,GAAG,SA4B1F,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"plot.d.ts","sourceRoot":"","sources":["../../../../src/components/plot.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,KAAK,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC7C,MAAM,MAAM,WAAW,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvD,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC;AAE7C,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACzD,MAAM,MAAM,EACZ,UAAU,QAAQ,CAAC,CAAC,CAAC,GAAG,SAAS,KAChC,gBAA+G,CAAC"}
1
+ {"version":3,"file":"plot.d.ts","sourceRoot":"","sources":["../../../../src/components/plot.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,KAAK,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC7C,MAAM,MAAM,WAAW,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvD,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC;AAE7C,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QACnD,MAAM,YACF,QAAQ,CAAC,CAAC,CAAC,GAAG,SAAS,KAChC,gBAA+G,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { type SurfaceComponentProps } from '@dxos/app-toolkit/ui';
2
+ import { type AppSurface } from '@dxos/app-toolkit/ui';
3
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;
4
+ export type ExplorerContainerProps = AppSurface.ObjectArticleProps<View.View>;
5
+ export declare const ExplorerContainer: ({ role, subject, attendableId: _attendableId }: ExplorerContainerProps) => React.JSX.Element | null;
6
6
  //# sourceMappingURL=ExplorerContainer.d.ts.map
@@ -1 +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"}
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,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AASvC,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAE9E,eAAO,MAAM,iBAAiB,mDAAoD,sBAAsB,6BA+BvG,CAAC"}
@@ -1,3 +1,2 @@
1
- import { ExplorerContainer } from './ExplorerContainer';
2
- export default ExplorerContainer;
1
+ export { ExplorerContainer as default } from './ExplorerContainer';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ExplorerContainer/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,IAAI,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1 +1 @@
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
+ {"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,UACjB,KAAK,GAAG,SAAS,WACf,MAAM,CAAC,GAAG,GAAG,SAAS,YACrB,sBAAsB,UACxB,KAAK,KACZ,eAAe,GAAG,SAyBpB,CAAC"}
@@ -1,5 +1,3 @@
1
- export * from './components';
2
- export * from './hooks';
3
1
  export * from './meta';
4
- export * from './ExplorerPlugin';
2
+ export * from './types';
5
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AAEvB,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const ExplorerPlugin: Plugin.PluginFactory<void>;
3
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,cAAc,4BAA6C,CAAC"}
@@ -1,38 +1,40 @@
1
1
  export declare const translations: [{
2
2
  readonly 'en-US': {
3
3
  readonly [x: string]: {
4
- readonly 'typename label': "Explorer";
5
- readonly 'typename label_zero': "Explorers";
6
- readonly 'typename label_one': "Explorer";
7
- readonly 'typename label_other': "Explorers";
8
- readonly 'object name placeholder': "New explorer";
9
- readonly 'rename object label': "Rename explorer";
10
- readonly 'delete object label': "Delete explorer";
11
- readonly 'object deleted label': "Explorer deleted";
12
- readonly 'plugin name'?: undefined;
13
- readonly 'object title label'?: undefined;
4
+ readonly 'typename.label': 'Explorer';
5
+ readonly 'typename.label_zero': 'Explorers';
6
+ readonly 'typename.label_one': 'Explorer';
7
+ readonly 'typename.label_other': 'Explorers';
8
+ readonly 'object-name.placeholder': 'New explorer';
9
+ readonly 'add-object.label': 'Add explorer';
10
+ readonly 'rename-object.label': 'Rename explorer';
11
+ readonly 'delete-object.label': 'Delete explorer';
12
+ readonly 'object-deleted.label': 'Explorer deleted';
13
+ readonly 'plugin.name'?: undefined;
14
+ readonly 'object-title.label'?: undefined;
14
15
  } | {
15
- readonly 'plugin name': "Explorer";
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;
16
+ readonly 'typename.label'?: undefined;
17
+ readonly 'typename.label_zero'?: undefined;
18
+ readonly 'typename.label_one'?: undefined;
19
+ readonly 'typename.label_other'?: undefined;
20
+ readonly 'object-name.placeholder'?: undefined;
21
+ readonly 'add-object.label'?: undefined;
22
+ readonly 'rename-object.label'?: undefined;
23
+ readonly 'delete-object.label'?: undefined;
24
+ readonly 'object-deleted.label'?: undefined;
25
+ readonly 'plugin.name': 'Explorer';
26
+ readonly 'object-title.label': 'Title';
25
27
  };
26
28
  };
27
29
  }, {
28
30
  readonly 'en-US': {
29
31
  readonly "@dxos/react-ui-components": {
30
- readonly "no commits message": "No events yet";
31
- readonly "query editor placeholder": "Enter query (e.g., \"#tag\", \"type\")";
32
- readonly "picker select label": "Select";
33
- readonly "picker none label": "None";
34
- readonly "picker type placeholder": "Type";
35
- readonly "picker tag placeholder": "Tag";
32
+ readonly 'no-commits.message': 'No events yet';
33
+ readonly 'query-editor.placeholder': 'Enter query (e.g., "#tag", "type")';
34
+ readonly 'picker-select.label': 'Select';
35
+ readonly 'picker-none.label': 'None';
36
+ readonly 'picker-type.placeholder': 'Type';
37
+ readonly 'picker-tag.placeholder': 'Tag';
36
38
  };
37
39
  };
38
40
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBM,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,YAAY;;;uCAIC,UAAU;4CACL,WAAW;2CACZ,UAAU;6CACR,WAAW;gDACR,cAAc;yCACrB,cAAc;4CACX,iBAAiB;4CACjB,iBAAiB;6CAChB,kBAAkB;;;;;;;;;;;;;oCAG3B,UAAU;2CACH,OAAO;;;;;;;;;;;;;;EAKN,CAAC"}
@@ -1 +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"}
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;;;EAWrB,CAAC"}
@@ -2,12 +2,12 @@ import * as Schema from 'effect/Schema';
2
2
  import { Obj, QueryAST, Type } from '@dxos/echo';
3
3
  import { View } from '@dxos/echo';
4
4
  declare const GraphSchema: Type.Obj<{
5
+ readonly name?: string | undefined;
5
6
  readonly view: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & View.View>;
6
7
  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
8
  readonly raw?: string | undefined;
9
+ readonly ast: QueryAST.QueryFilterClause | QueryAST.QueryFromClause | QueryAST.QueryHierarchyTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryLimitClause | QueryAST.QueryOptionsClause | QueryAST.QueryOrderClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QuerySelectClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryUnionClause;
9
10
  };
10
- readonly name?: string | undefined;
11
11
  }, Schema.Struct.Fields>;
12
12
  export interface Graph extends Schema.Schema.Type<typeof GraphSchema> {
13
13
  }
@@ -19,12 +19,5 @@ type MakeProps = Omit<Partial<Obj.MakeProps<typeof Graph>>, 'view'> & {
19
19
  * Make a graph as a view of a data set.
20
20
  */
21
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
22
  export {};
30
23
  //# sourceMappingURL=Graph.d.ts.map
@@ -1 +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,GA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