validator: submission and mapfix release endpoints
This commit is contained in:
@@ -2,6 +2,8 @@ syntax = "proto3";
|
||||
|
||||
option go_package = "git.itzana.me/strafesnet/go-grpc/validator";
|
||||
|
||||
import "maps_extended.proto";
|
||||
|
||||
package validator;
|
||||
|
||||
service ValidatorMapfixService {
|
||||
@@ -14,6 +16,7 @@ service ValidatorMapfixService {
|
||||
rpc SetStatusValidated(MapfixID) returns (NullResponse);
|
||||
rpc SetStatusFailed(MapfixID) returns (NullResponse);
|
||||
rpc SetStatusUploaded(MapfixID) returns (NullResponse);
|
||||
rpc SetStatusReleased(MapfixReleaseRequest) returns (NullResponse);
|
||||
}
|
||||
|
||||
service ValidatorSubmissionService {
|
||||
@@ -26,6 +29,7 @@ service ValidatorSubmissionService {
|
||||
rpc SetStatusValidated(SubmissionID) returns (NullResponse);
|
||||
rpc SetStatusFailed(SubmissionID) returns (NullResponse);
|
||||
rpc SetStatusUploaded(StatusUploadedRequest) returns (NullResponse);
|
||||
rpc SetStatusReleased(maps_extended.MapCreate) returns (NullResponse);
|
||||
}
|
||||
|
||||
message MapfixID { uint64 ID = 1; }
|
||||
@@ -89,6 +93,12 @@ message StatusUploadedRequest {
|
||||
uint64 UploadedAssetID = 2;
|
||||
}
|
||||
|
||||
message MapfixReleaseRequest {
|
||||
uint64 ID = 1;
|
||||
uint64 AssetVersion = 2;
|
||||
uint32 Modes = 3;
|
||||
}
|
||||
|
||||
message NullResponse {}
|
||||
|
||||
// Operations
|
||||
|
||||
Reference in New Issue
Block a user