feat: allow users to use the app icon as the answer icon (#7888)
Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
parent
6f33351eb3
commit
80aa7c4019
24 changed files with 208 additions and 8 deletions
|
|
@ -297,6 +297,7 @@ export type SiteConfig = {
|
|||
icon_url: string | null
|
||||
|
||||
show_workflow_steps: boolean
|
||||
use_icon_as_answer_icon: boolean
|
||||
}
|
||||
|
||||
export type AppIconType = 'image' | 'emoji'
|
||||
|
|
@ -323,6 +324,8 @@ export type App = {
|
|||
icon_background: string | null
|
||||
/** Icon URL, only available when icon_type is 'image' */
|
||||
icon_url: string | null
|
||||
/** Whether to use app icon as answer icon */
|
||||
use_icon_as_answer_icon: boolean
|
||||
|
||||
/** Mode */
|
||||
mode: AppMode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue