Files
medical-mall/types/analytics/profile.uts
2026-01-31 21:47:42 +08:00

39 lines
768 B
Plaintext

// types/analytics/profile.uts
export type ReportStatus = 'pending' | 'ready' | 'failed' | 'scheduled' | 'shared' | string
export type RecentReport = {
id: string
title: string
description: string
status: ReportStatus
created_at: string
}
export type OverviewData = {
totalSales: string
salesGrowth: number
totalUsers: string
userGrowth: number
totalOrders: string
orderGrowth: number
conversionRate: number
conversionGrowth: number
}
export type ReportCounts = {
total: number
pending: number
scheduled: number
shared: number
}
export type TodayInsights = {
hotProduct: string
peakTraffic: string
conversionAnomaly: string
mobileRatio: number
}
export type TrendDatum = { label: string; sales: number; orders: number }