@conduitplatform/grpc-sdk 0.15.16 → 0.15.18

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.
@@ -62,31 +62,31 @@ exports.CreateSchemaRequest = {
62
62
  var tag = reader.uint32();
63
63
  switch (tag >>> 3) {
64
64
  case 1:
65
- if (tag != 10) {
65
+ if (tag !== 10) {
66
66
  break;
67
67
  }
68
68
  message.name = reader.string();
69
69
  continue;
70
70
  case 2:
71
- if (tag != 18) {
71
+ if (tag !== 18) {
72
72
  break;
73
73
  }
74
74
  message.fields = reader.string();
75
75
  continue;
76
76
  case 3:
77
- if (tag != 26) {
77
+ if (tag !== 26) {
78
78
  break;
79
79
  }
80
80
  message.modelOptions = reader.string();
81
81
  continue;
82
82
  case 4:
83
- if (tag != 34) {
83
+ if (tag !== 34) {
84
84
  break;
85
85
  }
86
86
  message.collectionName = reader.string();
87
87
  continue;
88
88
  }
89
- if ((tag & 7) == 4 || tag == 0) {
89
+ if ((tag & 7) === 4 || tag === 0) {
90
90
  break;
91
91
  }
92
92
  reader.skipType(tag & 7);
@@ -141,13 +141,13 @@ exports.GetSchemaRequest = {
141
141
  var tag = reader.uint32();
142
142
  switch (tag >>> 3) {
143
143
  case 1:
144
- if (tag != 10) {
144
+ if (tag !== 10) {
145
145
  break;
146
146
  }
147
147
  message.schemaName = reader.string();
148
148
  continue;
149
149
  }
150
- if ((tag & 7) == 4 || tag == 0) {
150
+ if ((tag & 7) === 4 || tag === 0) {
151
151
  break;
152
152
  }
153
153
  reader.skipType(tag & 7);
@@ -188,7 +188,7 @@ exports.GetSchemasRequest = {
188
188
  var tag = reader.uint32();
189
189
  switch (tag >>> 3) {
190
190
  }
191
- if ((tag & 7) == 4 || tag == 0) {
191
+ if ((tag & 7) === 4 || tag === 0) {
192
192
  break;
193
193
  }
194
194
  reader.skipType(tag & 7);
@@ -240,13 +240,13 @@ exports.GetSchemasResponse = {
240
240
  var tag = reader.uint32();
241
241
  switch (tag >>> 3) {
242
242
  case 1:
243
- if (tag != 10) {
243
+ if (tag !== 10) {
244
244
  break;
245
245
  }
246
246
  message.schemas.push(exports.Schema.decode(reader, reader.uint32()));
247
247
  continue;
248
248
  }
249
- if ((tag & 7) == 4 || tag == 0) {
249
+ if ((tag & 7) === 4 || tag === 0) {
250
250
  break;
251
251
  }
252
252
  reader.skipType(tag & 7);
@@ -295,13 +295,13 @@ exports.DropCollectionResponse = {
295
295
  var tag = reader.uint32();
296
296
  switch (tag >>> 3) {
297
297
  case 1:
298
- if (tag != 10) {
298
+ if (tag !== 10) {
299
299
  break;
300
300
  }
301
301
  message.result = reader.string();
302
302
  continue;
303
303
  }
304
- if ((tag & 7) == 4 || tag == 0) {
304
+ if ((tag & 7) === 4 || tag === 0) {
305
305
  break;
306
306
  }
307
307
  reader.skipType(tag & 7);
@@ -357,37 +357,37 @@ exports.Schema = {
357
357
  var tag = reader.uint32();
358
358
  switch (tag >>> 3) {
359
359
  case 1:
360
- if (tag != 10) {
360
+ if (tag !== 10) {
361
361
  break;
362
362
  }
363
363
  message.name = reader.string();
364
364
  continue;
365
365
  case 2:
366
- if (tag != 18) {
366
+ if (tag !== 18) {
367
367
  break;
368
368
  }
369
369
  message.fields = reader.string();
370
370
  continue;
371
371
  case 3:
372
- if (tag != 26) {
372
+ if (tag !== 26) {
373
373
  break;
374
374
  }
375
375
  message.modelOptions = reader.string();
376
376
  continue;
377
377
  case 4:
378
- if (tag != 34) {
378
+ if (tag !== 34) {
379
379
  break;
380
380
  }
381
381
  message.collectionName = reader.string();
382
382
  continue;
383
383
  case 5:
384
- if (tag != 42) {
384
+ if (tag !== 42) {
385
385
  break;
386
386
  }
387
387
  message.fieldHash = reader.string();
388
388
  continue;
389
389
  }
390
- if ((tag & 7) == 4 || tag == 0) {
390
+ if ((tag & 7) === 4 || tag === 0) {
391
391
  break;
392
392
  }
393
393
  reader.skipType(tag & 7);
@@ -448,19 +448,19 @@ exports.SchemaExtension = {
448
448
  var tag = reader.uint32();
449
449
  switch (tag >>> 3) {
450
450
  case 1:
451
- if (tag != 10) {
451
+ if (tag !== 10) {
452
452
  break;
453
453
  }
454
454
  message.schemaName = reader.string();
455
455
  continue;
456
456
  case 2:
457
- if (tag != 18) {
457
+ if (tag !== 18) {
458
458
  break;
459
459
  }
460
460
  message.fields = reader.string();
461
461
  continue;
462
462
  }
463
- if ((tag & 7) == 4 || tag == 0) {
463
+ if ((tag & 7) === 4 || tag === 0) {
464
464
  break;
465
465
  }
466
466
  reader.skipType(tag & 7);
@@ -529,31 +529,31 @@ exports.FindOneRequest = {
529
529
  var tag = reader.uint32();
530
530
  switch (tag >>> 3) {
531
531
  case 1:
532
- if (tag != 10) {
532
+ if (tag !== 10) {
533
533
  break;
534
534
  }
535
535
  message.schemaName = reader.string();
536
536
  continue;
537
537
  case 2:
538
- if (tag != 18) {
538
+ if (tag !== 18) {
539
539
  break;
540
540
  }
541
541
  message.query = reader.string();
542
542
  continue;
543
543
  case 3:
544
- if (tag != 26) {
544
+ if (tag !== 26) {
545
545
  break;
546
546
  }
547
547
  message.select = reader.string();
548
548
  continue;
549
549
  case 4:
550
- if (tag != 34) {
550
+ if (tag !== 34) {
551
551
  break;
552
552
  }
553
553
  message.populate.push(reader.string());
554
554
  continue;
555
555
  }
556
- if ((tag & 7) == 4 || tag == 0) {
556
+ if ((tag & 7) === 4 || tag === 0) {
557
557
  break;
558
558
  }
559
559
  reader.skipType(tag & 7);
@@ -643,37 +643,37 @@ exports.FindRequest = {
643
643
  var tag = reader.uint32();
644
644
  switch (tag >>> 3) {
645
645
  case 1:
646
- if (tag != 10) {
646
+ if (tag !== 10) {
647
647
  break;
648
648
  }
649
649
  message.schemaName = reader.string();
650
650
  continue;
651
651
  case 2:
652
- if (tag != 18) {
652
+ if (tag !== 18) {
653
653
  break;
654
654
  }
655
655
  message.query = reader.string();
656
656
  continue;
657
657
  case 3:
658
- if (tag != 26) {
658
+ if (tag !== 26) {
659
659
  break;
660
660
  }
661
661
  message.select = reader.string();
662
662
  continue;
663
663
  case 4:
664
- if (tag != 32) {
664
+ if (tag !== 32) {
665
665
  break;
666
666
  }
667
667
  message.skip = reader.int32();
668
668
  continue;
669
669
  case 5:
670
- if (tag != 40) {
670
+ if (tag !== 40) {
671
671
  break;
672
672
  }
673
673
  message.limit = reader.int32();
674
674
  continue;
675
675
  case 6:
676
- if (tag != 50) {
676
+ if (tag !== 50) {
677
677
  break;
678
678
  }
679
679
  var entry6 = exports.FindRequest_SortEntry.decode(reader, reader.uint32());
@@ -682,13 +682,13 @@ exports.FindRequest = {
682
682
  }
683
683
  continue;
684
684
  case 7:
685
- if (tag != 58) {
685
+ if (tag !== 58) {
686
686
  break;
687
687
  }
688
688
  message.populate.push(reader.string());
689
689
  continue;
690
690
  }
691
- if ((tag & 7) == 4 || tag == 0) {
691
+ if ((tag & 7) === 4 || tag === 0) {
692
692
  break;
693
693
  }
694
694
  reader.skipType(tag & 7);
@@ -778,19 +778,19 @@ exports.FindRequest_SortEntry = {
778
778
  var tag = reader.uint32();
779
779
  switch (tag >>> 3) {
780
780
  case 1:
781
- if (tag != 10) {
781
+ if (tag !== 10) {
782
782
  break;
783
783
  }
784
784
  message.key = reader.string();
785
785
  continue;
786
786
  case 2:
787
- if (tag != 16) {
787
+ if (tag !== 16) {
788
788
  break;
789
789
  }
790
790
  message.value = reader.int32();
791
791
  continue;
792
792
  }
793
- if ((tag & 7) == 4 || tag == 0) {
793
+ if ((tag & 7) === 4 || tag === 0) {
794
794
  break;
795
795
  }
796
796
  reader.skipType(tag & 7);
@@ -836,13 +836,13 @@ exports.QueryResponse = {
836
836
  var tag = reader.uint32();
837
837
  switch (tag >>> 3) {
838
838
  case 1:
839
- if (tag != 10) {
839
+ if (tag !== 10) {
840
840
  break;
841
841
  }
842
842
  message.result = reader.string();
843
843
  continue;
844
844
  }
845
- if ((tag & 7) == 4 || tag == 0) {
845
+ if ((tag & 7) === 4 || tag === 0) {
846
846
  break;
847
847
  }
848
848
  reader.skipType(tag & 7);
@@ -889,19 +889,19 @@ exports.QueryRequest = {
889
889
  var tag = reader.uint32();
890
890
  switch (tag >>> 3) {
891
891
  case 1:
892
- if (tag != 10) {
892
+ if (tag !== 10) {
893
893
  break;
894
894
  }
895
895
  message.schemaName = reader.string();
896
896
  continue;
897
897
  case 2:
898
- if (tag != 18) {
898
+ if (tag !== 18) {
899
899
  break;
900
900
  }
901
901
  message.query = reader.string();
902
902
  continue;
903
903
  }
904
- if ((tag & 7) == 4 || tag == 0) {
904
+ if ((tag & 7) === 4 || tag === 0) {
905
905
  break;
906
906
  }
907
907
  reader.skipType(tag & 7);
@@ -953,19 +953,19 @@ exports.RawQueryRequest = {
953
953
  var tag = reader.uint32();
954
954
  switch (tag >>> 3) {
955
955
  case 1:
956
- if (tag != 10) {
956
+ if (tag !== 10) {
957
957
  break;
958
958
  }
959
959
  message.schemaName = reader.string();
960
960
  continue;
961
961
  case 2:
962
- if (tag != 18) {
962
+ if (tag !== 18) {
963
963
  break;
964
964
  }
965
965
  message.query = exports.RawQueryRequest_RawQuery.decode(reader, reader.uint32());
966
966
  continue;
967
967
  }
968
- if ((tag & 7) == 4 || tag == 0) {
968
+ if ((tag & 7) === 4 || tag === 0) {
969
969
  break;
970
970
  }
971
971
  reader.skipType(tag & 7);
@@ -1020,19 +1020,19 @@ exports.RawQueryRequest_RawQuery = {
1020
1020
  var tag = reader.uint32();
1021
1021
  switch (tag >>> 3) {
1022
1022
  case 1:
1023
- if (tag != 10) {
1023
+ if (tag !== 10) {
1024
1024
  break;
1025
1025
  }
1026
1026
  message.mongoQuery = exports.RawQueryRequest_RawQuery_MongoQuery.decode(reader, reader.uint32());
1027
1027
  continue;
1028
1028
  case 2:
1029
- if (tag != 18) {
1029
+ if (tag !== 18) {
1030
1030
  break;
1031
1031
  }
1032
1032
  message.sqlQuery = exports.RawQueryRequest_RawQuery_SQLQuery.decode(reader, reader.uint32());
1033
1033
  continue;
1034
1034
  }
1035
- if ((tag & 7) == 4 || tag == 0) {
1035
+ if ((tag & 7) === 4 || tag === 0) {
1036
1036
  break;
1037
1037
  }
1038
1038
  reader.skipType(tag & 7);
@@ -1136,79 +1136,79 @@ exports.RawQueryRequest_RawQuery_MongoQuery = {
1136
1136
  var tag = reader.uint32();
1137
1137
  switch (tag >>> 3) {
1138
1138
  case 1:
1139
- if (tag != 10) {
1139
+ if (tag !== 10) {
1140
1140
  break;
1141
1141
  }
1142
1142
  message.aggregate = reader.string();
1143
1143
  continue;
1144
1144
  case 2:
1145
- if (tag != 18) {
1145
+ if (tag !== 18) {
1146
1146
  break;
1147
1147
  }
1148
1148
  message.count = reader.string();
1149
1149
  continue;
1150
1150
  case 3:
1151
- if (tag != 26) {
1151
+ if (tag !== 26) {
1152
1152
  break;
1153
1153
  }
1154
1154
  message.deleteOne = reader.string();
1155
1155
  continue;
1156
1156
  case 4:
1157
- if (tag != 34) {
1157
+ if (tag !== 34) {
1158
1158
  break;
1159
1159
  }
1160
1160
  message.deleteMany = reader.string();
1161
1161
  continue;
1162
1162
  case 5:
1163
- if (tag != 42) {
1163
+ if (tag !== 42) {
1164
1164
  break;
1165
1165
  }
1166
1166
  message.drop = reader.string();
1167
1167
  continue;
1168
1168
  case 6:
1169
- if (tag != 50) {
1169
+ if (tag !== 50) {
1170
1170
  break;
1171
1171
  }
1172
1172
  message.explain = reader.string();
1173
1173
  continue;
1174
1174
  case 7:
1175
- if (tag != 58) {
1175
+ if (tag !== 58) {
1176
1176
  break;
1177
1177
  }
1178
1178
  message.find = reader.string();
1179
1179
  continue;
1180
1180
  case 8:
1181
- if (tag != 66) {
1181
+ if (tag !== 66) {
1182
1182
  break;
1183
1183
  }
1184
1184
  message.insertOne = reader.string();
1185
1185
  continue;
1186
1186
  case 9:
1187
- if (tag != 74) {
1187
+ if (tag !== 74) {
1188
1188
  break;
1189
1189
  }
1190
1190
  message.insertMany = reader.string();
1191
1191
  continue;
1192
1192
  case 10:
1193
- if (tag != 82) {
1193
+ if (tag !== 82) {
1194
1194
  break;
1195
1195
  }
1196
1196
  message.updateOne = reader.string();
1197
1197
  continue;
1198
1198
  case 11:
1199
- if (tag != 90) {
1199
+ if (tag !== 90) {
1200
1200
  break;
1201
1201
  }
1202
1202
  message.updateMany = reader.string();
1203
1203
  continue;
1204
1204
  case 12:
1205
- if (tag != 98) {
1205
+ if (tag !== 98) {
1206
1206
  break;
1207
1207
  }
1208
1208
  message.options = reader.string();
1209
1209
  continue;
1210
1210
  }
1211
- if ((tag & 7) == 4 || tag == 0) {
1211
+ if ((tag & 7) === 4 || tag === 0) {
1212
1212
  break;
1213
1213
  }
1214
1214
  reader.skipType(tag & 7);
@@ -1290,19 +1290,19 @@ exports.RawQueryRequest_RawQuery_SQLQuery = {
1290
1290
  var tag = reader.uint32();
1291
1291
  switch (tag >>> 3) {
1292
1292
  case 1:
1293
- if (tag != 10) {
1293
+ if (tag !== 10) {
1294
1294
  break;
1295
1295
  }
1296
1296
  message.query = reader.string();
1297
1297
  continue;
1298
1298
  case 2:
1299
- if (tag != 18) {
1299
+ if (tag !== 18) {
1300
1300
  break;
1301
1301
  }
1302
1302
  message.options = reader.string();
1303
1303
  continue;
1304
1304
  }
1305
- if ((tag & 7) == 4 || tag == 0) {
1305
+ if ((tag & 7) === 4 || tag === 0) {
1306
1306
  break;
1307
1307
  }
1308
1308
  reader.skipType(tag & 7);
@@ -1374,37 +1374,37 @@ exports.UpdateRequest = {
1374
1374
  var tag = reader.uint32();
1375
1375
  switch (tag >>> 3) {
1376
1376
  case 1:
1377
- if (tag != 10) {
1377
+ if (tag !== 10) {
1378
1378
  break;
1379
1379
  }
1380
1380
  message.schemaName = reader.string();
1381
1381
  continue;
1382
1382
  case 2:
1383
- if (tag != 18) {
1383
+ if (tag !== 18) {
1384
1384
  break;
1385
1385
  }
1386
1386
  message.id = reader.string();
1387
1387
  continue;
1388
1388
  case 3:
1389
- if (tag != 26) {
1389
+ if (tag !== 26) {
1390
1390
  break;
1391
1391
  }
1392
1392
  message.query = reader.string();
1393
1393
  continue;
1394
1394
  case 4:
1395
- if (tag != 32) {
1395
+ if (tag !== 32) {
1396
1396
  break;
1397
1397
  }
1398
1398
  message.updateProvidedOnly = reader.bool();
1399
1399
  continue;
1400
1400
  case 5:
1401
- if (tag != 42) {
1401
+ if (tag !== 42) {
1402
1402
  break;
1403
1403
  }
1404
1404
  message.populate.push(reader.string());
1405
1405
  continue;
1406
1406
  }
1407
- if ((tag & 7) == 4 || tag == 0) {
1407
+ if ((tag & 7) === 4 || tag === 0) {
1408
1408
  break;
1409
1409
  }
1410
1410
  reader.skipType(tag & 7);
@@ -1476,31 +1476,31 @@ exports.UpdateManyRequest = {
1476
1476
  var tag = reader.uint32();
1477
1477
  switch (tag >>> 3) {
1478
1478
  case 1:
1479
- if (tag != 10) {
1479
+ if (tag !== 10) {
1480
1480
  break;
1481
1481
  }
1482
1482
  message.schemaName = reader.string();
1483
1483
  continue;
1484
1484
  case 2:
1485
- if (tag != 18) {
1485
+ if (tag !== 18) {
1486
1486
  break;
1487
1487
  }
1488
1488
  message.filterQuery = reader.string();
1489
1489
  continue;
1490
1490
  case 3:
1491
- if (tag != 26) {
1491
+ if (tag !== 26) {
1492
1492
  break;
1493
1493
  }
1494
1494
  message.query = reader.string();
1495
1495
  continue;
1496
1496
  case 4:
1497
- if (tag != 32) {
1497
+ if (tag !== 32) {
1498
1498
  break;
1499
1499
  }
1500
1500
  message.updateProvidedOnly = reader.bool();
1501
1501
  continue;
1502
1502
  }
1503
- if ((tag & 7) == 4 || tag == 0) {
1503
+ if ((tag & 7) === 4 || tag === 0) {
1504
1504
  break;
1505
1505
  }
1506
1506
  reader.skipType(tag & 7);
@@ -1558,19 +1558,19 @@ exports.DropCollectionRequest = {
1558
1558
  var tag = reader.uint32();
1559
1559
  switch (tag >>> 3) {
1560
1560
  case 1:
1561
- if (tag != 10) {
1561
+ if (tag !== 10) {
1562
1562
  break;
1563
1563
  }
1564
1564
  message.schemaName = reader.string();
1565
1565
  continue;
1566
1566
  case 2:
1567
- if (tag != 16) {
1567
+ if (tag !== 16) {
1568
1568
  break;
1569
1569
  }
1570
1570
  message.deleteData = reader.bool();
1571
1571
  continue;
1572
1572
  }
1573
- if ((tag & 7) == 4 || tag == 0) {
1573
+ if ((tag & 7) === 4 || tag === 0) {
1574
1574
  break;
1575
1575
  }
1576
1576
  reader.skipType(tag & 7);