feat(api-server): cache puzzle gallery card view

This commit is contained in:
kdletters
2026-05-17 05:50:33 +08:00
parent 02271e6c73
commit 73f937d78a
17 changed files with 771 additions and 44 deletions

View File

@@ -42,6 +42,19 @@ export interface PuzzleWorksResponse {
items: PuzzleWorkSummary[];
}
export interface PuzzleGalleryWorkRef {
workId: string;
profileId: string;
}
export interface PuzzleGalleryResponse {
items: PuzzleWorkSummary[];
previewRefs?: PuzzleGalleryWorkRef[];
hasMore?: boolean;
nextCursor?: string | null;
totalCount?: number;
}
export interface PuzzleWorkDetailResponse {
item: PuzzleWorkProfile;
}