mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
11 lines
267 B
Rust
11 lines
267 B
Rust
|
use crate::{event::UserEvent::*, handlers::*};
|
||
|
use flowy_sys::prelude::*;
|
||
|
|
||
|
pub fn create() -> Module {
|
||
|
Module::new()
|
||
|
.event(AuthCheck, user_check)
|
||
|
.event(SignIn, user_check)
|
||
|
.event(SignUp, user_check)
|
||
|
.event(SignOut, user_check)
|
||
|
}
|