Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: manage grpc apis with csv and automatic proto genenration #1054

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions grpc_api/bilibili/account/fission/v1.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
// MVer: [email protected](8150400)
// Helper: mikufans-bapis-decompiler/0.2.2-master-31a81e4-RELEASE built at 2024-09-27T22:12:19.791238800+08:00

syntax = "proto3";

package bilibili.account.fission.v1;

//
service Fission {
//
rpc Entrance (EntranceReq) returns (EntranceReply);
//
rpc Privacy (PrivacyReq) returns (PrivacyReply);
//
rpc Window (WindowReq) returns (WindowReply);
}

//
message AnimateIcon {
//
string icon = 1;
//
string json = 2;
}

//
message EntranceReply {
//
string icon = 1;
//
string name = 2;
//
string url = 3;
//
AnimateIcon animate_icon = 4;
}

//
message EntranceReq {
}

//
message PrivacyReply {
//
string message = 1;
}

//
message PrivacyReq {
//
string activity_uid = 1;
}

//
message WindowReply {
//
int32 type = 1;
//
string url = 2;
//
string report_data = 3;
}

//
message WindowReq {
}

25 changes: 25 additions & 0 deletions grpc_api/bilibili/account/interfaces/v1.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// MVer: [email protected](8150400)
// Helper: mikufans-bapis-decompiler/0.2.2-master-31a81e4-RELEASE built at 2024-09-27T22:12:19.791238800+08:00

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;
}

39 changes: 39 additions & 0 deletions grpc_api/bilibili/account/service/v1.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// MVer: [email protected](8150400)
// Helper: mikufans-bapis-decompiler/0.2.2-master-31a81e4-RELEASE built at 2024-09-27T22:12:19.791238800+08:00

syntax = "proto3";

package bilibili.account.service.v1;

//
message Color {
//
string color_day = 1;
//
string color_night = 2;
}

//
message ColorsInfo {
//
repeated int64 color_ids = 1;
//
repeated Color color = 2;
}

//
message NameRender {
//
RenderSchemeEnum render_scheme = 1;
//
ColorsInfo colors_info = 2;
}

//
enum RenderSchemeEnum {
//
Default = 0;
//
Colorful = 1;
}

Loading