feat(characters): support character-scoped conversations

This commit is contained in:
2026-07-17 11:42:31 +08:00
parent 93efcb6604
commit 2796010971
85 changed files with 1645 additions and 251 deletions
+3 -2
View File
@@ -3,13 +3,14 @@ import {
PrivateAlbumUnlockResponse,
UnlockPrivateAlbumRequest,
} from "@/data/dto/private-room";
import { DEFAULT_CHARACTER_ID } from "@/data/constants/character";
import { ApiPath } from "./api_path";
import { httpClient } from "./http_client";
import { type ApiEnvelope, unwrap } from "./response_helper";
export interface GetPrivateAlbumsInput {
character?: string;
characterId?: string;
limit?: number;
}
@@ -21,7 +22,7 @@ export class PrivateRoomApi {
ApiPath.privateRoomAlbums,
{
query: {
character: input.character ?? "elio",
characterId: input.characterId ?? DEFAULT_CHARACTER_ID,
limit: input.limit ?? 20,
},
},