use flowy_derive::ProtoBuf;

#[derive(Eq, PartialEq, ProtoBuf, Default, Debug, Clone)]
pub struct SearchQueryPB {
  #[pb(index = 1)]
  pub search: String,

  #[pb(index = 2, one_of)]
  pub limit: Option<i64>,

  #[pb(index = 3)]
  pub search_id: String,

  #[pb(index = 4)]
  pub stream_port: i64,
}
