Underground-Digital/Workflow-Engine
0
1import type { Locale } from '@/i18n'2import type { AppIconType } from '@/types/app'3 4export type ResponseHolder = {}5 6export type ConversationItem = {7 id: string8 name: string9 inputs: Record<string, any> | null10 introduction: string11}12 13export type SiteInfo = {14 title: string15 chat_color_theme?: string16 chat_color_theme_inverted?: boolean17 icon_type?: AppIconType | null18 icon?: string19 icon_background?: string | null20 icon_url?: string | null21 description?: string22 default_language?: Locale23 prompt_public?: boolean24 copyright?: string25 privacy_policy?: string26 custom_disclaimer?: string27 show_workflow_steps?: boolean28 use_icon_as_answer_icon?: boolean29}30 31export type AppMeta = {32 tool_icons: Record<string, string>33}34 35export type AppData = {36 app_id: string37 can_replace_logo?: boolean38 custom_config?: Record<string, any>39 enable_site?: boolean40 end_user_id?: string41 site: SiteInfo42}43 44export type AppConversationData = {45 data: ConversationItem[]46 has_more: boolean47 limit: number48}49 