refactor: localize protobuf definitions
This commit is contained in:
@@ -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"
|
||||
@@ -215,7 +214,7 @@ var File_module_social_feed_proto_post_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_social_feed_proto_post_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"#module/social/feed/proto/post.proto\x12\x04feed\x1a\x15protobuf/blocks.proto\"O\n" +
|
||||
"#module/social/feed/proto/post.proto\x12\x04feed\x1a$module/social/feed/proto/const.proto\"O\n" +
|
||||
"\x10CommentListReply\x12%\n" +
|
||||
"\x04list\x18\x01 \x03(\v2\x11.feed.CommentItemR\x04list\x12\x14\n" +
|
||||
"\x05total\x18\x02 \x01(\x03R\x05total\"\xc1\x01\n" +
|
||||
@@ -256,14 +255,14 @@ func file_module_social_feed_proto_post_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_module_social_feed_proto_post_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||
var file_module_social_feed_proto_post_proto_goTypes = []any{
|
||||
(*CommentListReply)(nil), // 0: feed.CommentListReply
|
||||
(*CommentItem)(nil), // 1: feed.CommentItem
|
||||
(*PostActionRequest)(nil), // 2: feed.PostActionRequest
|
||||
(*protobuf.FetchRequest)(nil), // 3: blocks.FetchRequest
|
||||
(*protobuf.FeedPostItem)(nil), // 4: blocks.FeedPostItem
|
||||
(*protobuf.IdentRequest)(nil), // 5: blocks.IdentRequest
|
||||
(*protobuf.FeedPostListReply)(nil), // 6: blocks.FeedPostListReply
|
||||
(*protobuf.DataStatusReply)(nil), // 7: blocks.DataStatusReply
|
||||
(*CommentListReply)(nil), // 0: feed.CommentListReply
|
||||
(*CommentItem)(nil), // 1: feed.CommentItem
|
||||
(*PostActionRequest)(nil), // 2: feed.PostActionRequest
|
||||
(*FetchRequest)(nil), // 3: blocks.FetchRequest
|
||||
(*FeedPostItem)(nil), // 4: blocks.FeedPostItem
|
||||
(*IdentRequest)(nil), // 5: blocks.IdentRequest
|
||||
(*FeedPostListReply)(nil), // 6: blocks.FeedPostListReply
|
||||
(*DataStatusReply)(nil), // 7: blocks.DataStatusReply
|
||||
}
|
||||
var file_module_social_feed_proto_post_proto_depIdxs = []int32{
|
||||
1, // 0: feed.CommentListReply.list:type_name -> feed.CommentItem
|
||||
@@ -296,6 +295,7 @@ func file_module_social_feed_proto_post_proto_init() {
|
||||
if File_module_social_feed_proto_post_proto != nil {
|
||||
return
|
||||
}
|
||||
file_module_social_feed_proto_const_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
||||
Reference in New Issue
Block a user