jr-common-micro 1.1.91 → 1.1.92
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.
|
@@ -303,6 +303,10 @@ export interface MemberActionRequest {
|
|
|
303
303
|
}
|
|
304
304
|
export interface PendingMembersRequest {
|
|
305
305
|
group_slug: string;
|
|
306
|
+
cursor: string;
|
|
307
|
+
limit: number;
|
|
308
|
+
query: string;
|
|
309
|
+
filter: string;
|
|
306
310
|
}
|
|
307
311
|
export interface ChatMemberListRequest {
|
|
308
312
|
slug: string;
|
|
@@ -640,6 +640,10 @@ export declare class MemberActionRequest extends Message<MemberActionRequest> {
|
|
|
640
640
|
}
|
|
641
641
|
export declare class PendingMembersRequest extends Message<PendingMembersRequest> {
|
|
642
642
|
groupSlug: string;
|
|
643
|
+
cursor: string;
|
|
644
|
+
limit: number;
|
|
645
|
+
query: string;
|
|
646
|
+
filter: string;
|
|
643
647
|
constructor(data?: PartialMessage<PendingMembersRequest>);
|
|
644
648
|
static readonly runtime: typeof proto3;
|
|
645
649
|
static readonly typeName = "micro.v1.chat.PendingMembersRequest";
|
|
@@ -1406,6 +1406,10 @@ class MemberActionRequest extends protobuf_1.Message {
|
|
|
1406
1406
|
exports.MemberActionRequest = MemberActionRequest;
|
|
1407
1407
|
class PendingMembersRequest extends protobuf_1.Message {
|
|
1408
1408
|
groupSlug = "";
|
|
1409
|
+
cursor = "";
|
|
1410
|
+
limit = 0;
|
|
1411
|
+
query = "";
|
|
1412
|
+
filter = "";
|
|
1409
1413
|
constructor(data) {
|
|
1410
1414
|
super();
|
|
1411
1415
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1414,6 +1418,10 @@ class PendingMembersRequest extends protobuf_1.Message {
|
|
|
1414
1418
|
static typeName = "micro.v1.chat.PendingMembersRequest";
|
|
1415
1419
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1416
1420
|
{ no: 1, name: "group_slug", kind: "scalar", T: 9 },
|
|
1421
|
+
{ no: 2, name: "cursor", kind: "scalar", T: 9 },
|
|
1422
|
+
{ no: 3, name: "limit", kind: "scalar", T: 13 },
|
|
1423
|
+
{ no: 4, name: "query", kind: "scalar", T: 9 },
|
|
1424
|
+
{ no: 5, name: "filter", kind: "scalar", T: 9 },
|
|
1417
1425
|
]);
|
|
1418
1426
|
static fromBinary(bytes, options) {
|
|
1419
1427
|
return new PendingMembersRequest().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -448,7 +448,16 @@ message MemberActionRequest {
|
|
|
448
448
|
string action = 3;
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
-
|
|
451
|
+
// Join-request page. cursor = last row id of the previous page (newest
|
|
452
|
+
// first); limit capped by the micro (default 20); query = username filter;
|
|
453
|
+
// filter = new (first-timers) | again (re-applicants) | empty (both).
|
|
454
|
+
message PendingMembersRequest {
|
|
455
|
+
string group_slug = 1;
|
|
456
|
+
string cursor = 2;
|
|
457
|
+
uint32 limit = 3;
|
|
458
|
+
string query = 4;
|
|
459
|
+
string filter = 5;
|
|
460
|
+
}
|
|
452
461
|
|
|
453
462
|
// Member list page. Wire-compatible with GroupBySlugRequest (slug = 1) so an
|
|
454
463
|
// older caller still gets the first page.
|