protobuf-platform 1.2.471 → 1.2.473

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/game/game_pb.js CHANGED
@@ -59,6 +59,7 @@ goog.exportSymbol('proto.game.CollectionSnapshotItemsResponse', null, global);
59
59
  goog.exportSymbol('proto.game.CollectionStatusResponse', null, global);
60
60
  goog.exportSymbol('proto.game.DashboardRequest', null, global);
61
61
  goog.exportSymbol('proto.game.DashboardResponse', null, global);
62
+ goog.exportSymbol('proto.game.FetchGamesFromWagerListsRequest', null, global);
62
63
  goog.exportSymbol('proto.game.File', null, global);
63
64
  goog.exportSymbol('proto.game.FreeSpinBonusCampaignRequest', null, global);
64
65
  goog.exportSymbol('proto.game.FreeSpinCampaignRequest', null, global);
@@ -2791,6 +2792,27 @@ if (goog.DEBUG && !COMPILED) {
2791
2792
  */
2792
2793
  proto.game.WagerListGamesRequest.displayName = 'proto.game.WagerListGamesRequest';
2793
2794
  }
2795
+ /**
2796
+ * Generated by JsPbCodeGenerator.
2797
+ * @param {Array=} opt_data Optional initial data array, typically from a
2798
+ * server response, or constructed directly in Javascript. The array is used
2799
+ * in place and becomes part of the constructed object. It is not cloned.
2800
+ * If no data is provided, the constructed object will be empty, but still
2801
+ * valid.
2802
+ * @extends {jspb.Message}
2803
+ * @constructor
2804
+ */
2805
+ proto.game.FetchGamesFromWagerListsRequest = function(opt_data) {
2806
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.FetchGamesFromWagerListsRequest.repeatedFields_, null);
2807
+ };
2808
+ goog.inherits(proto.game.FetchGamesFromWagerListsRequest, jspb.Message);
2809
+ if (goog.DEBUG && !COMPILED) {
2810
+ /**
2811
+ * @public
2812
+ * @override
2813
+ */
2814
+ proto.game.FetchGamesFromWagerListsRequest.displayName = 'proto.game.FetchGamesFromWagerListsRequest';
2815
+ }
2794
2816
  /**
2795
2817
  * Generated by JsPbCodeGenerator.
2796
2818
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -31940,7 +31962,8 @@ proto.game.ActiveWageringUserBonus.toObject = function(includeInstance, msg) {
31940
31962
  totalWagerAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
31941
31963
  wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 7, 0),
31942
31964
  wagerBalancesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
31943
- wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 9, 0)
31965
+ wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 9, 0),
31966
+ wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 10, "")
31944
31967
  };
31945
31968
 
31946
31969
  if (includeInstance) {
@@ -32013,6 +32036,10 @@ proto.game.ActiveWageringUserBonus.deserializeBinaryFromReader = function(msg, r
32013
32036
  var value = /** @type {number} */ (reader.readInt32());
32014
32037
  msg.setWagerGamesListId(value);
32015
32038
  break;
32039
+ case 10:
32040
+ var value = /** @type {string} */ (reader.readString());
32041
+ msg.setWagerBalancePriority(value);
32042
+ break;
32016
32043
  default:
32017
32044
  reader.skipField();
32018
32045
  break;
@@ -32105,6 +32132,13 @@ proto.game.ActiveWageringUserBonus.serializeBinaryToWriter = function(message, w
32105
32132
  f
32106
32133
  );
32107
32134
  }
32135
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
32136
+ if (f != null) {
32137
+ writer.writeString(
32138
+ 10,
32139
+ f
32140
+ );
32141
+ }
32108
32142
  };
32109
32143
 
32110
32144
 
@@ -32289,6 +32323,42 @@ proto.game.ActiveWageringUserBonus.prototype.setWagerGamesListId = function(valu
32289
32323
  };
32290
32324
 
32291
32325
 
32326
+ /**
32327
+ * optional string wager_balance_priority = 10;
32328
+ * @return {string}
32329
+ */
32330
+ proto.game.ActiveWageringUserBonus.prototype.getWagerBalancePriority = function() {
32331
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
32332
+ };
32333
+
32334
+
32335
+ /**
32336
+ * @param {string} value
32337
+ * @return {!proto.game.ActiveWageringUserBonus} returns this
32338
+ */
32339
+ proto.game.ActiveWageringUserBonus.prototype.setWagerBalancePriority = function(value) {
32340
+ return jspb.Message.setField(this, 10, value);
32341
+ };
32342
+
32343
+
32344
+ /**
32345
+ * Clears the field making it undefined.
32346
+ * @return {!proto.game.ActiveWageringUserBonus} returns this
32347
+ */
32348
+ proto.game.ActiveWageringUserBonus.prototype.clearWagerBalancePriority = function() {
32349
+ return jspb.Message.setField(this, 10, undefined);
32350
+ };
32351
+
32352
+
32353
+ /**
32354
+ * Returns whether this field is set.
32355
+ * @return {boolean}
32356
+ */
32357
+ proto.game.ActiveWageringUserBonus.prototype.hasWagerBalancePriority = function() {
32358
+ return jspb.Message.getField(this, 10) != null;
32359
+ };
32360
+
32361
+
32292
32362
 
32293
32363
  /**
32294
32364
  * List of repeated fields within this message type.
@@ -39085,6 +39155,404 @@ proto.game.WagerListGamesRequest.prototype.clearGameIdsList = function() {
39085
39155
 
39086
39156
 
39087
39157
 
39158
+ /**
39159
+ * List of repeated fields within this message type.
39160
+ * @private {!Array<number>}
39161
+ * @const
39162
+ */
39163
+ proto.game.FetchGamesFromWagerListsRequest.repeatedFields_ = [1];
39164
+
39165
+
39166
+
39167
+ if (jspb.Message.GENERATE_TO_OBJECT) {
39168
+ /**
39169
+ * Creates an object representation of this proto.
39170
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
39171
+ * Optional fields that are not set will be set to undefined.
39172
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
39173
+ * For the list of reserved names please see:
39174
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
39175
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
39176
+ * JSPB instance for transitional soy proto support:
39177
+ * http://goto/soy-param-migration
39178
+ * @return {!Object}
39179
+ */
39180
+ proto.game.FetchGamesFromWagerListsRequest.prototype.toObject = function(opt_includeInstance) {
39181
+ return proto.game.FetchGamesFromWagerListsRequest.toObject(opt_includeInstance, this);
39182
+ };
39183
+
39184
+
39185
+ /**
39186
+ * Static version of the {@see toObject} method.
39187
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39188
+ * the JSPB instance for transitional soy proto support:
39189
+ * http://goto/soy-param-migration
39190
+ * @param {!proto.game.FetchGamesFromWagerListsRequest} msg The msg instance to transform.
39191
+ * @return {!Object}
39192
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39193
+ */
39194
+ proto.game.FetchGamesFromWagerListsRequest.toObject = function(includeInstance, msg) {
39195
+ var f, obj = {
39196
+ wagerListIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
39197
+ limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
39198
+ offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
39199
+ isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
39200
+ geo: jspb.Message.getFieldWithDefault(msg, 5, ""),
39201
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
39202
+ };
39203
+
39204
+ if (includeInstance) {
39205
+ obj.$jspbMessageInstance = msg;
39206
+ }
39207
+ return obj;
39208
+ };
39209
+ }
39210
+
39211
+
39212
+ /**
39213
+ * Deserializes binary data (in protobuf wire format).
39214
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
39215
+ * @return {!proto.game.FetchGamesFromWagerListsRequest}
39216
+ */
39217
+ proto.game.FetchGamesFromWagerListsRequest.deserializeBinary = function(bytes) {
39218
+ var reader = new jspb.BinaryReader(bytes);
39219
+ var msg = new proto.game.FetchGamesFromWagerListsRequest;
39220
+ return proto.game.FetchGamesFromWagerListsRequest.deserializeBinaryFromReader(msg, reader);
39221
+ };
39222
+
39223
+
39224
+ /**
39225
+ * Deserializes binary data (in protobuf wire format) from the
39226
+ * given reader into the given message object.
39227
+ * @param {!proto.game.FetchGamesFromWagerListsRequest} msg The message object to deserialize into.
39228
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39229
+ * @return {!proto.game.FetchGamesFromWagerListsRequest}
39230
+ */
39231
+ proto.game.FetchGamesFromWagerListsRequest.deserializeBinaryFromReader = function(msg, reader) {
39232
+ while (reader.nextField()) {
39233
+ if (reader.isEndGroup()) {
39234
+ break;
39235
+ }
39236
+ var field = reader.getFieldNumber();
39237
+ switch (field) {
39238
+ case 1:
39239
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
39240
+ for (var i = 0; i < values.length; i++) {
39241
+ msg.addWagerListIds(values[i]);
39242
+ }
39243
+ break;
39244
+ case 2:
39245
+ var value = /** @type {number} */ (reader.readInt32());
39246
+ msg.setLimit(value);
39247
+ break;
39248
+ case 3:
39249
+ var value = /** @type {number} */ (reader.readInt32());
39250
+ msg.setOffset(value);
39251
+ break;
39252
+ case 4:
39253
+ var value = /** @type {boolean} */ (reader.readBool());
39254
+ msg.setIsMobile(value);
39255
+ break;
39256
+ case 5:
39257
+ var value = /** @type {string} */ (reader.readString());
39258
+ msg.setGeo(value);
39259
+ break;
39260
+ case 6:
39261
+ var value = /** @type {boolean} */ (reader.readBool());
39262
+ msg.setAdminSide(value);
39263
+ break;
39264
+ default:
39265
+ reader.skipField();
39266
+ break;
39267
+ }
39268
+ }
39269
+ return msg;
39270
+ };
39271
+
39272
+
39273
+ /**
39274
+ * Serializes the message to binary data (in protobuf wire format).
39275
+ * @return {!Uint8Array}
39276
+ */
39277
+ proto.game.FetchGamesFromWagerListsRequest.prototype.serializeBinary = function() {
39278
+ var writer = new jspb.BinaryWriter();
39279
+ proto.game.FetchGamesFromWagerListsRequest.serializeBinaryToWriter(this, writer);
39280
+ return writer.getResultBuffer();
39281
+ };
39282
+
39283
+
39284
+ /**
39285
+ * Serializes the given message to binary data (in protobuf wire
39286
+ * format), writing to the given BinaryWriter.
39287
+ * @param {!proto.game.FetchGamesFromWagerListsRequest} message
39288
+ * @param {!jspb.BinaryWriter} writer
39289
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39290
+ */
39291
+ proto.game.FetchGamesFromWagerListsRequest.serializeBinaryToWriter = function(message, writer) {
39292
+ var f = undefined;
39293
+ f = message.getWagerListIdsList();
39294
+ if (f.length > 0) {
39295
+ writer.writePackedInt32(
39296
+ 1,
39297
+ f
39298
+ );
39299
+ }
39300
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
39301
+ if (f != null) {
39302
+ writer.writeInt32(
39303
+ 2,
39304
+ f
39305
+ );
39306
+ }
39307
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
39308
+ if (f != null) {
39309
+ writer.writeInt32(
39310
+ 3,
39311
+ f
39312
+ );
39313
+ }
39314
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
39315
+ if (f != null) {
39316
+ writer.writeBool(
39317
+ 4,
39318
+ f
39319
+ );
39320
+ }
39321
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
39322
+ if (f != null) {
39323
+ writer.writeString(
39324
+ 5,
39325
+ f
39326
+ );
39327
+ }
39328
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
39329
+ if (f != null) {
39330
+ writer.writeBool(
39331
+ 6,
39332
+ f
39333
+ );
39334
+ }
39335
+ };
39336
+
39337
+
39338
+ /**
39339
+ * repeated int32 wager_list_ids = 1;
39340
+ * @return {!Array<number>}
39341
+ */
39342
+ proto.game.FetchGamesFromWagerListsRequest.prototype.getWagerListIdsList = function() {
39343
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
39344
+ };
39345
+
39346
+
39347
+ /**
39348
+ * @param {!Array<number>} value
39349
+ * @return {!proto.game.FetchGamesFromWagerListsRequest} returns this
39350
+ */
39351
+ proto.game.FetchGamesFromWagerListsRequest.prototype.setWagerListIdsList = function(value) {
39352
+ return jspb.Message.setField(this, 1, value || []);
39353
+ };
39354
+
39355
+
39356
+ /**
39357
+ * @param {number} value
39358
+ * @param {number=} opt_index
39359
+ * @return {!proto.game.FetchGamesFromWagerListsRequest} returns this
39360
+ */
39361
+ proto.game.FetchGamesFromWagerListsRequest.prototype.addWagerListIds = function(value, opt_index) {
39362
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
39363
+ };
39364
+
39365
+
39366
+ /**
39367
+ * Clears the list making it empty but non-null.
39368
+ * @return {!proto.game.FetchGamesFromWagerListsRequest} returns this
39369
+ */
39370
+ proto.game.FetchGamesFromWagerListsRequest.prototype.clearWagerListIdsList = function() {
39371
+ return this.setWagerListIdsList([]);
39372
+ };
39373
+
39374
+
39375
+ /**
39376
+ * optional int32 limit = 2;
39377
+ * @return {number}
39378
+ */
39379
+ proto.game.FetchGamesFromWagerListsRequest.prototype.getLimit = function() {
39380
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
39381
+ };
39382
+
39383
+
39384
+ /**
39385
+ * @param {number} value
39386
+ * @return {!proto.game.FetchGamesFromWagerListsRequest} returns this
39387
+ */
39388
+ proto.game.FetchGamesFromWagerListsRequest.prototype.setLimit = function(value) {
39389
+ return jspb.Message.setField(this, 2, value);
39390
+ };
39391
+
39392
+
39393
+ /**
39394
+ * Clears the field making it undefined.
39395
+ * @return {!proto.game.FetchGamesFromWagerListsRequest} returns this
39396
+ */
39397
+ proto.game.FetchGamesFromWagerListsRequest.prototype.clearLimit = function() {
39398
+ return jspb.Message.setField(this, 2, undefined);
39399
+ };
39400
+
39401
+
39402
+ /**
39403
+ * Returns whether this field is set.
39404
+ * @return {boolean}
39405
+ */
39406
+ proto.game.FetchGamesFromWagerListsRequest.prototype.hasLimit = function() {
39407
+ return jspb.Message.getField(this, 2) != null;
39408
+ };
39409
+
39410
+
39411
+ /**
39412
+ * optional int32 offset = 3;
39413
+ * @return {number}
39414
+ */
39415
+ proto.game.FetchGamesFromWagerListsRequest.prototype.getOffset = function() {
39416
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
39417
+ };
39418
+
39419
+
39420
+ /**
39421
+ * @param {number} value
39422
+ * @return {!proto.game.FetchGamesFromWagerListsRequest} returns this
39423
+ */
39424
+ proto.game.FetchGamesFromWagerListsRequest.prototype.setOffset = function(value) {
39425
+ return jspb.Message.setField(this, 3, value);
39426
+ };
39427
+
39428
+
39429
+ /**
39430
+ * Clears the field making it undefined.
39431
+ * @return {!proto.game.FetchGamesFromWagerListsRequest} returns this
39432
+ */
39433
+ proto.game.FetchGamesFromWagerListsRequest.prototype.clearOffset = function() {
39434
+ return jspb.Message.setField(this, 3, undefined);
39435
+ };
39436
+
39437
+
39438
+ /**
39439
+ * Returns whether this field is set.
39440
+ * @return {boolean}
39441
+ */
39442
+ proto.game.FetchGamesFromWagerListsRequest.prototype.hasOffset = function() {
39443
+ return jspb.Message.getField(this, 3) != null;
39444
+ };
39445
+
39446
+
39447
+ /**
39448
+ * optional bool is_mobile = 4;
39449
+ * @return {boolean}
39450
+ */
39451
+ proto.game.FetchGamesFromWagerListsRequest.prototype.getIsMobile = function() {
39452
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
39453
+ };
39454
+
39455
+
39456
+ /**
39457
+ * @param {boolean} value
39458
+ * @return {!proto.game.FetchGamesFromWagerListsRequest} returns this
39459
+ */
39460
+ proto.game.FetchGamesFromWagerListsRequest.prototype.setIsMobile = function(value) {
39461
+ return jspb.Message.setField(this, 4, value);
39462
+ };
39463
+
39464
+
39465
+ /**
39466
+ * Clears the field making it undefined.
39467
+ * @return {!proto.game.FetchGamesFromWagerListsRequest} returns this
39468
+ */
39469
+ proto.game.FetchGamesFromWagerListsRequest.prototype.clearIsMobile = function() {
39470
+ return jspb.Message.setField(this, 4, undefined);
39471
+ };
39472
+
39473
+
39474
+ /**
39475
+ * Returns whether this field is set.
39476
+ * @return {boolean}
39477
+ */
39478
+ proto.game.FetchGamesFromWagerListsRequest.prototype.hasIsMobile = function() {
39479
+ return jspb.Message.getField(this, 4) != null;
39480
+ };
39481
+
39482
+
39483
+ /**
39484
+ * optional string geo = 5;
39485
+ * @return {string}
39486
+ */
39487
+ proto.game.FetchGamesFromWagerListsRequest.prototype.getGeo = function() {
39488
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
39489
+ };
39490
+
39491
+
39492
+ /**
39493
+ * @param {string} value
39494
+ * @return {!proto.game.FetchGamesFromWagerListsRequest} returns this
39495
+ */
39496
+ proto.game.FetchGamesFromWagerListsRequest.prototype.setGeo = function(value) {
39497
+ return jspb.Message.setField(this, 5, value);
39498
+ };
39499
+
39500
+
39501
+ /**
39502
+ * Clears the field making it undefined.
39503
+ * @return {!proto.game.FetchGamesFromWagerListsRequest} returns this
39504
+ */
39505
+ proto.game.FetchGamesFromWagerListsRequest.prototype.clearGeo = function() {
39506
+ return jspb.Message.setField(this, 5, undefined);
39507
+ };
39508
+
39509
+
39510
+ /**
39511
+ * Returns whether this field is set.
39512
+ * @return {boolean}
39513
+ */
39514
+ proto.game.FetchGamesFromWagerListsRequest.prototype.hasGeo = function() {
39515
+ return jspb.Message.getField(this, 5) != null;
39516
+ };
39517
+
39518
+
39519
+ /**
39520
+ * optional bool admin_side = 6;
39521
+ * @return {boolean}
39522
+ */
39523
+ proto.game.FetchGamesFromWagerListsRequest.prototype.getAdminSide = function() {
39524
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
39525
+ };
39526
+
39527
+
39528
+ /**
39529
+ * @param {boolean} value
39530
+ * @return {!proto.game.FetchGamesFromWagerListsRequest} returns this
39531
+ */
39532
+ proto.game.FetchGamesFromWagerListsRequest.prototype.setAdminSide = function(value) {
39533
+ return jspb.Message.setField(this, 6, value);
39534
+ };
39535
+
39536
+
39537
+ /**
39538
+ * Clears the field making it undefined.
39539
+ * @return {!proto.game.FetchGamesFromWagerListsRequest} returns this
39540
+ */
39541
+ proto.game.FetchGamesFromWagerListsRequest.prototype.clearAdminSide = function() {
39542
+ return jspb.Message.setField(this, 6, undefined);
39543
+ };
39544
+
39545
+
39546
+ /**
39547
+ * Returns whether this field is set.
39548
+ * @return {boolean}
39549
+ */
39550
+ proto.game.FetchGamesFromWagerListsRequest.prototype.hasAdminSide = function() {
39551
+ return jspb.Message.getField(this, 6) != null;
39552
+ };
39553
+
39554
+
39555
+
39088
39556
 
39089
39557
 
39090
39558
  if (jspb.Message.GENERATE_TO_OBJECT) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.471",
3
+ "version": "1.2.473",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,22 +1,29 @@
1
1
  #!/usr/bin/env bash
2
2
  set -euo pipefail
3
3
 
4
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:config --grpc_out=grpc_js:config --proto_path=./config ./config/*.proto
5
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:user --grpc_out=grpc_js:user --proto_path=./user ./user/*.proto
6
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:log --grpc_out=grpc_js:log --proto_path=./log ./log/*.proto
7
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:game --grpc_out=grpc_js:game --proto_path=./game ./game/*.proto
8
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:file --grpc_out=grpc_js:file --proto_path=./file ./file/*.proto
9
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:bet --grpc_out=grpc_js:bet --proto_path=./bet ./bet/*.proto
10
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:cms --grpc_out=grpc_js:cms --proto_path=./cms ./cms/*.proto
11
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:bonus --grpc_out=grpc_js:bonus --proto_path=./bonus ./bonus/*.proto
12
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:loyalty --grpc_out=grpc_js:loyalty --proto_path=./loyalty ./loyalty/*.proto
13
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:notification --grpc_out=grpc_js:notification --proto_path=./notification ./notification/*.proto
14
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:payment --grpc_out=grpc_js:payment --proto_path=./payment ./payment/*.proto
15
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:cashback --grpc_out=grpc_js:cashback --proto_path=./cashback ./cashback/*.proto
16
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:promocode --grpc_out=grpc_js:promocode --proto_path=./promocode ./promocode/*.proto
17
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:tournament --grpc_out=grpc_js:tournament --proto_path=./tournament ./tournament/*.proto
18
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:analytic --grpc_out=grpc_js:analytic --proto_path=./analytic ./analytic/*.proto
19
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:scheduler --grpc_out=grpc_js:scheduler --proto_path=./scheduler ./scheduler/*.proto
20
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:sport --grpc_out=grpc_js:sport --proto_path=./sport ./sport/*.proto
21
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:poker --grpc_out=grpc_js:poker --proto_path=./poker ./poker/*.proto
22
- npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:crypto --grpc_out=grpc_js:crypto --proto_path=./crypto ./crypto/*.proto
4
+ PROTOC_BIN="./node_modules/.bin/grpc_tools_node_protoc"
5
+
6
+ if [ ! -x "$PROTOC_BIN" ]; then
7
+ echo "grpc_tools_node_protoc is not installed. Run npm install first." >&2
8
+ exit 1
9
+ fi
10
+
11
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:config --grpc_out=grpc_js:config --proto_path=./config ./config/*.proto
12
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:user --grpc_out=grpc_js:user --proto_path=./user ./user/*.proto
13
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:log --grpc_out=grpc_js:log --proto_path=./log ./log/*.proto
14
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:game --grpc_out=grpc_js:game --proto_path=./game ./game/*.proto
15
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:file --grpc_out=grpc_js:file --proto_path=./file ./file/*.proto
16
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:bet --grpc_out=grpc_js:bet --proto_path=./bet ./bet/*.proto
17
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:cms --grpc_out=grpc_js:cms --proto_path=./cms ./cms/*.proto
18
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:. --grpc_out=grpc_js:. --proto_path=. ./bonus/bonus.proto
19
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:loyalty --grpc_out=grpc_js:loyalty --proto_path=./loyalty ./loyalty/*.proto
20
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:notification --grpc_out=grpc_js:notification --proto_path=./notification ./notification/*.proto
21
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:payment --grpc_out=grpc_js:payment --proto_path=./payment ./payment/*.proto
22
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:cashback --grpc_out=grpc_js:cashback --proto_path=./cashback ./cashback/*.proto
23
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:promocode --grpc_out=grpc_js:promocode --proto_path=./promocode ./promocode/*.proto
24
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:tournament --grpc_out=grpc_js:tournament --proto_path=./tournament ./tournament/*.proto
25
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:analytic --grpc_out=grpc_js:analytic --proto_path=./analytic ./analytic/*.proto
26
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:scheduler --grpc_out=grpc_js:scheduler --proto_path=./scheduler ./scheduler/*.proto
27
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:sport --grpc_out=grpc_js:sport --proto_path=./sport ./sport/*.proto
28
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:poker --grpc_out=grpc_js:poker --proto_path=./poker ./poker/*.proto
29
+ "$PROTOC_BIN" --js_out=import_style=commonjs,binary:crypto --grpc_out=grpc_js:crypto --proto_path=./crypto ./crypto/*.proto