jr-common-micro 1.1.92 → 1.1.93

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.
@@ -26,6 +26,7 @@ export interface ChatGroupDto {
26
26
  viewer_anonymous: boolean;
27
27
  voice_policy: string;
28
28
  voice_reactions: boolean;
29
+ list_visibility: string;
29
30
  }
30
31
  export interface ChatGroupListResponse {
31
32
  status: ResponseStatus | undefined;
@@ -278,6 +279,7 @@ export interface GroupUpsertRequest {
278
279
  retention_hours: number;
279
280
  voice_policy: string;
280
281
  voice_reactions: string;
282
+ list_visibility: string;
281
283
  }
282
284
  export interface SanctionRequest {
283
285
  username: string;
@@ -27,6 +27,7 @@ export declare class ChatGroupDto extends Message<ChatGroupDto> {
27
27
  viewerAnonymous: boolean;
28
28
  voicePolicy: string;
29
29
  voiceReactions: boolean;
30
+ listVisibility: string;
30
31
  constructor(data?: PartialMessage<ChatGroupDto>);
31
32
  static readonly runtime: typeof proto3;
32
33
  static readonly typeName = "micro.v1.chat.ChatGroupDto";
@@ -567,6 +568,7 @@ export declare class GroupUpsertRequest extends Message<GroupUpsertRequest> {
567
568
  retentionHours: number;
568
569
  voicePolicy: string;
569
570
  voiceReactions: string;
571
+ listVisibility: string;
570
572
  constructor(data?: PartialMessage<GroupUpsertRequest>);
571
573
  static readonly runtime: typeof proto3;
572
574
  static readonly typeName = "micro.v1.chat.GroupUpsertRequest";
@@ -30,6 +30,7 @@ class ChatGroupDto extends protobuf_1.Message {
30
30
  viewerAnonymous = false;
31
31
  voicePolicy = "";
32
32
  voiceReactions = false;
33
+ listVisibility = "";
33
34
  constructor(data) {
34
35
  super();
35
36
  protobuf_1.proto3.util.initPartial(data, this);
@@ -62,6 +63,7 @@ class ChatGroupDto extends protobuf_1.Message {
62
63
  { no: 23, name: "viewer_anonymous", kind: "scalar", T: 8 },
63
64
  { no: 24, name: "voice_policy", kind: "scalar", T: 9 },
64
65
  { no: 25, name: "voice_reactions", kind: "scalar", T: 8 },
66
+ { no: 26, name: "list_visibility", kind: "scalar", T: 9 },
65
67
  ]);
66
68
  static fromBinary(bytes, options) {
67
69
  return new ChatGroupDto().fromBinary(bytes, options);
@@ -1230,6 +1232,7 @@ class GroupUpsertRequest extends protobuf_1.Message {
1230
1232
  retentionHours = 0;
1231
1233
  voicePolicy = "";
1232
1234
  voiceReactions = "";
1235
+ listVisibility = "";
1233
1236
  constructor(data) {
1234
1237
  super();
1235
1238
  protobuf_1.proto3.util.initPartial(data, this);
@@ -1250,6 +1253,7 @@ class GroupUpsertRequest extends protobuf_1.Message {
1250
1253
  { no: 11, name: "retention_hours", kind: "scalar", T: 5 },
1251
1254
  { no: 12, name: "voice_policy", kind: "scalar", T: 9 },
1252
1255
  { no: 13, name: "voice_reactions", kind: "scalar", T: 9 },
1256
+ { no: 14, name: "list_visibility", kind: "scalar", T: 9 },
1253
1257
  ]);
1254
1258
  static fromBinary(bytes, options) {
1255
1259
  return new GroupUpsertRequest().fromBinary(bytes, options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jr-common-micro",
3
- "version": "1.1.92",
3
+ "version": "1.1.93",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -44,6 +44,9 @@ message ChatGroupDto {
44
44
  string voice_policy = 24;
45
45
  // Emoji reactions inside the group's voice room.
46
46
  bool voice_reactions = 25;
47
+ // Who sees the group in the chat list: everyone (default) | members
48
+ // (only its approved members; it stays reachable by its link).
49
+ string list_visibility = 26;
47
50
  }
48
51
 
49
52
  message ChatGroupListResponse {
@@ -419,6 +422,8 @@ message GroupUpsertRequest {
419
422
  string voice_policy = 12;
420
423
  // on | off (empty = keep/default on)
421
424
  string voice_reactions = 13;
425
+ // everyone | members (empty = keep/default everyone)
426
+ string list_visibility = 14;
422
427
  }
423
428
 
424
429
  message SanctionRequest {