events are added

This commit is contained in:
병준 박 2022-08-15 06:35:07 +00:00
parent b7d4f4e383
commit a8e670f3b6
2 changed files with 68 additions and 0 deletions

View File

@ -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>,
}
}

View File

@ -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>,
}
}