mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
chore(web): new lint setup (#30020)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
This commit is contained in:
@ -1,14 +1,14 @@
|
||||
import type { AnnotationReplyConfig, ChatPromptConfig, CompletionPromptConfig, DatasetConfigs, PromptMode } from '@/models/debug'
|
||||
import type { CollectionType } from '@/app/components/tools/types'
|
||||
import type { LanguagesSupported } from '@/i18n-config/language'
|
||||
import type { Tag } from '@/app/components/base/tag-management/constant'
|
||||
import type { CollectionType } from '@/app/components/tools/types'
|
||||
import type { UploadFileSetting } from '@/app/components/workflow/types'
|
||||
import type { LanguagesSupported } from '@/i18n-config/language'
|
||||
import type { AccessMode } from '@/models/access-control'
|
||||
import type { ExternalDataTool } from '@/models/common'
|
||||
import type {
|
||||
RerankingModeEnum,
|
||||
WeightedScoreEnum,
|
||||
} from '@/models/datasets'
|
||||
import type { UploadFileSetting } from '@/app/components/workflow/types'
|
||||
import type { AccessMode } from '@/models/access-control'
|
||||
import type { ExternalDataTool } from '@/models/common'
|
||||
import type { AnnotationReplyConfig, ChatPromptConfig, CompletionPromptConfig, DatasetConfigs, PromptMode } from '@/models/debug'
|
||||
|
||||
export enum Theme {
|
||||
light = 'light',
|
||||
@ -274,9 +274,10 @@ export type SiteConfig = {
|
||||
title: string
|
||||
/** Application Description will be shown in the Client */
|
||||
description: string
|
||||
/** Define the color in hex for different elements of the chatbot, such as:
|
||||
/**
|
||||
* Define the color in hex for different elements of the chatbot, such as:
|
||||
* The header, the button , etc.
|
||||
*/
|
||||
*/
|
||||
chat_color_theme: string
|
||||
/** Invert the color of the theme set in chat_color_theme */
|
||||
chat_color_theme_inverted: boolean
|
||||
@ -328,12 +329,12 @@ export type App = {
|
||||
/** Description */
|
||||
description: string
|
||||
/** Author Name */
|
||||
author_name: string;
|
||||
author_name: string
|
||||
|
||||
/**
|
||||
* Icon Type
|
||||
* @default 'emoji'
|
||||
*/
|
||||
*/
|
||||
icon_type: AppIconType | null
|
||||
/** Icon, stores file ID if icon_type is 'image' */
|
||||
icon: string
|
||||
@ -375,7 +376,7 @@ export type App = {
|
||||
updated_at: number
|
||||
updated_by?: string
|
||||
}
|
||||
deleted_tools?: Array<{ id: string; tool_name: string }>
|
||||
deleted_tools?: Array<{ id: string, tool_name: string }>
|
||||
/** access control */
|
||||
access_mode: AccessMode
|
||||
max_active_requests?: number | null
|
||||
|
||||
Reference in New Issue
Block a user