protobuf-platform 1.1.65 → 1.1.66
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 +4 -3
- package/user/user_pb.js +65 -17
package/package.json
CHANGED
package/user/user.proto
CHANGED
@@ -57,9 +57,10 @@ message PongResponse { string pong = 1; }
|
|
57
57
|
message PaginationRequest {
|
58
58
|
int32 limit = 1;
|
59
59
|
int32 offset = 2;
|
60
|
-
optional
|
61
|
-
optional
|
62
|
-
optional
|
60
|
+
optional string order = 3;
|
61
|
+
optional UserSearchParams user_search_params = 4;
|
62
|
+
optional SegmentSearchParams segment_search_params = 5;
|
63
|
+
optional NoteSearchParams note_search_params = 6;
|
63
64
|
}
|
64
65
|
//Media
|
65
66
|
message File { bytes media = 1; optional string file_name = 2; optional string file_type = 3; }
|
package/user/user_pb.js
CHANGED
@@ -1416,6 +1416,7 @@ proto.user.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
1416
1416
|
var f, obj = {
|
1417
1417
|
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
1418
1418
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
1419
|
+
order: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
1419
1420
|
userSearchParams: (f = msg.getUserSearchParams()) && proto.user.UserSearchParams.toObject(includeInstance, f),
|
1420
1421
|
segmentSearchParams: (f = msg.getSegmentSearchParams()) && proto.user.SegmentSearchParams.toObject(includeInstance, f),
|
1421
1422
|
noteSearchParams: (f = msg.getNoteSearchParams()) && proto.user.NoteSearchParams.toObject(includeInstance, f)
|
@@ -1464,16 +1465,20 @@ proto.user.PaginationRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
1464
1465
|
msg.setOffset(value);
|
1465
1466
|
break;
|
1466
1467
|
case 3:
|
1468
|
+
var value = /** @type {string} */ (reader.readString());
|
1469
|
+
msg.setOrder(value);
|
1470
|
+
break;
|
1471
|
+
case 4:
|
1467
1472
|
var value = new proto.user.UserSearchParams;
|
1468
1473
|
reader.readMessage(value,proto.user.UserSearchParams.deserializeBinaryFromReader);
|
1469
1474
|
msg.setUserSearchParams(value);
|
1470
1475
|
break;
|
1471
|
-
case
|
1476
|
+
case 5:
|
1472
1477
|
var value = new proto.user.SegmentSearchParams;
|
1473
1478
|
reader.readMessage(value,proto.user.SegmentSearchParams.deserializeBinaryFromReader);
|
1474
1479
|
msg.setSegmentSearchParams(value);
|
1475
1480
|
break;
|
1476
|
-
case
|
1481
|
+
case 6:
|
1477
1482
|
var value = new proto.user.NoteSearchParams;
|
1478
1483
|
reader.readMessage(value,proto.user.NoteSearchParams.deserializeBinaryFromReader);
|
1479
1484
|
msg.setNoteSearchParams(value);
|
@@ -1521,10 +1526,17 @@ proto.user.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
1521
1526
|
f
|
1522
1527
|
);
|
1523
1528
|
}
|
1529
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
1530
|
+
if (f != null) {
|
1531
|
+
writer.writeString(
|
1532
|
+
3,
|
1533
|
+
f
|
1534
|
+
);
|
1535
|
+
}
|
1524
1536
|
f = message.getUserSearchParams();
|
1525
1537
|
if (f != null) {
|
1526
1538
|
writer.writeMessage(
|
1527
|
-
|
1539
|
+
4,
|
1528
1540
|
f,
|
1529
1541
|
proto.user.UserSearchParams.serializeBinaryToWriter
|
1530
1542
|
);
|
@@ -1532,7 +1544,7 @@ proto.user.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
1532
1544
|
f = message.getSegmentSearchParams();
|
1533
1545
|
if (f != null) {
|
1534
1546
|
writer.writeMessage(
|
1535
|
-
|
1547
|
+
5,
|
1536
1548
|
f,
|
1537
1549
|
proto.user.SegmentSearchParams.serializeBinaryToWriter
|
1538
1550
|
);
|
@@ -1540,7 +1552,7 @@ proto.user.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
1540
1552
|
f = message.getNoteSearchParams();
|
1541
1553
|
if (f != null) {
|
1542
1554
|
writer.writeMessage(
|
1543
|
-
|
1555
|
+
6,
|
1544
1556
|
f,
|
1545
1557
|
proto.user.NoteSearchParams.serializeBinaryToWriter
|
1546
1558
|
);
|
@@ -1585,12 +1597,48 @@ proto.user.PaginationRequest.prototype.setOffset = function(value) {
|
|
1585
1597
|
|
1586
1598
|
|
1587
1599
|
/**
|
1588
|
-
* optional
|
1600
|
+
* optional string order = 3;
|
1601
|
+
* @return {string}
|
1602
|
+
*/
|
1603
|
+
proto.user.PaginationRequest.prototype.getOrder = function() {
|
1604
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
1605
|
+
};
|
1606
|
+
|
1607
|
+
|
1608
|
+
/**
|
1609
|
+
* @param {string} value
|
1610
|
+
* @return {!proto.user.PaginationRequest} returns this
|
1611
|
+
*/
|
1612
|
+
proto.user.PaginationRequest.prototype.setOrder = function(value) {
|
1613
|
+
return jspb.Message.setField(this, 3, value);
|
1614
|
+
};
|
1615
|
+
|
1616
|
+
|
1617
|
+
/**
|
1618
|
+
* Clears the field making it undefined.
|
1619
|
+
* @return {!proto.user.PaginationRequest} returns this
|
1620
|
+
*/
|
1621
|
+
proto.user.PaginationRequest.prototype.clearOrder = function() {
|
1622
|
+
return jspb.Message.setField(this, 3, undefined);
|
1623
|
+
};
|
1624
|
+
|
1625
|
+
|
1626
|
+
/**
|
1627
|
+
* Returns whether this field is set.
|
1628
|
+
* @return {boolean}
|
1629
|
+
*/
|
1630
|
+
proto.user.PaginationRequest.prototype.hasOrder = function() {
|
1631
|
+
return jspb.Message.getField(this, 3) != null;
|
1632
|
+
};
|
1633
|
+
|
1634
|
+
|
1635
|
+
/**
|
1636
|
+
* optional UserSearchParams user_search_params = 4;
|
1589
1637
|
* @return {?proto.user.UserSearchParams}
|
1590
1638
|
*/
|
1591
1639
|
proto.user.PaginationRequest.prototype.getUserSearchParams = function() {
|
1592
1640
|
return /** @type{?proto.user.UserSearchParams} */ (
|
1593
|
-
jspb.Message.getWrapperField(this, proto.user.UserSearchParams,
|
1641
|
+
jspb.Message.getWrapperField(this, proto.user.UserSearchParams, 4));
|
1594
1642
|
};
|
1595
1643
|
|
1596
1644
|
|
@@ -1599,7 +1647,7 @@ proto.user.PaginationRequest.prototype.getUserSearchParams = function() {
|
|
1599
1647
|
* @return {!proto.user.PaginationRequest} returns this
|
1600
1648
|
*/
|
1601
1649
|
proto.user.PaginationRequest.prototype.setUserSearchParams = function(value) {
|
1602
|
-
return jspb.Message.setWrapperField(this,
|
1650
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
1603
1651
|
};
|
1604
1652
|
|
1605
1653
|
|
@@ -1617,17 +1665,17 @@ proto.user.PaginationRequest.prototype.clearUserSearchParams = function() {
|
|
1617
1665
|
* @return {boolean}
|
1618
1666
|
*/
|
1619
1667
|
proto.user.PaginationRequest.prototype.hasUserSearchParams = function() {
|
1620
|
-
return jspb.Message.getField(this,
|
1668
|
+
return jspb.Message.getField(this, 4) != null;
|
1621
1669
|
};
|
1622
1670
|
|
1623
1671
|
|
1624
1672
|
/**
|
1625
|
-
* optional SegmentSearchParams segment_search_params =
|
1673
|
+
* optional SegmentSearchParams segment_search_params = 5;
|
1626
1674
|
* @return {?proto.user.SegmentSearchParams}
|
1627
1675
|
*/
|
1628
1676
|
proto.user.PaginationRequest.prototype.getSegmentSearchParams = function() {
|
1629
1677
|
return /** @type{?proto.user.SegmentSearchParams} */ (
|
1630
|
-
jspb.Message.getWrapperField(this, proto.user.SegmentSearchParams,
|
1678
|
+
jspb.Message.getWrapperField(this, proto.user.SegmentSearchParams, 5));
|
1631
1679
|
};
|
1632
1680
|
|
1633
1681
|
|
@@ -1636,7 +1684,7 @@ proto.user.PaginationRequest.prototype.getSegmentSearchParams = function() {
|
|
1636
1684
|
* @return {!proto.user.PaginationRequest} returns this
|
1637
1685
|
*/
|
1638
1686
|
proto.user.PaginationRequest.prototype.setSegmentSearchParams = function(value) {
|
1639
|
-
return jspb.Message.setWrapperField(this,
|
1687
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
1640
1688
|
};
|
1641
1689
|
|
1642
1690
|
|
@@ -1654,17 +1702,17 @@ proto.user.PaginationRequest.prototype.clearSegmentSearchParams = function() {
|
|
1654
1702
|
* @return {boolean}
|
1655
1703
|
*/
|
1656
1704
|
proto.user.PaginationRequest.prototype.hasSegmentSearchParams = function() {
|
1657
|
-
return jspb.Message.getField(this,
|
1705
|
+
return jspb.Message.getField(this, 5) != null;
|
1658
1706
|
};
|
1659
1707
|
|
1660
1708
|
|
1661
1709
|
/**
|
1662
|
-
* optional NoteSearchParams note_search_params =
|
1710
|
+
* optional NoteSearchParams note_search_params = 6;
|
1663
1711
|
* @return {?proto.user.NoteSearchParams}
|
1664
1712
|
*/
|
1665
1713
|
proto.user.PaginationRequest.prototype.getNoteSearchParams = function() {
|
1666
1714
|
return /** @type{?proto.user.NoteSearchParams} */ (
|
1667
|
-
jspb.Message.getWrapperField(this, proto.user.NoteSearchParams,
|
1715
|
+
jspb.Message.getWrapperField(this, proto.user.NoteSearchParams, 6));
|
1668
1716
|
};
|
1669
1717
|
|
1670
1718
|
|
@@ -1673,7 +1721,7 @@ proto.user.PaginationRequest.prototype.getNoteSearchParams = function() {
|
|
1673
1721
|
* @return {!proto.user.PaginationRequest} returns this
|
1674
1722
|
*/
|
1675
1723
|
proto.user.PaginationRequest.prototype.setNoteSearchParams = function(value) {
|
1676
|
-
return jspb.Message.setWrapperField(this,
|
1724
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
1677
1725
|
};
|
1678
1726
|
|
1679
1727
|
|
@@ -1691,7 +1739,7 @@ proto.user.PaginationRequest.prototype.clearNoteSearchParams = function() {
|
|
1691
1739
|
* @return {boolean}
|
1692
1740
|
*/
|
1693
1741
|
proto.user.PaginationRequest.prototype.hasNoteSearchParams = function() {
|
1694
|
-
return jspb.Message.getField(this,
|
1742
|
+
return jspb.Message.getField(this, 6) != null;
|
1695
1743
|
};
|
1696
1744
|
|
1697
1745
|
|