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:
kurokobo
2024-09-02 21:00:41 +09:00
committed by GitHub
parent 6f33351eb3
commit 80aa7c4019
24 changed files with 208 additions and 8 deletions

View File

@@ -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