Refactor imports and types for consistency and remove redundant paths

- Updated relative imports by replacing `@/` aliases with proper `../` paths for consistency.
- Refined type definitions in IPC handlers and repositories (`User`, `Chapter`, `Act`, etc.).
- Simplified return types in `Location` model methods for streamlined usage.
This commit is contained in:
natreex
2026-01-12 14:22:27 -05:00
parent cc7d03bee9
commit 8bad6159cf
11 changed files with 25 additions and 24 deletions

View File

@@ -1,7 +1,8 @@
import { ipcMain } from 'electron';
import { createHandler } from '../database/LocalSystem.js';
import Chapter from '../database/models/Chapter.js';
import type { ChapterProps, CompanionContent, ActStory } from '../database/models/Chapter.js';
import type { ChapterProps, CompanionContent } from '../database/models/Chapter.js';
import type { ActStory } from '../database/models/Act.js';
interface GetWholeChapterData {
id: string;