| 123456789101112131415161718 |
- use collab_folder::core::ViewLayout;
- #[derive(Clone, Debug)]
- pub enum ImportType {
- HistoryDocument = 0,
- HistoryDatabase = 1,
- CSV = 2,
- }
- #[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,
- }
|