This commit is contained in:
2026-07-28 20:38:03 +07:00
parent f6934e9d5b
commit 20662dc9da
20 changed files with 729 additions and 233 deletions
+12 -10
View File
@@ -419,9 +419,9 @@ service EveningDetectiveServer {
};
}
rpc GetTeamActions(GetTeamActionsReq) returns (GetTeamActionsRsp) {
rpc GetTeamStory(GetTeamStoryReq) returns (GetTeamStoryRsp) {
option (google.api.http) = {
get: "/api/teams/{id}/actions"
get: "/api/teams/{id}/story"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
security: {
@@ -749,10 +749,12 @@ message Game {
}
message Team {
int32 id = 1;
string name = 2;
string status = 3;
string password = 4;
int32 id = 1;
string name = 2;
string status = 3;
string password = 4;
int32 actions_count = 5;
repeated Application applications = 6;
}
message GetGameReq {
@@ -819,14 +821,14 @@ message GiveTeamApplicationsRsp {
string error = 1;
}
message GetTeamActionsReq {
message GetTeamStoryReq {
int64 id = 1;
string password = 2;
}
message GetTeamActionsRsp {
string error = 1;
repeated Place places = 2;
message GetTeamStoryRsp {
string error = 1;
Story story = 2;
}
message AddTeamActionReq {