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 relation
import (
protobuf "bsm/full/protobuf"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
@@ -25,7 +24,7 @@ var File_module_social_relation_proto_follow_proto protoreflect.FileDescriptor
const file_module_social_relation_proto_follow_proto_rawDesc = "" +
"\n" +
")module/social/relation/proto/follow.proto\x12\brelation\x1a\x15protobuf/blocks.proto2\xf6\x01\n" +
")module/social/relation/proto/follow.proto\x12\brelation\x1a(module/social/relation/proto/const.proto2\xf6\x01\n" +
"\x06Follow\x128\n" +
"\x05Doing\x12\x14.blocks.IdentRequest\x1a\x17.blocks.DataStatusReply\"\x00\x127\n" +
"\x04Undo\x12\x14.blocks.IdentRequest\x1a\x17.blocks.DataStatusReply\"\x00\x128\n" +
@@ -33,10 +32,10 @@ const file_module_social_relation_proto_follow_proto_rawDesc = "" +
"\x05Fetch\x12\x14.blocks.FetchRequest\x1a\x1e.blocks.FetchRelationItemReply\"\x00B-Z+bsm/full/module/social/relation/pb;relationb\x06proto3"
var file_module_social_relation_proto_follow_proto_goTypes = []any{
(*protobuf.IdentRequest)(nil), // 0: blocks.IdentRequest
(*protobuf.FetchRequest)(nil), // 1: blocks.FetchRequest
(*protobuf.DataStatusReply)(nil), // 2: blocks.DataStatusReply
(*protobuf.FetchRelationItemReply)(nil), // 3: blocks.FetchRelationItemReply
(*IdentRequest)(nil), // 0: blocks.IdentRequest
(*FetchRequest)(nil), // 1: blocks.FetchRequest
(*DataStatusReply)(nil), // 2: blocks.DataStatusReply
(*FetchRelationItemReply)(nil), // 3: blocks.FetchRelationItemReply
}
var file_module_social_relation_proto_follow_proto_depIdxs = []int32{
0, // 0: relation.Follow.Doing:input_type -> blocks.IdentRequest
@@ -59,6 +58,7 @@ func file_module_social_relation_proto_follow_proto_init() {
if File_module_social_relation_proto_follow_proto != nil {
return
}
file_module_social_relation_proto_const_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{