@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
29 lines (23 loc) • 644 B
text/typescript
import { Session, User } from '@auth/core/types';
import {
ActiveSessionResource,
SignInProps,
SignOut,
UserProfileProps,
UserResource,
} from '@clerk/types';
import { LobeUser } from '@/types/user';
export interface UserAuthState {
clerkOpenUserProfile?: (props?: UserProfileProps) => void;
clerkSession?: ActiveSessionResource;
clerkSignIn?: (props?: SignInProps) => void;
clerkSignOut?: SignOut;
clerkUser?: UserResource;
isLoaded?: boolean;
isSignedIn?: boolean;
nextSession?: Session;
nextUser?: User;
oAuthSSOProviders?: string[];
user?: LobeUser;
}
export const initialAuthState: UserAuthState = {};