@verychat/channel-protos 1.0.33 → 1.0.35

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.
@@ -7,6 +7,7 @@ message Empty {}
7
7
 
8
8
  message GetChannelRequest {
9
9
  int32 userId = 1;
10
+ optional string date = 2;
10
11
  }
11
12
 
12
13
  message GetMyChannelsResponse {
@@ -169,7 +170,8 @@ message GetMessagesResponse {
169
170
 
170
171
  message GetNewChannelMessageRequest {
171
172
  int32 userId = 1;
172
- optional int32 page = 2;
173
+ optional string cursorId = 2;
174
+ optional int32 page = 3;
173
175
  }
174
176
 
175
177
  message GetNewChannelMessageResponse {
@@ -51,7 +51,7 @@ message RecommendChannel {
51
51
 
52
52
  message UserChannel {
53
53
  string channelId = 1;
54
- Channel channel = 2;
54
+ optional Channel channel = 2;
55
55
  int32 lastReadMessageSeq = 3;
56
56
  }
57
57
 
@@ -6,6 +6,7 @@ export interface Empty {
6
6
  }
7
7
  export interface GetChannelRequest {
8
8
  userId: number;
9
+ date?: string | undefined;
9
10
  }
10
11
  export interface GetMyChannelsResponse {
11
12
  channels: Channel[];
@@ -142,6 +143,7 @@ export interface GetMessagesResponse {
142
143
  }
143
144
  export interface GetNewChannelMessageRequest {
144
145
  userId: number;
146
+ cursorId?: string | undefined;
145
147
  page?: number | undefined;
146
148
  }
147
149
  export interface GetNewChannelMessageResponse {
@@ -63,7 +63,7 @@ export interface RecommendChannel {
63
63
  }
64
64
  export interface UserChannel {
65
65
  channelId: string;
66
- channel: Channel | undefined;
66
+ channel?: Channel | undefined;
67
67
  lastReadMessageSeq: number;
68
68
  }
69
69
  export interface CreateChannelDto {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verychat/channel-protos",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -33,6 +33,7 @@ export interface Empty {
33
33
 
34
34
  export interface GetChannelRequest {
35
35
  userId: number;
36
+ date?: string | undefined;
36
37
  }
37
38
 
38
39
  export interface GetMyChannelsResponse {
@@ -200,6 +201,7 @@ export interface GetMessagesResponse {
200
201
 
201
202
  export interface GetNewChannelMessageRequest {
202
203
  userId: number;
204
+ cursorId?: string | undefined;
203
205
  page?: number | undefined;
204
206
  }
205
207
 
@@ -79,7 +79,7 @@ export interface RecommendChannel {
79
79
 
80
80
  export interface UserChannel {
81
81
  channelId: string;
82
- channel: Channel | undefined;
82
+ channel?: Channel | undefined;
83
83
  lastReadMessageSeq: number;
84
84
  }
85
85