修复gRPC协议文件的一些错误 (#743)

* 修复一些协议文件错误

* 删除上次提交添加的无效注释

* 修复类型包名错误

* 修复Campus服务返回类型
This commit is contained in:
ywmoyue 2023-07-17 07:33:25 +08:00 committed by GitHub
parent f5263d0457
commit 563dd3f723
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 18 additions and 14 deletions

View File

@ -2,6 +2,8 @@ syntax = "proto3";
package bilibili.app.distribution.v1;
import "google/protobuf/any.proto";
// APP配置
service Distribution {
//

View File

@ -10,7 +10,7 @@ import "bilibili/app/dynamic/v2/dynamic.proto";
service Campus {
//
rpc WaterFlowRcmd (WaterFlowRcmdReq) returns (WaterFlowRcmdReply);
rpc WaterFlowRcmd (WaterFlowRcmdReq) returns (WaterFlowRcmdResp);
}
//

View File

@ -780,7 +780,7 @@ message CampusHomePagesReq {
//
double lng = 4;
//
PlayerArgs player_args = 5;
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 5;
//
int32 page_type = 6;
}

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package bilibili.app.interfaces.v1;
package bilibili.app.interface.v1;
import "bilibili/app/archive/middleware/v1/preload.proto";

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package bilibili.app.interfaces.v1;
package bilibili.app.interface.v1;
//
service Media {

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package bilibili.app.interfaces.v1;
package bilibili.app.interface.v1;
//
service Search {

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package bilibili.app.interfaces.v1;
package bilibili.app.interface.v1;
import "bilibili/app/archive/middleware/v1/preload.proto";
import "bilibili/app/archive/v1/archive.proto";

View File

@ -287,7 +287,7 @@ message DetailItem {
//
string history_tag = 13;
//
bilibili.app.interfaces.v1.DeviceType device_type = 14;
bilibili.app.interface.v1.DeviceType device_type = 14;
//
FavFolder ugc_season_info = 15;
}

View File

@ -45,7 +45,7 @@ message Layer {
//
bool visible = 2;
//
LayerGeneralSpec general_spec = 3;
bilibili.dagw.component.avatar.common.LayerGeneralSpec general_spec = 3;
//
LayerConfig layer_config = 4;
//
@ -61,7 +61,7 @@ message LayerConfig {
//
bool allow_over_paint = 3;
//
MaskProperty layer_mask = 4;
bilibili.dagw.component.avatar.common.MaskProperty layer_mask = 4;
}
//
@ -71,7 +71,7 @@ message LayerGroup {
//
repeated Layer layers = 2;
//
MaskProperty group_mask = 3;
bilibili.dagw.component.avatar.common.MaskProperty group_mask = 3;
//
bool is_critical_group = 4;
}
@ -96,17 +96,17 @@ message LayerTagConfig {
//
message ResAnimation {
//
ResourceSource webp_src = 1;
bilibili.dagw.component.avatar.common.ResourceSource webp_src = 1;
}
//
message ResImage {
//
ResourceSource image_src = 1;
bilibili.dagw.component.avatar.common.ResourceSource image_src = 1;
}
//
message ResNativeDraw {
//
ResourceSource draw_src = 1;
bilibili.dagw.component.avatar.common.ResourceSource draw_src = 1;
}

View File

@ -2,6 +2,8 @@ syntax = "proto3";
package bilibili.dagw.component.avatar.v1.plugin;
import "bilibili/dagw/component/avatar/common/common.proto";
//
message CommentDoubleClickConfig {
//
@ -55,7 +57,7 @@ message LiveAnimeConfig {
//
message LiveAnimeItem {
//
ColorConfig color = 1;
bilibili.dagw.component.avatar.common.ColorConfig color = 1;
//
double start_ratio = 2;
//