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.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
use anyhow::Error;
use collab_entity::reminder::Reminder;
use lib_infra::async_trait::async_trait;
#[async_trait]
pub trait UserReminder: Send + Sync + 'static {
async fn add_reminder(&self, _reminder: Reminder) -> Result<(), Error> {
Ok(())
}
async fn remove_reminder(&self, _reminder_id: &str) -> Result<(), Error> {
Ok(())
}
async fn update_reminder(&self, _reminder: Reminder) -> Result<(), Error> {
Ok(())
}
}
pub struct DefaultCollabInteract;
#[async_trait]
impl UserReminder for DefaultCollabInteract {}