@sniipwebmaster/user-service-client-grpcweb 21.21.5923 → 21.21.5933
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/dependancies/service_pb.js +56 -2
- package/package.json +1 -1
|
@@ -12209,7 +12209,8 @@ proto.sniipuserservice.GetPermissionsRequest.prototype.toObject = function(opt_i
|
|
|
12209
12209
|
*/
|
|
12210
12210
|
proto.sniipuserservice.GetPermissionsRequest.toObject = function(includeInstance, msg) {
|
|
12211
12211
|
var f, obj = {
|
|
12212
|
-
searchonnameordescription: msg.getSearchonnameordescription()
|
|
12212
|
+
searchonnameordescription: msg.getSearchonnameordescription(),
|
|
12213
|
+
type: msg.getType()
|
|
12213
12214
|
};
|
|
12214
12215
|
|
|
12215
12216
|
if (includeInstance) {
|
|
@@ -12250,6 +12251,10 @@ proto.sniipuserservice.GetPermissionsRequest.deserializeBinaryFromReader = funct
|
|
|
12250
12251
|
var value = /** @type {string} */ (reader.readString());
|
|
12251
12252
|
msg.setSearchonnameordescription(value);
|
|
12252
12253
|
break;
|
|
12254
|
+
case 2:
|
|
12255
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12256
|
+
msg.setType(value);
|
|
12257
|
+
break;
|
|
12253
12258
|
default:
|
|
12254
12259
|
reader.skipField();
|
|
12255
12260
|
break;
|
|
@@ -12295,6 +12300,13 @@ proto.sniipuserservice.GetPermissionsRequest.prototype.serializeBinaryToWriter =
|
|
|
12295
12300
|
f
|
|
12296
12301
|
);
|
|
12297
12302
|
}
|
|
12303
|
+
f = this.getType();
|
|
12304
|
+
if (f.length > 0) {
|
|
12305
|
+
writer.writeString(
|
|
12306
|
+
2,
|
|
12307
|
+
f
|
|
12308
|
+
);
|
|
12309
|
+
}
|
|
12298
12310
|
};
|
|
12299
12311
|
|
|
12300
12312
|
|
|
@@ -12322,6 +12334,21 @@ proto.sniipuserservice.GetPermissionsRequest.prototype.setSearchonnameordescript
|
|
|
12322
12334
|
};
|
|
12323
12335
|
|
|
12324
12336
|
|
|
12337
|
+
/**
|
|
12338
|
+
* optional string type = 2;
|
|
12339
|
+
* @return {string}
|
|
12340
|
+
*/
|
|
12341
|
+
proto.sniipuserservice.GetPermissionsRequest.prototype.getType = function() {
|
|
12342
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
12343
|
+
};
|
|
12344
|
+
|
|
12345
|
+
|
|
12346
|
+
/** @param {string} value */
|
|
12347
|
+
proto.sniipuserservice.GetPermissionsRequest.prototype.setType = function(value) {
|
|
12348
|
+
jspb.Message.setField(this, 2, value);
|
|
12349
|
+
};
|
|
12350
|
+
|
|
12351
|
+
|
|
12325
12352
|
|
|
12326
12353
|
/**
|
|
12327
12354
|
* Generated by JsPbCodeGenerator.
|
|
@@ -18345,7 +18372,8 @@ proto.sniipuserservice.Permission.toObject = function(includeInstance, msg) {
|
|
|
18345
18372
|
var f, obj = {
|
|
18346
18373
|
permissionid: msg.getPermissionid(),
|
|
18347
18374
|
name: msg.getName(),
|
|
18348
|
-
description: msg.getDescription()
|
|
18375
|
+
description: msg.getDescription(),
|
|
18376
|
+
type: msg.getType()
|
|
18349
18377
|
};
|
|
18350
18378
|
|
|
18351
18379
|
if (includeInstance) {
|
|
@@ -18394,6 +18422,10 @@ proto.sniipuserservice.Permission.deserializeBinaryFromReader = function(msg, re
|
|
|
18394
18422
|
var value = /** @type {string} */ (reader.readString());
|
|
18395
18423
|
msg.setDescription(value);
|
|
18396
18424
|
break;
|
|
18425
|
+
case 4:
|
|
18426
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18427
|
+
msg.setType(value);
|
|
18428
|
+
break;
|
|
18397
18429
|
default:
|
|
18398
18430
|
reader.skipField();
|
|
18399
18431
|
break;
|
|
@@ -18453,6 +18485,13 @@ proto.sniipuserservice.Permission.prototype.serializeBinaryToWriter = function (
|
|
|
18453
18485
|
f
|
|
18454
18486
|
);
|
|
18455
18487
|
}
|
|
18488
|
+
f = this.getType();
|
|
18489
|
+
if (f.length > 0) {
|
|
18490
|
+
writer.writeString(
|
|
18491
|
+
4,
|
|
18492
|
+
f
|
|
18493
|
+
);
|
|
18494
|
+
}
|
|
18456
18495
|
};
|
|
18457
18496
|
|
|
18458
18497
|
|
|
@@ -18510,6 +18549,21 @@ proto.sniipuserservice.Permission.prototype.setDescription = function(value) {
|
|
|
18510
18549
|
};
|
|
18511
18550
|
|
|
18512
18551
|
|
|
18552
|
+
/**
|
|
18553
|
+
* optional string type = 4;
|
|
18554
|
+
* @return {string}
|
|
18555
|
+
*/
|
|
18556
|
+
proto.sniipuserservice.Permission.prototype.getType = function() {
|
|
18557
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
18558
|
+
};
|
|
18559
|
+
|
|
18560
|
+
|
|
18561
|
+
/** @param {string} value */
|
|
18562
|
+
proto.sniipuserservice.Permission.prototype.setType = function(value) {
|
|
18563
|
+
jspb.Message.setField(this, 4, value);
|
|
18564
|
+
};
|
|
18565
|
+
|
|
18566
|
+
|
|
18513
18567
|
|
|
18514
18568
|
/**
|
|
18515
18569
|
* Generated by JsPbCodeGenerator.
|