Skip to content

Commit

Permalink
feat: update grpc protos from [email protected](8060200)
Browse files Browse the repository at this point in the history
generated with helper tool v0.1.5
  • Loading branch information
cxw620 committed Jul 23, 2024
1 parent 78f595a commit 8ee3c8f
Show file tree
Hide file tree
Showing 9 changed files with 87 additions and 17 deletions.
22 changes: 22 additions & 0 deletions grpc_api/bilibili/account/interfaces/v1.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
syntax = "proto3";

package bilibili.account.interfaces.v1;

//
service AccountInterfaceV1 {
//
rpc MidByName (MidByNameReq) returns (MidByNameReply);
}

//
message MidByNameReply {
//
map<string, int64> name_map = 1;
}

//
message MidByNameReq {
//
repeated string names = 1;
}

4 changes: 4 additions & 0 deletions grpc_api/bilibili/ad/v1.proto
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,10 @@ message AdContentExtraDto {
bool enable_openapk_dialog = 51;
//
repeated LiveBookInfoDto live_booking_infos = 52;
//
int32 user_cancel_jump_type = 53;
//
string user_cancel_jump_url = 54;
}

//
Expand Down
4 changes: 4 additions & 0 deletions grpc_api/bilibili/app/dynamic/v2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1710,6 +1710,8 @@ message CreationItemAction {
string jump_url = 4;
//
int64 remain_edit_times = 5;
//
ThreePointDefaultToast confirmation_toast = 6;
}

//
Expand Down Expand Up @@ -7364,5 +7366,7 @@ message WordNode {
WordNodeStyle style = 4;
//
UnderlineStyle underline_style = 5;
//
string font_level = 7;
}

8 changes: 4 additions & 4 deletions grpc_api/bilibili/app/interfaces/v1.proto
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ message BigItem {
//
int32 can_play = 15;
//
bilibili.app.card.v1.PlayerArgs player_args = 16;
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 16;
//
bool is_fav = 17;
}
Expand Down Expand Up @@ -393,7 +393,7 @@ message CursorReq {
//
PlayerPreloadParams player_preload = 3;
//
bilibili.app.card.v1.PlayerArgs player_args = 4;
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 4;
}

//
Expand Down Expand Up @@ -1053,7 +1053,7 @@ message SearchArchiveReq {
//
int64 ps = 4;
//
bilibili.app.card.v1.PlayerArgs player_args = 5;
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 5;
}

//
Expand All @@ -1075,7 +1075,7 @@ message SearchDynamicReq {
//
int64 ps = 4;
//
bilibili.app.card.v1.PlayerArgs player_args = 5;
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 5;
}

//
Expand Down
4 changes: 4 additions & 0 deletions grpc_api/bilibili/app/viewunite/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,8 @@ enum HonorType {
HONOR_REPLY = 10;
//
HONOR_PROFESSION = 11;
//
HONOR_HOT_WORD = 12;
}

//
Expand Down Expand Up @@ -798,6 +800,8 @@ message Label {
string lottie = 7;
//
string lottie_night = 8;
//
map<string, string> report = 9;
}

//
Expand Down
26 changes: 26 additions & 0 deletions grpc_api/bilibili/app/viewunite/pugvanymodel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ message Courseware {
string desc = 5;
//
string file_url = 6;
//
string icon = 7;
}

//
Expand Down Expand Up @@ -209,6 +211,28 @@ enum LiveStatus {
LIVE_STATUS_PLAYBACK_GENERATING = 3;
}

//
message NetdiskCourseware {
//
int64 courseware_id = 1;
//
string name = 2;
//
string remark = 3;
//
string desc = 4;
//
string url = 5;
//
string icon = 6;
}

//
message NetdiskCoursewareInfo {
//
repeated NetdiskCourseware coursewares = 1;
}

//
message OperationArea {
//
Expand Down Expand Up @@ -499,6 +523,8 @@ message ViewPugvAny {
PostPurchaseInfo post_purchase_info = 12;
//
GiftInfo gift_info = 13;
//
NetdiskCoursewareInfo netdisk_courseware_info = 14;
}

//
Expand Down
4 changes: 2 additions & 2 deletions grpc_api/bilibili/dynamic/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ message LinkNode {
//
double font_size = 5;
//
int64 font_level = 6;
string font_level = 7;
}

//
Expand Down Expand Up @@ -1525,6 +1525,6 @@ message WordNode {
//
WordNodeStyle style = 5;
//
int64 font_level = 6;
string font_level = 7;
}

28 changes: 17 additions & 11 deletions grpc_api/bilibili/im/gateway/interfaces/v1.proto
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,22 @@ message AtCard {
AtBiz at_biz = 2;
}

//
message BubbleMsg {
//
int64 mid = 1;
//
string avatar = 2;
//
string nick_name = 3;
//
string content = 4;
//
MsgTabType tab_type = 5;
//
MsgFeedMsgType msg_type = 6;
}

//
message CardItem {
//
Expand Down Expand Up @@ -198,17 +214,7 @@ message GetBubbleMsgReq {
//
message GetBubbleMsgRsp {
//
int64 mid = 1;
//
string avatar = 2;
//
string nick_name = 3;
//
string content = 4;
//
MsgTabType tab_type = 5;
//
MsgFeedMsgType msg_type = 6;
BubbleMsg bubble_msg = 1;
}

//
Expand Down
4 changes: 4 additions & 0 deletions grpc_api/bilibili/polymer/app/search/v1.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2674,6 +2674,8 @@ message SearchTopGameCard {
SearchInlineData inline_live = 19;
//
CardLayout card_layout = 20;
//
ReasonStyle rec_tag = 21;
}

//
Expand Down Expand Up @@ -2766,6 +2768,8 @@ message SearchUpperCard {
Notice notice = 19;
//
bilibili.dagw.component.avatar.v1.AvatarItem avatar_info = 20;
//
string user_card_desc = 21;
}

//
Expand Down

0 comments on commit 8ee3c8f

Please sign in to comment.