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,7 +2,7 @@ import { Command } from "@/lib/commands/base-command";
import { EditorCore } from "@/core";
import type { MediaAsset } from "@/types/assets";
import { generateUUID } from "@/utils/id";
import { storageService } from "@/services/storage/storage-service";
import { storageService } from "@/services/storage/service";
export class AddMediaAssetCommand extends Command {
private assetId: string;
@@ -1,8 +1,8 @@
import { Command } from "@/lib/commands/base-command";
import { EditorCore } from "@/core";
import type { MediaAsset } from "@/types/assets";
import { storageService } from "@/services/storage/storage-service";
import { videoCache } from "@/services/media/video-cache";
import { storageService } from "@/services/storage/service";
import { videoCache } from "@/services/video-cache/service";
import { hasMediaId } from "@/lib/timeline/element-utils";
import type { TimelineTrack } from "@/types/timeline";