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"
|
||||
@@ -364,7 +363,7 @@ var File_module_base_cloud_proto_share_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_base_cloud_proto_share_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"#module/base/cloud/proto/share.proto\x12\x05cloud\x1a\x15protobuf/blocks.proto\"\x8f\x02\n" +
|
||||
"#module/base/cloud/proto/share.proto\x12\x05cloud\x1a#module/base/cloud/proto/const.proto\"\x8f\x02\n" +
|
||||
"\x12CreateShareRequest\x12\x19\n" +
|
||||
"\bcloud_id\x18\x01 \x01(\x04R\acloudId\x12%\n" +
|
||||
"\x0ecloud_identity\x18\x02 \x01(\tR\rcloudIdentity\x12\x1d\n" +
|
||||
@@ -431,9 +430,9 @@ var file_module_base_cloud_proto_share_proto_goTypes = []any{
|
||||
(*ListSharesResponse)(nil), // 1: cloud.ListSharesResponse
|
||||
(*ValidateSharePasswordRequest)(nil), // 2: cloud.ValidateSharePasswordRequest
|
||||
(*CloudShareItem)(nil), // 3: cloud.CloudShareItem
|
||||
(*protobuf.IdentRequest)(nil), // 4: blocks.IdentRequest
|
||||
(*protobuf.FetchRequest)(nil), // 5: blocks.FetchRequest
|
||||
(*protobuf.StatusReply)(nil), // 6: blocks.StatusReply
|
||||
(*IdentRequest)(nil), // 4: blocks.IdentRequest
|
||||
(*FetchRequest)(nil), // 5: blocks.FetchRequest
|
||||
(*StatusReply)(nil), // 6: blocks.StatusReply
|
||||
}
|
||||
var file_module_base_cloud_proto_share_proto_depIdxs = []int32{
|
||||
3, // 0: cloud.ListSharesResponse.shares:type_name -> cloud.CloudShareItem
|
||||
@@ -459,6 +458,7 @@ func file_module_base_cloud_proto_share_proto_init() {
|
||||
if File_module_base_cloud_proto_share_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