Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

378 B
Raw Blame
use flowy_derive::{ProtoBuf, ProtoBuf_Enum};

#[derive(Debug, ProtoBuf_Enum, Clone, Default)]
pub enum DatabaseExportDataType {
  #[default]
  CSV = 0,

  // DatabaseData
  RawDatabaseData = 1,
}

#[derive(Debug, ProtoBuf, Default, Clone)]
pub struct DatabaseExportDataPB {
  #[pb(index = 1)]
  pub export_type: DatabaseExportDataType,

  #[pb(index = 2)]
  pub data: String,
}