refactor: streamline voice module and remove unused code

- Removed the `file` property from the `Speak` type in `speak.ts`.
- Simplified exports in `index.ts` by removing unused functions.
- Deleted the `relatime.ts` file as it was no longer needed.
- Cleaned up `settingStore.ts` by removing Volcengine configuration properties and related methods.
- Updated `voiceStore.ts` to use Flowme API for voice management and removed unnecessary methods.
- Changed the main export in `page.tsx` to point to the new App component.
- Introduced new `asr-api.ts` and `flowme-api.ts` modules for handling API interactions.
- Added `ConfirmDeleteModal.tsx` for confirming voice deletions.
- Created `resourceStore.ts` for managing resource uploads.
This commit is contained in:
2026-03-12 03:09:45 +08:00
parent 704303be13
commit 9b6dc45e90
15 changed files with 776 additions and 739 deletions

View File

@@ -18,7 +18,7 @@
"license": "MIT",
"dependencies": {
"@base-ui/react": "^1.2.0",
"@kevisual/api": "^0.0.62",
"@kevisual/api": "^0.0.63",
"@kevisual/context": "^0.0.8",
"@kevisual/router": "0.1.1",
"@kevisual/video-tools": "^0.0.13",
@@ -69,6 +69,6 @@
"tailwindcss": "^4.2.1",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",
"vite": "v8.0.0-beta.16"
"vite": "v8.0.0-beta.18"
}
}