mirror of
https://github.com/AppFlowy-IO/AppFlowy-Cloud.git
synced 2025-04-19 03:24:42 -04:00
* chore: test collab sync * feat: folder view for user workspace * feat: add private indicator * chore: use collab cache instead * chore: initial impl * chore: cargo sqlx * fix: write back to collab cache * fix: assign page id * fix: text map * chore: connect api and refactor * chore: switch to using mem storage * fix: collab type * feat: use group manager to manage sync * feat: try add send command instead * chore: add client api code * feat: try use sink and stream from group collab * chore: disable sync first * fix: insert page before stopping group * feat: add extra for view * feat: add metadata to doc * fix: icon * fix: page circular dep * fix: page circular dep * fix: live update * feat: database initial impl * feat: workspace database * chore: link database * fix: database validation * fix: workspace database oid * fix: workspace database oid * fix: specify view layout * feat: add txn when inserting collab and rework database views * fix: parent view id for new database * fix: database view for folder * fix: database ids * fix: database row id * fix: main database layout and write database before folder * fix: metadata for non database main view * chore: database in doc wip * chore: filter visible views * chore: use structure value instead of json * chore: database in doc wip * fix: remove child item push * fix: main database view meta * chore: rework inline database in doc * fix: make duplicate more error forgiving * chore: use get instead of get key value * chore: merge with main * feat: set max depth for folder view * chore: update dependency counter * chore: remove unneeded arg * chore: simplify collab new from source * chore: remove unneeded param * chore: rename and doc * feat: rework inline database and use duplicated ref * chore: simplify params * chore: fmt * feat: deduplicate database wip * fix: compatible with newer appflowy version * fix: database views * feat: database in doc * chore: cargo clippy * chore: update dockerfile rust toolchain * fix: doc inline db parent id * fix: database id * fix: document data modification * chore: minor refactor and todo * chore: remove unneeded nesting * fix: enforce ordering for views to add * chore: add doc and test case for folder view * fix: remove the need for cloning published collab * fix: some review * chore: move folder conversion logic * fix: remove collab folder deps on shared entity * chore: cargo fmt * fix: compile * chore: remove group manager dependency * fix: dep count * fix: add messages sent by server * fix: dep count * chore: add test for doc ref and inline doc database * chore: cargo clippy * chore: add more test scenarios * chore: fix tests * chore: get database id * chore: update collab * chore: add more assert and database row id checks * fix: suggestions from review * chore: sqlx * fix: accumulate collab before insert * chore: add tokio spawn blocking for encoding * fix: reduce limit for publish collabs --------- Co-authored-by: Bartosz Sypytkowski <b.sypytkowski@gmail.com> Co-authored-by: nathan <nathan@appflowy.io>
28 lines
563 B
JSON
28 lines
563 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n SELECT metadata, blob\n FROM af_published_collab\n WHERE view_id = $1\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "metadata",
|
|
"type_info": "Jsonb"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "blob",
|
|
"type_info": "Bytea"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false
|
|
]
|
|
},
|
|
"hash": "7aa6e41c80f0b2906d46e73ae05e8e70e133b7edd450b102715b8a487d6055ac"
|
|
}
|