refactor: localize protobuf definitions

This commit is contained in:
2026-08-09 20:14:57 +08:00
parent 9f6f318bbb
commit 5ea45a76fe
429 changed files with 54058 additions and 61623 deletions

View File

@@ -7,7 +7,6 @@
package group
import (
protobuf "bsm/full/protobuf"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
@@ -566,7 +565,7 @@ var File_module_social_group_proto_member_proto protoreflect.FileDescriptor
const file_module_social_group_proto_member_proto_rawDesc = "" +
"\n" +
"&module/social/group/proto/member.proto\x12\x05group\x1a\x15protobuf/blocks.proto\"\xaf\x01\n" +
"&module/social/group/proto/member.proto\x12\x05group\x1a%module/social/group/proto/const.proto\"\xaf\x01\n" +
"\x16PassportInfoSimpleCard\x12\x1a\n" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12\x1a\n" +
"\bnickname\x18\x02 \x01(\tR\bnickname\x12\x1f\n" +
@@ -637,16 +636,16 @@ func file_module_social_group_proto_member_proto_rawDescGZIP() []byte {
var file_module_social_group_proto_member_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_module_social_group_proto_member_proto_goTypes = []any{
(*PassportInfoSimpleCard)(nil), // 0: group.PassportInfoSimpleCard
(*PassportInfoDetailCard)(nil), // 1: group.PassportInfoDetailCard
(*GroupMemberReply)(nil), // 2: group.GroupMemberReply
(*DoJoinRequest)(nil), // 3: group.DoJoinRequest
(*JoinFetchReply)(nil), // 4: group.JoinFetchReply
(*ApplyJoinGroupItem)(nil), // 5: group.ApplyJoinGroupItem
(*GroupOPRequest)(nil), // 6: group.GroupOPRequest
(*protobuf.IdentRequest)(nil), // 7: blocks.IdentRequest
(*protobuf.Empty)(nil), // 8: blocks.Empty
(*protobuf.DataStatusReply)(nil), // 9: blocks.DataStatusReply
(*PassportInfoSimpleCard)(nil), // 0: group.PassportInfoSimpleCard
(*PassportInfoDetailCard)(nil), // 1: group.PassportInfoDetailCard
(*GroupMemberReply)(nil), // 2: group.GroupMemberReply
(*DoJoinRequest)(nil), // 3: group.DoJoinRequest
(*JoinFetchReply)(nil), // 4: group.JoinFetchReply
(*ApplyJoinGroupItem)(nil), // 5: group.ApplyJoinGroupItem
(*GroupOPRequest)(nil), // 6: group.GroupOPRequest
(*IdentRequest)(nil), // 7: blocks.IdentRequest
(*Empty)(nil), // 8: blocks.Empty
(*DataStatusReply)(nil), // 9: blocks.DataStatusReply
}
var file_module_social_group_proto_member_proto_depIdxs = []int32{
0, // 0: group.GroupMemberReply.members:type_name -> group.PassportInfoSimpleCard
@@ -678,6 +677,7 @@ func file_module_social_group_proto_member_proto_init() {
if File_module_social_group_proto_member_proto != nil {
return
}
file_module_social_group_proto_const_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{