refactor: localize protobuf definitions
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
package cloud
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -363,7 +362,7 @@ var File_module_base_cloud_proto_bookmark_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_base_cloud_proto_bookmark_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"&module/base/cloud/proto/bookmark.proto\x12\x05cloud\x1a\x15protobuf/blocks.proto\"\x86\x02\n" +
|
||||
"&module/base/cloud/proto/bookmark.proto\x12\x05cloud\x1a#module/base/cloud/proto/const.proto\"\x86\x02\n" +
|
||||
"\x15CreateBookmarkRequest\x12\x19\n" +
|
||||
"\bcloud_id\x18\x01 \x01(\x04R\acloudId\x12%\n" +
|
||||
"\x0ecloud_identity\x18\x02 \x01(\tR\rcloudIdentity\x12\x14\n" +
|
||||
@@ -423,9 +422,9 @@ var file_module_base_cloud_proto_bookmark_proto_goTypes = []any{
|
||||
(*ListBookmarksResponse)(nil), // 1: cloud.ListBookmarksResponse
|
||||
(*ImportBookmarksRequest)(nil), // 2: cloud.ImportBookmarksRequest
|
||||
(*CloudBookmarkItem)(nil), // 3: cloud.CloudBookmarkItem
|
||||
(*protobuf.IDRequest)(nil), // 4: blocks.IDRequest
|
||||
(*protobuf.FetchRequest)(nil), // 5: blocks.FetchRequest
|
||||
(*protobuf.StatusReply)(nil), // 6: blocks.StatusReply
|
||||
(*IDRequest)(nil), // 4: blocks.IDRequest
|
||||
(*FetchRequest)(nil), // 5: blocks.FetchRequest
|
||||
(*StatusReply)(nil), // 6: blocks.StatusReply
|
||||
}
|
||||
var file_module_base_cloud_proto_bookmark_proto_depIdxs = []int32{
|
||||
3, // 0: cloud.ListBookmarksResponse.bookmarks:type_name -> cloud.CloudBookmarkItem
|
||||
@@ -453,6 +452,7 @@ func file_module_base_cloud_proto_bookmark_proto_init() {
|
||||
if File_module_base_cloud_proto_bookmark_proto != nil {
|
||||
return
|
||||
}
|
||||
file_module_base_cloud_proto_const_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
||||
Reference in New Issue
Block a user