events are added
This commit is contained in:
parent
b7d4f4e383
commit
a8e670f3b6
|
@ -9,6 +9,8 @@ pub const SUBJECT_CAPTCHA: &str = const_format::concatcp!(SUBJECT, ".Captcha");
|
|||
pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin");
|
||||
|
||||
pub const EVENT_SUBJECT_AFTER_SIGNIN: &str = const_format::concatcp!(EVENT_SUBJECT, ".AfterSignin");
|
||||
pub const EVENT_SUBJECT_AFTER_SIGNOUT: &str =
|
||||
const_format::concatcp!(EVENT_SUBJECT, ".AfterSignout");
|
||||
|
||||
/// subject = bet.beteran.ss.identity.CheckUsernameForDuplication;
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
|
@ -155,3 +157,20 @@ pub mod after_signin_event {
|
|||
pub member: ::core::option::Option<crate::models::member::Member>,
|
||||
}
|
||||
}
|
||||
|
||||
/// subject = bet.beteran.ss_event.identity.AfterSignout
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct AfterSignoutEvent {
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub client: ::core::option::Option<crate::models::core::network::Client>,
|
||||
#[prost(message, optional, tag = "2")]
|
||||
pub event: ::core::option::Option<after_signout_event::Event>,
|
||||
}
|
||||
/// Nested message and enum types in `AfterSignoutEvent`.
|
||||
pub mod after_signout_event {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Event {
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub member: ::core::option::Option<crate::models::member::Member>,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -316,3 +316,52 @@ pub mod delete_member_response {
|
|||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {}
|
||||
}
|
||||
|
||||
/// subject = bet.beteran.ss_event.member.AfterCreateMember
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct AfterCreateMemberEvent {
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub client: ::core::option::Option<crate::models::core::network::Client>,
|
||||
#[prost(message, optional, tag = "2")]
|
||||
pub event: ::core::option::Option<after_create_member_event::Event>,
|
||||
}
|
||||
/// Nested message and enum types in `AfterCreateMemberEvent`.
|
||||
pub mod after_create_member_event {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Event {
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub member: ::core::option::Option<crate::models::member::Member>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss_event.member.AfterUpdateMember
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct AfterUpdateMemberEvent {
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub client: ::core::option::Option<crate::models::core::network::Client>,
|
||||
#[prost(message, optional, tag = "2")]
|
||||
pub event: ::core::option::Option<after_update_member_event::Event>,
|
||||
}
|
||||
/// Nested message and enum types in `AfterUpdateMemberEvent`.
|
||||
pub mod after_update_member_event {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Event {
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub member: ::core::option::Option<crate::models::member::Member>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss_event.member.AfterDeleteMember
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct AfterDeleteMemberEvent {
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub client: ::core::option::Option<crate::models::core::network::Client>,
|
||||
#[prost(message, optional, tag = "2")]
|
||||
pub event: ::core::option::Option<after_delete_member_event::Event>,
|
||||
}
|
||||
/// Nested message and enum types in `AfterDeleteMemberEvent`.
|
||||
pub mod after_delete_member_event {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Event {
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub member: ::core::option::Option<crate::models::member::Member>,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user