39 lines
792 B
TypeScript
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[]
|
|
}
|