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