From be2be6107e6fee016eb9d5b7e0fd19c1c6573fd6 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Thu, 11 Aug 2022 05:53:17 +0000 Subject: [PATCH] event is added --- src/ss/member/identity.rs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/ss/member/identity.rs b/src/ss/member/identity.rs index f722514..53605fc 100644 --- a/src/ss/member/identity.rs +++ b/src/ss/member/identity.rs @@ -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, + #[prost(message, optional, tag="2")] + pub member: ::core::option::Option, +}