subjects are changed
This commit is contained in:
parent
f220043646
commit
8b28a1b19c
|
@ -2,6 +2,17 @@ use crate::protobuf::rpc;
|
||||||
|
|
||||||
const SUBJECT: &str = "bet.beteran.c2se.backend.identity";
|
const SUBJECT: &str = "bet.beteran.c2se.backend.identity";
|
||||||
|
|
||||||
|
pub const SUBJECT_CHECK_USERNAME_FOR_DUPLICATION: &str =
|
||||||
|
const_format::concatcp!(SUBJECT, ".CheckUsernameForDuplication");
|
||||||
|
/// subject = bet.beteran.c2se.backend.identity.CheckUsernameForDuplication;
|
||||||
|
|
||||||
|
pub const SUBJECT_CHECK_NICKNAME_FOR_DUPLICATION: &str =
|
||||||
|
const_format::concatcp!(SUBJECT, ".CheckNicknameForDuplication");
|
||||||
|
/// subject = bet.beteran.c2se.backend.identity.CheckNicknameForDuplication;
|
||||||
|
|
||||||
|
pub const SUBJECT_CAPTCHA: &str = const_format::concatcp!(SUBJECT, ".Captcha");
|
||||||
|
/// subject = bet.beteran.c2se.backend.identity.Captcha
|
||||||
|
|
||||||
pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin");
|
pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin");
|
||||||
/// subject = bet.beteran.c2se.backend.identity.Signin
|
/// subject = bet.beteran.c2se.backend.identity.Signin
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
|
|
@ -2,9 +2,6 @@ use crate::protobuf::rpc;
|
||||||
|
|
||||||
const SUBJECT: &str = "bet.beteran.c2se.common.identity";
|
const SUBJECT: &str = "bet.beteran.c2se.common.identity";
|
||||||
|
|
||||||
pub const SUBJECT_CHECK_USERNAME_FOR_DUPLICATION: &str =
|
|
||||||
const_format::concatcp!(SUBJECT, ".CheckUsernameForDuplication");
|
|
||||||
/// subject = bet.beteran.c2se.common.identity.CheckUsernameForDuplication;
|
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct CheckUsernameForDuplicationRequest {
|
pub struct CheckUsernameForDuplicationRequest {
|
||||||
#[prost(string, tag = "1")]
|
#[prost(string, tag = "1")]
|
||||||
|
@ -19,9 +16,6 @@ pub struct CheckUsernameForDuplicationResponse {
|
||||||
pub duplicated: ::core::option::Option<bool>,
|
pub duplicated: ::core::option::Option<bool>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub const SUBJECT_CHECK_NICKNAME_FOR_DUPLICATION: &str =
|
|
||||||
const_format::concatcp!(SUBJECT, ".CheckNicknameForDuplication");
|
|
||||||
/// subject = bet.beteran.c2se.common.identity.CheckNicknameForDuplication;
|
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct CheckNicknameForDuplicationRequest {
|
pub struct CheckNicknameForDuplicationRequest {
|
||||||
#[prost(string, tag = "1")]
|
#[prost(string, tag = "1")]
|
||||||
|
@ -36,8 +30,6 @@ pub struct CheckNicknameForDuplicationResponse {
|
||||||
pub duplicated: ::core::option::Option<bool>,
|
pub duplicated: ::core::option::Option<bool>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub const SUBJECT_CAPTCHA: &str = const_format::concatcp!(SUBJECT, ".Captcha");
|
|
||||||
/// subject = bet.beteran.c2se.common.identity.Captcha
|
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct CaptchaRequest {}
|
pub struct CaptchaRequest {}
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,17 @@ use crate::protobuf::rpc;
|
||||||
|
|
||||||
const SUBJECT: &str = "bet.beteran.c2se.frontend.identity";
|
const SUBJECT: &str = "bet.beteran.c2se.frontend.identity";
|
||||||
|
|
||||||
|
pub const SUBJECT_CHECK_USERNAME_FOR_DUPLICATION: &str =
|
||||||
|
const_format::concatcp!(SUBJECT, ".CheckUsernameForDuplication");
|
||||||
|
/// subject = bet.beteran.c2se.frontend.identity.CheckUsernameForDuplication;
|
||||||
|
|
||||||
|
pub const SUBJECT_CHECK_NICKNAME_FOR_DUPLICATION: &str =
|
||||||
|
const_format::concatcp!(SUBJECT, ".CheckNicknameForDuplication");
|
||||||
|
/// subject = bet.beteran.c2se.frontend.identity.CheckNicknameForDuplication;
|
||||||
|
|
||||||
|
pub const SUBJECT_CAPTCHA: &str = const_format::concatcp!(SUBJECT, ".Captcha");
|
||||||
|
/// subject = bet.beteran.c2se.frontend.identity.Captcha
|
||||||
|
|
||||||
pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin");
|
pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin");
|
||||||
/// subject = bet.beteran.c2se.frontend.identity.Signin
|
/// subject = bet.beteran.c2se.frontend.identity.Signin
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user