@vlprojects-chat/chat 0.0.41 → 0.0.44
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/components/MessageList/components/UserMessage/UserMessage.d.ts +5 -3
- package/dist/components/MessageList/components/UserMessage/components/UserMessageDisplayName/UserMessageDisplayName.d.ts +4 -3
- package/dist/index.es.js +14 -14
- package/dist/index.js +14 -14
- package/dist/keystone/chat/channel.d.ts +1 -1
- package/dist/keystone/chat/index.d.ts +2 -1
- package/dist/keystone/chat/pinnedMessage.d.ts +5 -0
- package/dist/locales/index.d.ts +2 -0
- package/dist/utils/date.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import Message from 'keystone/chat/message';
|
|
2
|
-
import
|
|
2
|
+
import User from 'keystone/chat/user';
|
|
3
|
+
import { FC } from 'react';
|
|
3
4
|
export interface IProps {
|
|
4
5
|
index: number;
|
|
5
6
|
message: Message;
|
|
7
|
+
user?: User;
|
|
6
8
|
short?: boolean;
|
|
7
9
|
showLineTime: boolean;
|
|
8
10
|
}
|
|
9
|
-
declare const
|
|
10
|
-
export default
|
|
11
|
+
declare const UserMessage: FC<IProps>;
|
|
12
|
+
export default UserMessage;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import User from 'keystone/chat/user';
|
|
2
|
-
import
|
|
2
|
+
import { FC } from 'react';
|
|
3
3
|
interface IProps {
|
|
4
4
|
user: User;
|
|
5
|
+
own: boolean;
|
|
5
6
|
}
|
|
6
|
-
declare const
|
|
7
|
-
export default
|
|
7
|
+
declare const UserMessageDisplayName: FC<IProps>;
|
|
8
|
+
export default UserMessageDisplayName;
|