@verychat/channel-protos 1.0.36 → 1.0.37

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.
@@ -170,12 +170,13 @@ message GetMessagesResponse {
170
170
 
171
171
  message GetNewChannelMessageRequest {
172
172
  int32 userId = 1;
173
- optional string cursorId = 2;
174
- optional int32 page = 3;
173
+ optional string globalCursorId = 2;
174
+ optional string subCursorId = 3;
175
175
  }
176
176
 
177
177
  message GetNewChannelMessageResponse {
178
- repeated NewChannelMessage messages = 1;
178
+ repeated NewChannelMessage global = 1;
179
+ repeated NewChannelMessage sub = 2;
179
180
  }
180
181
 
181
182
  message GetMessageSpecifyRequest {
@@ -143,11 +143,12 @@ export interface GetMessagesResponse {
143
143
  }
144
144
  export interface GetNewChannelMessageRequest {
145
145
  userId: number;
146
- cursorId?: string | undefined;
147
- page?: number | undefined;
146
+ globalCursorId?: string | undefined;
147
+ subCursorId?: string | undefined;
148
148
  }
149
149
  export interface GetNewChannelMessageResponse {
150
- messages: NewChannelMessage[];
150
+ global: NewChannelMessage[];
151
+ sub: NewChannelMessage[];
151
152
  }
152
153
  export interface GetMessageSpecifyRequest {
153
154
  array: ChannelSeqDto[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verychat/channel-protos",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -201,12 +201,13 @@ export interface GetMessagesResponse {
201
201
 
202
202
  export interface GetNewChannelMessageRequest {
203
203
  userId: number;
204
- cursorId?: string | undefined;
205
- page?: number | undefined;
204
+ globalCursorId?: string | undefined;
205
+ subCursorId?: string | undefined;
206
206
  }
207
207
 
208
208
  export interface GetNewChannelMessageResponse {
209
- messages: NewChannelMessage[];
209
+ global: NewChannelMessage[];
210
+ sub: NewChannelMessage[];
210
211
  }
211
212
 
212
213
  export interface GetMessageSpecifyRequest {