Use spaces in .proto file indents
This commit is contained in:
parent
7675bea955
commit
8cd7da3f28
4 changed files with 13 additions and 13 deletions
|
@ -8,7 +8,7 @@ charset = utf-8
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
|
||||||
[*.{yaml,yml,sql}]
|
[*.{yaml,yml,sql,proto}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
||||||
[.gitlab-ci.yml]
|
[.gitlab-ci.yml]
|
||||||
|
|
|
@ -116,8 +116,8 @@ message IsFromMe {
|
||||||
enum MsgStatusCode {
|
enum MsgStatusCode {
|
||||||
UNKNOWN_STATUS = 0;
|
UNKNOWN_STATUS = 0;
|
||||||
SENT = 1;
|
SENT = 1;
|
||||||
SENDING = 5;
|
SENDING = 5;
|
||||||
READ = 11;
|
READ = 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
message MessageStatus {
|
message MessageStatus {
|
||||||
|
@ -130,7 +130,7 @@ message MessageStatus {
|
||||||
// RCS
|
// RCS
|
||||||
READ|SEEN = 11;
|
READ|SEEN = 11;
|
||||||
*/
|
*/
|
||||||
MsgStatusCode code = 2;
|
MsgStatusCode code = 2;
|
||||||
string errMsg = 4;
|
string errMsg = 4;
|
||||||
string msgStatus = 5;
|
string msgStatus = 5;
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,13 +52,13 @@ message AuthMessage {
|
||||||
}
|
}
|
||||||
|
|
||||||
message ReceiveMessagesRequest {
|
message ReceiveMessagesRequest {
|
||||||
AuthMessage auth = 1;
|
AuthMessage auth = 1;
|
||||||
|
|
||||||
message UnknownEmptyObject1 {}
|
message UnknownEmptyObject1 {}
|
||||||
message UnknownEmptyObject2 {
|
message UnknownEmptyObject2 {
|
||||||
UnknownEmptyObject1 unknown = 2;
|
UnknownEmptyObject1 unknown = 2;
|
||||||
}
|
}
|
||||||
optional UnknownEmptyObject2 unknown = 4;
|
optional UnknownEmptyObject2 unknown = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message BaseData {
|
message BaseData {
|
||||||
|
|
|
@ -25,14 +25,14 @@ message ECDSAKeys {
|
||||||
}
|
}
|
||||||
|
|
||||||
message PairDeviceData {
|
message PairDeviceData {
|
||||||
messages.Device mobile = 1;
|
messages.Device mobile = 1;
|
||||||
ECDSAKeys ecdsaKeys = 6;
|
ECDSAKeys ecdsaKeys = 6;
|
||||||
WebAuthKey webAuthKeyData = 2;
|
WebAuthKey webAuthKeyData = 2;
|
||||||
messages.Device browser = 3;
|
messages.Device browser = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message UnpairDeviceData {
|
message UnpairDeviceData {
|
||||||
messages.Device browser = 1;
|
messages.Device browser = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message WebAuthKey {
|
message WebAuthKey {
|
||||||
|
@ -44,7 +44,7 @@ message Container {
|
||||||
PhoneRelayBody PhoneRelay = 1;
|
PhoneRelayBody PhoneRelay = 1;
|
||||||
BrowserDetails browserDetails = 3;
|
BrowserDetails browserDetails = 3;
|
||||||
PairDeviceData pairDeviceData = 4;
|
PairDeviceData pairDeviceData = 4;
|
||||||
UnpairDeviceData unpairDeviceData = 5;
|
UnpairDeviceData unpairDeviceData = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message UrlData {
|
message UrlData {
|
||||||
|
|
Loading…
Reference in a new issue