mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: workspace service in user crate (#4373)
* refactor: user manager * feat: implement workspace service * refactor: migrate user data when sign up * chore: fmt * chore: enable beta cloud * chore: update ci * chore: trim slash
This commit is contained in:
@ -2,10 +2,16 @@ use crate::folder_builder::ParentChildViews;
|
||||
use std::collections::HashMap;
|
||||
|
||||
pub enum ImportData {
|
||||
AppFlowyDataFolder {
|
||||
AppFlowyDataFolder { items: Vec<AppFlowyData> },
|
||||
}
|
||||
|
||||
pub enum AppFlowyData {
|
||||
Folder {
|
||||
views: Vec<ParentChildViews>,
|
||||
/// Used to update the [DatabaseViewTrackerList] when importing the database.
|
||||
database_view_ids_by_database_id: HashMap<String, Vec<String>>,
|
||||
},
|
||||
CollabObject {
|
||||
row_object_ids: Vec<String>,
|
||||
document_object_ids: Vec<String>,
|
||||
database_object_ids: Vec<String>,
|
||||
|
Reference in New Issue
Block a user