@ethora/chat-component 26.3.23 → 26.3.24
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/AppLoginChats.d.ts +1 -0
- package/dist/AppLoginChatsNpm.d.ts +26 -0
- package/dist/main.js +368 -355
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function AppLoginChats(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type AppUser = {
|
|
3
|
+
token: string;
|
|
4
|
+
refreshToken?: string;
|
|
5
|
+
xmppUsername: string;
|
|
6
|
+
xmppPassword: string;
|
|
7
|
+
firstName?: string;
|
|
8
|
+
email?: string;
|
|
9
|
+
_id?: string;
|
|
10
|
+
};
|
|
11
|
+
type LoginPayload = {
|
|
12
|
+
mode: 'jwt';
|
|
13
|
+
jwt: string;
|
|
14
|
+
} | {
|
|
15
|
+
mode: 'email';
|
|
16
|
+
user: AppUser;
|
|
17
|
+
appToken: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const LoginScreen: React.FC<{
|
|
20
|
+
onSubmit: (p: LoginPayload) => void;
|
|
21
|
+
}>;
|
|
22
|
+
export declare const JwtOnlyScreen: React.FC<{
|
|
23
|
+
onSubmit: (p: LoginPayload) => void;
|
|
24
|
+
}>;
|
|
25
|
+
export default function AppLoginChatsNpm(): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export {};
|