mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
36 lines
769 B
TypeScript
36 lines
769 B
TypeScript
/**
|
|
* Dashboard Domain Interfaces
|
|
* Types for workspaces, statistics, and achievements
|
|
*/
|
|
export interface Workspace {
|
|
id: string;
|
|
name: string;
|
|
description?: string;
|
|
color?: string;
|
|
icon?: string;
|
|
createdAt: string;
|
|
projectCount?: number;
|
|
}
|
|
export interface DashboardStats {
|
|
workspaces: number;
|
|
projects: number;
|
|
templates: number;
|
|
activeUsers: number;
|
|
}
|
|
export interface StatItem {
|
|
label: string;
|
|
value: string | number;
|
|
trend?: number;
|
|
icon?: React.ReactNode;
|
|
color?: string;
|
|
warning?: boolean;
|
|
}
|
|
export interface Achievement {
|
|
id: string;
|
|
title: string;
|
|
icon: React.ReactNode;
|
|
unlocked: boolean;
|
|
progress?: number;
|
|
max?: number;
|
|
}
|
|
//# sourceMappingURL=dashboard.d.ts.map
|