mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-09-22 15:07:21 +00:00

* chore: observe file upload state * chore: observe file upload state * chore: upgrade client api * Update frontend/appflowy_flutter/lib/startup/tasks/file_storage_task.dart Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io> * chore: fix tauri build --------- Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
23 lines
405 B
Rust
23 lines
405 B
Rust
use flowy_derive::ProtoBuf;
|
|
|
|
#[derive(Default, ProtoBuf, Clone, Debug)]
|
|
pub struct RegisterStreamPB {
|
|
#[pb(index = 1)]
|
|
pub port: i64,
|
|
}
|
|
|
|
#[derive(Default, ProtoBuf, Clone, Debug)]
|
|
pub struct QueryFilePB {
|
|
#[pb(index = 1)]
|
|
pub url: String,
|
|
}
|
|
|
|
#[derive(Default, ProtoBuf, Clone, Debug)]
|
|
pub struct FileStatePB {
|
|
#[pb(index = 1)]
|
|
pub file_id: String,
|
|
|
|
#[pb(index = 2)]
|
|
pub is_finish: bool,
|
|
}
|