@dxos/plugin-explorer 0.8.4-main.72ec0f3 → 0.8.4-main.7996785055

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 (134) hide show
  1. package/dist/lib/browser/ExplorerContainer-H5RGY6AD.mjs +48 -0
  2. package/dist/lib/browser/ExplorerContainer-H5RGY6AD.mjs.map +7 -0
  3. package/dist/lib/browser/{chunk-ARBGXQFH.mjs → chunk-56VV76WZ.mjs} +354 -153
  4. package/dist/lib/{node-esm/chunk-NPIP4VEH.mjs.map → browser/chunk-56VV76WZ.mjs.map} +4 -4
  5. package/dist/lib/browser/chunk-6KEHUEEZ.mjs +71 -0
  6. package/dist/lib/browser/chunk-6KEHUEEZ.mjs.map +7 -0
  7. package/dist/lib/browser/{chunk-UBHZGWZQ.mjs → chunk-LSUP47BZ.mjs} +2 -2
  8. package/dist/lib/browser/chunk-LSUP47BZ.mjs.map +7 -0
  9. package/dist/lib/browser/index.mjs +59 -71
  10. package/dist/lib/browser/index.mjs.map +4 -4
  11. package/dist/lib/browser/meta.json +1 -1
  12. package/dist/lib/browser/meta.mjs +1 -1
  13. package/dist/lib/browser/react-surface-JYGFP5ZN.mjs +38 -0
  14. package/dist/lib/browser/react-surface-JYGFP5ZN.mjs.map +7 -0
  15. package/dist/lib/browser/types/index.mjs +1 -2
  16. package/dist/lib/node-esm/ExplorerContainer-KFHE5KU3.mjs +49 -0
  17. package/dist/lib/node-esm/ExplorerContainer-KFHE5KU3.mjs.map +7 -0
  18. package/dist/lib/node-esm/{chunk-NPIP4VEH.mjs → chunk-35JCF4SD.mjs} +354 -153
  19. package/dist/lib/{browser/chunk-ARBGXQFH.mjs.map → node-esm/chunk-35JCF4SD.mjs.map} +4 -4
  20. package/dist/lib/node-esm/{chunk-UXZM5VJB.mjs → chunk-EN3JZNEY.mjs} +2 -2
  21. package/dist/lib/node-esm/chunk-EN3JZNEY.mjs.map +7 -0
  22. package/dist/lib/node-esm/chunk-WSE2Z4OT.mjs +72 -0
  23. package/dist/lib/node-esm/chunk-WSE2Z4OT.mjs.map +7 -0
  24. package/dist/lib/node-esm/index.mjs +59 -71
  25. package/dist/lib/node-esm/index.mjs.map +4 -4
  26. package/dist/lib/node-esm/meta.json +1 -1
  27. package/dist/lib/node-esm/meta.mjs +1 -1
  28. package/dist/lib/node-esm/react-surface-HJEJL53N.mjs +39 -0
  29. package/dist/lib/node-esm/react-surface-HJEJL53N.mjs.map +7 -0
  30. package/dist/lib/node-esm/types/index.mjs +1 -2
  31. package/dist/types/src/ExplorerPlugin.d.ts +2 -1
  32. package/dist/types/src/ExplorerPlugin.d.ts.map +1 -1
  33. package/dist/types/src/capabilities/index.d.ts +1 -2
  34. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  35. package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
  36. package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
  37. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
  38. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
  39. package/dist/types/src/components/Graph/D3ForceGraph.d.ts +10 -5
  40. package/dist/types/src/components/Graph/D3ForceGraph.d.ts.map +1 -1
  41. package/dist/types/src/components/Graph/D3ForceGraph.stories.d.ts +8 -2
  42. package/dist/types/src/components/Graph/D3ForceGraph.stories.d.ts.map +1 -1
  43. package/dist/types/src/components/Graph/ForceGraph.stories.d.ts +1 -1
  44. package/dist/types/src/components/Graph/ForceGraph.stories.d.ts.map +1 -1
  45. package/dist/types/src/components/Graph/adapter.d.ts +1 -1
  46. package/dist/types/src/components/Graph/adapter.d.ts.map +1 -1
  47. package/dist/types/src/components/Graph/testing.d.ts.map +1 -1
  48. package/dist/types/src/components/Tree/Tree.d.ts.map +1 -1
  49. package/dist/types/src/components/Tree/Tree.stories.d.ts.map +1 -1
  50. package/dist/types/src/components/Tree/testing/generator.d.ts.map +1 -1
  51. package/dist/types/src/components/Tree/types/tree.d.ts +18 -16
  52. package/dist/types/src/components/Tree/types/tree.d.ts.map +1 -1
  53. package/dist/types/src/components/Tree/types/types.d.ts +1 -1
  54. package/dist/types/src/components/Tree/types/types.d.ts.map +1 -1
  55. package/dist/types/src/components/index.d.ts +0 -2
  56. package/dist/types/src/components/index.d.ts.map +1 -1
  57. package/dist/types/src/containers/ExplorerContainer/ExplorerContainer.d.ts +6 -0
  58. package/dist/types/src/containers/ExplorerContainer/ExplorerContainer.d.ts.map +1 -0
  59. package/dist/types/src/containers/ExplorerContainer/index.d.ts +3 -0
  60. package/dist/types/src/containers/ExplorerContainer/index.d.ts.map +1 -0
  61. package/dist/types/src/containers/index.d.ts +3 -0
  62. package/dist/types/src/containers/index.d.ts.map +1 -0
  63. package/dist/types/src/hooks/useGraphModel.d.ts.map +1 -1
  64. package/dist/types/src/meta.d.ts +2 -2
  65. package/dist/types/src/meta.d.ts.map +1 -1
  66. package/dist/types/src/translations.d.ts +19 -10
  67. package/dist/types/src/translations.d.ts.map +1 -1
  68. package/dist/types/src/types/ExplorerAction.d.ts +1 -18
  69. package/dist/types/src/types/ExplorerAction.d.ts.map +1 -1
  70. package/dist/types/src/types/Graph.d.ts +14 -24
  71. package/dist/types/src/types/Graph.d.ts.map +1 -1
  72. package/dist/types/tsconfig.tsbuildinfo +1 -1
  73. package/package.json +51 -46
  74. package/src/ExplorerPlugin.tsx +39 -52
  75. package/src/capabilities/index.ts +1 -4
  76. package/src/capabilities/react-surface/index.ts +7 -0
  77. package/src/capabilities/react-surface/react-surface.tsx +31 -0
  78. package/src/components/Chart/Chart.stories.tsx +3 -3
  79. package/src/components/Globe/Globe.stories.tsx +3 -3
  80. package/src/components/Graph/D3ForceGraph.stories.tsx +21 -16
  81. package/src/components/Graph/D3ForceGraph.tsx +82 -74
  82. package/src/components/Graph/ForceGraph.stories.tsx +21 -16
  83. package/src/components/Graph/adapter.ts +14 -8
  84. package/src/components/Graph/testing.ts +8 -5
  85. package/src/components/Tree/Tree.stories.tsx +7 -4
  86. package/src/components/Tree/Tree.tsx +8 -3
  87. package/src/components/Tree/testing/generator.ts +4 -2
  88. package/src/components/Tree/types/tree.test.ts +3 -1
  89. package/src/components/Tree/types/tree.ts +41 -20
  90. package/src/components/Tree/types/types.ts +1 -1
  91. package/src/components/index.ts +0 -4
  92. package/src/containers/ExplorerContainer/ExplorerContainer.tsx +53 -0
  93. package/src/containers/ExplorerContainer/index.ts +7 -0
  94. package/src/containers/index.ts +7 -0
  95. package/src/hooks/useGraphModel.ts +17 -10
  96. package/src/meta.ts +3 -3
  97. package/src/translations.ts +4 -1
  98. package/src/types/ExplorerAction.ts +9 -19
  99. package/src/types/Graph.ts +25 -22
  100. package/dist/lib/browser/ExplorerContainer-NOLLVUTE.mjs +0 -50
  101. package/dist/lib/browser/ExplorerContainer-NOLLVUTE.mjs.map +0 -7
  102. package/dist/lib/browser/chunk-2MKBRIUT.mjs +0 -31
  103. package/dist/lib/browser/chunk-2MKBRIUT.mjs.map +0 -7
  104. package/dist/lib/browser/chunk-6BVXZQPP.mjs +0 -188
  105. package/dist/lib/browser/chunk-6BVXZQPP.mjs.map +0 -7
  106. package/dist/lib/browser/chunk-JDSUIUNR.mjs +0 -80
  107. package/dist/lib/browser/chunk-JDSUIUNR.mjs.map +0 -7
  108. package/dist/lib/browser/chunk-UBHZGWZQ.mjs.map +0 -7
  109. package/dist/lib/browser/intent-resolver-YS5LZC3A.mjs +0 -31
  110. package/dist/lib/browser/intent-resolver-YS5LZC3A.mjs.map +0 -7
  111. package/dist/lib/browser/react-surface-BVTCOVLK.mjs +0 -35
  112. package/dist/lib/browser/react-surface-BVTCOVLK.mjs.map +0 -7
  113. package/dist/lib/node-esm/ExplorerContainer-N3S5KSUX.mjs +0 -51
  114. package/dist/lib/node-esm/ExplorerContainer-N3S5KSUX.mjs.map +0 -7
  115. package/dist/lib/node-esm/chunk-3ODK27PU.mjs +0 -33
  116. package/dist/lib/node-esm/chunk-3ODK27PU.mjs.map +0 -7
  117. package/dist/lib/node-esm/chunk-CRSVAZNA.mjs +0 -190
  118. package/dist/lib/node-esm/chunk-CRSVAZNA.mjs.map +0 -7
  119. package/dist/lib/node-esm/chunk-MS72BATS.mjs +0 -81
  120. package/dist/lib/node-esm/chunk-MS72BATS.mjs.map +0 -7
  121. package/dist/lib/node-esm/chunk-UXZM5VJB.mjs.map +0 -7
  122. package/dist/lib/node-esm/intent-resolver-VCEC67WX.mjs +0 -32
  123. package/dist/lib/node-esm/intent-resolver-VCEC67WX.mjs.map +0 -7
  124. package/dist/lib/node-esm/react-surface-4HFEX52O.mjs +0 -36
  125. package/dist/lib/node-esm/react-surface-4HFEX52O.mjs.map +0 -7
  126. package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
  127. package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
  128. package/dist/types/src/capabilities/react-surface.d.ts +0 -4
  129. package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
  130. package/dist/types/src/components/ExplorerContainer.d.ts +0 -9
  131. package/dist/types/src/components/ExplorerContainer.d.ts.map +0 -1
  132. package/src/capabilities/intent-resolver.ts +0 -21
  133. package/src/capabilities/react-surface.tsx +0 -27
  134. package/src/components/ExplorerContainer.tsx +0 -54
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY,iJAAmE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capabilities, Capability } from '@dxos/app-framework';
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
4
+ export default _default;
5
+ //# sourceMappingURL=react-surface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAS/D,wBAcE"}
@@ -1,14 +1,19 @@
1
- import React from 'react';
1
+ import React, { type ComponentPropsWithoutRef } from 'react';
2
2
  import { SelectionModel } from '@dxos/graph';
3
- import { type ThemedClassName } from '@dxos/react-ui';
4
3
  import { type GraphProps } from '@dxos/react-ui-graph';
5
4
  import { type SpaceGraphModel } from '@dxos/schema';
6
5
  import '@dxos/react-ui-graph/styles/graph.css';
7
- export type D3ForceGraphProps = ThemedClassName<{
6
+ export type D3ForceGraphProps = {
8
7
  model?: SpaceGraphModel;
9
8
  match?: RegExp;
10
9
  selection?: SelectionModel;
11
10
  grid?: boolean;
12
- } & Pick<GraphProps, 'drag'>>;
13
- export declare const D3ForceGraph: ({ classNames, model, selection: _selection, grid, ...props }: D3ForceGraphProps) => React.JSX.Element;
11
+ } & Pick<GraphProps, 'drag'> & ComponentPropsWithoutRef<'div'>;
12
+ export declare const D3ForceGraph: React.ForwardRefExoticComponent<Omit<D3ForceGraphProps, "className"> & {
13
+ classNames?: import("@dxos/ui-types").ClassNameValue;
14
+ } & {
15
+ className?: string;
16
+ children?: React.ReactNode;
17
+ role?: string;
18
+ } & React.RefAttributes<HTMLDivElement>>;
14
19
  //# 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":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,wBAAwB,EAA2C,MAAM,OAAO,CAAC;AAGtG,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,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;IAC9B,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,CAAC;AAIlC,eAAO,MAAM,YAAY;;;;;;wCA4ExB,CAAC"}
@@ -2,8 +2,14 @@ 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;
6
- render: (args: unknown) => React.JSX.Element;
5
+ component: React.ForwardRefExoticComponent<Omit<import("./D3ForceGraph").D3ForceGraphProps, "className"> & {
6
+ classNames?: import("@dxos/ui-types").ClassNameValue;
7
+ } & {
8
+ className?: string;
9
+ children?: React.ReactNode;
10
+ role?: string;
11
+ } & React.RefAttributes<HTMLDivElement>>;
12
+ render: () => React.JSX.Element;
7
13
  decorators: import("@storybook/react").Decorator[];
8
14
  parameters: {
9
15
  layout: string;
@@ -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,KAAmB,MAAM,OAAO,CAAC;AA6CxC,QAAA,MAAM,IAAI;;;;;;;;CAqB2B,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;AAgDxC,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"}
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: React.FC<import("./ForceGraph").ForceGraphProps>;
6
- render: (args: unknown) => React.JSX.Element;
6
+ render: () => React.JSX.Element;
7
7
  decorators: import("@storybook/react").Decorator[];
8
8
  parameters: {
9
9
  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;AA6CxC,QAAA,MAAM,IAAI;;;;;;;;CAqByB,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;AAgDxC,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;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;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,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 +1 @@
1
- {"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tree/Tree.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,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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,"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;AA0CnD,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;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: 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,5 @@
1
- import { type ComponentType } from 'react';
2
1
  export * from './Chart';
3
2
  export * from './Globe';
4
3
  export * from './Graph';
5
4
  export * from './Tree';
6
- export declare const ExplorerContainer: ComponentType<any>;
7
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AAEvB,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,GAAG,CAA6C,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,SAyBpB,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;AAGtD,eAAO,MAAM,IAAI,EAAE,UAYlB,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,29 +1,38 @@
1
- import { meta } from './meta';
2
- import { Graph } from './types';
3
1
  export declare const translations: [{
4
2
  readonly 'en-US': {
5
- readonly [Graph.Graph.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";
9
7
  readonly 'typename label_other': "Explorers";
10
8
  readonly 'object name placeholder': "New explorer";
9
+ readonly 'add object label': "Add explorer";
11
10
  readonly 'rename object label': "Rename explorer";
12
11
  readonly 'delete object label': "Delete explorer";
13
- };
14
- readonly [meta.id]: {
12
+ readonly 'object deleted label': "Explorer deleted";
13
+ readonly 'plugin name'?: undefined;
14
+ readonly 'object title label'?: undefined;
15
+ } | {
15
16
  readonly 'plugin name': "Explorer";
16
17
  readonly 'object title label': "Title";
18
+ readonly 'typename label'?: undefined;
19
+ readonly 'typename label_zero'?: undefined;
20
+ readonly 'typename label_one'?: undefined;
21
+ readonly 'typename label_other'?: undefined;
22
+ readonly 'object name placeholder'?: undefined;
23
+ readonly 'add object label'?: undefined;
24
+ readonly 'rename object label'?: undefined;
25
+ readonly 'delete object label'?: undefined;
26
+ readonly 'object deleted label'?: undefined;
17
27
  };
18
28
  };
19
29
  }, {
20
30
  readonly 'en-US': {
21
- readonly "react-ui-components": {
22
- readonly "scroll-down.button": "Scroll down";
31
+ readonly "@dxos/react-ui-components": {
23
32
  readonly "no commits message": "No events yet";
24
- readonly "query placeholder": "Enter query (e.g., \"#tag\", \"type\")";
25
- readonly "picker select": "Select";
26
- readonly "picker none": "None";
33
+ readonly "query editor placeholder": "Enter query (e.g., \"#tag\", \"type\")";
34
+ readonly "picker select label": "Select";
35
+ readonly "picker none label": "None";
27
36
  readonly "picker type placeholder": "Type";
28
37
  readonly "picker tag placeholder": "Tag";
29
38
  };
@@ -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,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;;;;;;;;UAQrB;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBM,CAAC"}
@@ -1,23 +1,6 @@
1
1
  import * as Schema from 'effect/Schema';
2
- import { View } from '@dxos/schema';
3
2
  export declare const GraphProps: Schema.Struct<{
4
3
  name: Schema.optional<typeof Schema.String>;
5
- typename: Schema.SchemaClass<string, string, never>;
4
+ typename: Schema.optional<Schema.SchemaClass<string, string, never>>;
6
5
  }>;
7
- declare const CreateGraph_base: Schema.TaggedClass<CreateGraph, `${string}/create-graph`, {
8
- readonly _tag: Schema.tag<`${string}/create-graph`>;
9
- } & {
10
- input: Schema.extend<Schema.Struct<{
11
- space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
12
- }>, Schema.Struct<{
13
- name: Schema.optional<typeof Schema.String>;
14
- typename: Schema.SchemaClass<string, string, never>;
15
- }>>;
16
- output: Schema.Struct<{
17
- object: Schema.Schema<View.View, View.ViewEncoded, never>;
18
- }>;
19
- }>;
20
- export declare class CreateGraph extends CreateGraph_base {
21
- }
22
- export {};
23
6
  //# sourceMappingURL=ExplorerAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExplorerAction.d.ts","sourceRoot":"","sources":["../../../../src/types/ExplorerAction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAwB,IAAI,EAAE,MAAM,cAAc,CAAC;AAM1D,eAAO,MAAM,UAAU;;;EAOrB,CAAC;;;;;;;;;;;;;;AAEH,qBAAa,WAAY,SAAQ,gBAO/B;CAAG"}
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"}
@@ -1,33 +1,23 @@
1
1
  import * as Schema from 'effect/Schema';
2
2
  import { Obj, QueryAST, Type } from '@dxos/echo';
3
- import { View } from '@dxos/schema';
4
- export declare const Graph: Type.obj<Schema.Struct<{
5
- name: Schema.optional<typeof Schema.String>;
6
- query: Schema.mutable<Schema.Struct<{
7
- raw: Schema.optional<typeof Schema.String>;
8
- ast: Schema.Schema<QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause, QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause, never>;
9
- }>>;
10
- }>>;
11
- export type Graph = Schema.Schema.Type<typeof Graph>;
12
- /**
13
- * Make a graph object.
14
- */
15
- export declare const make: (props?: Obj.MakeProps<typeof Graph>) => import("@dxos/live-object").Live<Type.OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
16
- query: {
17
- ast: QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause;
18
- raw?: string | undefined;
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;
19
9
  };
20
- name?: string | undefined;
21
- }>;
22
- type MakeViewProps = Omit<View.MakeFromSpaceProps, 'presentation'> & {
23
- presentation?: Omit<Obj.MakeProps<typeof Graph>, 'name'>;
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;
24
17
  };
25
18
  /**
26
19
  * Make a graph as a view of a data set.
27
20
  */
28
- export declare const makeView: ({ presentation, ...props }: MakeViewProps) => Promise<{
29
- jsonSchema: Type.JsonSchema;
30
- view: View.View;
31
- }>;
21
+ export declare const make: ({ name, query, view, }: MakeProps) => Graph;
32
22
  export {};
33
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,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEhE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,eAAO,MAAM,KAAK;;;;;;GAajB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,IAAI,GACf,QAAO,GAAG,CAAC,SAAS,CAAC,OAAO,KAAK,CAAmE;;;;;;EAC3E,CAAC;AAE5B,KAAK,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE,cAAc,CAAC,GAAG;IACnE,YAAY,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC;CAC1D,CAAC;AAEF;;GAEG;AAEH,eAAO,MAAM,QAAQ,GAAU,4BAA4B,aAAa;;;EAGvE,CAAC"}
1
+ {"version":3,"file":"Graph.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