Skip to content

Commit 297bf8d

Browse files
committed
Fixed case of struct.proto fields to match protobuf definition
1 parent 933e875 commit 297bf8d

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/common.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -139,49 +139,49 @@ common("struct", {
139139
* @interface IValue
140140
* @type {Object}
141141
* @property {string} [kind]
142-
* @property {0} [nullValue]
143-
* @property {number} [numberValue]
144-
* @property {string} [stringValue]
145-
* @property {boolean} [boolValue]
146-
* @property {IStruct} [structValue]
147-
* @property {IListValue} [listValue]
142+
* @property {0} [null_value]
143+
* @property {number} [number_value]
144+
* @property {string} [string_value]
145+
* @property {boolean} [bool_value]
146+
* @property {IStruct} [struct_value]
147+
* @property {IListValue} [list_value]
148148
* @memberof common
149149
*/
150150
Value: {
151151
oneofs: {
152152
kind: {
153153
oneof: [
154-
"nullValue",
155-
"numberValue",
156-
"stringValue",
157-
"boolValue",
158-
"structValue",
159-
"listValue"
154+
"null_value",
155+
"number_value",
156+
"string_value",
157+
"bool_value",
158+
"struct_value",
159+
"list_value"
160160
]
161161
}
162162
},
163163
fields: {
164-
nullValue: {
164+
null_value: {
165165
type: "NullValue",
166166
id: 1
167167
},
168-
numberValue: {
168+
number_value: {
169169
type: "double",
170170
id: 2
171171
},
172-
stringValue: {
172+
string_value: {
173173
type: "string",
174174
id: 3
175175
},
176-
boolValue: {
176+
bool_value: {
177177
type: "bool",
178178
id: 4
179179
},
180-
structValue: {
180+
struct_value: {
181181
type: "Struct",
182182
id: 5
183183
},
184-
listValue: {
184+
list_value: {
185185
type: "ListValue",
186186
id: 6
187187
}

0 commit comments

Comments
 (0)