refactor: centralize protobuf and remove go-zero
This commit is contained in:
14
module/social/feed/pb/blocks_compat.go
Normal file
14
module/social/feed/pb/blocks_compat.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package feed
|
||||
|
||||
import blocks "bsm/full/protobuf"
|
||||
|
||||
type Empty = blocks.Empty
|
||||
type FetchRequest = blocks.FetchRequest
|
||||
type IdentRequest = blocks.IdentRequest
|
||||
type VersionRequest = blocks.VersionRequest
|
||||
type SearchRequest = blocks.SearchRequest
|
||||
type StatusReply = blocks.DataStatusReply
|
||||
type PostListReply = blocks.FeedPostListReply
|
||||
type PostItem = blocks.FeedPostItem
|
||||
type AttachItem = blocks.FeedAttachItem
|
||||
type TagItem = blocks.FeedTagItem
|
||||
Reference in New Issue
Block a user