letsbe-hub-dashboard/src/types/index.ts

37 lines
786 B
TypeScript

export interface ToolInfo {
id: string
name: string
description: string
subdomain: string
icon: string
category: 'communication' | 'productivity' | 'development' | 'monitoring' | 'storage' | 'marketing' | 'security' | 'other'
status: 'running' | 'stopped' | 'error' | 'unknown'
url: string
}
export interface ServerInfo {
hostname: string
ip: string
os: string
uptime: string
cpuUsage: number
memoryUsage: number
diskUsage: number
diskUsedGb: number
diskTotalGb: number
}
export interface SmtpConfig {
host: string
port: number
username: string
password: string
fromEmail: string
fromName: string
}
export interface DomainInfo {
domain: string
subdomains: { name: string; target: string; status: 'active' | 'pending' | 'error' }[]
}