mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-10-31 01:54:37 +00:00 
			
		
		
		
	 73421e0d58
			
		
	
	
		73421e0d58
		
			
		
	
	
	
	
		
			
			* chore: fix ui * chore: fix ui * chore: rename * chore: rename * chore: rename * chore: refactor database ai interface * chore: support local ai for database * chore: clippy
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Rust
		
	
	
	
	
	
| fn main() {
 | |
|   #[cfg(feature = "dart")]
 | |
|   {
 | |
|     flowy_codegen::protobuf_file::dart_gen(env!("CARGO_PKG_NAME"));
 | |
|     flowy_codegen::dart_event::gen(env!("CARGO_PKG_NAME"));
 | |
|   }
 | |
| 
 | |
|   #[cfg(feature = "tauri_ts")]
 | |
|   {
 | |
|     flowy_codegen::ts_event::gen(env!("CARGO_PKG_NAME"), flowy_codegen::Project::Tauri);
 | |
|     flowy_codegen::protobuf_file::ts_gen(
 | |
|       env!("CARGO_PKG_NAME"),
 | |
|       env!("CARGO_PKG_NAME"),
 | |
|       flowy_codegen::Project::Tauri,
 | |
|     );
 | |
|     flowy_codegen::ts_event::gen(env!("CARGO_PKG_NAME"), flowy_codegen::Project::Tauri);
 | |
|     flowy_codegen::protobuf_file::ts_gen(
 | |
|       env!("CARGO_PKG_NAME"),
 | |
|       env!("CARGO_PKG_NAME"),
 | |
|       flowy_codegen::Project::TauriApp,
 | |
|     );
 | |
|   }
 | |
| 
 | |
|   #[cfg(feature = "web_ts")]
 | |
|   {
 | |
|     flowy_codegen::ts_event::gen(
 | |
|       "folder",
 | |
|       flowy_codegen::Project::Web {
 | |
|         relative_path: "../../".to_string(),
 | |
|       },
 | |
|     );
 | |
|     flowy_codegen::protobuf_file::ts_gen(
 | |
|       env!("CARGO_PKG_NAME"),
 | |
|       "folder",
 | |
|       flowy_codegen::Project::Web {
 | |
|         relative_path: "../../".to_string(),
 | |
|       },
 | |
|     );
 | |
|   }
 | |
| }
 |