@vlprojects-chat/chat 0.0.50 → 0.0.51

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.
@@ -1,5 +1,6 @@
1
- import { Root } from 'keystone/index';
2
- import User from '../../keystone/chat/user';
1
+ import { Root } from 'keystone';
2
+ import User from 'keystone/chat/user';
3
+ export declare const getDirectsList: (root: Root) => Promise<void>;
3
4
  export declare const getDirectChannelName: (root: Root, channelId: string) => string;
4
5
  export declare const getDirectChannelList: (root: Root) => string[];
5
6
  export declare const getChatWithUser: (root: Root, channelId: string) => User | undefined;
@@ -1,8 +1,8 @@
1
1
  import Poll from 'keystone/chat/poll';
2
- import { FC } from 'react';
2
+ import React from 'react';
3
3
  interface IProps {
4
4
  templatePoll: Poll;
5
5
  lastActivePoll?: Poll;
6
6
  }
7
- declare const PollAction: FC<IProps>;
8
- export default PollAction;
7
+ declare const _default: React.FunctionComponent<IProps>;
8
+ export default _default;
@@ -16,5 +16,5 @@ interface IOnPollStart {
16
16
  templatePoll?: Poll;
17
17
  channel?: Channel;
18
18
  }
19
- export declare const onPollStartHandler: (props: IOnPollStart) => Promise<void>;
19
+ export declare const onPollStartHandler: (props: IOnPollStart) => void;
20
20
  export {};
@@ -1,4 +1,4 @@
1
- import { Root } from 'keystone/index';
1
+ import { Root } from 'keystone';
2
2
  import Channel from '../../keystone/chat/channel';
3
3
  import User from '../../keystone/chat/user';
4
4
  import { IRChannel } from '../../types/serverResponses';