fix ts check

This commit is contained in:
duanfuxiang
2025-01-05 21:14:35 +08:00
parent 0c7ee142cb
commit 5465d5fca3
46 changed files with 11974 additions and 91 deletions

View File

@@ -1,5 +1,5 @@
import { PGlite } from '@electric-sql/pglite'
import { type PGliteWithLive, live } from '@electric-sql/pglite/live'
import { type PGliteWithLive, live } from '@electric-sql/pglite/dist/live'
// import { PgliteDatabase, drizzle } from 'drizzle-orm/pglite'
import { App, normalizePath } from 'obsidian'

View File

@@ -111,7 +111,8 @@ export class VectorManager {
return {
path: file.path,
mtime: file.stat.mtime,
content: chunk.pageContent,
content: chunk.pageContent,
embedding: [],
metadata: {
startLine: chunk.metadata.loc.lines.from as number,
endLine: chunk.metadata.loc.lines.to as number,