event is added
This commit is contained in:
parent
cc13112acc
commit
be2be6107e
|
@ -1,7 +1,10 @@
|
|||
use crate::models::core;
|
||||
use crate::protobuf::rpc;
|
||||
|
||||
use crate::models::member;
|
||||
|
||||
const SUBJECT: &str = "bet.beteran.ss.member.identity";
|
||||
const EVENT_SUBJECT: &str = "bet.beteran.ss.event.member.identity";
|
||||
|
||||
|
||||
pub const SUBJECT_CHECK_USERNAME_FOR_DUPLICATION: &str =
|
||||
const_format::concatcp!(SUBJECT, ".CheckUsernameForDuplication");
|
||||
|
@ -107,3 +110,13 @@ pub mod signin_response {
|
|||
pub access_token: ::prost::alloc::string::String,
|
||||
}
|
||||
}
|
||||
|
||||
pub const EVENT_SUBJECT_AFTER_SIGNIN: &str = const_format::concatcp!(EVENT_SUBJECT, ".AfterSignin");
|
||||
/// subject = bet.beteran.ss.event.member.identity.AfterSignin
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct AfterSigninEvent {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub client: ::core::option::Option<core::network::Client>,
|
||||
#[prost(message, optional, tag="2")]
|
||||
pub member: ::core::option::Option<member::Member>,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user