chore: auto-generate protobuf files [skip ci]
This commit is contained in:
@@ -71,7 +71,7 @@ export interface GetAccountRoleLevelResponse {
|
||||
|
||||
export interface GetSessionRequest {
|
||||
userId: string;
|
||||
sessionId: string;
|
||||
currentSessionId: string;
|
||||
}
|
||||
|
||||
export interface SessionItem {
|
||||
|
||||
@@ -606,11 +606,11 @@ func (x *GetAccountRoleLevelResponse) GetRoleLevel() int32 {
|
||||
}
|
||||
|
||||
type GetSessionRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
CurrentSessionId string `protobuf:"bytes,2,opt,name=current_session_id,json=currentSessionId,proto3" json:"current_session_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *GetSessionRequest) Reset() {
|
||||
@@ -650,9 +650,9 @@ func (x *GetSessionRequest) GetUserId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *GetSessionRequest) GetSessionId() string {
|
||||
func (x *GetSessionRequest) GetCurrentSessionId() string {
|
||||
if x != nil {
|
||||
return x.SessionId
|
||||
return x.CurrentSessionId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
@@ -941,11 +941,10 @@ const file_auth_proto_rawDesc = "" +
|
||||
"\x1bGetAccountRoleLevelResponse\x12\x14\n" +
|
||||
"\x05found\x18\x01 \x01(\bR\x05found\x12\x1d\n" +
|
||||
"\n" +
|
||||
"role_level\x18\x02 \x01(\x05R\troleLevel\"K\n" +
|
||||
"role_level\x18\x02 \x01(\x05R\troleLevel\"Z\n" +
|
||||
"\x11GetSessionRequest\x12\x17\n" +
|
||||
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1d\n" +
|
||||
"\n" +
|
||||
"session_id\x18\x02 \x01(\tR\tsessionId\"\x9f\x01\n" +
|
||||
"\auser_id\x18\x01 \x01(\tR\x06userId\x12,\n" +
|
||||
"\x12current_session_id\x18\x02 \x01(\tR\x10currentSessionId\"\x9f\x01\n" +
|
||||
"\vSessionItem\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
|
||||
"\n" +
|
||||
|
||||
Reference in New Issue
Block a user