Update protobuf definitions: dd1905ce
By allanger
Commit link: dd1905cef4
Pipeline link: https://ci.badhouseplants.net/repos/34/pipeline/56
This commit is contained in:
@@ -174,8 +174,8 @@ func (x *SignUpRequest) GetPassword() string {
|
||||
|
||||
type SignInRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
||||
Verifier string `protobuf:"bytes,2,opt,name=verifier,proto3" json:"verifier,omitempty"`
|
||||
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
||||
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -210,16 +210,16 @@ func (*SignInRequest) Descriptor() ([]byte, []int) {
|
||||
return file_accounts_v1_accounts_v1_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *SignInRequest) GetCode() string {
|
||||
func (x *SignInRequest) GetEmail() string {
|
||||
if x != nil {
|
||||
return x.Code
|
||||
return x.Email
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SignInRequest) GetVerifier() string {
|
||||
func (x *SignInRequest) GetPassword() string {
|
||||
if x != nil {
|
||||
return x.Verifier
|
||||
return x.Password
|
||||
}
|
||||
return ""
|
||||
}
|
||||
@@ -472,10 +472,10 @@ const file_accounts_v1_accounts_v1_proto_rawDesc = "" +
|
||||
"\x05email\x18\x02 \x01(\tR\x05email\"A\n" +
|
||||
"\rSignUpRequest\x12\x14\n" +
|
||||
"\x05email\x18\x01 \x01(\tR\x05email\x12\x1a\n" +
|
||||
"\bpassword\x18\x02 \x01(\tR\bpassword\"?\n" +
|
||||
"\rSignInRequest\x12\x12\n" +
|
||||
"\x04code\x18\x01 \x01(\tR\x04code\x12\x1a\n" +
|
||||
"\bverifier\x18\x02 \x01(\tR\bverifier\"D\n" +
|
||||
"\bpassword\x18\x02 \x01(\tR\bpassword\"A\n" +
|
||||
"\rSignInRequest\x12\x14\n" +
|
||||
"\x05email\x18\x01 \x01(\tR\x05email\x12\x1a\n" +
|
||||
"\bpassword\x18\x02 \x01(\tR\bpassword\"D\n" +
|
||||
"\x14ResetPasswordRequest\x12,\n" +
|
||||
"\x04data\x18\x01 \x01(\v2\x18.accounts.v1.AccountDataR\x04data\"\x90\x01\n" +
|
||||
"\x12NewPasswordRequest\x12,\n" +
|
||||
|
||||
Reference in New Issue
Block a user