feat: custom app icon (#7196)

Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
Hash Brown
2024-08-19 09:16:33 +08:00
committed by GitHub
parent a0c689c273
commit fbf31b5d52
65 changed files with 1068 additions and 352 deletions

View File

@@ -1,5 +1,5 @@
import type { DataSourceNotionPage } from './common'
import type { AppMode, RetrievalConfig } from '@/types/app'
import type { AppIconType, AppMode, RetrievalConfig } from '@/types/app'
import type { Tag } from '@/app/components/base/tag-management/constant'
export enum DataSourceType {
@@ -425,8 +425,10 @@ export type RelatedApp = {
id: string
name: string
mode: AppMode
icon_type: AppIconType | null
icon: string
icon_background: string
icon_url: string
}
export type RelatedAppResponse = {

View File

@@ -1,9 +1,11 @@
import type { AppMode } from '@/types/app'
import type { AppIconType, AppMode } from '@/types/app'
export type AppBasicInfo = {
id: string
mode: AppMode
icon_type: AppIconType | null
icon: string
icon_background: string
icon_url: string
name: string
description: string
}

View File

@@ -1,4 +1,5 @@
import type { Locale } from '@/i18n'
import type { AppIconType } from '@/types/app'
export type ResponseHolder = {}
@@ -13,8 +14,10 @@ export type SiteInfo = {
title: string
chat_color_theme?: string
chat_color_theme_inverted?: boolean
icon_type?: AppIconType
icon?: string
icon_background?: string
icon_url?: string
description?: string
default_language?: Locale
prompt_public?: boolean