This commit is contained in:
Igor Loskutov
2025-09-04 11:21:34 -04:00
4 changed files with 8 additions and 2 deletions

View File

@@ -21,6 +21,8 @@ import {
Spacer,
} from "@chakra-ui/react";
import { useAuth } from "../../../lib/AuthProvider";
import type { components } from "../../../reflector-api";
const TranscriptCreate = () => {
const isClient = typeof window !== "undefined";
const router = useRouter();
@@ -58,6 +60,7 @@ const TranscriptCreate = () => {
name,
source_language: "en",
target_language: targetLang || "en",
source_kind: "live",
});
};
@@ -69,6 +72,7 @@ const TranscriptCreate = () => {
name,
source_language: "en",
target_language: targetLang || "en",
source_kind: "file",
});
};

View File

@@ -551,6 +551,7 @@ export interface components {
* @default en
*/
target_language: string;
source_kind?: components["schemas"]["SourceKind"] | null;
};
/** DeletionStatus */
DeletionStatus: {