mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -05:00
format backend.proto with standard Google style
This commit is contained in:
parent
c3b1266f47
commit
e0c3949ef9
1 changed files with 641 additions and 644 deletions
|
|
@ -140,7 +140,8 @@ service BackendService {
|
||||||
|
|
||||||
// deck config
|
// deck config
|
||||||
|
|
||||||
rpc AddOrUpdateDeckConfigLegacy (AddOrUpdateDeckConfigLegacyIn) returns (DeckConfigID);
|
rpc AddOrUpdateDeckConfigLegacy(AddOrUpdateDeckConfigLegacyIn)
|
||||||
|
returns (DeckConfigID);
|
||||||
rpc AllDeckConfigLegacy(Empty) returns (Json);
|
rpc AllDeckConfigLegacy(Empty) returns (Json);
|
||||||
rpc GetDeckConfigLegacy(DeckConfigID) returns (Json);
|
rpc GetDeckConfigLegacy(DeckConfigID) returns (Json);
|
||||||
rpc NewDeckConfigLegacy(Empty) returns (Json);
|
rpc NewDeckConfigLegacy(Empty) returns (Json);
|
||||||
|
|
@ -552,11 +553,9 @@ message DatabaseCheckProgress {
|
||||||
uint32 stage_current = 3;
|
uint32 stage_current = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Messages
|
// Messages
|
||||||
///////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
message SchedTimingTodayOut {
|
message SchedTimingTodayOut {
|
||||||
uint32 days_elapsed = 1;
|
uint32 days_elapsed = 1;
|
||||||
int64 next_day_at = 2;
|
int64 next_day_at = 2;
|
||||||
|
|
@ -716,7 +715,6 @@ message SearchCardsIn {
|
||||||
|
|
||||||
message SearchCardsOut {
|
message SearchCardsOut {
|
||||||
repeated int64 card_ids = 1;
|
repeated int64 card_ids = 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message SortOrder {
|
message SortOrder {
|
||||||
|
|
@ -827,7 +825,6 @@ message NoteTypeUseCounts {
|
||||||
message NoteTypeNameID {
|
message NoteTypeNameID {
|
||||||
int64 id = 1;
|
int64 id = 1;
|
||||||
string name = 2;
|
string name = 2;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message NoteTypeNameIDUseCount {
|
message NoteTypeNameIDUseCount {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue