mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-15 23:31:05 +00:00
- Remove x/y from GraphApiDocument (client computes via force simulation) - Remove similarity from GraphApiEdge, add edgeType enum - Replace viewport/bounds/stats API calls with single paginated documents endpoint - Derive edges client-side from document structure (doc-memory, version, same-space) - Update MCP client/server to use documents endpoint - Update MCP UI app for new type shapes - Update all tests for new API contract - Progressive loading via useInfiniteQuery (100 docs/page)
18 lines
576 B
TypeScript
18 lines
576 B
TypeScript
// Re-export the wrapper as MemoryGraph (same name, drop-in replacement)
|
|
export { MemoryGraph } from "./memory-graph-wrapper"
|
|
export type { MemoryGraphWrapperProps as MemoryGraphProps } from "./memory-graph-wrapper"
|
|
|
|
// Keep GraphCard (app-specific)
|
|
export { GraphCard } from "./graph-card"
|
|
export type { GraphCardProps } from "./graph-card"
|
|
|
|
// Re-export useful types from the package
|
|
export type {
|
|
GraphNode,
|
|
GraphEdge,
|
|
GraphApiDocument,
|
|
GraphApiMemory,
|
|
} from "@supermemory/memory-graph"
|
|
|
|
// Keep the API hook export
|
|
export { useGraphApi } from "./hooks/use-graph-api"
|