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.
This commit is contained in:
parent
110e771b58
commit
fc9b8b7571
1 changed files with 26 additions and 0 deletions
26
src/index.ts
26
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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue