mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
aec7bc847e
* chore: ai type * chore: use patch to fix version issue * chore: update * chore: update * chore: integrate client api * chore: add schema * chore: setup event * chore: add event test * chore: add test * chore: update test * chore: load chat message * chore: load chat message * chore: chat ui * chore: disable create chat * chore: update client api * chore: disable chat * chore: ui theme * chore: ui theme * chore: copy message * chore: fix test * chore: show error * chore: update bloc * chore: update test * chore: lint * chore: icon * chore: hover * chore: show unsupported page * chore: adjust mobile ui * chore: adjust view title bar * chore: return related question * chore: error page * chore: error page * chore: code format * chore: prompt * chore: fix test * chore: ui adjust * chore: disable create chat * chore: add loading page * chore: fix test * chore: disable chat action * chore: add maximum text limit
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(),
|
|
},
|
|
);
|
|
}
|
|
}
|