@vlprojects-chat/chat 0.0.44 → 0.0.45
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/containers/CreatePollPage/components/CreatePollForm/CreatePollForm.d.ts +1 -3
- package/dist/containers/CreatePollPage/components/CreatePollForm/validate.d.ts +1 -0
- package/dist/containers/CreatePollPage/components/SelectPollType/SelectPollType.d.ts +4 -2
- package/dist/containers/CreatePollPage/types.d.ts +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.js +3 -3
- package/dist/keystone/index.d.ts +3 -2
- package/dist/keystone/socket.d.ts +8 -0
- package/dist/locales/index.d.ts +4 -0
- package/dist/theme/consts.d.ts +2 -0
- package/dist/ui-kit/icons/PollOption1.d.ts +10 -0
- package/package.json +1 -1
- package/dist/containers/CreatePollPage/components/ErrorMessage/ErrorMesage.d.ts +0 -6
- package/dist/containers/CreatePollPage/components/ErrorMessage/index.d.ts +0 -1
- package/dist/containers/CreatePollPage/components/ErrorMessage/styles.d.ts +0 -2
- package/dist/containers/CreatePollPage/components/SelectPollType/styles.d.ts +0 -2
- package/dist/containers/CreatePollPage/styles.d.ts +0 -2
package/dist/keystone/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import UI from './ui';
|
|
2
1
|
import Auth from './auth';
|
|
2
|
+
import Chat from './chat';
|
|
3
3
|
import Settings from './settings';
|
|
4
4
|
import SocketStore from './socket';
|
|
5
|
-
import
|
|
5
|
+
import UI from './ui';
|
|
6
6
|
declare const Root_base: import("mobx-keystone")._Model<unknown, {
|
|
7
7
|
chat: import("mobx-keystone").OptionalModelProp<Chat>;
|
|
8
8
|
auth: import("mobx-keystone").OptionalModelProp<Auth>;
|
|
@@ -23,6 +23,7 @@ declare const Root_base: import("mobx-keystone")._Model<unknown, {
|
|
|
23
23
|
settings: import("mobx-keystone").OptionalModelProp<Settings>;
|
|
24
24
|
}>>>;
|
|
25
25
|
export declare class Root extends Root_base {
|
|
26
|
+
get currentChannel(): import("./chat/channel").default | undefined;
|
|
26
27
|
}
|
|
27
28
|
export declare const createRootStore: () => Root;
|
|
28
29
|
declare const useKeystone: () => Root;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IRChannelMessage } from 'types/serverResponses';
|
|
1
2
|
declare const SocketStore_base: import("mobx-keystone")._Model<unknown, {
|
|
2
3
|
isSocketConnected: import("mobx-keystone").ModelProp<boolean, boolean | null | undefined, boolean, boolean | null | undefined, string, false, string>;
|
|
3
4
|
}, import("mobx-keystone").SnapshotInOfObject<import("mobx-keystone").ModelPropsToCreationData<{
|
|
@@ -6,6 +7,13 @@ declare const SocketStore_base: import("mobx-keystone")._Model<unknown, {
|
|
|
6
7
|
isSocketConnected: import("mobx-keystone").ModelProp<boolean, boolean | null | undefined, boolean, boolean | null | undefined, string, false, string>;
|
|
7
8
|
}>>>;
|
|
8
9
|
export default class SocketStore extends SocketStore_base {
|
|
10
|
+
messageChunk: {
|
|
11
|
+
channelId: string;
|
|
12
|
+
message: IRChannelMessage;
|
|
13
|
+
}[];
|
|
14
|
+
messageRate: number;
|
|
15
|
+
private startMessageProcessing;
|
|
16
|
+
onAttachedToRootStore(): () => void;
|
|
9
17
|
connect(socketUrl: string, accessToken: string): void;
|
|
10
18
|
}
|
|
11
19
|
export {};
|
package/dist/locales/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ declare const _default: {
|
|
|
27
27
|
createAccount: string;
|
|
28
28
|
polls: string;
|
|
29
29
|
poll: string;
|
|
30
|
+
test: string;
|
|
30
31
|
profile: string;
|
|
31
32
|
users: string;
|
|
32
33
|
createNewChannel: string;
|
|
@@ -83,6 +84,7 @@ declare const _default: {
|
|
|
83
84
|
edit: string;
|
|
84
85
|
delete: string;
|
|
85
86
|
templates: string;
|
|
87
|
+
addOptionsNumber: string;
|
|
86
88
|
};
|
|
87
89
|
ru: {
|
|
88
90
|
loadingSocket: string;
|
|
@@ -152,6 +154,7 @@ declare const _default: {
|
|
|
152
154
|
selectPollType: string;
|
|
153
155
|
multipleAnswerOptions: string;
|
|
154
156
|
pollOpenEnded: string;
|
|
157
|
+
test: string;
|
|
155
158
|
thanks: string;
|
|
156
159
|
answerAccepted: string;
|
|
157
160
|
listEmpty: string;
|
|
@@ -167,6 +170,7 @@ declare const _default: {
|
|
|
167
170
|
edit: string;
|
|
168
171
|
delete: string;
|
|
169
172
|
templates: string;
|
|
173
|
+
addOptionsNumber: string;
|
|
170
174
|
};
|
|
171
175
|
};
|
|
172
176
|
export default _default;
|
package/dist/theme/consts.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CSSProperties, ReactElement } from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
width?: number;
|
|
5
|
+
height?: number;
|
|
6
|
+
fill?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: (props: IProps) => ReactElement;
|
|
10
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ErrorMesage';
|