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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user