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 cloud
import (
protobuf "bsm/full/protobuf"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
@@ -595,7 +594,7 @@ var File_module_base_cloud_proto_album_proto protoreflect.FileDescriptor
const file_module_base_cloud_proto_album_proto_rawDesc = "" +
"\n" +
"#module/base/cloud/proto/album.proto\x12\x05cloud\x1a\x15protobuf/blocks.proto\"\xcc\x01\n" +
"#module/base/cloud/proto/album.proto\x12\x05cloud\x1a#module/base/cloud/proto/const.proto\"\xcc\x01\n" +
"\x12CreateAlbumRequest\x12\x19\n" +
"\bcloud_id\x18\x01 \x01(\x04R\acloudId\x12%\n" +
"\x0ecloud_identity\x18\x02 \x01(\tR\rcloudIdentity\x12\x12\n" +
@@ -682,16 +681,16 @@ func file_module_base_cloud_proto_album_proto_rawDescGZIP() []byte {
var file_module_base_cloud_proto_album_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_module_base_cloud_proto_album_proto_goTypes = []any{
(*CreateAlbumRequest)(nil), // 0: cloud.CreateAlbumRequest
(*ListAlbumsResponse)(nil), // 1: cloud.ListAlbumsResponse
(*SetCoverPhotoRequest)(nil), // 2: cloud.SetCoverPhotoRequest
(*CloudAlbumItem)(nil), // 3: cloud.CloudAlbumItem
(*ListPhotosResponse)(nil), // 4: cloud.ListPhotosResponse
(*MovePhotoRequest)(nil), // 5: cloud.MovePhotoRequest
(*CloudPhotoItem)(nil), // 6: cloud.CloudPhotoItem
(*protobuf.IdentRequest)(nil), // 7: blocks.IdentRequest
(*protobuf.FetchRequest)(nil), // 8: blocks.FetchRequest
(*protobuf.StatusReply)(nil), // 9: blocks.StatusReply
(*CreateAlbumRequest)(nil), // 0: cloud.CreateAlbumRequest
(*ListAlbumsResponse)(nil), // 1: cloud.ListAlbumsResponse
(*SetCoverPhotoRequest)(nil), // 2: cloud.SetCoverPhotoRequest
(*CloudAlbumItem)(nil), // 3: cloud.CloudAlbumItem
(*ListPhotosResponse)(nil), // 4: cloud.ListPhotosResponse
(*MovePhotoRequest)(nil), // 5: cloud.MovePhotoRequest
(*CloudPhotoItem)(nil), // 6: cloud.CloudPhotoItem
(*IdentRequest)(nil), // 7: blocks.IdentRequest
(*FetchRequest)(nil), // 8: blocks.FetchRequest
(*StatusReply)(nil), // 9: blocks.StatusReply
}
var file_module_base_cloud_proto_album_proto_depIdxs = []int32{
3, // 0: cloud.ListAlbumsResponse.albums:type_name -> cloud.CloudAlbumItem
@@ -734,6 +733,7 @@ func file_module_base_cloud_proto_album_proto_init() {
if File_module_base_cloud_proto_album_proto != nil {
return
}
file_module_base_cloud_proto_const_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{