We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44a357c commit 2fbcf01Copy full SHA for 2fbcf01
ai-assistant/src/core/db/db.ts
@@ -1,7 +1,7 @@
1
import { IEmbeddingModel } from "../embeddings/embeddings.types";
2
3
-export type DBNodeRelationType = "CONTAINS" | "USES"
4
-export type DBNodeRelation = { target: string; relation: DBNodeRelationType }
+export type DBNodeRelationType = "CONTAINS" | "USES";
+export type DBNodeRelation = { target: string; relation: DBNodeRelationType };
5
6
export class DBNode {
7
id: string;
ai-assistant/src/core/db/db.types.ts
@@ -9,5 +9,5 @@ export interface IDB {
9
10
rollbackTransaction(): Promise<void>;
11
12
- run(query: string, params?: any): Promise<Record<string, any>[] | null>;
+ run(query: string, params?: any): Promise<Record<string, any>[]>;
13
}
0 commit comments