@verychat/channel-protos 1.0.33 → 1.0.34

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 {
@@ -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[];
@@ -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.34",
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 {
@@ -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