refactor services structure

This commit is contained in:
Maze Winther
2026-01-31 22:19:11 +01:00
parent 7878c8bb7b
commit f820d9a894
12 changed files with 779 additions and 778 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
import type { EditorCore } from "@/core";
import type { MediaAsset } from "@/types/assets";
import { storageService } from "@/services/storage/storage-service";
import { storageService } from "@/services/storage/service";
import { generateUUID } from "@/utils/id";
import { videoCache } from "@/services/media/video-cache";
import { videoCache } from "@/services/video-cache/service";
import { hasMediaId } from "@/lib/timeline/element-utils";
export class MediaManager {
@@ -8,7 +8,7 @@ import type {
TTimelineViewState,
} from "@/types/project";
import type { ExportOptions, ExportResult } from "@/types/export";
import { storageService } from "@/services/storage/storage-service";
import { storageService } from "@/services/storage/service";
import { toast } from "sonner";
import { generateUUID } from "@/utils/id";
import { UpdateProjectSettingsCommand } from "@/lib/commands/project";
+1 -1
View File
@@ -1,6 +1,6 @@
import type { EditorCore } from "@/core";
import type { TimelineTrack, TScene } from "@/types/timeline";
import { storageService } from "@/services/storage/storage-service";
import { storageService } from "@/services/storage/service";
import {
getMainScene,
ensureMainScene,