feat: enhance type organization and import structure

- Added detailed tasks in `TODO.md` for isolating and organizing types/interfaces across various services, including analytics, task management, and integrations.
- Updated imports in multiple files to use the new `@/services/core/database` path for consistency.
- Ensured all type imports are converted to `import type { ... }` where applicable for better clarity and performance.
This commit is contained in:
Julien Froidefond
2025-09-23 10:35:52 +02:00
parent 88ab8c9334
commit bbb4e543c4
12 changed files with 41 additions and 16 deletions

View File

@@ -1,8 +1,8 @@
import { promises as fs } from 'fs';
import path from 'path';
import { prisma } from '../core/database';
import { userPreferencesService } from '../core/user-preferences';
import { BackupUtils } from '../../lib/backup-utils';
import { prisma } from '@/services/core/database';
import { userPreferencesService } from '@/services/core/user-preferences';
import { BackupUtils } from '@/lib/backup-utils';
import { getToday } from '@/lib/date-utils';
export interface BackupConfig {