修改字段
This commit is contained in:
parent
e49e597ed6
commit
2a00c1e070
@ -1,3 +1,5 @@
|
||||
# 全局美学基础 · 古风甜宠写实超现实主义
|
||||
123
|
||||
123
|
||||
1212121212的王师傅水电费第三方水电费
|
||||
1212121212
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 272 KiB |
@ -488,7 +488,7 @@ description: 专注于从剧本内容中提取所使用的资产(角色、场
|
||||
table.text("state");
|
||||
table.integer("trackId");
|
||||
table.text("reason");
|
||||
table.text("videoPrompt");
|
||||
table.text("videoDesc");
|
||||
table.integer("shouldGenerateImage"); // 0 否 1 是
|
||||
table.integer("projectId");
|
||||
table.integer("flowId"); //工作流id
|
||||
|
||||
@ -15,7 +15,7 @@ interface TrackMedia {
|
||||
src: string;
|
||||
id?: number;
|
||||
fileType: "image" | "video" | "audio";
|
||||
prompt?: string;
|
||||
videoDesc?: string;
|
||||
}
|
||||
|
||||
interface TrackItem {
|
||||
@ -66,7 +66,7 @@ export default router.post(
|
||||
async (s): Promise<TrackMedia> => ({
|
||||
src: s.filePath ? await u.oss.getFileUrl(s.filePath) : "",
|
||||
fileType: "image",
|
||||
...(s.prompt != null ? { prompt: s.prompt } : {}),
|
||||
...(s.prompt != null ? { prompt: s.videoDesc } : {}),
|
||||
...(s.id != null ? { id: s.id } : {}),
|
||||
}),
|
||||
),
|
||||
|
||||
55
src/types/database.d.ts
vendored
55
src/types/database.d.ts
vendored
@ -1,6 +1,50 @@
|
||||
// @db-hash 6aa15a584eba838157eddf2458c0e260
|
||||
// @db-hash ea4ad047f16c826806ff76f388882a9c
|
||||
//该文件由脚本自动生成,请勿手动修改
|
||||
|
||||
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;
|
||||
'shouldGenerateImage'?: number | null;
|
||||
'state'?: string | null;
|
||||
'trackId'?: number | null;
|
||||
'videoPrompt'?: string | null;
|
||||
}
|
||||
export interface _o_vendorConfig_old_20260401 {
|
||||
'author'?: string | null;
|
||||
'code'?: string | null;
|
||||
'createTime'?: number | null;
|
||||
'description'?: string | null;
|
||||
'icon'?: string | null;
|
||||
'id'?: string;
|
||||
'inputs'?: string | null;
|
||||
'inputValues'?: string | null;
|
||||
'models'?: string | null;
|
||||
'name'?: string | null;
|
||||
}
|
||||
export interface _o_videoTrack_old_20260401 {
|
||||
'id'?: number;
|
||||
'projectId'?: number | null;
|
||||
'scriptId'?: number | null;
|
||||
'videoId'?: number | null;
|
||||
}
|
||||
export interface _o_videoTrack_old_20260401_1 {
|
||||
'id'?: number;
|
||||
'projectId'?: number | null;
|
||||
'prompt'?: string | null;
|
||||
'reason'?: string | null;
|
||||
'scriptId'?: number | null;
|
||||
'selectVideoId'?: number | null;
|
||||
'state'?: string | null;
|
||||
'videoId'?: number | null;
|
||||
}
|
||||
export interface memories {
|
||||
'content': string;
|
||||
'createTime': number;
|
||||
@ -173,8 +217,10 @@ export interface o_storyboard {
|
||||
'prompt'?: string | null;
|
||||
'reason'?: string | null;
|
||||
'scriptId'?: number | null;
|
||||
'shouldGenerateImage'?: number | null;
|
||||
'state'?: string | null;
|
||||
'trackId'?: number | null;
|
||||
'videoDesc'?: string | null;
|
||||
}
|
||||
export interface o_tasks {
|
||||
'describe'?: string | null;
|
||||
@ -197,7 +243,7 @@ export interface o_vendorConfig {
|
||||
'code'?: string | null;
|
||||
'createTime'?: number | null;
|
||||
'description'?: string | null;
|
||||
'enable'?: number | null;
|
||||
'enableEnglish'?: number | null;
|
||||
'icon'?: string | null;
|
||||
'id'?: string;
|
||||
'inputs'?: string | null;
|
||||
@ -216,6 +262,7 @@ export interface o_video {
|
||||
'videoTrackId'?: number | null;
|
||||
}
|
||||
export interface o_videoTrack {
|
||||
'duration'?: number | null;
|
||||
'id'?: number;
|
||||
'projectId'?: number | null;
|
||||
'prompt'?: string | null;
|
||||
@ -227,6 +274,10 @@ export interface o_videoTrack {
|
||||
}
|
||||
|
||||
export interface DB {
|
||||
"_o_storyboard_old_20260402": _o_storyboard_old_20260402;
|
||||
"_o_vendorConfig_old_20260401": _o_vendorConfig_old_20260401;
|
||||
"_o_videoTrack_old_20260401": _o_videoTrack_old_20260401;
|
||||
"_o_videoTrack_old_20260401_1": _o_videoTrack_old_20260401_1;
|
||||
"memories": memories;
|
||||
"o_agentDeploy": o_agentDeploy;
|
||||
"o_agentWorkData": o_agentWorkData;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user