重构了tts
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-01-05 17:34:15 +08:00
parent bd7eca1bd0
commit be3eb17490
24 changed files with 170 additions and 1593 deletions

View File

@@ -140,14 +140,14 @@ export default function InFolder({ folderId }: { folderId: number }) {
onAdd={async (
text1: string,
text2: string,
locale1: string,
locale2: string,
language1: string,
language2: string,
) => {
await createPair({
text1: text1,
text2: text2,
language1: locale1,
language2: locale2,
language1: language1,
language2: language2,
folder: {
connect: {
id: folderId,