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 feed
import (
protobuf "bsm/full/protobuf"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
@@ -25,13 +24,13 @@ var File_module_social_feed_proto_setting_proto protoreflect.FileDescriptor
const file_module_social_feed_proto_setting_proto_rawDesc = "" +
"\n" +
"&module/social/feed/proto/setting.proto\x12\x04feed\x1a\x15protobuf/blocks.proto2[\n" +
"&module/social/feed/proto/setting.proto\x12\x04feed\x1a$module/social/feed/proto/const.proto2[\n" +
"\aSetting\x12&\n" +
"\x04Info\x12\r.blocks.Empty\x1a\r.blocks.Empty\"\x00\x12(\n" +
"\x06Rights\x12\r.blocks.Empty\x1a\r.blocks.Empty\"\x00B%Z#bsm/full/module/social/feed/pb;feedb\x06proto3"
var file_module_social_feed_proto_setting_proto_goTypes = []any{
(*protobuf.Empty)(nil), // 0: blocks.Empty
(*Empty)(nil), // 0: blocks.Empty
}
var file_module_social_feed_proto_setting_proto_depIdxs = []int32{
0, // 0: feed.Setting.Info:input_type -> blocks.Empty
@@ -50,6 +49,7 @@ func file_module_social_feed_proto_setting_proto_init() {
if File_module_social_feed_proto_setting_proto != nil {
return
}
file_module_social_feed_proto_const_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{