@pathway-io/core 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.mts +13 -3
- package/dist/index.d.ts +13 -3
- package/package.json +1 -1
- package/src/types/messages.ts +15 -2
package/dist/index.d.mts
CHANGED
@@ -78,8 +78,18 @@ type AuthSignInRefreshRequest = {
|
|
78
78
|
};
|
79
79
|
type AuthSignInRefreshResponse = AuthSignInResponse;
|
80
80
|
|
81
|
-
type
|
82
|
-
channelId: number;
|
81
|
+
type MessagesParams = {
|
82
|
+
channelId: number | null;
|
83
|
+
};
|
84
|
+
type Message = {
|
85
|
+
id: number;
|
86
|
+
channel: {
|
87
|
+
id: number;
|
88
|
+
};
|
89
|
+
content: string;
|
90
|
+
createdAt: Date;
|
91
|
+
deletedAt: Date | null;
|
92
|
+
updatedAt: Date;
|
83
93
|
};
|
84
94
|
|
85
|
-
export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type
|
95
|
+
export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessagesParams, colors, fonts };
|
package/dist/index.d.ts
CHANGED
@@ -78,8 +78,18 @@ type AuthSignInRefreshRequest = {
|
|
78
78
|
};
|
79
79
|
type AuthSignInRefreshResponse = AuthSignInResponse;
|
80
80
|
|
81
|
-
type
|
82
|
-
channelId: number;
|
81
|
+
type MessagesParams = {
|
82
|
+
channelId: number | null;
|
83
|
+
};
|
84
|
+
type Message = {
|
85
|
+
id: number;
|
86
|
+
channel: {
|
87
|
+
id: number;
|
88
|
+
};
|
89
|
+
content: string;
|
90
|
+
createdAt: Date;
|
91
|
+
deletedAt: Date | null;
|
92
|
+
updatedAt: Date;
|
83
93
|
};
|
84
94
|
|
85
|
-
export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type
|
95
|
+
export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessagesParams, colors, fonts };
|
package/package.json
CHANGED
package/src/types/messages.ts
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
-
export type
|
2
|
-
channelId: number
|
1
|
+
export type MessagesParams = {
|
2
|
+
channelId: number | null
|
3
|
+
}
|
4
|
+
|
5
|
+
export type Message = {
|
6
|
+
id: number
|
7
|
+
|
8
|
+
channel: {
|
9
|
+
id: number
|
10
|
+
}
|
11
|
+
content: string
|
12
|
+
|
13
|
+
createdAt: Date
|
14
|
+
deletedAt: Date | null
|
15
|
+
updatedAt: Date
|
3
16
|
}
|