This commit is contained in:
2026-04-30 17:49:07 +08:00
parent 805d6f8cae
commit 9d684cb7b3
615 changed files with 15368 additions and 6172 deletions

View File

@@ -1,5 +1,5 @@
import type { JsonObject } from './common';
import type { PuzzleAnchorPack } from './puzzleAgentDraft';
import type { PuzzleAnchorPack, PuzzleDraftLevel } from './puzzleAgentDraft';
export type PuzzleWorkPublicationStatus = 'draft' | 'published';
@@ -9,6 +9,8 @@ export interface PuzzleWorkSummary {
ownerUserId: string;
sourceSessionId?: string | null;
authorDisplayName: string;
workTitle?: string;
workDescription?: string;
levelName: string;
summary: string;
themeTags: string[];
@@ -26,6 +28,7 @@ export interface PuzzleWorkSummary {
export interface PuzzleWorkProfile extends PuzzleWorkSummary {
anchorPack: PuzzleAnchorPack;
levels?: PuzzleDraftLevel[];
metadata?: JsonObject | null;
}