Skip to content

Commit 2fbcf01

Browse files
committed
Minor changes
1 parent 44a357c commit 2fbcf01

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ai-assistant/src/core/db/db.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { IEmbeddingModel } from "../embeddings/embeddings.types";
22

3-
export type DBNodeRelationType = "CONTAINS" | "USES"
4-
export type DBNodeRelation = { target: string; relation: DBNodeRelationType }
3+
export type DBNodeRelationType = "CONTAINS" | "USES";
4+
export type DBNodeRelation = { target: string; relation: DBNodeRelationType };
55

66
export class DBNode {
77
id: string;

ai-assistant/src/core/db/db.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ export interface IDB {
99

1010
rollbackTransaction(): Promise<void>;
1111

12-
run(query: string, params?: any): Promise<Record<string, any>[] | null>;
12+
run(query: string, params?: any): Promise<Record<string, any>[]>;
1313
}

0 commit comments

Comments
 (0)