feat: sync Sidebar and BottomNav, standardize user profile API
Align Sidebar & BottomNav menus, remove "Search", add user profile mock data, implement /api/users, add FilterDrawer, complete Section, ProfileHeader, MetricsRFM components Co-authored-by: null <4804959+fnvtk@users.noreply.github.com>
This commit is contained in:
36
types/ai-assistant.ts
Normal file
36
types/ai-assistant.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
export type AnalysisTask = {
|
||||
id: string
|
||||
name: string
|
||||
database: string
|
||||
status: "pending" | "running" | "completed" | "failed"
|
||||
progress: number
|
||||
createdAt: string
|
||||
completedAt?: string
|
||||
reportUrl?: string
|
||||
description?: string
|
||||
}
|
||||
|
||||
export type DatabaseInfo = {
|
||||
id: string
|
||||
name: string
|
||||
type: string
|
||||
tables: number
|
||||
records: number
|
||||
lastUpdated: string
|
||||
}
|
||||
|
||||
export type ReportTemplate = {
|
||||
id: string
|
||||
name: string
|
||||
description: string
|
||||
category: string
|
||||
fields: string[]
|
||||
}
|
||||
|
||||
export type ReportItem = {
|
||||
id: string
|
||||
title: string
|
||||
source: string
|
||||
description: string
|
||||
updatedAt: string
|
||||
}
|
||||
Reference in New Issue
Block a user