aboutsummaryrefslogtreecommitdiff
path: root/packages/memory-graph/src/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/memory-graph/src/index.tsx')
-rw-r--r--packages/memory-graph/src/index.tsx31
1 files changed, 5 insertions, 26 deletions
diff --git a/packages/memory-graph/src/index.tsx b/packages/memory-graph/src/index.tsx
index 1e413e00..6e5c882f 100644
--- a/packages/memory-graph/src/index.tsx
+++ b/packages/memory-graph/src/index.tsx
@@ -1,13 +1,11 @@
-// Auto-inject global styles (side effect import)
-import "./styles";
-
// Export the main component
-export { MemoryGraphWrapper as MemoryGraph } from "./components/memory-graph-wrapper";
+export { MemoryGraph } from "./components/memory-graph";
+
+// Export style injector for manual use if needed
+export { injectStyles } from "./lib/inject-styles";
// Export types for consumers
-export type {
- MemoryGraphWrapperProps as MemoryGraphProps,
-} from "./components/memory-graph-wrapper";
+export type { MemoryGraphProps } from "./types";
export type {
DocumentWithMemories,
@@ -21,25 +19,6 @@ export type {
MemoryRelation,
} from "./types";
-// Export API client for advanced usage
-export {
- fetchDocuments,
- fetchDocumentsPage,
- validateApiKey,
- type FetchDocumentsOptions,
- type ApiClientError,
-} from "./lib/api-client";
-
-// Export hooks for advanced usage (if users want to bring their own QueryClient)
-export {
- useDocumentsQuery,
- useInfiniteDocumentsQuery,
- flattenDocuments,
- getTotalDocuments,
- getLoadedCount,
- type UseDocumentsQueryOptions,
-} from "./hooks/use-documents-query";
-
// Export theme system for custom theming
export { themeContract, defaultTheme } from "./styles/theme.css";
export { sprinkles } from "./styles/sprinkles.css";