From fc9b8b7571a8a1b6d9a409a8028773088ecea669 Mon Sep 17 00:00:00 2001 From: David Snelling Date: Wed, 28 May 2025 11:31:10 -0700 Subject: [PATCH] feat: add direct exports for graph types Introduced direct exports for `GraphNoun`, `GraphVerb`, `EmbeddedGraphVerb`, and related graph types (`Person`, `Place`, `Thing`, etc.) to streamline imports and improve type accessibility. --- src/index.ts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/index.ts b/src/index.ts index 2cb1b1b6..bb9a6284 100644 --- a/src/index.ts +++ b/src/index.ts @@ -130,3 +130,29 @@ export type { IWebSocketConduitAugmentation, IWebSocketMemoryAugmentation } from './types/augmentations.js' + +// Export graph types +import type { + GraphNoun, + GraphVerb, + EmbeddedGraphVerb, + Person, + Place, + Thing, + Event, + Concept, + Content +} from './types/graphTypes.js' +import { NounType, VerbType } from './types/graphTypes.js' +export type { + GraphNoun, + GraphVerb, + EmbeddedGraphVerb, + Person, + Place, + Thing, + Event, + Concept, + Content +} +export { NounType, VerbType }