Use spaces in .proto file indents

This commit is contained in:
Tulir Asokan 2023-07-01 12:52:53 +03:00
parent 7675bea955
commit 8cd7da3f28
4 changed files with 13 additions and 13 deletions

View file

@ -8,7 +8,7 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{yaml,yml,sql}]
[*.{yaml,yml,sql,proto}]
indent_style = space
[.gitlab-ci.yml]

View file

@ -116,8 +116,8 @@ message IsFromMe {
enum MsgStatusCode {
UNKNOWN_STATUS = 0;
SENT = 1;
SENDING = 5;
READ = 11;
SENDING = 5;
READ = 11;
}
message MessageStatus {
@ -130,7 +130,7 @@ message MessageStatus {
// RCS
READ|SEEN = 11;
*/
MsgStatusCode code = 2;
MsgStatusCode code = 2;
string errMsg = 4;
string msgStatus = 5;
}

View file

@ -52,13 +52,13 @@ message AuthMessage {
}
message ReceiveMessagesRequest {
AuthMessage auth = 1;
AuthMessage auth = 1;
message UnknownEmptyObject1 {}
message UnknownEmptyObject2 {
UnknownEmptyObject1 unknown = 2;
}
optional UnknownEmptyObject2 unknown = 4;
message UnknownEmptyObject1 {}
message UnknownEmptyObject2 {
UnknownEmptyObject1 unknown = 2;
}
optional UnknownEmptyObject2 unknown = 4;
}
message BaseData {

View file

@ -25,14 +25,14 @@ message ECDSAKeys {
}
message PairDeviceData {
messages.Device mobile = 1;
messages.Device mobile = 1;
ECDSAKeys ecdsaKeys = 6;
WebAuthKey webAuthKeyData = 2;
messages.Device browser = 3;
}
message UnpairDeviceData {
messages.Device browser = 1;
messages.Device browser = 1;
}
message WebAuthKey {
@ -44,7 +44,7 @@ message Container {
PhoneRelayBody PhoneRelay = 1;
BrowserDetails browserDetails = 3;
PairDeviceData pairDeviceData = 4;
UnpairDeviceData unpairDeviceData = 5;
UnpairDeviceData unpairDeviceData = 5;
}
message UrlData {