Feat/database view (#1875)

* chore: rename structs

* chore: add todos

* chore: hidden database id

* refactor: add database folder, prepare to extract the view

* refactor: rename grid-model to datbase-model

* ci: fix warnings
This commit is contained in:
Nathan.fooo
2023-02-21 15:47:51 +08:00
committed by GitHub
parent 346a09b2ae
commit f76d722b4c
160 changed files with 2152 additions and 1947 deletions

View File

@ -849,6 +849,18 @@ dependencies = [
"parking_lot_core",
]
[[package]]
name = "database-model"
version = "0.1.0"
dependencies = [
"bytes",
"indexmap",
"nanoid",
"serde",
"serde_json",
"serde_repr",
]
[[package]]
name = "derivative"
version = "2.2.0"
@ -1132,12 +1144,12 @@ version = "0.1.0"
dependencies = [
"bytes",
"chrono",
"database-model",
"dissimilar",
"document-model",
"flowy-derive",
"flowy-sync",
"folder-model",
"grid-model",
"lib-infra",
"lib-ot",
"parking_lot",
@ -1195,6 +1207,7 @@ name = "flowy-core"
version = "0.1.0"
dependencies = [
"bytes",
"database-model",
"flowy-client-ws",
"flowy-database",
"flowy-document",
@ -1206,7 +1219,6 @@ dependencies = [
"flowy-task",
"flowy-user",
"futures-core",
"grid-model",
"lib-dispatch",
"lib-infra",
"lib-log",
@ -1230,6 +1242,7 @@ dependencies = [
"chrono",
"crossbeam-utils",
"dashmap",
"database-model",
"diesel",
"fancy-regex 0.10.0",
"flowy-client-sync",
@ -1242,7 +1255,6 @@ dependencies = [
"flowy-sqlite",
"flowy-task",
"futures",
"grid-model",
"indexmap",
"lazy_static",
"lib-dispatch",
@ -1960,18 +1972,6 @@ dependencies = [
"system-deps 6.0.3",
]
[[package]]
name = "grid-model"
version = "0.1.0"
dependencies = [
"bytes",
"indexmap",
"nanoid",
"serde",
"serde_json",
"serde_repr",
]
[[package]]
name = "gtk"
version = "0.15.5"