@pathway-io/core 1.0.12 → 1.0.14
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 +8 -2
- package/dist/index.d.ts +8 -2
- package/package.json +1 -1
- package/src/types/messages.ts +9 -1
package/dist/index.d.mts
CHANGED
@@ -79,14 +79,20 @@ 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 = {
|
85
88
|
id: number;
|
89
|
+
content: string;
|
86
90
|
channel: {
|
87
91
|
id: number;
|
88
92
|
};
|
89
|
-
|
93
|
+
user: {
|
94
|
+
id: number;
|
95
|
+
};
|
90
96
|
createdAt: Date;
|
91
97
|
deletedAt: Date | null;
|
92
98
|
updatedAt: Date;
|
@@ -96,4 +102,4 @@ type MessageCreateInput = {
|
|
96
102
|
content: string;
|
97
103
|
};
|
98
104
|
|
99
|
-
export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateInput, type MessageListQueryParams, colors, fonts };
|
105
|
+
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,14 +79,20 @@ 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 = {
|
85
88
|
id: number;
|
89
|
+
content: string;
|
86
90
|
channel: {
|
87
91
|
id: number;
|
88
92
|
};
|
89
|
-
|
93
|
+
user: {
|
94
|
+
id: number;
|
95
|
+
};
|
90
96
|
createdAt: Date;
|
91
97
|
deletedAt: Date | null;
|
92
98
|
updatedAt: Date;
|
@@ -96,4 +102,4 @@ type MessageCreateInput = {
|
|
96
102
|
content: string;
|
97
103
|
};
|
98
104
|
|
99
|
-
export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateInput, type MessageListQueryParams, colors, fonts };
|
105
|
+
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,14 +1,22 @@
|
|
1
1
|
export type MessageListQueryParams = {
|
2
|
+
channelId: string
|
3
|
+
}
|
4
|
+
|
5
|
+
export type MessageListCoercedQueryParams = {
|
2
6
|
channelId: number
|
3
7
|
}
|
4
8
|
|
5
9
|
export type Message = {
|
6
10
|
id: number
|
7
11
|
|
12
|
+
content: string
|
13
|
+
|
8
14
|
channel: {
|
9
15
|
id: number
|
10
16
|
}
|
11
|
-
|
17
|
+
user: {
|
18
|
+
id: number
|
19
|
+
}
|
12
20
|
|
13
21
|
createdAt: Date
|
14
22
|
deletedAt: Date | null
|