jr-common-micro 1.1.56 → 1.1.57

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.
@@ -49,6 +49,7 @@ export interface ChatMessageDto {
49
49
  created_at: string;
50
50
  is_deleted: boolean;
51
51
  reactions: ChatReactionCountDto[];
52
+ edited_at: string;
52
53
  }
53
54
  export interface ChatReactionCountDto {
54
55
  emoji: string;
@@ -90,6 +90,7 @@ export declare class ChatMessageDto extends Message<ChatMessageDto> {
90
90
  createdAt: string;
91
91
  isDeleted: boolean;
92
92
  reactions: ChatReactionCountDto[];
93
+ editedAt: string;
93
94
  constructor(data?: PartialMessage<ChatMessageDto>);
94
95
  static readonly runtime: typeof proto3;
95
96
  static readonly typeName = "micro.v1.chat.ChatMessageDto";
@@ -180,6 +180,7 @@ class ChatMessageDto extends protobuf_1.Message {
180
180
  createdAt = "";
181
181
  isDeleted = false;
182
182
  reactions = [];
183
+ editedAt = "";
183
184
  constructor(data) {
184
185
  super();
185
186
  protobuf_1.proto3.util.initPartial(data, this);
@@ -202,6 +203,7 @@ class ChatMessageDto extends protobuf_1.Message {
202
203
  { no: 13, name: "created_at", kind: "scalar", T: 9 },
203
204
  { no: 14, name: "is_deleted", kind: "scalar", T: 8 },
204
205
  { no: 15, name: "reactions", kind: "message", T: ChatReactionCountDto, repeated: true },
206
+ { no: 16, name: "edited_at", kind: "scalar", T: 9 },
205
207
  ]);
206
208
  static fromBinary(bytes, options) {
207
209
  return new ChatMessageDto().fromBinary(bytes, options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jr-common-micro",
3
- "version": "1.1.56",
3
+ "version": "1.1.57",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -66,6 +66,8 @@ message ChatMessageDto {
66
66
  string created_at = 13;
67
67
  bool is_deleted = 14;
68
68
  repeated ChatReactionCountDto reactions = 15;
69
+ // Set when the owner edited the message (15-minute window).
70
+ string edited_at = 16;
69
71
  }
70
72
 
71
73
  // Aggregated reaction chip for one emoji on one message.