chore(commons): fix issues with Buffer

This commit is contained in:
Elian Doran 2026-01-06 12:07:16 +02:00
parent b7ad76827a
commit 8149460547
No known key found for this signature in database
3 changed files with 2 additions and 6 deletions

View File

@ -16,7 +16,7 @@ export interface AttachmentRow {
isDeleted?: boolean;
deleteId?: string;
contentLength?: number;
content?: Buffer | string;
content?: Uint8Array | string;
}
export interface RevisionRow {

View File

@ -6,10 +6,7 @@
"outDir": "dist",
"tsBuildInfoFile": "dist/tsconfig.lib.tsbuildinfo",
"emitDeclarationOnly": true,
"forceConsistentCasingInFileNames": true,
"types": [
"node"
]
"forceConsistentCasingInFileNames": true
},
"include": [
"src/**/*.ts"

View File

@ -3,7 +3,6 @@
"compilerOptions": {
"outDir": "./out-tsc/vitest",
"types": [
"node",
"vitest"
],
"forceConsistentCasingInFileNames": true