Compare commits

..

11 Commits

Author SHA1 Message Date
8ed31deb14 forgot map_id 2024-07-18 15:11:29 -07:00
ea4d48625d \#[serde(rename_all_fields)] can only be used on enums 2024-07-17 16:25:34 -07:00
41f9382b83 you stupid 2024-07-17 16:23:25 -07:00
5a26c80b2b syntax 2024-07-17 16:21:24 -07:00
dbec402e18 four spaces
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-16 13:24:05 -07:00
423ef695ef tab
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-16 13:22:50 -07:00
77270886fa g
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-16 13:21:54 -07:00
ead9b4f688 tab
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-16 13:20:56 -07:00
5dfbc67886 we out here doing codegen
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-16 13:20:23 -07:00
067aed97f4 try again
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-16 13:01:05 -07:00
871d9c3cd5 need serde rename fields or else everything is wrong
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-16 12:58:07 -07:00
3 changed files with 2 additions and 36 deletions

View File

@ -1,35 +0,0 @@
syntax = "proto3";
option go_package = "git.itzana.me/strafesnet/go-grpc/auth";
package auth;
service AuthService {
rpc GetSessionUser(IdMessage) returns (SessionUserResponse);
rpc GetGroupRole(IdMessage) returns (RoleReponse);
rpc ValidateSession(IdMessage) returns (ValidateResponse);
}
message IdMessage {
string SessionID = 1;
}
message SessionUserResponse {
uint64 UserID = 1;
string Username = 2;
string AvatarURL = 3;
}
message RoleReponse {
repeated RoleItem Roles = 1;
}
message RoleItem {
string ID = 1;
string DisplayName = 2;
int32 Rank = 3;
}
message ValidateResponse {
bool Valid = 1;
}

View File

@ -38,6 +38,7 @@ message MapRequest {
}
message MapFilter {
int64 ID = 1;
optional string DisplayName = 2;
optional string Creator = 3;
optional int32 GameID = 4;

View File

@ -27,7 +27,7 @@ message TransactionCreate {
message TransactionUpdate {
string ID = 1;
optional int64 Value = 2;
optional int32 StateID = 3;
optional int64 StateID = 3;
optional google.protobuf.Struct Data = 4;
}