Skip to content

Commit 2a7acd9

Browse files
committed
Update buf.yaml to exclude specific lint rules and refactor field names in entities.proto for consistency
1 parent 2caac8c commit 2a7acd9

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

buf.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ version: v2
33
lint:
44
use:
55
- STANDARD
6+
except:
7+
- ENUM_VALUE_PREFIX
8+
- ENUM_ZERO_VALUE_SUFFIX
9+
- ENUM_NO_ALLOW_ALIAS
610
breaking:
711
use:
812
- FILE

tcnapi/exile/gate/v2/entities.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ message AgentEvent {
165165
int64 peer_call_id = 20;
166166
CallType peer_call_type = 21;
167167
map<string, int64> skills = 22;
168-
map<string, int64> allSkills = 23;
169-
int64 last_sip_code = 24;
170-
string last_sip_message = 25;
168+
map<string, int64> all_skills = 23;
169+
int64 last_sip_code = 25;
170+
string last_sip_message = 26;
171171
}
172172

173173
message CallerEvent {
@@ -190,7 +190,7 @@ message CallerEvent {
190190
string config_folder = 17;
191191
string counter = 18;
192192
map<string, bool> skills = 19;
193-
map<string, bool> allSkills = 20;
193+
map<string, bool> all_skills = 20;
194194
}
195195

196196
enum CallerState {

0 commit comments

Comments
 (0)