Replace types.ts standalone schemas with Metagraph Module re-exports

Delete types.ts and move all schema definitions to modules/metagraph.ts.
Named exports (GraphConfig, BaseNodeAttributes, BaseEdgeAttributes) use
Metagraph.Import() for -based references. Remove NodeType, EdgeType,
GraphSchema, GRAPH_BASE_TYPE, GraphBaseType (replaced by Module approach).
Update sqlite host imports to resolve from metagraph.ts.
This commit is contained in:
2026-05-29 10:57:37 +00:00
parent c999e24242
commit 7206044250
5 changed files with 15 additions and 83 deletions

View File

@@ -1,6 +1,8 @@
export * from "./types.ts";
export {
Metagraph,
GraphConfig,
BaseNodeAttributes,
BaseEdgeAttributes,
GRAPH_STATUS,
GraphStatus,
} from "./modules/metagraph.ts";