修复bug

This commit is contained in:
zhishi 2026-04-02 02:44:24 +08:00
parent 8e0d7174ab
commit ee520d857b
2 changed files with 24 additions and 11 deletions

View File

@ -141,6 +141,8 @@ export default router.post(
associateAssetsIds: assets2StoryboardMap[i.id!] ?? [], associateAssetsIds: assets2StoryboardMap[i.id!] ?? [],
src: i.filePath, src: i.filePath,
state: i.state, state: i.state,
videoDesc: i.videoDesc,
shouldGenerateImage: i.shouldGenerateImage,
reason: i?.reason ?? "", reason: i?.reason ?? "",
})) }))
.sort((a, b) => (a.index ?? 0) - (b.index ?? 0)); .sort((a, b) => (a.index ?? 0) - (b.index ?? 0));

View File

@ -1,7 +1,21 @@
// @db-hash ea4ad047f16c826806ff76f388882a9c // @db-hash 7af86e2bafe5cab7d175eb68cf76ed7a
//该文件由脚本自动生成,请勿手动修改 //该文件由脚本自动生成,请勿手动修改
export interface _o_storyboard_old_20260402 { export interface _o_storyboard_old_20260402 {
'createTime'?: number | null;
'duration'?: string | null;
'filePath'?: string | null;
'flowId'?: number | null;
'id'?: number;
'index'?: number | null;
'projectId'?: number | null;
'prompt'?: string | null;
'reason'?: string | null;
'scriptId'?: number | null;
'state'?: string | null;
'trackId'?: number | null;
}
export interface _o_storyboard_old_20260402_1 {
'createTime'?: number | null; 'createTime'?: number | null;
'duration'?: string | null; 'duration'?: string | null;
'filePath'?: string | null; 'filePath'?: string | null;
@ -14,6 +28,7 @@ export interface _o_storyboard_old_20260402 {
'scriptId'?: number | null; 'scriptId'?: number | null;
'shouldGenerateImage'?: number | null; 'shouldGenerateImage'?: number | null;
'state'?: string | null; 'state'?: string | null;
'track'?: string | null;
'trackId'?: number | null; 'trackId'?: number | null;
'videoPrompt'?: string | null; 'videoPrompt'?: string | null;
} }
@ -22,6 +37,7 @@ export interface _o_vendorConfig_old_20260401 {
'code'?: string | null; 'code'?: string | null;
'createTime'?: number | null; 'createTime'?: number | null;
'description'?: string | null; 'description'?: string | null;
'enableEnglish'?: number | null;
'icon'?: string | null; 'icon'?: string | null;
'id'?: string; 'id'?: string;
'inputs'?: string | null; 'inputs'?: string | null;
@ -29,13 +45,7 @@ export interface _o_vendorConfig_old_20260401 {
'models'?: string | null; 'models'?: string | null;
'name'?: string | null; 'name'?: string | null;
} }
export interface _o_videoTrack_old_20260401 { export interface _o_videoTrack_old_20260402 {
'id'?: number;
'projectId'?: number | null;
'scriptId'?: number | null;
'videoId'?: number | null;
}
export interface _o_videoTrack_old_20260401_1 {
'id'?: number; 'id'?: number;
'projectId'?: number | null; 'projectId'?: number | null;
'prompt'?: string | null; 'prompt'?: string | null;
@ -219,6 +229,7 @@ export interface o_storyboard {
'scriptId'?: number | null; 'scriptId'?: number | null;
'shouldGenerateImage'?: number | null; 'shouldGenerateImage'?: number | null;
'state'?: string | null; 'state'?: string | null;
'track'?: string | null;
'trackId'?: number | null; 'trackId'?: number | null;
'videoDesc'?: string | null; 'videoDesc'?: string | null;
} }
@ -243,6 +254,7 @@ export interface o_vendorConfig {
'code'?: string | null; 'code'?: string | null;
'createTime'?: number | null; 'createTime'?: number | null;
'description'?: string | null; 'description'?: string | null;
'enable'?: number | null;
'enableEnglish'?: number | null; 'enableEnglish'?: number | null;
'icon'?: string | null; 'icon'?: string | null;
'id'?: string; 'id'?: string;
@ -268,16 +280,15 @@ export interface o_videoTrack {
'prompt'?: string | null; 'prompt'?: string | null;
'reason'?: string | null; 'reason'?: string | null;
'scriptId'?: number | null; 'scriptId'?: number | null;
'selectVideoId'?: number | null;
'state'?: string | null; 'state'?: string | null;
'videoId'?: number | null; 'videoId'?: number | null;
} }
export interface DB { export interface DB {
"_o_storyboard_old_20260402": _o_storyboard_old_20260402; "_o_storyboard_old_20260402": _o_storyboard_old_20260402;
"_o_storyboard_old_20260402_1": _o_storyboard_old_20260402_1;
"_o_vendorConfig_old_20260401": _o_vendorConfig_old_20260401; "_o_vendorConfig_old_20260401": _o_vendorConfig_old_20260401;
"_o_videoTrack_old_20260401": _o_videoTrack_old_20260401; "_o_videoTrack_old_20260402": _o_videoTrack_old_20260402;
"_o_videoTrack_old_20260401_1": _o_videoTrack_old_20260401_1;
"memories": memories; "memories": memories;
"o_agentDeploy": o_agentDeploy; "o_agentDeploy": o_agentDeploy;
"o_agentWorkData": o_agentWorkData; "o_agentWorkData": o_agentWorkData;