@pathway-io/core 1.0.12 → 1.0.13

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/index.d.mts CHANGED
@@ -79,6 +79,9 @@ type AuthSignInRefreshRequest = {
79
79
  type AuthSignInRefreshResponse = AuthSignInResponse;
80
80
 
81
81
  type MessageListQueryParams = {
82
+ channelId: string;
83
+ };
84
+ type MessageListCoercedQueryParams = {
82
85
  channelId: number;
83
86
  };
84
87
  type Message = {
@@ -96,4 +99,4 @@ type MessageCreateInput = {
96
99
  content: string;
97
100
  };
98
101
 
99
- export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateInput, type MessageListQueryParams, colors, fonts };
102
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateInput, type MessageListCoercedQueryParams, type MessageListQueryParams, colors, fonts };
package/dist/index.d.ts CHANGED
@@ -79,6 +79,9 @@ type AuthSignInRefreshRequest = {
79
79
  type AuthSignInRefreshResponse = AuthSignInResponse;
80
80
 
81
81
  type MessageListQueryParams = {
82
+ channelId: string;
83
+ };
84
+ type MessageListCoercedQueryParams = {
82
85
  channelId: number;
83
86
  };
84
87
  type Message = {
@@ -96,4 +99,4 @@ type MessageCreateInput = {
96
99
  content: string;
97
100
  };
98
101
 
99
- export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateInput, type MessageListQueryParams, colors, fonts };
102
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateInput, type MessageListCoercedQueryParams, type MessageListQueryParams, colors, fonts };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathway-io/core",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Shared constants and types for Pathway",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1,4 +1,8 @@
1
1
  export type MessageListQueryParams = {
2
+ channelId: string
3
+ }
4
+
5
+ export type MessageListCoercedQueryParams = {
2
6
  channelId: number
3
7
  }
4
8