import type { AppSchema } from '@/types/mongoSchema'; import type { ChatItemType } from '@/types/chat'; import { AppModuleItemType, VariableItemType } from '@/types/app'; export interface InitChatResponse { chatId: string; appId: string; app: { userGuideModule?: AppModuleItemType; chatModels?: string[]; name: string; avatar: string; intro: string; canUse?: boolean; }; title: string; variables: Record; history: ChatItemType[]; } export interface InitShareChatResponse { userAvatar: string; app: InitChatResponse['app']; }