diff --git a/pkg/accounts/v1/accounts_v1.pb.go b/pkg/accounts/v1/accounts_v1.pb.go index 2457456..e5d8680 100644 --- a/pkg/accounts/v1/accounts_v1.pb.go +++ b/pkg/accounts/v1/accounts_v1.pb.go @@ -9,7 +9,6 @@ package v1 import ( - _ "gitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg/options/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" @@ -465,7 +464,7 @@ var File_accounts_v1_accounts_v1_proto protoreflect.FileDescriptor const file_accounts_v1_accounts_v1_proto_rawDesc = "" + "\n" + - "\x1daccounts/v1/accounts_v1.proto\x12\vaccounts.v1\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1boptions/v1/options_v1.proto\"-\n" + + "\x1daccounts/v1/accounts_v1.proto\x12\vaccounts.v1\x1a\x1bgoogle/protobuf/empty.proto\"-\n" + "\x0fAccountPassword\x12\x1a\n" + "\bpassword\x18\x01 \x01(\tR\bpassword\"7\n" + "\vAccountData\x12\x12\n" + @@ -489,10 +488,10 @@ const file_accounts_v1_accounts_v1_proto_rawDesc = "" + "\bverified\x18\x01 \x01(\bR\bverified\"4\n" + "\x13RefreshTokenRequest\x12\x1d\n" + "\n" + - "session_id\x18\x01 \x01(\tR\tsessionId2\xca\x02\n" + - "\x18AccountManagementService\x12D\n" + - "\x06SignIn\x12\x1a.accounts.v1.SignInRequest\x1a\x16.google.protobuf.Empty\"\x06\x8a\xb5\x18\x02\b\x01\x12D\n" + - "\x06SignUp\x12\x1a.accounts.v1.SignUpRequest\x1a\x16.google.protobuf.Empty\"\x06\x8a\xb5\x18\x02\b\x01\x12^\n" + + "session_id\x18\x01 \x01(\tR\tsessionId2\xbe\x02\n" + + "\x18AccountManagementService\x12>\n" + + "\x06SignIn\x12\x1a.accounts.v1.SignInRequest\x1a\x16.google.protobuf.Empty\"\x00\x12>\n" + + "\x06SignUp\x12\x1a.accounts.v1.SignUpRequest\x1a\x16.google.protobuf.Empty\"\x00\x12^\n" + "\x0fIsEmailVerified\x12#.accounts.v1.IsEmailVerifiedRequest\x1a$.accounts.v1.IsEmailVerifiedResponse\"\x00\x12B\n" + "\x0eRefreshSession\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\x00BIZGgitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg/accounts/v1b\x06proto3" diff --git a/pkg/options/v1/options_v1.pb.go b/pkg/options/v1/options_v1.pb.go deleted file mode 100644 index 4f0cf03..0000000 --- a/pkg/options/v1/options_v1.pb.go +++ /dev/null @@ -1,147 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.11 -// protoc (unknown) -// source: options/v1/options_v1.proto - -package v1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type AuthOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // When set to false, the auth interceptor will be skiped on the backend - Auth bool `protobuf:"varint,1,opt,name=auth,proto3" json:"auth,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AuthOptions) Reset() { - *x = AuthOptions{} - mi := &file_options_v1_options_v1_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AuthOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AuthOptions) ProtoMessage() {} - -func (x *AuthOptions) ProtoReflect() protoreflect.Message { - mi := &file_options_v1_options_v1_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AuthOptions.ProtoReflect.Descriptor instead. -func (*AuthOptions) Descriptor() ([]byte, []int) { - return file_options_v1_options_v1_proto_rawDescGZIP(), []int{0} -} - -func (x *AuthOptions) GetAuth() bool { - if x != nil { - return x.Auth - } - return false -} - -var file_options_v1_options_v1_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.MethodOptions)(nil), - ExtensionType: (*AuthOptions)(nil), - Field: 50001, - Name: "options.v1.auth_options", - Tag: "bytes,50001,opt,name=auth_options", - Filename: "options/v1/options_v1.proto", - }, -} - -// Extension fields to descriptorpb.MethodOptions. -var ( - // optional options.v1.AuthOptions auth_options = 50001; - E_AuthOptions = &file_options_v1_options_v1_proto_extTypes[0] -) - -var File_options_v1_options_v1_proto protoreflect.FileDescriptor - -const file_options_v1_options_v1_proto_rawDesc = "" + - "\n" + - "\x1boptions/v1/options_v1.proto\x12\n" + - "options.v1\x1a google/protobuf/descriptor.proto\"!\n" + - "\vAuthOptions\x12\x12\n" + - "\x04auth\x18\x01 \x01(\bR\x04auth:\\\n" + - "\fauth_options\x12\x1e.google.protobuf.MethodOptions\x18ц\x03 \x01(\v2\x17.options.v1.AuthOptionsR\vauthOptionsBHZFgitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg/options/v1b\x06proto3" - -var ( - file_options_v1_options_v1_proto_rawDescOnce sync.Once - file_options_v1_options_v1_proto_rawDescData []byte -) - -func file_options_v1_options_v1_proto_rawDescGZIP() []byte { - file_options_v1_options_v1_proto_rawDescOnce.Do(func() { - file_options_v1_options_v1_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_options_v1_options_v1_proto_rawDesc), len(file_options_v1_options_v1_proto_rawDesc))) - }) - return file_options_v1_options_v1_proto_rawDescData -} - -var file_options_v1_options_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_options_v1_options_v1_proto_goTypes = []any{ - (*AuthOptions)(nil), // 0: options.v1.AuthOptions - (*descriptorpb.MethodOptions)(nil), // 1: google.protobuf.MethodOptions -} -var file_options_v1_options_v1_proto_depIdxs = []int32{ - 1, // 0: options.v1.auth_options:extendee -> google.protobuf.MethodOptions - 0, // 1: options.v1.auth_options:type_name -> options.v1.AuthOptions - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 1, // [1:2] is the sub-list for extension type_name - 0, // [0:1] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_options_v1_options_v1_proto_init() } -func file_options_v1_options_v1_proto_init() { - if File_options_v1_options_v1_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_options_v1_options_v1_proto_rawDesc), len(file_options_v1_options_v1_proto_rawDesc)), - NumEnums: 0, - NumMessages: 1, - NumExtensions: 1, - NumServices: 0, - }, - GoTypes: file_options_v1_options_v1_proto_goTypes, - DependencyIndexes: file_options_v1_options_v1_proto_depIdxs, - MessageInfos: file_options_v1_options_v1_proto_msgTypes, - ExtensionInfos: file_options_v1_options_v1_proto_extTypes, - }.Build() - File_options_v1_options_v1_proto = out.File - file_options_v1_options_v1_proto_goTypes = nil - file_options_v1_options_v1_proto_depIdxs = nil -}