refactor: add unified all service gateway

This commit is contained in:
2026-08-10 10:03:46 +08:00
parent 5ea45a76fe
commit f994b2de9c
143 changed files with 2853 additions and 2129 deletions

View File

@@ -650,22 +650,22 @@ const file_module_base_cloud_proto_album_proto_rawDesc = "" +
"created_at\x18\x0e \x01(\tR\tcreatedAt\x12\x1d\n" +
"\n" +
"updated_at\x18\x0f \x01(\tR\tupdatedAt\x12+\n" +
"\x05album\x18\x10 \x01(\v2\x15.cloud.CloudAlbumItemR\x05album2\xd9\x05\n" +
"\x05Album\x12=\n" +
"\vCreateAlbum\x12\x19.cloud.CreateAlbumRequest\x1a\x13.blocks.StatusReply\x127\n" +
"\bGetAlbum\x12\x14.blocks.IdentRequest\x1a\x15.cloud.CloudAlbumItem\x129\n" +
"\vUpdateAlbum\x12\x15.cloud.CloudAlbumItem\x1a\x13.blocks.StatusReply\x128\n" +
"\vDeleteAlbum\x12\x14.blocks.IdentRequest\x1a\x13.blocks.StatusReply\x12=\n" +
"\x05album\x18\x10 \x01(\v2\x15.cloud.CloudAlbumItemR\x05album2\xf3\x06\n" +
"\x05Album\x12H\n" +
"\vCreateAlbum\x12\x19.cloud.CreateAlbumRequest\x1a\x1e.base_cloud_blocks.StatusReply\x12B\n" +
"\bGetAlbum\x12\x1f.base_cloud_blocks.IdentRequest\x1a\x15.cloud.CloudAlbumItem\x12D\n" +
"\vUpdateAlbum\x12\x15.cloud.CloudAlbumItem\x1a\x1e.base_cloud_blocks.StatusReply\x12N\n" +
"\vDeleteAlbum\x12\x1f.base_cloud_blocks.IdentRequest\x1a\x1e.base_cloud_blocks.StatusReply\x12H\n" +
"\n" +
"ListAlbums\x12\x14.blocks.FetchRequest\x1a\x19.cloud.ListAlbumsResponse\x12A\n" +
"\rSetCoverPhoto\x12\x1b.cloud.SetCoverPhotoRequest\x1a\x13.blocks.StatusReply\x129\n" +
"\vUploadPhoto\x12\x15.cloud.CloudPhotoItem\x1a\x13.blocks.StatusReply\x127\n" +
"\bGetPhoto\x12\x14.blocks.IdentRequest\x1a\x15.cloud.CloudPhotoItem\x129\n" +
"\vUpdatePhoto\x12\x15.cloud.CloudPhotoItem\x1a\x13.blocks.StatusReply\x128\n" +
"\vDeletePhoto\x12\x14.blocks.IdentRequest\x1a\x13.blocks.StatusReply\x12=\n" +
"ListAlbums\x12\x1f.base_cloud_blocks.FetchRequest\x1a\x19.cloud.ListAlbumsResponse\x12L\n" +
"\rSetCoverPhoto\x12\x1b.cloud.SetCoverPhotoRequest\x1a\x1e.base_cloud_blocks.StatusReply\x12D\n" +
"\vUploadPhoto\x12\x15.cloud.CloudPhotoItem\x1a\x1e.base_cloud_blocks.StatusReply\x12B\n" +
"\bGetPhoto\x12\x1f.base_cloud_blocks.IdentRequest\x1a\x15.cloud.CloudPhotoItem\x12D\n" +
"\vUpdatePhoto\x12\x15.cloud.CloudPhotoItem\x1a\x1e.base_cloud_blocks.StatusReply\x12N\n" +
"\vDeletePhoto\x12\x1f.base_cloud_blocks.IdentRequest\x1a\x1e.base_cloud_blocks.StatusReply\x12H\n" +
"\n" +
"ListPhotos\x12\x14.blocks.FetchRequest\x1a\x19.cloud.ListPhotosResponse\x129\n" +
"\tMovePhoto\x12\x17.cloud.MovePhotoRequest\x1a\x13.blocks.StatusReplyB%Z#bsm/full/module/base/cloud/pb;cloudb\x06proto3"
"ListPhotos\x12\x1f.base_cloud_blocks.FetchRequest\x1a\x19.cloud.ListPhotosResponse\x12D\n" +
"\tMovePhoto\x12\x17.cloud.MovePhotoRequest\x1a\x1e.base_cloud_blocks.StatusReplyB%Z#bsm/full/module/base/cloud/pb;cloudb\x06proto3"
var (
file_module_base_cloud_proto_album_proto_rawDescOnce sync.Once
@@ -688,9 +688,9 @@ var file_module_base_cloud_proto_album_proto_goTypes = []any{
(*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
(*IdentRequest)(nil), // 7: base_cloud_blocks.IdentRequest
(*FetchRequest)(nil), // 8: base_cloud_blocks.FetchRequest
(*StatusReply)(nil), // 9: base_cloud_blocks.StatusReply
}
var file_module_base_cloud_proto_album_proto_depIdxs = []int32{
3, // 0: cloud.ListAlbumsResponse.albums:type_name -> cloud.CloudAlbumItem
@@ -698,29 +698,29 @@ var file_module_base_cloud_proto_album_proto_depIdxs = []int32{
6, // 2: cloud.ListPhotosResponse.photos:type_name -> cloud.CloudPhotoItem
3, // 3: cloud.CloudPhotoItem.album:type_name -> cloud.CloudAlbumItem
0, // 4: cloud.Album.CreateAlbum:input_type -> cloud.CreateAlbumRequest
7, // 5: cloud.Album.GetAlbum:input_type -> blocks.IdentRequest
7, // 5: cloud.Album.GetAlbum:input_type -> base_cloud_blocks.IdentRequest
3, // 6: cloud.Album.UpdateAlbum:input_type -> cloud.CloudAlbumItem
7, // 7: cloud.Album.DeleteAlbum:input_type -> blocks.IdentRequest
8, // 8: cloud.Album.ListAlbums:input_type -> blocks.FetchRequest
7, // 7: cloud.Album.DeleteAlbum:input_type -> base_cloud_blocks.IdentRequest
8, // 8: cloud.Album.ListAlbums:input_type -> base_cloud_blocks.FetchRequest
2, // 9: cloud.Album.SetCoverPhoto:input_type -> cloud.SetCoverPhotoRequest
6, // 10: cloud.Album.UploadPhoto:input_type -> cloud.CloudPhotoItem
7, // 11: cloud.Album.GetPhoto:input_type -> blocks.IdentRequest
7, // 11: cloud.Album.GetPhoto:input_type -> base_cloud_blocks.IdentRequest
6, // 12: cloud.Album.UpdatePhoto:input_type -> cloud.CloudPhotoItem
7, // 13: cloud.Album.DeletePhoto:input_type -> blocks.IdentRequest
8, // 14: cloud.Album.ListPhotos:input_type -> blocks.FetchRequest
7, // 13: cloud.Album.DeletePhoto:input_type -> base_cloud_blocks.IdentRequest
8, // 14: cloud.Album.ListPhotos:input_type -> base_cloud_blocks.FetchRequest
5, // 15: cloud.Album.MovePhoto:input_type -> cloud.MovePhotoRequest
9, // 16: cloud.Album.CreateAlbum:output_type -> blocks.StatusReply
9, // 16: cloud.Album.CreateAlbum:output_type -> base_cloud_blocks.StatusReply
3, // 17: cloud.Album.GetAlbum:output_type -> cloud.CloudAlbumItem
9, // 18: cloud.Album.UpdateAlbum:output_type -> blocks.StatusReply
9, // 19: cloud.Album.DeleteAlbum:output_type -> blocks.StatusReply
9, // 18: cloud.Album.UpdateAlbum:output_type -> base_cloud_blocks.StatusReply
9, // 19: cloud.Album.DeleteAlbum:output_type -> base_cloud_blocks.StatusReply
1, // 20: cloud.Album.ListAlbums:output_type -> cloud.ListAlbumsResponse
9, // 21: cloud.Album.SetCoverPhoto:output_type -> blocks.StatusReply
9, // 22: cloud.Album.UploadPhoto:output_type -> blocks.StatusReply
9, // 21: cloud.Album.SetCoverPhoto:output_type -> base_cloud_blocks.StatusReply
9, // 22: cloud.Album.UploadPhoto:output_type -> base_cloud_blocks.StatusReply
6, // 23: cloud.Album.GetPhoto:output_type -> cloud.CloudPhotoItem
9, // 24: cloud.Album.UpdatePhoto:output_type -> blocks.StatusReply
9, // 25: cloud.Album.DeletePhoto:output_type -> blocks.StatusReply
9, // 24: cloud.Album.UpdatePhoto:output_type -> base_cloud_blocks.StatusReply
9, // 25: cloud.Album.DeletePhoto:output_type -> base_cloud_blocks.StatusReply
4, // 26: cloud.Album.ListPhotos:output_type -> cloud.ListPhotosResponse
9, // 27: cloud.Album.MovePhoto:output_type -> blocks.StatusReply
9, // 27: cloud.Album.MovePhoto:output_type -> base_cloud_blocks.StatusReply
16, // [16:28] is the sub-list for method output_type
4, // [4:16] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name