@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 +6 -2
- package/dist/index.d.ts +6 -2
- package/package.json +1 -1
- package/src/types/messages.ts +6 -1
package/dist/index.d.mts
CHANGED
@@ -78,7 +78,7 @@ type AuthSignInRefreshRequest = {
|
|
78
78
|
};
|
79
79
|
type AuthSignInRefreshResponse = AuthSignInResponse;
|
80
80
|
|
81
|
-
type
|
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
|
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
|
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
|
99
|
+
export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageInputForCreate, type MessageListQueryParams, colors, fonts };
|
package/package.json
CHANGED
package/src/types/messages.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export type
|
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
|
+
}
|