mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-08-15 12:21:16 +00:00
18 lines
359 B
Rust
18 lines
359 B
Rust
![]() |
use collab_folder::core::ViewLayout;
|
||
|
|
||
|
#[derive(Clone, Debug)]
|
||
|
pub enum ImportType {
|
||
|
HistoryDocument = 0,
|
||
|
HistoryDatabase = 1,
|
||
|
}
|
||
|
|
||
|
#[derive(Clone, Debug)]
|
||
|
pub struct ImportParams {
|
||
|
pub parent_view_id: String,
|
||
|
pub name: String,
|
||
|
pub data: Option<Vec<u8>>,
|
||
|
pub file_path: Option<String>,
|
||
|
pub view_layout: ViewLayout,
|
||
|
pub import_type: ImportType,
|
||
|
}
|