feat: complete UI/UX improvements, vuesax icons, media server, and section management
This commit is contained in:
@@ -143,6 +143,18 @@ export interface Paginated<T> {
|
||||
pageSize: number;
|
||||
}
|
||||
|
||||
export interface DashboardCategoryStat {
|
||||
id: number;
|
||||
name: string;
|
||||
count: number;
|
||||
}
|
||||
|
||||
export interface DashboardTrendDay {
|
||||
date: string;
|
||||
dayName: string;
|
||||
messages: number;
|
||||
}
|
||||
|
||||
export interface DashboardDto {
|
||||
categories: number;
|
||||
products: number;
|
||||
@@ -151,4 +163,8 @@ export interface DashboardDto {
|
||||
media: number;
|
||||
recentMessages: ContactMessageDto[];
|
||||
recentActivity: { id: number; action: string; entity: string; summary: string; user: string | null; createdAt: string }[];
|
||||
categoryStats: DashboardCategoryStat[];
|
||||
messageBreakdown: { new: number; read: number; archived: number; total: number };
|
||||
sectionsSummary: { total: number; visible: number; hidden: number };
|
||||
trend: DashboardTrendDay[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user