@pathway-io/core 1.0.10 → 1.0.11

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
@@ -78,7 +78,7 @@ type AuthSignInRefreshRequest = {
78
78
  };
79
79
  type AuthSignInRefreshResponse = AuthSignInResponse;
80
80
 
81
- type MessagesQueryParams = {
81
+ type MessageListQueryParams = {
82
82
  channelId: number;
83
83
  };
84
84
  type Message = {
@@ -91,5 +91,9 @@ type Message = {
91
91
  deletedAt: Date | null;
92
92
  updatedAt: Date;
93
93
  };
94
+ type MessageInputForCreate = {
95
+ channelId: number;
96
+ content: string;
97
+ };
94
98
 
95
- export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessagesQueryParams, colors, fonts };
99
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageInputForCreate, type MessageListQueryParams, colors, fonts };
package/dist/index.d.ts CHANGED
@@ -78,7 +78,7 @@ type AuthSignInRefreshRequest = {
78
78
  };
79
79
  type AuthSignInRefreshResponse = AuthSignInResponse;
80
80
 
81
- type MessagesQueryParams = {
81
+ type MessageListQueryParams = {
82
82
  channelId: number;
83
83
  };
84
84
  type Message = {
@@ -91,5 +91,9 @@ type Message = {
91
91
  deletedAt: Date | null;
92
92
  updatedAt: Date;
93
93
  };
94
+ type MessageInputForCreate = {
95
+ channelId: number;
96
+ content: string;
97
+ };
94
98
 
95
- export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessagesQueryParams, colors, fonts };
99
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageInputForCreate, type MessageListQueryParams, colors, fonts };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathway-io/core",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Shared constants and types for Pathway",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1,4 +1,4 @@
1
- export type MessagesQueryParams = {
1
+ export type MessageListQueryParams = {
2
2
  channelId: number
3
3
  }
4
4
 
@@ -14,3 +14,8 @@ export type Message = {
14
14
  deletedAt: Date | null
15
15
  updatedAt: Date
16
16
  }
17
+
18
+ export type MessageInputForCreate = {
19
+ channelId: number
20
+ content: string
21
+ }