feat(nbstore): init (#7639)

TODO

- [x] basic
- [x] storages
- [x] producer/consumer
- [x] operation pattern
- [x] events
- [x] worker
- [x] readme
- [x] peer dependencies
This commit is contained in:
forehalo
2024-11-22 03:13:04 +00:00
parent 76eabf644c
commit 4125038ff8
18 changed files with 882 additions and 3 deletions
+5 -1
View File
@@ -72,7 +72,8 @@
"@affine/native/*": ["./packages/frontend/native/*"],
"@affine/server-native": ["./packages/backend/native/index.d.ts"],
// Development only
"@affine/electron/*": ["./packages/frontend/apps/electron/src/*"]
"@affine/electron/*": ["./packages/frontend/apps/electron/src/*"],
"@affine/nbstore": ["./packages/common/nbstore/src"]
}
},
"include": [],
@@ -131,6 +132,9 @@
{
"path": "./packages/common/infra"
},
{
"path": "./packages/common/nbstore"
},
// Tools
{
"path": "./tools/cli"