Skip to content

Commit b860bc1

Browse files
Refactored import statements in Code and Documentation models to streamline module references. Added index.ts to centralize type definitions for BaseRelation, BaseNode, and EmbeddingsContainer, enhancing code organization and maintainability.
1 parent bb5e4d1 commit b860bc1

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

ingestion/src/lib/models/code.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { TreeNode } from "../../process/prepare/processor/core/treeNode"
2-
import { BaseNode, BaseRelation, EmbeddingsContainer, NodeDescriptor } from "./types"
2+
import { BaseNode, BaseRelation, EmbeddingsContainer, NodeDescriptor } from "."
33

44
export type CodeModelRelation = BaseRelation
55

ingestion/src/lib/models/devdoc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { BaseNode, BaseRelation, EmbeddingsContainer } from "./types"
1+
import { BaseNode, BaseRelation, EmbeddingsContainer } from "."
22

33
export type DocumentationModelRelation = BaseRelation
44

0 commit comments

Comments
 (0)