@pathway-io/core 1.0.11 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/package.json +1 -1
- package/src/types/messages.ts +5 -1
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 = {
|
@@ -91,9 +94,9 @@ type Message = {
|
|
91
94
|
deletedAt: Date | null;
|
92
95
|
updatedAt: Date;
|
93
96
|
};
|
94
|
-
type
|
97
|
+
type MessageCreateInput = {
|
95
98
|
channelId: number;
|
96
99
|
content: string;
|
97
100
|
};
|
98
101
|
|
99
|
-
export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type
|
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 = {
|
@@ -91,9 +94,9 @@ type Message = {
|
|
91
94
|
deletedAt: Date | null;
|
92
95
|
updatedAt: Date;
|
93
96
|
};
|
94
|
-
type
|
97
|
+
type MessageCreateInput = {
|
95
98
|
channelId: number;
|
96
99
|
content: string;
|
97
100
|
};
|
98
101
|
|
99
|
-
export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type
|
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
package/src/types/messages.ts
CHANGED
@@ -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
|
|
@@ -15,7 +19,7 @@ export type Message = {
|
|
15
19
|
updatedAt: Date
|
16
20
|
}
|
17
21
|
|
18
|
-
export type
|
22
|
+
export type MessageCreateInput = {
|
19
23
|
channelId: number
|
20
24
|
content: string
|
21
25
|
}
|