From f7c29b385d725bc43ec147c1cfa2bc930e23b1ee Mon Sep 17 00:00:00 2001 From: zhishi <1951671751@qq.com> Date: Fri, 10 Apr 2026 21:39:26 +0800 Subject: [PATCH] no message --- .../production/workbench/getGenerateData.ts | 2 +- src/types/database.d.ts | 41 +++---------------- 2 files changed, 7 insertions(+), 36 deletions(-) diff --git a/src/routes/production/workbench/getGenerateData.ts b/src/routes/production/workbench/getGenerateData.ts index 7647e09..a3c8404 100644 --- a/src/routes/production/workbench/getGenerateData.ts +++ b/src/routes/production/workbench/getGenerateData.ts @@ -130,7 +130,7 @@ export default router.post( seenAssetIds.add(a.id); return true; }); - return [...storyboardMedias, ...uniqueAssets]; + return [ ...uniqueAssets,...storyboardMedias]; })(), videoList: await Promise.all( videoList diff --git a/src/types/database.d.ts b/src/types/database.d.ts index 8adea86..a787e02 100644 --- a/src/types/database.d.ts +++ b/src/types/database.d.ts @@ -1,37 +1,6 @@ -// @db-hash 6cd709d9bdfe00c4dc87961a8ebba149 +// @db-hash 71e339c0a728c10bedb294a93976dcd8 //该文件由脚本自动生成,请勿手动修改 -export interface _o_project_old_20260404 { - 'artStyle'?: string | null; - 'createTime'?: number | null; - 'directorManual'?: string | null; - 'id'?: number | null; - 'imageModel'?: string | null; - 'imageQuality'?: string | null; - 'intro'?: string | null; - 'mode'?: string | null; - 'name'?: string | null; - 'projectType'?: string | null; - 'type'?: string | null; - 'userId'?: number | null; - 'videoModel'?: string | null; - 'videoRatio'?: string | null; -} -export interface _o_prompt_old_20260406 { - 'data'?: string | null; - 'id'?: number; - 'name'?: string | null; - 'type'?: string | null; - 'useData'?: string | null; -} -export interface _o_prompt_old_20260406_1 { - 'data'?: string | null; - 'id'?: number; - 'name'?: string | null; - 'TEXT'?: any | null; - 'type'?: string | null; - 'useData'?: string | null; -} export interface memories { 'content': string; 'createTime': number; @@ -90,6 +59,10 @@ export interface o_assets2Storyboard { 'assetId'?: number; 'storyboardId'?: number; } +export interface o_assetsRole2Audio { + 'assetsAudioId'?: number; + 'assetsRoleId'?: number; +} export interface o_event { 'createTime'?: number | null; 'detail'?: string | null; @@ -263,15 +236,13 @@ export interface o_videoTrack { } export interface DB { - "_o_project_old_20260404": _o_project_old_20260404; - "_o_prompt_old_20260406": _o_prompt_old_20260406; - "_o_prompt_old_20260406_1": _o_prompt_old_20260406_1; "memories": memories; "o_agentDeploy": o_agentDeploy; "o_agentWorkData": o_agentWorkData; "o_artStyle": o_artStyle; "o_assets": o_assets; "o_assets2Storyboard": o_assets2Storyboard; + "o_assetsRole2Audio": o_assetsRole2Audio; "o_event": o_event; "o_eventChapter": o_eventChapter; "o_image": o_image;