bug fixed

This commit is contained in:
병준 박 2022-08-14 05:20:21 +00:00
parent a2f8a2ea09
commit 1a8cd9a5ad

View File

@ -1,4 +1,5 @@
const SUBJECT: &str = "bet.beteran.ss.identity"; const SUBJECT: &str = "bet.beteran.ss.identity";
const EVENT_SUBJECT: &str = "bet.beteran.ss_event.identity";
pub const SUBJECT_CHECK_USERNAME_FOR_DUPLICATION: &str = pub const SUBJECT_CHECK_USERNAME_FOR_DUPLICATION: &str =
const_format::concatcp!(SUBJECT, ".CheckUsernameForDuplication"); const_format::concatcp!(SUBJECT, ".CheckUsernameForDuplication");
@ -7,150 +8,150 @@ pub const SUBJECT_CHECK_NICKNAME_FOR_DUPLICATION: &str =
pub const SUBJECT_CAPTCHA: &str = const_format::concatcp!(SUBJECT, ".Captcha"); pub const SUBJECT_CAPTCHA: &str = const_format::concatcp!(SUBJECT, ".Captcha");
pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin"); pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin");
pub const EVENT_SUBJECT_SIGNIN: &str = const_format::concatcp!(EVENT_SUBJECT, ".AfterSignin");
/// subject = bet.beteran.ss.identity.CheckUsernameForDuplication; /// subject = bet.beteran.ss.identity.CheckUsernameForDuplication;
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CheckUsernameForDuplicationRequest { pub struct CheckUsernameForDuplicationRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<check_username_for_duplication_request::Request>, pub request: ::core::option::Option<check_username_for_duplication_request::Request>,
} }
/// Nested message and enum types in `CheckUsernameForDuplicationRequest`. /// Nested message and enum types in `CheckUsernameForDuplicationRequest`.
pub mod check_username_for_duplication_request { pub mod check_username_for_duplication_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub username: ::prost::alloc::string::String, pub username: ::prost::alloc::string::String,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CheckUsernameForDuplicationResponse { pub struct CheckUsernameForDuplicationResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<check_username_for_duplication_response::Result>, pub result: ::core::option::Option<check_username_for_duplication_response::Result>,
} }
/// Nested message and enum types in `CheckUsernameForDuplicationResponse`. /// Nested message and enum types in `CheckUsernameForDuplicationResponse`.
pub mod check_username_for_duplication_response { pub mod check_username_for_duplication_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(bool, tag="1")] #[prost(bool, tag = "1")]
pub duplicated: bool, pub duplicated: bool,
} }
} }
/// subject = bet.beteran.ss.identity.CheckNicknameForDuplication; /// subject = bet.beteran.ss.identity.CheckNicknameForDuplication;
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CheckNicknameForDuplicationRequest { pub struct CheckNicknameForDuplicationRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<check_nickname_for_duplication_request::Request>, pub request: ::core::option::Option<check_nickname_for_duplication_request::Request>,
} }
/// Nested message and enum types in `CheckNicknameForDuplicationRequest`. /// Nested message and enum types in `CheckNicknameForDuplicationRequest`.
pub mod check_nickname_for_duplication_request { pub mod check_nickname_for_duplication_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub nickname: ::prost::alloc::string::String, pub nickname: ::prost::alloc::string::String,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CheckNicknameForDuplicationResponse { pub struct CheckNicknameForDuplicationResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<check_nickname_for_duplication_response::Result>, pub result: ::core::option::Option<check_nickname_for_duplication_response::Result>,
} }
/// Nested message and enum types in `CheckNicknameForDuplicationResponse`. /// Nested message and enum types in `CheckNicknameForDuplicationResponse`.
pub mod check_nickname_for_duplication_response { pub mod check_nickname_for_duplication_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(bool, tag="1")] #[prost(bool, tag = "1")]
pub duplicated: bool, pub duplicated: bool,
} }
} }
/// subject = bet.beteran.ss.identity.Captcha /// subject = bet.beteran.ss.identity.Captcha
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CaptchaRequest { pub struct CaptchaRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<captcha_request::Request>, pub request: ::core::option::Option<captcha_request::Request>,
} }
/// Nested message and enum types in `CaptchaRequest`. /// Nested message and enum types in `CaptchaRequest`.
pub mod captcha_request { pub mod captcha_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {}
}
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CaptchaResponse { pub struct CaptchaResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<captcha_response::Result>, pub result: ::core::option::Option<captcha_response::Result>,
} }
/// Nested message and enum types in `CaptchaResponse`. /// Nested message and enum types in `CaptchaResponse`.
pub mod captcha_response { pub mod captcha_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub security_code_hash: ::prost::alloc::string::String, pub security_code_hash: ::prost::alloc::string::String,
#[prost(string, tag="2")] #[prost(string, tag = "2")]
pub image: ::prost::alloc::string::String, pub image: ::prost::alloc::string::String,
} }
} }
/// subject = bet.beteran.ss.identity.Signin /// subject = bet.beteran.ss.identity.Signin
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninRequest { pub struct SigninRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<signin_request::Request>, pub request: ::core::option::Option<signin_request::Request>,
} }
/// Nested message and enum types in `SigninRequest`. /// Nested message and enum types in `SigninRequest`.
pub mod signin_request { pub mod signin_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub security_code_hash: ::prost::alloc::string::String, pub security_code_hash: ::prost::alloc::string::String,
#[prost(string, tag="2")] #[prost(string, tag = "2")]
pub security_code: ::prost::alloc::string::String, pub security_code: ::prost::alloc::string::String,
#[prost(string, tag="3")] #[prost(string, tag = "3")]
pub username: ::prost::alloc::string::String, pub username: ::prost::alloc::string::String,
#[prost(string, tag="4")] #[prost(string, tag = "4")]
pub password: ::prost::alloc::string::String, pub password: ::prost::alloc::string::String,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninResponse { pub struct SigninResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<signin_response::Result>, pub result: ::core::option::Option<signin_response::Result>,
} }
/// Nested message and enum types in `SigninResponse`. /// Nested message and enum types in `SigninResponse`.
pub mod signin_response { pub mod signin_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub access_token: ::prost::alloc::string::String, pub access_token: ::prost::alloc::string::String,
} }
} }
/// subject = bet.beteran.ss_event.identity.AfterSignin /// subject = bet.beteran.ss_event.identity.AfterSignin
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct AfterSigninEvent { pub struct AfterSigninEvent {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub event: ::core::option::Option<after_signin_event::Event>, pub event: ::core::option::Option<after_signin_event::Event>,
} }
/// Nested message and enum types in `AfterSigninEvent`. /// Nested message and enum types in `AfterSigninEvent`.
pub mod after_signin_event { pub mod after_signin_event {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Event { pub struct Event {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub member: ::core::option::Option<crate::models::member::Member>, pub member: ::core::option::Option<crate::models::member::Member>,
} }
} }