feat: Import appflowy data (#4236)

* refactor: traits

* feat: import data

* chore: track database view

* fix: import

* refactor: collab doc state

* refactor: get collab doc state

* feat: batch create collab object

* fix: test

* ci: run docker compose if the server is not up

* chore: bump collab

* chore: update ci

* chore: update ci

* chore: update ci

* chore: implement ui

* chore: implement ui

* chore: implement ui
This commit is contained in:
Nathan.fooo
2023-12-29 13:02:27 +08:00
committed by GitHub
parent c821b8c4fe
commit 69469e9989
100 changed files with 2728 additions and 886 deletions

View File

@ -26,6 +26,16 @@ impl<T> AFPluginData<T> {
}
}
impl<T> AFPluginData<T>
where
T: validator::Validate,
{
pub fn try_into_inner(self) -> Result<T, ValidationErrors> {
self.0.validate()?;
Ok(self.0)
}
}
impl<T> ops::Deref for AFPluginData<T> {
type Target = T;