| 
									
										
										
										
											2023-04-13 18:53:51 +08:00
										 |  |  | fn main() {
 | 
					
						
							|  |  |  |   #[cfg(feature = "dart")]
 | 
					
						
							| 
									
										
										
										
											2024-01-30 05:36:27 +08:00
										 |  |  |   {
 | 
					
						
							|  |  |  |     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);
 | 
					
						
							| 
									
										
										
										
											2024-02-04 05:50:23 +08:00
										 |  |  |     flowy_codegen::protobuf_file::ts_gen(
 | 
					
						
							|  |  |  |       env!("CARGO_PKG_NAME"),
 | 
					
						
							|  |  |  |       env!("CARGO_PKG_NAME"),
 | 
					
						
							|  |  |  |       flowy_codegen::Project::Tauri,
 | 
					
						
							|  |  |  |     );
 | 
					
						
							| 
									
										
										
										
											2024-01-30 05:36:27 +08:00
										 |  |  |   }
 | 
					
						
							| 
									
										
										
										
											2023-04-13 18:53:51 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-01-30 05:36:27 +08:00
										 |  |  |   #[cfg(feature = "web_ts")]
 | 
					
						
							|  |  |  |   {
 | 
					
						
							|  |  |  |     flowy_codegen::ts_event::gen(
 | 
					
						
							| 
									
										
										
										
											2024-02-04 05:50:23 +08:00
										 |  |  |       "document",
 | 
					
						
							| 
									
										
										
										
											2024-01-30 05:36:27 +08:00
										 |  |  |       flowy_codegen::Project::Web {
 | 
					
						
							|  |  |  |         relative_path: "../../".to_string(),
 | 
					
						
							|  |  |  |       },
 | 
					
						
							|  |  |  |     );
 | 
					
						
							|  |  |  |     flowy_codegen::protobuf_file::ts_gen(
 | 
					
						
							|  |  |  |       env!("CARGO_PKG_NAME"),
 | 
					
						
							| 
									
										
										
										
											2024-02-04 05:50:23 +08:00
										 |  |  |       "document",
 | 
					
						
							| 
									
										
										
										
											2024-01-30 05:36:27 +08:00
										 |  |  |       flowy_codegen::Project::Web {
 | 
					
						
							|  |  |  |         relative_path: "../../".to_string(),
 | 
					
						
							|  |  |  |       },
 | 
					
						
							|  |  |  |     );
 | 
					
						
							|  |  |  |   }
 | 
					
						
							| 
									
										
										
										
											2023-04-13 18:53:51 +08:00
										 |  |  | }
 |