@pathway-io/core 1.0.7 → 1.0.9
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 +12 -2
- package/dist/index.d.ts +12 -2
- package/package.json +1 -1
- package/src/types/messages.ts +14 -1
package/dist/index.d.mts
CHANGED
@@ -78,8 +78,18 @@ type AuthSignInRefreshRequest = {
|
|
78
78
|
};
|
79
79
|
type AuthSignInRefreshResponse = AuthSignInResponse;
|
80
80
|
|
81
|
-
type
|
81
|
+
type MessagesParams = {
|
82
82
|
channelId: number;
|
83
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;
|
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
|
81
|
+
type MessagesParams = {
|
82
82
|
channelId: number;
|
83
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;
|
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
|
1
|
+
export type MessagesParams = {
|
2
2
|
channelId: number
|
3
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
|
16
|
+
}
|