mirror of
https://github.com/aiclientproxy/proxycast.git
synced 2026-09-24 23:10:56 +08:00
feat: release v0.77.0 with full pending changes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
|
||||
use crate::database::DbConnection;
|
||||
use crate::services::novel_service::{
|
||||
NovelCheckConsistencyRequest, NovelCreateProjectRequest, NovelGenerateChapterRequest,
|
||||
NovelGenerateRequest, NovelGenerateResult, NovelGenerationRun, NovelListRunsRequest,
|
||||
NovelPolishChapterRequest, NovelProject, NovelProjectSnapshot, NovelRewriteChapterRequest,
|
||||
NovelSettingsRecord, NovelUpdateSettingsRequest,
|
||||
NovelCheckConsistencyRequest, NovelCreateProjectRequest, NovelDeleteCharacterRequest,
|
||||
NovelGenerateChapterRequest, NovelGenerateRequest, NovelGenerateResult, NovelGenerationRun,
|
||||
NovelListRunsRequest, NovelPolishChapterRequest, NovelProject, NovelProjectSnapshot,
|
||||
NovelRewriteChapterRequest, NovelSettingsRecord, NovelUpdateSettingsRequest,
|
||||
};
|
||||
use tauri::State;
|
||||
|
||||
@@ -91,3 +91,10 @@ pub async fn novel_list_runs(
|
||||
) -> Result<Vec<NovelGenerationRun>, String> {
|
||||
service(&db).list_runs(request)
|
||||
}
|
||||
|
||||
pub async fn novel_delete_character(
|
||||
db: State<'_, DbConnection>,
|
||||
request: NovelDeleteCharacterRequest,
|
||||
) -> Result<bool, String> {
|
||||
service(&db).delete_character(request)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user