dify/web/models/share.ts
Joel 7bbe12b2bd
feat: support assistant frontend (#2139)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2024-01-23 19:31:56 +08:00

26 lines
464 B
TypeScript

import type { Locale } from '@/i18n'
export type ResponseHolder = {}
export type ConversationItem = {
id: string
name: string
inputs: Record<string, any> | null
introduction: string
}
export type SiteInfo = {
title: string
icon: string
icon_background: string
description: string
default_language: Locale
prompt_public: boolean
copyright?: string
privacy_policy?: string
}
export type AppMeta = {
tool_icons: Record<string, string>
}