export type ModuleCategory =
  | 'operations'
  | 'generators'
  | 'management'
  | 'tools'
  | 'ai';

export type Visibility = 'all' | 'internal' | 'admin' | 'guest-safe';

export interface ModuleConfig {
  id: string;
  name: string;
  description: string;
  icon: string;
  route: string;
  category: ModuleCategory;
  featureFlag: string;
  visibility: Visibility;
  version: string;
  dependencies?: string[];
  storageNamespace: string;
  navOrder: number;
  tags?: string[];
}

export const MODULE_CATEGORY_LABELS: Record<ModuleCategory, string> = {
  operations: 'Operațiuni',
  generators: 'Generatoare',
  management: 'Management',
  tools: 'Instrumente',
  ai: 'AI & Automatizări',
};
