This commit is contained in:
Morten Olsen
2025-12-10 09:11:03 +01:00
parent 9f9bc03d03
commit f9494c88e2
74 changed files with 2004 additions and 1035 deletions

View File

@@ -0,0 +1,13 @@
import type { TableRows } from '../database/database.js';
import type { DocumentChunk } from './document-chunks.schemas.js';
const mapFromDocumentChunkRow = (
row: TableRows['documentChunks'] & {
metadata: unknown;
},
): DocumentChunk => ({
...row,
});
export { mapFromDocumentChunkRow };