Nathan.fooo e9b2cbb317
chore: observe file upload state (#6172)
* 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>
2024-09-04 07:56:08 +08:00

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,
}