mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-08-14 11:51:03 +00:00

* refactor: user manager * feat: implement workspace service * refactor: migrate user data when sign up * chore: fmt * chore: enable beta cloud * chore: update ci * chore: trim slash
13 lines
315 B
Rust
13 lines
315 B
Rust
use flowy_derive::ProtoBuf;
|
|
use validator::Validate;
|
|
|
|
#[derive(ProtoBuf, Validate, Default)]
|
|
pub struct ImportAppFlowyDataPB {
|
|
#[pb(index = 1)]
|
|
#[validate(custom = "lib_infra::validator_fn::required_not_empty_str")]
|
|
pub path: String,
|
|
|
|
#[pb(index = 2, one_of)]
|
|
pub import_container_name: Option<String>,
|
|
}
|