mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
 Above image shows the performance on querying a 20k rows of updates table, which is super slow at 150+ms. After adding index for doc_id the performance should be greatly improved. After:  fix TOV-866
43 lines
927 B
JSON
43 lines
927 B
JSON
{
|
|
"extends": "../../../tsconfig.json",
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"skipLibCheck": true,
|
|
"target": "ES2022",
|
|
"module": "ESNext",
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"types": ["node", "affine__env"],
|
|
"outDir": "lib",
|
|
"moduleResolution": "Bundler",
|
|
"resolveJsonModule": true,
|
|
"noImplicitOverride": true,
|
|
"paths": {
|
|
"@toeverything/infra/*": ["../../common/infra/src/*"]
|
|
}
|
|
},
|
|
"include": ["./src"],
|
|
"exclude": ["renderer", "node_modules", "lib", "dist", "**/__tests__/**/*"],
|
|
"references": [
|
|
{
|
|
"path": "../../frontend/native"
|
|
},
|
|
{
|
|
"path": "../../common/infra"
|
|
},
|
|
{
|
|
"path": "../../common/env"
|
|
},
|
|
{
|
|
"path": "./tsconfig.node.json"
|
|
},
|
|
{
|
|
"path": "../../../tests/kit"
|
|
}
|
|
],
|
|
"ts-node": {
|
|
"esm": true,
|
|
"experimentalSpecifierResolution": "node"
|
|
}
|
|
}
|