protobuf-platform 1.0.44 → 1.0.45
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/package.json +1 -1
- package/user/user.proto +3 -3
- package/user/user_pb.js +20 -20
package/package.json
CHANGED
package/user/user.proto
CHANGED
@@ -55,9 +55,9 @@ message UserDataResponse {
|
|
55
55
|
//Permissions
|
56
56
|
message RolePermissionRequest {
|
57
57
|
string role = 1;
|
58
|
-
string
|
59
|
-
optional string
|
60
|
-
optional string
|
58
|
+
string section_one = 2;
|
59
|
+
optional string section_two = 3;
|
60
|
+
optional string section_three = 4;
|
61
61
|
}
|
62
62
|
message RolePermissionStatusResponse {
|
63
63
|
string status = 1;
|
package/user/user_pb.js
CHANGED
@@ -1990,9 +1990,9 @@ proto.user.RolePermissionRequest.prototype.toObject = function(opt_includeInstan
|
|
1990
1990
|
proto.user.RolePermissionRequest.toObject = function(includeInstance, msg) {
|
1991
1991
|
var f, obj = {
|
1992
1992
|
role: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1993
|
-
|
1994
|
-
|
1995
|
-
|
1993
|
+
sectionOne: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
1994
|
+
sectionTwo: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
1995
|
+
sectionThree: jspb.Message.getFieldWithDefault(msg, 4, "")
|
1996
1996
|
};
|
1997
1997
|
|
1998
1998
|
if (includeInstance) {
|
@@ -2035,15 +2035,15 @@ proto.user.RolePermissionRequest.deserializeBinaryFromReader = function(msg, rea
|
|
2035
2035
|
break;
|
2036
2036
|
case 2:
|
2037
2037
|
var value = /** @type {string} */ (reader.readString());
|
2038
|
-
msg.
|
2038
|
+
msg.setSectionOne(value);
|
2039
2039
|
break;
|
2040
2040
|
case 3:
|
2041
2041
|
var value = /** @type {string} */ (reader.readString());
|
2042
|
-
msg.
|
2042
|
+
msg.setSectionTwo(value);
|
2043
2043
|
break;
|
2044
2044
|
case 4:
|
2045
2045
|
var value = /** @type {string} */ (reader.readString());
|
2046
|
-
msg.
|
2046
|
+
msg.setSectionThree(value);
|
2047
2047
|
break;
|
2048
2048
|
default:
|
2049
2049
|
reader.skipField();
|
@@ -2081,7 +2081,7 @@ proto.user.RolePermissionRequest.serializeBinaryToWriter = function(message, wri
|
|
2081
2081
|
f
|
2082
2082
|
);
|
2083
2083
|
}
|
2084
|
-
f = message.
|
2084
|
+
f = message.getSectionOne();
|
2085
2085
|
if (f.length > 0) {
|
2086
2086
|
writer.writeString(
|
2087
2087
|
2,
|
@@ -2124,10 +2124,10 @@ proto.user.RolePermissionRequest.prototype.setRole = function(value) {
|
|
2124
2124
|
|
2125
2125
|
|
2126
2126
|
/**
|
2127
|
-
* optional string
|
2127
|
+
* optional string section_one = 2;
|
2128
2128
|
* @return {string}
|
2129
2129
|
*/
|
2130
|
-
proto.user.RolePermissionRequest.prototype.
|
2130
|
+
proto.user.RolePermissionRequest.prototype.getSectionOne = function() {
|
2131
2131
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
2132
2132
|
};
|
2133
2133
|
|
@@ -2136,16 +2136,16 @@ proto.user.RolePermissionRequest.prototype.getSection1 = function() {
|
|
2136
2136
|
* @param {string} value
|
2137
2137
|
* @return {!proto.user.RolePermissionRequest} returns this
|
2138
2138
|
*/
|
2139
|
-
proto.user.RolePermissionRequest.prototype.
|
2139
|
+
proto.user.RolePermissionRequest.prototype.setSectionOne = function(value) {
|
2140
2140
|
return jspb.Message.setProto3StringField(this, 2, value);
|
2141
2141
|
};
|
2142
2142
|
|
2143
2143
|
|
2144
2144
|
/**
|
2145
|
-
* optional string
|
2145
|
+
* optional string section_two = 3;
|
2146
2146
|
* @return {string}
|
2147
2147
|
*/
|
2148
|
-
proto.user.RolePermissionRequest.prototype.
|
2148
|
+
proto.user.RolePermissionRequest.prototype.getSectionTwo = function() {
|
2149
2149
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
2150
2150
|
};
|
2151
2151
|
|
@@ -2154,7 +2154,7 @@ proto.user.RolePermissionRequest.prototype.getSection2 = function() {
|
|
2154
2154
|
* @param {string} value
|
2155
2155
|
* @return {!proto.user.RolePermissionRequest} returns this
|
2156
2156
|
*/
|
2157
|
-
proto.user.RolePermissionRequest.prototype.
|
2157
|
+
proto.user.RolePermissionRequest.prototype.setSectionTwo = function(value) {
|
2158
2158
|
return jspb.Message.setField(this, 3, value);
|
2159
2159
|
};
|
2160
2160
|
|
@@ -2163,7 +2163,7 @@ proto.user.RolePermissionRequest.prototype.setSection2 = function(value) {
|
|
2163
2163
|
* Clears the field making it undefined.
|
2164
2164
|
* @return {!proto.user.RolePermissionRequest} returns this
|
2165
2165
|
*/
|
2166
|
-
proto.user.RolePermissionRequest.prototype.
|
2166
|
+
proto.user.RolePermissionRequest.prototype.clearSectionTwo = function() {
|
2167
2167
|
return jspb.Message.setField(this, 3, undefined);
|
2168
2168
|
};
|
2169
2169
|
|
@@ -2172,16 +2172,16 @@ proto.user.RolePermissionRequest.prototype.clearSection2 = function() {
|
|
2172
2172
|
* Returns whether this field is set.
|
2173
2173
|
* @return {boolean}
|
2174
2174
|
*/
|
2175
|
-
proto.user.RolePermissionRequest.prototype.
|
2175
|
+
proto.user.RolePermissionRequest.prototype.hasSectionTwo = function() {
|
2176
2176
|
return jspb.Message.getField(this, 3) != null;
|
2177
2177
|
};
|
2178
2178
|
|
2179
2179
|
|
2180
2180
|
/**
|
2181
|
-
* optional string
|
2181
|
+
* optional string section_three = 4;
|
2182
2182
|
* @return {string}
|
2183
2183
|
*/
|
2184
|
-
proto.user.RolePermissionRequest.prototype.
|
2184
|
+
proto.user.RolePermissionRequest.prototype.getSectionThree = function() {
|
2185
2185
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
2186
2186
|
};
|
2187
2187
|
|
@@ -2190,7 +2190,7 @@ proto.user.RolePermissionRequest.prototype.getSection3 = function() {
|
|
2190
2190
|
* @param {string} value
|
2191
2191
|
* @return {!proto.user.RolePermissionRequest} returns this
|
2192
2192
|
*/
|
2193
|
-
proto.user.RolePermissionRequest.prototype.
|
2193
|
+
proto.user.RolePermissionRequest.prototype.setSectionThree = function(value) {
|
2194
2194
|
return jspb.Message.setField(this, 4, value);
|
2195
2195
|
};
|
2196
2196
|
|
@@ -2199,7 +2199,7 @@ proto.user.RolePermissionRequest.prototype.setSection3 = function(value) {
|
|
2199
2199
|
* Clears the field making it undefined.
|
2200
2200
|
* @return {!proto.user.RolePermissionRequest} returns this
|
2201
2201
|
*/
|
2202
|
-
proto.user.RolePermissionRequest.prototype.
|
2202
|
+
proto.user.RolePermissionRequest.prototype.clearSectionThree = function() {
|
2203
2203
|
return jspb.Message.setField(this, 4, undefined);
|
2204
2204
|
};
|
2205
2205
|
|
@@ -2208,7 +2208,7 @@ proto.user.RolePermissionRequest.prototype.clearSection3 = function() {
|
|
2208
2208
|
* Returns whether this field is set.
|
2209
2209
|
* @return {boolean}
|
2210
2210
|
*/
|
2211
|
-
proto.user.RolePermissionRequest.prototype.
|
2211
|
+
proto.user.RolePermissionRequest.prototype.hasSectionThree = function() {
|
2212
2212
|
return jspb.Message.getField(this, 4) != null;
|
2213
2213
|
};
|
2214
2214
|
|