chore(web): new lint setup (#30020)

Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
This commit is contained in:
Stephen Zhou
2025-12-23 16:58:55 +08:00
committed by GitHub
parent 9701a2994b
commit f2842da397
3356 changed files with 85046 additions and 81278 deletions

View File

@ -1,10 +1,10 @@
import type { Viewport } from 'reactflow'
import type { VisionFile } from '@/types/app'
import type { Metadata } from '@/app/components/base/chat/chat/type'
import type {
Edge,
Node,
} from '@/app/components/workflow/types'
import type { Metadata } from '@/app/components/base/chat/chat/type'
import type { VisionFile } from '@/types/app'
// Log type contains key:string conversation_id:string created_at:string question:string answer:string
export type Conversation = {
@ -77,7 +77,7 @@ export type MessageContent = {
conversation_id: string
query: string
inputs: Record<string, any>
message: { role: string; text: string; files?: VisionFile[] }[]
message: { role: string, text: string, files?: VisionFile[] }[]
message_tokens: number
answer_tokens: number
answer: string