mosaicmap/types/config.ts
2025-08-12 21:25:52 +08:00

85 lines
1.8 KiB
TypeScript

export interface Config {
// System Controls
volume: number
brightness: number
temperature: number
theme: string
// Server Configuration
serverName: string
apiKey: string
environment: string
region: string
// Performance Settings
maxConnections: number
cacheSize: number
threadCount: number
memoryLimit: number
diskQuota: number
networkBandwidth: number
// Security & Features
sslEnabled: boolean
autoBackup: boolean
compressionEnabled: boolean
debugMode: boolean
maintenanceMode: boolean
logLevel: string
// Notifications & Alerts
notifications: boolean
emailAlerts: boolean
smsAlerts: boolean
monitoringEnabled: boolean
language: string
timezone: string
// Advanced Configuration
description: string
selectedFeatures: string[]
deploymentStrategy: string
}
export const defaultConfig: Config = {
// System Controls
volume: 75,
brightness: 60,
temperature: 22,
theme: "dark",
// Server Configuration
serverName: "Production Server",
apiKey: "",
environment: "production",
region: "us-east-1",
// Performance Settings
maxConnections: 100,
cacheSize: 512,
threadCount: 8,
memoryLimit: 4096,
diskQuota: 1000,
networkBandwidth: 100,
// Security & Features
sslEnabled: true,
autoBackup: true,
compressionEnabled: false,
debugMode: false,
maintenanceMode: false,
logLevel: "info",
// Notifications & Alerts
notifications: true,
emailAlerts: true,
smsAlerts: false,
monitoringEnabled: true,
language: "en",
timezone: "UTC",
// Advanced Configuration
description: "",
selectedFeatures: ["analytics", "caching"],
deploymentStrategy: "rolling"
}