39 lines
1.1 KiB
TypeScript
39 lines
1.1 KiB
TypeScript
/**
|
|
* RPG 创作作品卡读模型契约。
|
|
* works 列表只暴露继续创作与进入世界判断所需的稳定字段。
|
|
*/
|
|
|
|
export type RpgCreationWorkStatus = 'draft' | 'published';
|
|
export type RpgCreationWorkSource = 'agent_session' | 'published_profile';
|
|
|
|
export interface RpgCreationWorkSummary {
|
|
workId: string;
|
|
sourceType: RpgCreationWorkSource;
|
|
status: RpgCreationWorkStatus;
|
|
title: string;
|
|
subtitle: string;
|
|
summary: string;
|
|
coverImageSrc?: string | null;
|
|
coverRenderMode?: 'image' | 'scene_with_roles';
|
|
coverCharacterImageSrcs?: string[];
|
|
updatedAt: string;
|
|
publishedAt?: string | null;
|
|
stage?: string | null;
|
|
stageLabel?: string | null;
|
|
playableNpcCount: number;
|
|
landmarkCount: number;
|
|
roleVisualReadyCount?: number;
|
|
roleAnimationReadyCount?: number;
|
|
roleAssetSummaryLabel?: string | null;
|
|
sessionId?: string | null;
|
|
profileId?: string | null;
|
|
canResume: boolean;
|
|
canEnterWorld: boolean;
|
|
blockerCount?: number;
|
|
publishReady?: boolean;
|
|
}
|
|
|
|
export interface ListRpgCreationWorksResponse {
|
|
items: RpgCreationWorkSummary[];
|
|
}
|