Files
policy-ui/app/types/welcome-dashboard.ts
Jordan Weingarten 67482f6629 WIP jordan
2026-04-16 11:11:44 -05:00

39 lines
792 B
TypeScript

export type WelcomeDashboardKpi = {
id: string
label: string
value: string
hint?: string
change?: string
changeTone?: 'positive' | 'negative' | 'neutral'
}
export type WelcomeDashboardTask = {
id: string
title: string
emphasis?: boolean
}
export type WelcomeDashboardAlert = {
id: string
message: string
tone: 'info' | 'warning' | 'error' | 'success' | string
}
export type WelcomeDashboardQuickLink = {
label: string
to: string
icon: string
description: string
}
export type WelcomeDashboardConfig = {
greetingName: string
productName: string
subtitle: string
dailyTasks: WelcomeDashboardTask[]
alerts: WelcomeDashboardAlert[]
performanceKpis: WelcomeDashboardKpi[]
ceoKpis: WelcomeDashboardKpi[]
quickLinks: WelcomeDashboardQuickLink[]
}