WIP jordan
This commit is contained in:
38
app/types/welcome-dashboard.ts
Normal file
38
app/types/welcome-dashboard.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
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[]
|
||||
}
|
||||
Reference in New Issue
Block a user