feat: refactor service organization and update imports

- Introduced a new structure for services in `src/services/` to improve organization by domain, including core, analytics, data management, integrations, and task management.
- Moved relevant files to their new locations and updated all internal and external imports accordingly.
- Updated `TODO.md` to reflect the new service organization and outlined phases for further refactoring.
This commit is contained in:
Julien Froidefond
2025-09-23 10:10:34 +02:00
parent ee64fe2ff3
commit f88954bf81
34 changed files with 98 additions and 33 deletions

View File

@@ -6,7 +6,7 @@ import { useState, useEffect, useTransition } from 'react';
import { backupClient } from '@/clients/backup-client';
import { jiraClient } from '@/clients/jira-client';
import { getSystemInfo } from '@/actions/system-info';
import { SystemInfo } from '@/services/system-info';
import { SystemInfo } from '@/services/core/system-info';
import { QuickStats } from './index/QuickStats';
import { SettingsNavigation } from './index/SettingsNavigation';
import { QuickActions } from './index/QuickActions';

View File

@@ -2,7 +2,7 @@
import { Card, CardContent } from '@/components/ui/Card';
import { UserPreferences } from '@/lib/types';
import { SystemInfo } from '@/services/system-info';
import { SystemInfo } from '@/services/core/system-info';
interface QuickStatsProps {
preferences: UserPreferences;

View File

@@ -1,7 +1,7 @@
'use client';
import { Card, CardHeader, CardContent } from '@/components/ui/Card';
import { SystemInfo as SystemInfoType } from '@/services/system-info';
import { SystemInfo as SystemInfoType } from '@/services/core/system-info';
interface SystemInfoProps {
systemInfo: SystemInfoType | null;