diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-04-20 11:31:17 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-04-20 11:31:17 +0200 |
| commit | 3e89d2998588f8e35c524e523ba2ee853f0f6475 (patch) | |
| tree | 57221f96c1259b3b07e3ddf8c1adefc502b9d8eb /apps/web/src/core/managers/project-manager.ts | |
| parent | 729d10592f4e802f91c555c309ff3ba4b119f843 (diff) | |
| download | opencut-3e89d2998588f8e35c524e523ba2ee853f0f6475.tar.gz | |
refactor: restructure files to their domains, new preview overlay system, and dep graph
Diffstat (limited to 'apps/web/src/core/managers/project-manager.ts')
| -rw-r--r-- | apps/web/src/core/managers/project-manager.ts | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/apps/web/src/core/managers/project-manager.ts b/apps/web/src/core/managers/project-manager.ts index 8555786d..b38fd50d 100644 --- a/apps/web/src/core/managers/project-manager.ts +++ b/apps/web/src/core/managers/project-manager.ts @@ -6,16 +6,16 @@ import type { TProjectSortOption, TProjectSettings, TTimelineViewState, -} from "@/lib/project/types"; -import type { ExportOptions, ExportResult, ExportState } from "@/lib/export"; +} from "@/project/types"; +import type { ExportOptions, ExportResult, ExportState } from "@/export"; import { storageService } from "@/services/storage/service"; import { toast } from "sonner"; import { generateUUID } from "@/utils/id"; -import { UpdateProjectSettingsCommand } from "@/lib/commands/project"; -import { DEFAULT_BACKGROUND_COLOR } from "@/lib/background/color"; -import { DEFAULT_CANVAS_SIZE } from "@/lib/canvas/sizes"; -import { DEFAULT_FPS } from "@/lib/fps/defaults"; -import { buildDefaultScene, getProjectDurationFromScenes } from "@/lib/scenes"; +import { UpdateProjectSettingsCommand } from "@/commands/project"; +import { DEFAULT_BACKGROUND_COLOR } from "@/background/color"; +import { DEFAULT_CANVAS_SIZE } from "@/canvas/sizes"; +import { DEFAULT_FPS } from "@/fps/defaults"; +import { buildDefaultScene, getProjectDurationFromScenes } from "@/timeline/scenes"; import { buildScene } from "@/services/renderer/scene-builder"; import { CanvasRenderer } from "@/services/renderer/canvas-renderer"; import { @@ -24,11 +24,11 @@ import { runStorageMigrations, type MigrationProgress, } from "@/services/storage/migrations"; -import { loadFonts } from "@/lib/fonts/google-fonts"; -import { DEFAULTS } from "@/lib/timeline/defaults"; -import { getElementFontFamilies } from "@/lib/timeline/element-utils"; -import { getRaisedProjectFpsForImportedMedia } from "@/lib/fps/utils"; -import type { MediaAsset } from "@/lib/media/types"; +import { loadFonts } from "@/fonts/google-fonts"; +import { DEFAULTS } from "@/timeline/defaults"; +import { getElementFontFamilies } from "@/timeline/element-utils"; +import { getRaisedProjectFpsForImportedMedia } from "@/fps/utils"; +import type { MediaAsset } from "@/media/types"; export interface MigrationState { isMigrating: boolean; |
