mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-10-31 01:54:37 +00:00 
			
		
		
		
	
		
			
	
	
		
			14 lines
		
	
	
		
			434 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			434 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
|   | use flowy_error::FlowyResult;
 | ||
|  | use flowy_folder_pub::folder_builder::ParentChildViews;
 | ||
|  | use lib_infra::async_trait::async_trait;
 | ||
|  | use std::collections::HashMap;
 | ||
|  | 
 | ||
|  | #[async_trait]
 | ||
|  | pub trait UserWorkspaceService: Send + Sync {
 | ||
|  |   async fn did_import_views(&self, views: Vec<ParentChildViews>) -> FlowyResult<()>;
 | ||
|  |   async fn did_import_database_views(
 | ||
|  |     &self,
 | ||
|  |     ids_by_database_id: HashMap<String, Vec<String>>,
 | ||
|  |   ) -> FlowyResult<()>;
 | ||
|  | }
 |