From 6de6c7fd95de1de9d8d3107eaf7ce1dd150ed094 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Tue, 14 Apr 2026 18:17:14 +0200 Subject: refactor: move constants to domain modules --- apps/web/src/services/transcription/service.ts | 2 +- apps/web/src/services/transcription/worker.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/web/src/services/transcription') diff --git a/apps/web/src/services/transcription/service.ts b/apps/web/src/services/transcription/service.ts index fa657032..443a4230 100644 --- a/apps/web/src/services/transcription/service.ts +++ b/apps/web/src/services/transcription/service.ts @@ -7,7 +7,7 @@ import type { import { DEFAULT_TRANSCRIPTION_MODEL, TRANSCRIPTION_MODELS, -} from "@/constants/transcription-constants"; +} from "@/lib/transcription/models"; import type { WorkerMessage, WorkerResponse } from "./worker"; type ProgressCallback = (progress: TranscriptionProgress) => void; diff --git a/apps/web/src/services/transcription/worker.ts b/apps/web/src/services/transcription/worker.ts index e22fe796..928b580e 100644 --- a/apps/web/src/services/transcription/worker.ts +++ b/apps/web/src/services/transcription/worker.ts @@ -7,7 +7,7 @@ import type { TranscriptionSegment } from "@/lib/transcription/types"; import { DEFAULT_CHUNK_LENGTH_SECONDS, DEFAULT_STRIDE_SECONDS, -} from "@/constants/transcription-constants"; +} from "@/lib/transcription/audio"; export type WorkerMessage = | { type: "init"; modelId: string } -- cgit v1.3.1