format backend.proto with standard Google style

This commit is contained in:
Damien Elmes 2021-01-09 15:50:24 +10:00
parent c3b1266f47
commit e0c3949ef9

View file

@ -140,7 +140,8 @@ service BackendService {
// deck config
rpc AddOrUpdateDeckConfigLegacy (AddOrUpdateDeckConfigLegacyIn) returns (DeckConfigID);
rpc AddOrUpdateDeckConfigLegacy(AddOrUpdateDeckConfigLegacyIn)
returns (DeckConfigID);
rpc AllDeckConfigLegacy(Empty) returns (Json);
rpc GetDeckConfigLegacy(DeckConfigID) returns (Json);
rpc NewDeckConfigLegacy(Empty) returns (Json);
@ -552,11 +553,9 @@ message DatabaseCheckProgress {
uint32 stage_current = 3;
}
// Messages
///////////////////////////////////////////////////////////
message SchedTimingTodayOut {
uint32 days_elapsed = 1;
int64 next_day_at = 2;
@ -716,7 +715,6 @@ message SearchCardsIn {
message SearchCardsOut {
repeated int64 card_ids = 1;
}
message SortOrder {
@ -827,7 +825,6 @@ message NoteTypeUseCounts {
message NoteTypeNameID {
int64 id = 1;
string name = 2;
}
message NoteTypeNameIDUseCount {