@dcl/protocol 1.0.0-4659981125.commit-93719f9 → 1.0.0-4721150054.commit-85597a5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/about.gen.js +6 -0
- package/out-js/about.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +1 -29
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +22 -96
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +246 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js +307 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +731 -420
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +437 -392
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/realm/about.gen.d.ts +620 -0
- package/out-js/decentraland/realm/about.gen.js +857 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +1 -1
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1 -90
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +367 -0
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +548 -493
- package/out-ts/decentraland/realm/about.gen.ts +1040 -0
- package/package.json +2 -2
- package/proto/decentraland/kernel/apis/environment_api.proto +1 -1
- package/proto/decentraland/kernel/apis/restricted_actions.proto +5 -9
- package/proto/decentraland/kernel/apis/runtime.proto +32 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +47 -34
- package/proto/decentraland/realm/about.proto +73 -0
- package/public/about.proto +5 -0
|
@@ -0,0 +1,857 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AboutResponse_BffInfo = exports.AboutResponse_CommsInfo = exports.AboutResponse_LambdasInfo = exports.AboutResponse_ContentInfo = exports.AboutResponse_AboutConfiguration = exports.AboutResponse_SkyboxConfiguration = exports.AboutResponse_MinimapConfiguration = exports.AboutResponse = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.realm";
|
|
10
|
+
function createBaseAboutResponse() {
|
|
11
|
+
return {
|
|
12
|
+
healthy: false,
|
|
13
|
+
configurations: undefined,
|
|
14
|
+
content: undefined,
|
|
15
|
+
comms: undefined,
|
|
16
|
+
lambdas: undefined,
|
|
17
|
+
bff: undefined,
|
|
18
|
+
acceptingUsers: false,
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
exports.AboutResponse = {
|
|
22
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
23
|
+
if (message.healthy === true) {
|
|
24
|
+
writer.uint32(8).bool(message.healthy);
|
|
25
|
+
}
|
|
26
|
+
if (message.configurations !== undefined) {
|
|
27
|
+
exports.AboutResponse_AboutConfiguration.encode(message.configurations, writer.uint32(18).fork()).ldelim();
|
|
28
|
+
}
|
|
29
|
+
if (message.content !== undefined) {
|
|
30
|
+
exports.AboutResponse_ContentInfo.encode(message.content, writer.uint32(26).fork()).ldelim();
|
|
31
|
+
}
|
|
32
|
+
if (message.comms !== undefined) {
|
|
33
|
+
exports.AboutResponse_CommsInfo.encode(message.comms, writer.uint32(34).fork()).ldelim();
|
|
34
|
+
}
|
|
35
|
+
if (message.lambdas !== undefined) {
|
|
36
|
+
exports.AboutResponse_LambdasInfo.encode(message.lambdas, writer.uint32(42).fork()).ldelim();
|
|
37
|
+
}
|
|
38
|
+
if (message.bff !== undefined) {
|
|
39
|
+
exports.AboutResponse_BffInfo.encode(message.bff, writer.uint32(50).fork()).ldelim();
|
|
40
|
+
}
|
|
41
|
+
if (message.acceptingUsers === true) {
|
|
42
|
+
writer.uint32(56).bool(message.acceptingUsers);
|
|
43
|
+
}
|
|
44
|
+
return writer;
|
|
45
|
+
},
|
|
46
|
+
decode(input, length) {
|
|
47
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
48
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
49
|
+
const message = createBaseAboutResponse();
|
|
50
|
+
while (reader.pos < end) {
|
|
51
|
+
const tag = reader.uint32();
|
|
52
|
+
switch (tag >>> 3) {
|
|
53
|
+
case 1:
|
|
54
|
+
if (tag != 8) {
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
message.healthy = reader.bool();
|
|
58
|
+
continue;
|
|
59
|
+
case 2:
|
|
60
|
+
if (tag != 18) {
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
message.configurations = exports.AboutResponse_AboutConfiguration.decode(reader, reader.uint32());
|
|
64
|
+
continue;
|
|
65
|
+
case 3:
|
|
66
|
+
if (tag != 26) {
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
message.content = exports.AboutResponse_ContentInfo.decode(reader, reader.uint32());
|
|
70
|
+
continue;
|
|
71
|
+
case 4:
|
|
72
|
+
if (tag != 34) {
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
message.comms = exports.AboutResponse_CommsInfo.decode(reader, reader.uint32());
|
|
76
|
+
continue;
|
|
77
|
+
case 5:
|
|
78
|
+
if (tag != 42) {
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
message.lambdas = exports.AboutResponse_LambdasInfo.decode(reader, reader.uint32());
|
|
82
|
+
continue;
|
|
83
|
+
case 6:
|
|
84
|
+
if (tag != 50) {
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
message.bff = exports.AboutResponse_BffInfo.decode(reader, reader.uint32());
|
|
88
|
+
continue;
|
|
89
|
+
case 7:
|
|
90
|
+
if (tag != 56) {
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
message.acceptingUsers = reader.bool();
|
|
94
|
+
continue;
|
|
95
|
+
}
|
|
96
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
97
|
+
break;
|
|
98
|
+
}
|
|
99
|
+
reader.skipType(tag & 7);
|
|
100
|
+
}
|
|
101
|
+
return message;
|
|
102
|
+
},
|
|
103
|
+
fromJSON(object) {
|
|
104
|
+
return {
|
|
105
|
+
healthy: isSet(object.healthy) ? Boolean(object.healthy) : false,
|
|
106
|
+
configurations: isSet(object.configurations)
|
|
107
|
+
? exports.AboutResponse_AboutConfiguration.fromJSON(object.configurations)
|
|
108
|
+
: undefined,
|
|
109
|
+
content: isSet(object.content) ? exports.AboutResponse_ContentInfo.fromJSON(object.content) : undefined,
|
|
110
|
+
comms: isSet(object.comms) ? exports.AboutResponse_CommsInfo.fromJSON(object.comms) : undefined,
|
|
111
|
+
lambdas: isSet(object.lambdas) ? exports.AboutResponse_LambdasInfo.fromJSON(object.lambdas) : undefined,
|
|
112
|
+
bff: isSet(object.bff) ? exports.AboutResponse_BffInfo.fromJSON(object.bff) : undefined,
|
|
113
|
+
acceptingUsers: isSet(object.acceptingUsers) ? Boolean(object.acceptingUsers) : false,
|
|
114
|
+
};
|
|
115
|
+
},
|
|
116
|
+
toJSON(message) {
|
|
117
|
+
const obj = {};
|
|
118
|
+
message.healthy !== undefined && (obj.healthy = message.healthy);
|
|
119
|
+
message.configurations !== undefined && (obj.configurations = message.configurations
|
|
120
|
+
? exports.AboutResponse_AboutConfiguration.toJSON(message.configurations)
|
|
121
|
+
: undefined);
|
|
122
|
+
message.content !== undefined &&
|
|
123
|
+
(obj.content = message.content ? exports.AboutResponse_ContentInfo.toJSON(message.content) : undefined);
|
|
124
|
+
message.comms !== undefined &&
|
|
125
|
+
(obj.comms = message.comms ? exports.AboutResponse_CommsInfo.toJSON(message.comms) : undefined);
|
|
126
|
+
message.lambdas !== undefined &&
|
|
127
|
+
(obj.lambdas = message.lambdas ? exports.AboutResponse_LambdasInfo.toJSON(message.lambdas) : undefined);
|
|
128
|
+
message.bff !== undefined && (obj.bff = message.bff ? exports.AboutResponse_BffInfo.toJSON(message.bff) : undefined);
|
|
129
|
+
message.acceptingUsers !== undefined && (obj.acceptingUsers = message.acceptingUsers);
|
|
130
|
+
return obj;
|
|
131
|
+
},
|
|
132
|
+
create(base) {
|
|
133
|
+
return exports.AboutResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
134
|
+
},
|
|
135
|
+
fromPartial(object) {
|
|
136
|
+
var _a, _b;
|
|
137
|
+
const message = createBaseAboutResponse();
|
|
138
|
+
message.healthy = (_a = object.healthy) !== null && _a !== void 0 ? _a : false;
|
|
139
|
+
message.configurations = (object.configurations !== undefined && object.configurations !== null)
|
|
140
|
+
? exports.AboutResponse_AboutConfiguration.fromPartial(object.configurations)
|
|
141
|
+
: undefined;
|
|
142
|
+
message.content = (object.content !== undefined && object.content !== null)
|
|
143
|
+
? exports.AboutResponse_ContentInfo.fromPartial(object.content)
|
|
144
|
+
: undefined;
|
|
145
|
+
message.comms = (object.comms !== undefined && object.comms !== null)
|
|
146
|
+
? exports.AboutResponse_CommsInfo.fromPartial(object.comms)
|
|
147
|
+
: undefined;
|
|
148
|
+
message.lambdas = (object.lambdas !== undefined && object.lambdas !== null)
|
|
149
|
+
? exports.AboutResponse_LambdasInfo.fromPartial(object.lambdas)
|
|
150
|
+
: undefined;
|
|
151
|
+
message.bff = (object.bff !== undefined && object.bff !== null)
|
|
152
|
+
? exports.AboutResponse_BffInfo.fromPartial(object.bff)
|
|
153
|
+
: undefined;
|
|
154
|
+
message.acceptingUsers = (_b = object.acceptingUsers) !== null && _b !== void 0 ? _b : false;
|
|
155
|
+
return message;
|
|
156
|
+
},
|
|
157
|
+
};
|
|
158
|
+
function createBaseAboutResponse_MinimapConfiguration() {
|
|
159
|
+
return { enabled: false, dataImage: undefined, estateImage: undefined };
|
|
160
|
+
}
|
|
161
|
+
exports.AboutResponse_MinimapConfiguration = {
|
|
162
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
163
|
+
if (message.enabled === true) {
|
|
164
|
+
writer.uint32(8).bool(message.enabled);
|
|
165
|
+
}
|
|
166
|
+
if (message.dataImage !== undefined) {
|
|
167
|
+
writer.uint32(18).string(message.dataImage);
|
|
168
|
+
}
|
|
169
|
+
if (message.estateImage !== undefined) {
|
|
170
|
+
writer.uint32(26).string(message.estateImage);
|
|
171
|
+
}
|
|
172
|
+
return writer;
|
|
173
|
+
},
|
|
174
|
+
decode(input, length) {
|
|
175
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
176
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
177
|
+
const message = createBaseAboutResponse_MinimapConfiguration();
|
|
178
|
+
while (reader.pos < end) {
|
|
179
|
+
const tag = reader.uint32();
|
|
180
|
+
switch (tag >>> 3) {
|
|
181
|
+
case 1:
|
|
182
|
+
if (tag != 8) {
|
|
183
|
+
break;
|
|
184
|
+
}
|
|
185
|
+
message.enabled = reader.bool();
|
|
186
|
+
continue;
|
|
187
|
+
case 2:
|
|
188
|
+
if (tag != 18) {
|
|
189
|
+
break;
|
|
190
|
+
}
|
|
191
|
+
message.dataImage = reader.string();
|
|
192
|
+
continue;
|
|
193
|
+
case 3:
|
|
194
|
+
if (tag != 26) {
|
|
195
|
+
break;
|
|
196
|
+
}
|
|
197
|
+
message.estateImage = reader.string();
|
|
198
|
+
continue;
|
|
199
|
+
}
|
|
200
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
201
|
+
break;
|
|
202
|
+
}
|
|
203
|
+
reader.skipType(tag & 7);
|
|
204
|
+
}
|
|
205
|
+
return message;
|
|
206
|
+
},
|
|
207
|
+
fromJSON(object) {
|
|
208
|
+
return {
|
|
209
|
+
enabled: isSet(object.enabled) ? Boolean(object.enabled) : false,
|
|
210
|
+
dataImage: isSet(object.dataImage) ? String(object.dataImage) : undefined,
|
|
211
|
+
estateImage: isSet(object.estateImage) ? String(object.estateImage) : undefined,
|
|
212
|
+
};
|
|
213
|
+
},
|
|
214
|
+
toJSON(message) {
|
|
215
|
+
const obj = {};
|
|
216
|
+
message.enabled !== undefined && (obj.enabled = message.enabled);
|
|
217
|
+
message.dataImage !== undefined && (obj.dataImage = message.dataImage);
|
|
218
|
+
message.estateImage !== undefined && (obj.estateImage = message.estateImage);
|
|
219
|
+
return obj;
|
|
220
|
+
},
|
|
221
|
+
create(base) {
|
|
222
|
+
return exports.AboutResponse_MinimapConfiguration.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
223
|
+
},
|
|
224
|
+
fromPartial(object) {
|
|
225
|
+
var _a, _b, _c;
|
|
226
|
+
const message = createBaseAboutResponse_MinimapConfiguration();
|
|
227
|
+
message.enabled = (_a = object.enabled) !== null && _a !== void 0 ? _a : false;
|
|
228
|
+
message.dataImage = (_b = object.dataImage) !== null && _b !== void 0 ? _b : undefined;
|
|
229
|
+
message.estateImage = (_c = object.estateImage) !== null && _c !== void 0 ? _c : undefined;
|
|
230
|
+
return message;
|
|
231
|
+
},
|
|
232
|
+
};
|
|
233
|
+
function createBaseAboutResponse_SkyboxConfiguration() {
|
|
234
|
+
return { fixedHour: undefined };
|
|
235
|
+
}
|
|
236
|
+
exports.AboutResponse_SkyboxConfiguration = {
|
|
237
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
238
|
+
if (message.fixedHour !== undefined) {
|
|
239
|
+
writer.uint32(13).float(message.fixedHour);
|
|
240
|
+
}
|
|
241
|
+
return writer;
|
|
242
|
+
},
|
|
243
|
+
decode(input, length) {
|
|
244
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
245
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
246
|
+
const message = createBaseAboutResponse_SkyboxConfiguration();
|
|
247
|
+
while (reader.pos < end) {
|
|
248
|
+
const tag = reader.uint32();
|
|
249
|
+
switch (tag >>> 3) {
|
|
250
|
+
case 1:
|
|
251
|
+
if (tag != 13) {
|
|
252
|
+
break;
|
|
253
|
+
}
|
|
254
|
+
message.fixedHour = reader.float();
|
|
255
|
+
continue;
|
|
256
|
+
}
|
|
257
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
258
|
+
break;
|
|
259
|
+
}
|
|
260
|
+
reader.skipType(tag & 7);
|
|
261
|
+
}
|
|
262
|
+
return message;
|
|
263
|
+
},
|
|
264
|
+
fromJSON(object) {
|
|
265
|
+
return { fixedHour: isSet(object.fixedHour) ? Number(object.fixedHour) : undefined };
|
|
266
|
+
},
|
|
267
|
+
toJSON(message) {
|
|
268
|
+
const obj = {};
|
|
269
|
+
message.fixedHour !== undefined && (obj.fixedHour = message.fixedHour);
|
|
270
|
+
return obj;
|
|
271
|
+
},
|
|
272
|
+
create(base) {
|
|
273
|
+
return exports.AboutResponse_SkyboxConfiguration.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
274
|
+
},
|
|
275
|
+
fromPartial(object) {
|
|
276
|
+
var _a;
|
|
277
|
+
const message = createBaseAboutResponse_SkyboxConfiguration();
|
|
278
|
+
message.fixedHour = (_a = object.fixedHour) !== null && _a !== void 0 ? _a : undefined;
|
|
279
|
+
return message;
|
|
280
|
+
},
|
|
281
|
+
};
|
|
282
|
+
function createBaseAboutResponse_AboutConfiguration() {
|
|
283
|
+
return {
|
|
284
|
+
realmName: undefined,
|
|
285
|
+
networkId: 0,
|
|
286
|
+
globalScenesUrn: [],
|
|
287
|
+
scenesUrn: [],
|
|
288
|
+
minimap: undefined,
|
|
289
|
+
skybox: undefined,
|
|
290
|
+
cityLoaderContentServer: undefined,
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
exports.AboutResponse_AboutConfiguration = {
|
|
294
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
295
|
+
if (message.realmName !== undefined) {
|
|
296
|
+
writer.uint32(10).string(message.realmName);
|
|
297
|
+
}
|
|
298
|
+
if (message.networkId !== 0) {
|
|
299
|
+
writer.uint32(16).uint32(message.networkId);
|
|
300
|
+
}
|
|
301
|
+
for (const v of message.globalScenesUrn) {
|
|
302
|
+
writer.uint32(26).string(v);
|
|
303
|
+
}
|
|
304
|
+
for (const v of message.scenesUrn) {
|
|
305
|
+
writer.uint32(34).string(v);
|
|
306
|
+
}
|
|
307
|
+
if (message.minimap !== undefined) {
|
|
308
|
+
exports.AboutResponse_MinimapConfiguration.encode(message.minimap, writer.uint32(42).fork()).ldelim();
|
|
309
|
+
}
|
|
310
|
+
if (message.skybox !== undefined) {
|
|
311
|
+
exports.AboutResponse_SkyboxConfiguration.encode(message.skybox, writer.uint32(50).fork()).ldelim();
|
|
312
|
+
}
|
|
313
|
+
if (message.cityLoaderContentServer !== undefined) {
|
|
314
|
+
writer.uint32(58).string(message.cityLoaderContentServer);
|
|
315
|
+
}
|
|
316
|
+
return writer;
|
|
317
|
+
},
|
|
318
|
+
decode(input, length) {
|
|
319
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
320
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
321
|
+
const message = createBaseAboutResponse_AboutConfiguration();
|
|
322
|
+
while (reader.pos < end) {
|
|
323
|
+
const tag = reader.uint32();
|
|
324
|
+
switch (tag >>> 3) {
|
|
325
|
+
case 1:
|
|
326
|
+
if (tag != 10) {
|
|
327
|
+
break;
|
|
328
|
+
}
|
|
329
|
+
message.realmName = reader.string();
|
|
330
|
+
continue;
|
|
331
|
+
case 2:
|
|
332
|
+
if (tag != 16) {
|
|
333
|
+
break;
|
|
334
|
+
}
|
|
335
|
+
message.networkId = reader.uint32();
|
|
336
|
+
continue;
|
|
337
|
+
case 3:
|
|
338
|
+
if (tag != 26) {
|
|
339
|
+
break;
|
|
340
|
+
}
|
|
341
|
+
message.globalScenesUrn.push(reader.string());
|
|
342
|
+
continue;
|
|
343
|
+
case 4:
|
|
344
|
+
if (tag != 34) {
|
|
345
|
+
break;
|
|
346
|
+
}
|
|
347
|
+
message.scenesUrn.push(reader.string());
|
|
348
|
+
continue;
|
|
349
|
+
case 5:
|
|
350
|
+
if (tag != 42) {
|
|
351
|
+
break;
|
|
352
|
+
}
|
|
353
|
+
message.minimap = exports.AboutResponse_MinimapConfiguration.decode(reader, reader.uint32());
|
|
354
|
+
continue;
|
|
355
|
+
case 6:
|
|
356
|
+
if (tag != 50) {
|
|
357
|
+
break;
|
|
358
|
+
}
|
|
359
|
+
message.skybox = exports.AboutResponse_SkyboxConfiguration.decode(reader, reader.uint32());
|
|
360
|
+
continue;
|
|
361
|
+
case 7:
|
|
362
|
+
if (tag != 58) {
|
|
363
|
+
break;
|
|
364
|
+
}
|
|
365
|
+
message.cityLoaderContentServer = reader.string();
|
|
366
|
+
continue;
|
|
367
|
+
}
|
|
368
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
369
|
+
break;
|
|
370
|
+
}
|
|
371
|
+
reader.skipType(tag & 7);
|
|
372
|
+
}
|
|
373
|
+
return message;
|
|
374
|
+
},
|
|
375
|
+
fromJSON(object) {
|
|
376
|
+
return {
|
|
377
|
+
realmName: isSet(object.realmName) ? String(object.realmName) : undefined,
|
|
378
|
+
networkId: isSet(object.networkId) ? Number(object.networkId) : 0,
|
|
379
|
+
globalScenesUrn: Array.isArray(object === null || object === void 0 ? void 0 : object.globalScenesUrn) ? object.globalScenesUrn.map((e) => String(e)) : [],
|
|
380
|
+
scenesUrn: Array.isArray(object === null || object === void 0 ? void 0 : object.scenesUrn) ? object.scenesUrn.map((e) => String(e)) : [],
|
|
381
|
+
minimap: isSet(object.minimap) ? exports.AboutResponse_MinimapConfiguration.fromJSON(object.minimap) : undefined,
|
|
382
|
+
skybox: isSet(object.skybox) ? exports.AboutResponse_SkyboxConfiguration.fromJSON(object.skybox) : undefined,
|
|
383
|
+
cityLoaderContentServer: isSet(object.cityLoaderContentServer)
|
|
384
|
+
? String(object.cityLoaderContentServer)
|
|
385
|
+
: undefined,
|
|
386
|
+
};
|
|
387
|
+
},
|
|
388
|
+
toJSON(message) {
|
|
389
|
+
const obj = {};
|
|
390
|
+
message.realmName !== undefined && (obj.realmName = message.realmName);
|
|
391
|
+
message.networkId !== undefined && (obj.networkId = Math.round(message.networkId));
|
|
392
|
+
if (message.globalScenesUrn) {
|
|
393
|
+
obj.globalScenesUrn = message.globalScenesUrn.map((e) => e);
|
|
394
|
+
}
|
|
395
|
+
else {
|
|
396
|
+
obj.globalScenesUrn = [];
|
|
397
|
+
}
|
|
398
|
+
if (message.scenesUrn) {
|
|
399
|
+
obj.scenesUrn = message.scenesUrn.map((e) => e);
|
|
400
|
+
}
|
|
401
|
+
else {
|
|
402
|
+
obj.scenesUrn = [];
|
|
403
|
+
}
|
|
404
|
+
message.minimap !== undefined &&
|
|
405
|
+
(obj.minimap = message.minimap ? exports.AboutResponse_MinimapConfiguration.toJSON(message.minimap) : undefined);
|
|
406
|
+
message.skybox !== undefined &&
|
|
407
|
+
(obj.skybox = message.skybox ? exports.AboutResponse_SkyboxConfiguration.toJSON(message.skybox) : undefined);
|
|
408
|
+
message.cityLoaderContentServer !== undefined && (obj.cityLoaderContentServer = message.cityLoaderContentServer);
|
|
409
|
+
return obj;
|
|
410
|
+
},
|
|
411
|
+
create(base) {
|
|
412
|
+
return exports.AboutResponse_AboutConfiguration.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
413
|
+
},
|
|
414
|
+
fromPartial(object) {
|
|
415
|
+
var _a, _b, _c, _d, _e;
|
|
416
|
+
const message = createBaseAboutResponse_AboutConfiguration();
|
|
417
|
+
message.realmName = (_a = object.realmName) !== null && _a !== void 0 ? _a : undefined;
|
|
418
|
+
message.networkId = (_b = object.networkId) !== null && _b !== void 0 ? _b : 0;
|
|
419
|
+
message.globalScenesUrn = ((_c = object.globalScenesUrn) === null || _c === void 0 ? void 0 : _c.map((e) => e)) || [];
|
|
420
|
+
message.scenesUrn = ((_d = object.scenesUrn) === null || _d === void 0 ? void 0 : _d.map((e) => e)) || [];
|
|
421
|
+
message.minimap = (object.minimap !== undefined && object.minimap !== null)
|
|
422
|
+
? exports.AboutResponse_MinimapConfiguration.fromPartial(object.minimap)
|
|
423
|
+
: undefined;
|
|
424
|
+
message.skybox = (object.skybox !== undefined && object.skybox !== null)
|
|
425
|
+
? exports.AboutResponse_SkyboxConfiguration.fromPartial(object.skybox)
|
|
426
|
+
: undefined;
|
|
427
|
+
message.cityLoaderContentServer = (_e = object.cityLoaderContentServer) !== null && _e !== void 0 ? _e : undefined;
|
|
428
|
+
return message;
|
|
429
|
+
},
|
|
430
|
+
};
|
|
431
|
+
function createBaseAboutResponse_ContentInfo() {
|
|
432
|
+
return { healthy: false, version: undefined, commitHash: undefined, publicUrl: "" };
|
|
433
|
+
}
|
|
434
|
+
exports.AboutResponse_ContentInfo = {
|
|
435
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
436
|
+
if (message.healthy === true) {
|
|
437
|
+
writer.uint32(8).bool(message.healthy);
|
|
438
|
+
}
|
|
439
|
+
if (message.version !== undefined) {
|
|
440
|
+
writer.uint32(18).string(message.version);
|
|
441
|
+
}
|
|
442
|
+
if (message.commitHash !== undefined) {
|
|
443
|
+
writer.uint32(26).string(message.commitHash);
|
|
444
|
+
}
|
|
445
|
+
if (message.publicUrl !== "") {
|
|
446
|
+
writer.uint32(34).string(message.publicUrl);
|
|
447
|
+
}
|
|
448
|
+
return writer;
|
|
449
|
+
},
|
|
450
|
+
decode(input, length) {
|
|
451
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
452
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
453
|
+
const message = createBaseAboutResponse_ContentInfo();
|
|
454
|
+
while (reader.pos < end) {
|
|
455
|
+
const tag = reader.uint32();
|
|
456
|
+
switch (tag >>> 3) {
|
|
457
|
+
case 1:
|
|
458
|
+
if (tag != 8) {
|
|
459
|
+
break;
|
|
460
|
+
}
|
|
461
|
+
message.healthy = reader.bool();
|
|
462
|
+
continue;
|
|
463
|
+
case 2:
|
|
464
|
+
if (tag != 18) {
|
|
465
|
+
break;
|
|
466
|
+
}
|
|
467
|
+
message.version = reader.string();
|
|
468
|
+
continue;
|
|
469
|
+
case 3:
|
|
470
|
+
if (tag != 26) {
|
|
471
|
+
break;
|
|
472
|
+
}
|
|
473
|
+
message.commitHash = reader.string();
|
|
474
|
+
continue;
|
|
475
|
+
case 4:
|
|
476
|
+
if (tag != 34) {
|
|
477
|
+
break;
|
|
478
|
+
}
|
|
479
|
+
message.publicUrl = reader.string();
|
|
480
|
+
continue;
|
|
481
|
+
}
|
|
482
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
483
|
+
break;
|
|
484
|
+
}
|
|
485
|
+
reader.skipType(tag & 7);
|
|
486
|
+
}
|
|
487
|
+
return message;
|
|
488
|
+
},
|
|
489
|
+
fromJSON(object) {
|
|
490
|
+
return {
|
|
491
|
+
healthy: isSet(object.healthy) ? Boolean(object.healthy) : false,
|
|
492
|
+
version: isSet(object.version) ? String(object.version) : undefined,
|
|
493
|
+
commitHash: isSet(object.commitHash) ? String(object.commitHash) : undefined,
|
|
494
|
+
publicUrl: isSet(object.publicUrl) ? String(object.publicUrl) : "",
|
|
495
|
+
};
|
|
496
|
+
},
|
|
497
|
+
toJSON(message) {
|
|
498
|
+
const obj = {};
|
|
499
|
+
message.healthy !== undefined && (obj.healthy = message.healthy);
|
|
500
|
+
message.version !== undefined && (obj.version = message.version);
|
|
501
|
+
message.commitHash !== undefined && (obj.commitHash = message.commitHash);
|
|
502
|
+
message.publicUrl !== undefined && (obj.publicUrl = message.publicUrl);
|
|
503
|
+
return obj;
|
|
504
|
+
},
|
|
505
|
+
create(base) {
|
|
506
|
+
return exports.AboutResponse_ContentInfo.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
507
|
+
},
|
|
508
|
+
fromPartial(object) {
|
|
509
|
+
var _a, _b, _c, _d;
|
|
510
|
+
const message = createBaseAboutResponse_ContentInfo();
|
|
511
|
+
message.healthy = (_a = object.healthy) !== null && _a !== void 0 ? _a : false;
|
|
512
|
+
message.version = (_b = object.version) !== null && _b !== void 0 ? _b : undefined;
|
|
513
|
+
message.commitHash = (_c = object.commitHash) !== null && _c !== void 0 ? _c : undefined;
|
|
514
|
+
message.publicUrl = (_d = object.publicUrl) !== null && _d !== void 0 ? _d : "";
|
|
515
|
+
return message;
|
|
516
|
+
},
|
|
517
|
+
};
|
|
518
|
+
function createBaseAboutResponse_LambdasInfo() {
|
|
519
|
+
return { healthy: false, version: undefined, commitHash: undefined, publicUrl: "" };
|
|
520
|
+
}
|
|
521
|
+
exports.AboutResponse_LambdasInfo = {
|
|
522
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
523
|
+
if (message.healthy === true) {
|
|
524
|
+
writer.uint32(8).bool(message.healthy);
|
|
525
|
+
}
|
|
526
|
+
if (message.version !== undefined) {
|
|
527
|
+
writer.uint32(18).string(message.version);
|
|
528
|
+
}
|
|
529
|
+
if (message.commitHash !== undefined) {
|
|
530
|
+
writer.uint32(26).string(message.commitHash);
|
|
531
|
+
}
|
|
532
|
+
if (message.publicUrl !== "") {
|
|
533
|
+
writer.uint32(34).string(message.publicUrl);
|
|
534
|
+
}
|
|
535
|
+
return writer;
|
|
536
|
+
},
|
|
537
|
+
decode(input, length) {
|
|
538
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
539
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
540
|
+
const message = createBaseAboutResponse_LambdasInfo();
|
|
541
|
+
while (reader.pos < end) {
|
|
542
|
+
const tag = reader.uint32();
|
|
543
|
+
switch (tag >>> 3) {
|
|
544
|
+
case 1:
|
|
545
|
+
if (tag != 8) {
|
|
546
|
+
break;
|
|
547
|
+
}
|
|
548
|
+
message.healthy = reader.bool();
|
|
549
|
+
continue;
|
|
550
|
+
case 2:
|
|
551
|
+
if (tag != 18) {
|
|
552
|
+
break;
|
|
553
|
+
}
|
|
554
|
+
message.version = reader.string();
|
|
555
|
+
continue;
|
|
556
|
+
case 3:
|
|
557
|
+
if (tag != 26) {
|
|
558
|
+
break;
|
|
559
|
+
}
|
|
560
|
+
message.commitHash = reader.string();
|
|
561
|
+
continue;
|
|
562
|
+
case 4:
|
|
563
|
+
if (tag != 34) {
|
|
564
|
+
break;
|
|
565
|
+
}
|
|
566
|
+
message.publicUrl = reader.string();
|
|
567
|
+
continue;
|
|
568
|
+
}
|
|
569
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
570
|
+
break;
|
|
571
|
+
}
|
|
572
|
+
reader.skipType(tag & 7);
|
|
573
|
+
}
|
|
574
|
+
return message;
|
|
575
|
+
},
|
|
576
|
+
fromJSON(object) {
|
|
577
|
+
return {
|
|
578
|
+
healthy: isSet(object.healthy) ? Boolean(object.healthy) : false,
|
|
579
|
+
version: isSet(object.version) ? String(object.version) : undefined,
|
|
580
|
+
commitHash: isSet(object.commitHash) ? String(object.commitHash) : undefined,
|
|
581
|
+
publicUrl: isSet(object.publicUrl) ? String(object.publicUrl) : "",
|
|
582
|
+
};
|
|
583
|
+
},
|
|
584
|
+
toJSON(message) {
|
|
585
|
+
const obj = {};
|
|
586
|
+
message.healthy !== undefined && (obj.healthy = message.healthy);
|
|
587
|
+
message.version !== undefined && (obj.version = message.version);
|
|
588
|
+
message.commitHash !== undefined && (obj.commitHash = message.commitHash);
|
|
589
|
+
message.publicUrl !== undefined && (obj.publicUrl = message.publicUrl);
|
|
590
|
+
return obj;
|
|
591
|
+
},
|
|
592
|
+
create(base) {
|
|
593
|
+
return exports.AboutResponse_LambdasInfo.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
594
|
+
},
|
|
595
|
+
fromPartial(object) {
|
|
596
|
+
var _a, _b, _c, _d;
|
|
597
|
+
const message = createBaseAboutResponse_LambdasInfo();
|
|
598
|
+
message.healthy = (_a = object.healthy) !== null && _a !== void 0 ? _a : false;
|
|
599
|
+
message.version = (_b = object.version) !== null && _b !== void 0 ? _b : undefined;
|
|
600
|
+
message.commitHash = (_c = object.commitHash) !== null && _c !== void 0 ? _c : undefined;
|
|
601
|
+
message.publicUrl = (_d = object.publicUrl) !== null && _d !== void 0 ? _d : "";
|
|
602
|
+
return message;
|
|
603
|
+
},
|
|
604
|
+
};
|
|
605
|
+
function createBaseAboutResponse_CommsInfo() {
|
|
606
|
+
return {
|
|
607
|
+
healthy: false,
|
|
608
|
+
version: undefined,
|
|
609
|
+
commitHash: undefined,
|
|
610
|
+
publicUrl: undefined,
|
|
611
|
+
protocol: "",
|
|
612
|
+
usersCount: undefined,
|
|
613
|
+
fixedAdapter: undefined,
|
|
614
|
+
};
|
|
615
|
+
}
|
|
616
|
+
exports.AboutResponse_CommsInfo = {
|
|
617
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
618
|
+
if (message.healthy === true) {
|
|
619
|
+
writer.uint32(8).bool(message.healthy);
|
|
620
|
+
}
|
|
621
|
+
if (message.version !== undefined) {
|
|
622
|
+
writer.uint32(18).string(message.version);
|
|
623
|
+
}
|
|
624
|
+
if (message.commitHash !== undefined) {
|
|
625
|
+
writer.uint32(26).string(message.commitHash);
|
|
626
|
+
}
|
|
627
|
+
if (message.publicUrl !== undefined) {
|
|
628
|
+
writer.uint32(34).string(message.publicUrl);
|
|
629
|
+
}
|
|
630
|
+
if (message.protocol !== "") {
|
|
631
|
+
writer.uint32(402).string(message.protocol);
|
|
632
|
+
}
|
|
633
|
+
if (message.usersCount !== undefined) {
|
|
634
|
+
writer.uint32(408).int32(message.usersCount);
|
|
635
|
+
}
|
|
636
|
+
if (message.fixedAdapter !== undefined) {
|
|
637
|
+
writer.uint32(418).string(message.fixedAdapter);
|
|
638
|
+
}
|
|
639
|
+
return writer;
|
|
640
|
+
},
|
|
641
|
+
decode(input, length) {
|
|
642
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
643
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
644
|
+
const message = createBaseAboutResponse_CommsInfo();
|
|
645
|
+
while (reader.pos < end) {
|
|
646
|
+
const tag = reader.uint32();
|
|
647
|
+
switch (tag >>> 3) {
|
|
648
|
+
case 1:
|
|
649
|
+
if (tag != 8) {
|
|
650
|
+
break;
|
|
651
|
+
}
|
|
652
|
+
message.healthy = reader.bool();
|
|
653
|
+
continue;
|
|
654
|
+
case 2:
|
|
655
|
+
if (tag != 18) {
|
|
656
|
+
break;
|
|
657
|
+
}
|
|
658
|
+
message.version = reader.string();
|
|
659
|
+
continue;
|
|
660
|
+
case 3:
|
|
661
|
+
if (tag != 26) {
|
|
662
|
+
break;
|
|
663
|
+
}
|
|
664
|
+
message.commitHash = reader.string();
|
|
665
|
+
continue;
|
|
666
|
+
case 4:
|
|
667
|
+
if (tag != 34) {
|
|
668
|
+
break;
|
|
669
|
+
}
|
|
670
|
+
message.publicUrl = reader.string();
|
|
671
|
+
continue;
|
|
672
|
+
case 50:
|
|
673
|
+
if (tag != 402) {
|
|
674
|
+
break;
|
|
675
|
+
}
|
|
676
|
+
message.protocol = reader.string();
|
|
677
|
+
continue;
|
|
678
|
+
case 51:
|
|
679
|
+
if (tag != 408) {
|
|
680
|
+
break;
|
|
681
|
+
}
|
|
682
|
+
message.usersCount = reader.int32();
|
|
683
|
+
continue;
|
|
684
|
+
case 52:
|
|
685
|
+
if (tag != 418) {
|
|
686
|
+
break;
|
|
687
|
+
}
|
|
688
|
+
message.fixedAdapter = reader.string();
|
|
689
|
+
continue;
|
|
690
|
+
}
|
|
691
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
692
|
+
break;
|
|
693
|
+
}
|
|
694
|
+
reader.skipType(tag & 7);
|
|
695
|
+
}
|
|
696
|
+
return message;
|
|
697
|
+
},
|
|
698
|
+
fromJSON(object) {
|
|
699
|
+
return {
|
|
700
|
+
healthy: isSet(object.healthy) ? Boolean(object.healthy) : false,
|
|
701
|
+
version: isSet(object.version) ? String(object.version) : undefined,
|
|
702
|
+
commitHash: isSet(object.commitHash) ? String(object.commitHash) : undefined,
|
|
703
|
+
publicUrl: isSet(object.publicUrl) ? String(object.publicUrl) : undefined,
|
|
704
|
+
protocol: isSet(object.protocol) ? String(object.protocol) : "",
|
|
705
|
+
usersCount: isSet(object.usersCount) ? Number(object.usersCount) : undefined,
|
|
706
|
+
fixedAdapter: isSet(object.fixedAdapter) ? String(object.fixedAdapter) : undefined,
|
|
707
|
+
};
|
|
708
|
+
},
|
|
709
|
+
toJSON(message) {
|
|
710
|
+
const obj = {};
|
|
711
|
+
message.healthy !== undefined && (obj.healthy = message.healthy);
|
|
712
|
+
message.version !== undefined && (obj.version = message.version);
|
|
713
|
+
message.commitHash !== undefined && (obj.commitHash = message.commitHash);
|
|
714
|
+
message.publicUrl !== undefined && (obj.publicUrl = message.publicUrl);
|
|
715
|
+
message.protocol !== undefined && (obj.protocol = message.protocol);
|
|
716
|
+
message.usersCount !== undefined && (obj.usersCount = Math.round(message.usersCount));
|
|
717
|
+
message.fixedAdapter !== undefined && (obj.fixedAdapter = message.fixedAdapter);
|
|
718
|
+
return obj;
|
|
719
|
+
},
|
|
720
|
+
create(base) {
|
|
721
|
+
return exports.AboutResponse_CommsInfo.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
722
|
+
},
|
|
723
|
+
fromPartial(object) {
|
|
724
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
725
|
+
const message = createBaseAboutResponse_CommsInfo();
|
|
726
|
+
message.healthy = (_a = object.healthy) !== null && _a !== void 0 ? _a : false;
|
|
727
|
+
message.version = (_b = object.version) !== null && _b !== void 0 ? _b : undefined;
|
|
728
|
+
message.commitHash = (_c = object.commitHash) !== null && _c !== void 0 ? _c : undefined;
|
|
729
|
+
message.publicUrl = (_d = object.publicUrl) !== null && _d !== void 0 ? _d : undefined;
|
|
730
|
+
message.protocol = (_e = object.protocol) !== null && _e !== void 0 ? _e : "";
|
|
731
|
+
message.usersCount = (_f = object.usersCount) !== null && _f !== void 0 ? _f : undefined;
|
|
732
|
+
message.fixedAdapter = (_g = object.fixedAdapter) !== null && _g !== void 0 ? _g : undefined;
|
|
733
|
+
return message;
|
|
734
|
+
},
|
|
735
|
+
};
|
|
736
|
+
function createBaseAboutResponse_BffInfo() {
|
|
737
|
+
return {
|
|
738
|
+
healthy: false,
|
|
739
|
+
version: undefined,
|
|
740
|
+
commitHash: undefined,
|
|
741
|
+
publicUrl: "",
|
|
742
|
+
userCount: undefined,
|
|
743
|
+
protocolVersion: undefined,
|
|
744
|
+
};
|
|
745
|
+
}
|
|
746
|
+
exports.AboutResponse_BffInfo = {
|
|
747
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
748
|
+
if (message.healthy === true) {
|
|
749
|
+
writer.uint32(8).bool(message.healthy);
|
|
750
|
+
}
|
|
751
|
+
if (message.version !== undefined) {
|
|
752
|
+
writer.uint32(18).string(message.version);
|
|
753
|
+
}
|
|
754
|
+
if (message.commitHash !== undefined) {
|
|
755
|
+
writer.uint32(26).string(message.commitHash);
|
|
756
|
+
}
|
|
757
|
+
if (message.publicUrl !== "") {
|
|
758
|
+
writer.uint32(34).string(message.publicUrl);
|
|
759
|
+
}
|
|
760
|
+
if (message.userCount !== undefined) {
|
|
761
|
+
writer.uint32(408).int32(message.userCount);
|
|
762
|
+
}
|
|
763
|
+
if (message.protocolVersion !== undefined) {
|
|
764
|
+
writer.uint32(418).string(message.protocolVersion);
|
|
765
|
+
}
|
|
766
|
+
return writer;
|
|
767
|
+
},
|
|
768
|
+
decode(input, length) {
|
|
769
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
770
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
771
|
+
const message = createBaseAboutResponse_BffInfo();
|
|
772
|
+
while (reader.pos < end) {
|
|
773
|
+
const tag = reader.uint32();
|
|
774
|
+
switch (tag >>> 3) {
|
|
775
|
+
case 1:
|
|
776
|
+
if (tag != 8) {
|
|
777
|
+
break;
|
|
778
|
+
}
|
|
779
|
+
message.healthy = reader.bool();
|
|
780
|
+
continue;
|
|
781
|
+
case 2:
|
|
782
|
+
if (tag != 18) {
|
|
783
|
+
break;
|
|
784
|
+
}
|
|
785
|
+
message.version = reader.string();
|
|
786
|
+
continue;
|
|
787
|
+
case 3:
|
|
788
|
+
if (tag != 26) {
|
|
789
|
+
break;
|
|
790
|
+
}
|
|
791
|
+
message.commitHash = reader.string();
|
|
792
|
+
continue;
|
|
793
|
+
case 4:
|
|
794
|
+
if (tag != 34) {
|
|
795
|
+
break;
|
|
796
|
+
}
|
|
797
|
+
message.publicUrl = reader.string();
|
|
798
|
+
continue;
|
|
799
|
+
case 51:
|
|
800
|
+
if (tag != 408) {
|
|
801
|
+
break;
|
|
802
|
+
}
|
|
803
|
+
message.userCount = reader.int32();
|
|
804
|
+
continue;
|
|
805
|
+
case 52:
|
|
806
|
+
if (tag != 418) {
|
|
807
|
+
break;
|
|
808
|
+
}
|
|
809
|
+
message.protocolVersion = reader.string();
|
|
810
|
+
continue;
|
|
811
|
+
}
|
|
812
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
813
|
+
break;
|
|
814
|
+
}
|
|
815
|
+
reader.skipType(tag & 7);
|
|
816
|
+
}
|
|
817
|
+
return message;
|
|
818
|
+
},
|
|
819
|
+
fromJSON(object) {
|
|
820
|
+
return {
|
|
821
|
+
healthy: isSet(object.healthy) ? Boolean(object.healthy) : false,
|
|
822
|
+
version: isSet(object.version) ? String(object.version) : undefined,
|
|
823
|
+
commitHash: isSet(object.commitHash) ? String(object.commitHash) : undefined,
|
|
824
|
+
publicUrl: isSet(object.publicUrl) ? String(object.publicUrl) : "",
|
|
825
|
+
userCount: isSet(object.userCount) ? Number(object.userCount) : undefined,
|
|
826
|
+
protocolVersion: isSet(object.protocolVersion) ? String(object.protocolVersion) : undefined,
|
|
827
|
+
};
|
|
828
|
+
},
|
|
829
|
+
toJSON(message) {
|
|
830
|
+
const obj = {};
|
|
831
|
+
message.healthy !== undefined && (obj.healthy = message.healthy);
|
|
832
|
+
message.version !== undefined && (obj.version = message.version);
|
|
833
|
+
message.commitHash !== undefined && (obj.commitHash = message.commitHash);
|
|
834
|
+
message.publicUrl !== undefined && (obj.publicUrl = message.publicUrl);
|
|
835
|
+
message.userCount !== undefined && (obj.userCount = Math.round(message.userCount));
|
|
836
|
+
message.protocolVersion !== undefined && (obj.protocolVersion = message.protocolVersion);
|
|
837
|
+
return obj;
|
|
838
|
+
},
|
|
839
|
+
create(base) {
|
|
840
|
+
return exports.AboutResponse_BffInfo.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
841
|
+
},
|
|
842
|
+
fromPartial(object) {
|
|
843
|
+
var _a, _b, _c, _d, _e, _f;
|
|
844
|
+
const message = createBaseAboutResponse_BffInfo();
|
|
845
|
+
message.healthy = (_a = object.healthy) !== null && _a !== void 0 ? _a : false;
|
|
846
|
+
message.version = (_b = object.version) !== null && _b !== void 0 ? _b : undefined;
|
|
847
|
+
message.commitHash = (_c = object.commitHash) !== null && _c !== void 0 ? _c : undefined;
|
|
848
|
+
message.publicUrl = (_d = object.publicUrl) !== null && _d !== void 0 ? _d : "";
|
|
849
|
+
message.userCount = (_e = object.userCount) !== null && _e !== void 0 ? _e : undefined;
|
|
850
|
+
message.protocolVersion = (_f = object.protocolVersion) !== null && _f !== void 0 ? _f : undefined;
|
|
851
|
+
return message;
|
|
852
|
+
},
|
|
853
|
+
};
|
|
854
|
+
function isSet(value) {
|
|
855
|
+
return value !== null && value !== undefined;
|
|
856
|
+
}
|
|
857
|
+
//# sourceMappingURL=about.gen.js.map
|