@pathway-io/core 1.0.8 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -78,8 +78,8 @@ type AuthSignInRefreshRequest = {
78
78
  };
79
79
  type AuthSignInRefreshResponse = AuthSignInResponse;
80
80
 
81
- type MessagesParams = {
82
- channelId: number | null;
81
+ type MessagesQueryParams = {
82
+ channelId: number;
83
83
  };
84
84
  type Message = {
85
85
  id: number;
@@ -92,4 +92,4 @@ type Message = {
92
92
  updatedAt: Date;
93
93
  };
94
94
 
95
- export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessagesParams, colors, fonts };
95
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessagesQueryParams, colors, fonts };
package/dist/index.d.ts CHANGED
@@ -78,8 +78,8 @@ type AuthSignInRefreshRequest = {
78
78
  };
79
79
  type AuthSignInRefreshResponse = AuthSignInResponse;
80
80
 
81
- type MessagesParams = {
82
- channelId: number | null;
81
+ type MessagesQueryParams = {
82
+ channelId: number;
83
83
  };
84
84
  type Message = {
85
85
  id: number;
@@ -92,4 +92,4 @@ type Message = {
92
92
  updatedAt: Date;
93
93
  };
94
94
 
95
- export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessagesParams, colors, fonts };
95
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessagesQueryParams, colors, fonts };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathway-io/core",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "Shared constants and types for Pathway",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1,5 +1,5 @@
1
- export type MessagesParams = {
2
- channelId: number | null
1
+ export type MessagesQueryParams = {
2
+ channelId: number
3
3
  }
4
4
 
5
5
  export type Message = {