jr-common-micro 1.1.84 → 1.1.86
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/dist/proto/micro/v1/chat/chat_messages_nest.d.ts +1 -0
- package/dist/proto/micro/v1/chat/chat_messages_pb.d.ts +1 -0
- package/dist/proto/micro/v1/chat/chat_messages_pb.js +2 -0
- package/dist/proto/micro/v1/user/user_messages_nest.d.ts +1 -0
- package/dist/proto/micro/v1/user/user_messages_pb.d.ts +1 -0
- package/dist/proto/micro/v1/user/user_messages_pb.js +2 -0
- package/package.json +1 -1
- package/proto/micro/v1/chat/chat_messages.proto +3 -0
- package/proto/micro/v1/user/user_messages.proto +2 -0
|
@@ -300,6 +300,7 @@ export declare class ChatMediaGetResponse extends Message<ChatMediaGetResponse>
|
|
|
300
300
|
data: Uint8Array<ArrayBuffer>;
|
|
301
301
|
mimetype: string;
|
|
302
302
|
kind: string;
|
|
303
|
+
redirectUrl: string;
|
|
303
304
|
constructor(data?: PartialMessage<ChatMediaGetResponse>);
|
|
304
305
|
static readonly runtime: typeof proto3;
|
|
305
306
|
static readonly typeName = "micro.v1.chat.ChatMediaGetResponse";
|
|
@@ -651,6 +651,7 @@ class ChatMediaGetResponse extends protobuf_1.Message {
|
|
|
651
651
|
data = new Uint8Array(0);
|
|
652
652
|
mimetype = "";
|
|
653
653
|
kind = "";
|
|
654
|
+
redirectUrl = "";
|
|
654
655
|
constructor(data) {
|
|
655
656
|
super();
|
|
656
657
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -662,6 +663,7 @@ class ChatMediaGetResponse extends protobuf_1.Message {
|
|
|
662
663
|
{ no: 2, name: "data", kind: "scalar", T: 12 },
|
|
663
664
|
{ no: 3, name: "mimetype", kind: "scalar", T: 9 },
|
|
664
665
|
{ no: 4, name: "kind", kind: "scalar", T: 9 },
|
|
666
|
+
{ no: 5, name: "redirect_url", kind: "scalar", T: 9 },
|
|
665
667
|
]);
|
|
666
668
|
static fromBinary(bytes, options) {
|
|
667
669
|
return new ChatMediaGetResponse().fromBinary(bytes, options);
|
|
@@ -22,6 +22,7 @@ export declare class UserDto extends Message<UserDto> {
|
|
|
22
22
|
updatedAt?: string;
|
|
23
23
|
deletedAt?: string;
|
|
24
24
|
badges: string[];
|
|
25
|
+
username: string;
|
|
25
26
|
constructor(data?: PartialMessage<UserDto>);
|
|
26
27
|
static readonly runtime: typeof proto3;
|
|
27
28
|
static readonly typeName = "micro.v1.user.UserDto";
|
|
@@ -30,6 +30,7 @@ class UserDto extends protobuf_1.Message {
|
|
|
30
30
|
updatedAt;
|
|
31
31
|
deletedAt;
|
|
32
32
|
badges = [];
|
|
33
|
+
username = "";
|
|
33
34
|
constructor(data) {
|
|
34
35
|
super();
|
|
35
36
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -51,6 +52,7 @@ class UserDto extends protobuf_1.Message {
|
|
|
51
52
|
{ no: 12, name: "updated_at", kind: "scalar", T: 9, opt: true },
|
|
52
53
|
{ no: 13, name: "deleted_at", kind: "scalar", T: 9, opt: true },
|
|
53
54
|
{ no: 14, name: "badges", kind: "scalar", T: 9, repeated: true },
|
|
55
|
+
{ no: 15, name: "username", kind: "scalar", T: 9 },
|
|
54
56
|
]);
|
|
55
57
|
static fromBinary(bytes, options) {
|
|
56
58
|
return new UserDto().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -238,6 +238,9 @@ message ChatMediaGetResponse {
|
|
|
238
238
|
bytes data = 2;
|
|
239
239
|
string mimetype = 3;
|
|
240
240
|
string kind = 4;
|
|
241
|
+
// kind=gif: no bytes here; the public media route redirects to this
|
|
242
|
+
// GIPHY URL (keeps apps from before GIF support showing the message).
|
|
243
|
+
string redirect_url = 5;
|
|
241
244
|
}
|
|
242
245
|
|
|
243
246
|
// Admin-only group statistics. Daily aggregates live in their own tables
|
|
@@ -32,6 +32,8 @@ message UserDto {
|
|
|
32
32
|
|
|
33
33
|
// Active display badges (utils/badges catalogue).
|
|
34
34
|
repeated string badges = 14;
|
|
35
|
+
// Chat handle ('' until claimed). Admin listings only.
|
|
36
|
+
string username = 15;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
// Admin: grant (grant=true) or revoke a display badge. Only manually
|