names of subject are added
This commit is contained in:
parent
e332e8976d
commit
89522014a0
|
@ -1,6 +1,9 @@
|
|||
use crate::protobuf::rpc;
|
||||
|
||||
const SUBJECT: &str = "bet.beteran.c2se.backend.identity";
|
||||
|
||||
pub const SUBJECT_SIGNIN: &str =
|
||||
const_format::concatcp!(SUBJECT, ".Signin");
|
||||
/// subject = bet.beteran.c2se.backend.identity.Signin
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct SigninRequest {
|
||||
|
|
|
@ -2,6 +2,10 @@ use crate::protobuf::rpc;
|
|||
use crate::protobuf::pagination;
|
||||
use crate::models::member;
|
||||
|
||||
const SUBJECT: &str = "bet.beteran.c2se.backend.member";
|
||||
|
||||
pub const SUBJECT_LIST_MEMBERS: &str =
|
||||
const_format::concatcp!(SUBJECT, ".ListMembers");
|
||||
/// subject = bet.beteran.c2se.backend.member.ListMembers
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListMembersRequest {
|
||||
|
@ -19,6 +23,9 @@ pub struct ListMembersResponse {
|
|||
#[prost(message, repeated, tag="2")]
|
||||
pub members: ::prost::alloc::vec::Vec<member::Member>,
|
||||
}
|
||||
|
||||
pub const SUBJECT_GET_MEMBER: &str =
|
||||
const_format::concatcp!(SUBJECT, ".GetMember");
|
||||
/// subject = bet.beteran.c2se.backend.member.GetMember
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetMemberRequest {
|
||||
|
@ -32,6 +39,9 @@ pub struct GetMemberResponse {
|
|||
#[prost(message, optional, tag="2")]
|
||||
pub member: ::core::option::Option<member::Member>,
|
||||
}
|
||||
|
||||
pub const SUBJECT_GET_MEMBER_BY_USERNAME: &str =
|
||||
const_format::concatcp!(SUBJECT, ".GetMemberByUsername");
|
||||
/// subject = bet.beteran.c2se.backend.member.GetMemberByUsername
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetMemberByUsernameRequest {
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
use crate::protobuf::rpc;
|
||||
|
||||
|
||||
const SUBJECT: &str = "bet.beteran.c2se.frontend.identity";
|
||||
|
||||
pub const SUBJECT_SIGNIN: &str =
|
||||
const_format::concatcp!(SUBJECT, ".Signin");
|
||||
/// subject = bet.beteran.c2se.frontend.identity.Signin
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct SigninRequest {
|
||||
|
|
Loading…
Reference in New Issue
Block a user