真人/虚拟人像库BUG修复 | app build

This commit is contained in:
2026-07-07 13:55:30 +08:00
parent 64714c6d42
commit 01b520ac49
9 changed files with 884 additions and 125 deletions
+29 -3
View File
@@ -267,9 +267,13 @@ export interface PrivatePortraitConfig {
remainingImageCount?: number;
}
export type PrivatePortraitLibraryType = 'real_person' | 'aigc_virtual';
export type PrivatePortraitAssetType = 'Image' | 'Video' | 'Audio';
export interface PrivatePortraitProject {
id: string;
userId?: string | null;
libraryType?: PrivatePortraitLibraryType | string;
name: string;
nameSlug?: string | null;
remoteProjectName?: string | null;
@@ -277,7 +281,11 @@ export interface PrivatePortraitProject {
status: string;
assetGroupCount: number;
assetCount: number;
imageAssetCount?: number;
videoAssetCount?: number;
activeAssetCount: number;
activeImageAssetCount?: number;
activeVideoAssetCount?: number;
lastUsedAt?: string | null;
createdAt?: string | null;
updatedAt?: string | null;
@@ -306,7 +314,6 @@ export interface PrivatePortraitValidateSession {
updatedAt?: string | null;
}
export interface PrivatePortraitProjectCreateWithValidateOut {
project: PrivatePortraitProject;
validateSession: PrivatePortraitValidateSession;
@@ -319,17 +326,30 @@ export interface PrivatePortraitAsset {
projectId: string;
projectName?: string | null;
groupId: string;
libraryType?: PrivatePortraitLibraryType | string;
remoteGroupId: string;
remoteAssetId?: string | null;
remoteProjectName?: string | null;
assetType: string;
assetType: PrivatePortraitAssetType | string;
name?: string | null;
sourceUrl: string;
previewUrl?: string | null;
displayUrl?: string | null;
providerUrl?: string | null;
remoteUrl?: string | null;
remoteUrlExpiredAt?: string | null;
videoDuration?: number | null;
videoCoverUrl?: string | null;
fileSize?: number | null;
mimeType?: string | null;
status: string;
moderation?: unknown;
lastPollAt?: string | null;
nextPollAt?: string | null;
pollCount: number;
remoteDeleteStatus: string;
remoteDeletedAt?: string | null;
remoteDeleteError?: string | null;
errorMessage?: string | null;
createdAt?: string | null;
updatedAt?: string | null;
@@ -346,9 +366,14 @@ export interface PrivatePortraitSelectableAsset {
id: string;
projectId: string;
projectName: string;
libraryType?: PrivatePortraitLibraryType | string;
name?: string | null;
assetType: string;
assetType: PrivatePortraitAssetType | string;
previewUrl?: string | null;
displayUrl?: string | null;
providerUrl?: string | null;
videoDuration?: number | null;
videoCoverUrl?: string | null;
status: string;
createdAt?: string | null;
}
@@ -359,3 +384,4 @@ export interface PrivatePortraitSelectableAssetListOut {
page: number;
pageSize: number;
}