no message

This commit is contained in:
zhishi 2026-03-24 13:53:13 +08:00
parent 0d75548cb1
commit 2f89431316
2 changed files with 56 additions and 3 deletions

View File

@ -122,7 +122,7 @@ export default (resTool: ResTool, toolsNames?: string[]) => {
assetId.push(id);
}
await u.db("o_script_assets").insert(assetId.map((i) => ({ scriptId, assetId: i })));
await u.db("o_scriptAssets").insert(assetId.map((i) => ({ scriptId, assetId: i })));
}
socket.emit("setPlanData", { key: "script", value: scriptId });
return true;

View File

@ -1,6 +1,45 @@
// @db-hash 83c8dadf13c2aee689597b709a690870
// @db-hash 25c88b2cb37f9deac8b2bb8354113537
//该文件由脚本自动生成,请勿手动修改
export interface _o_assets_old_20260324 {
'describe'?: string | null;
'id'?: number;
'imageId'?: number | null;
'name'?: string | null;
'projectId'?: number | null;
'prompt'?: string | null;
'remark'?: string | null;
'scriptId'?: number | null;
'sonId'?: number | null;
'startTime'?: number | null;
'state'?: string | null;
'type'?: string | null;
}
export interface _o_assets_old_20260324_1 {
'assetId'?: number | null;
'describe'?: string | null;
'id'?: number;
'imageId'?: number | null;
'name'?: string | null;
'projectId'?: number | null;
'prompt'?: string | null;
'remark'?: string | null;
'scriptId'?: number | null;
'startTime'?: number | null;
'state'?: string | null;
'type'?: string | null;
}
export interface _o_novel_old_20260323 {
'chapter'?: string | null;
'chapterData'?: string | null;
'chapterIndex'?: number | null;
'createTime'?: number | null;
'event'?: string | null;
'eventState'?: number | null;
'id'?: number;
'projectId'?: number | null;
'reel'?: string | null;
}
export interface memories {
'content': string;
'createTime': number;
@ -25,7 +64,7 @@ export interface o_agentDeploy {
export interface o_agentWorkData {
'createTime'?: number | null;
'data'?: string | null;
'episodesId'?: number | null;
'espisodeId'?: number | null;
'id'?: number;
'key'?: string | null;
'projectId'?: number | null;
@ -47,6 +86,7 @@ export interface o_assets {
'remark'?: string | null;
'scriptId'?: number | null;
'startTime'?: number | null;
'state'?: string | null;
'type'?: string | null;
}
export interface o_assets2Storyboard {
@ -64,6 +104,15 @@ export interface o_eventChapter {
'id'?: number;
'novelId'?: number | null;
}
export interface o_flowData {
'createTime'?: number | null;
'data'?: string | null;
'espisodeId'?: number | null;
'id'?: number;
'key'?: string | null;
'projectId'?: number | null;
'updateTime'?: number | null;
}
export interface o_image {
'assetsId'?: number | null;
'filePath'?: string | null;
@ -195,6 +244,9 @@ export interface o_videoConfig {
}
export interface DB {
"_o_assets_old_20260324": _o_assets_old_20260324;
"_o_assets_old_20260324_1": _o_assets_old_20260324_1;
"_o_novel_old_20260323": _o_novel_old_20260323;
"memories": memories;
"o_agentDeploy": o_agentDeploy;
"o_agentWorkData": o_agentWorkData;
@ -203,6 +255,7 @@ export interface DB {
"o_assets2Storyboard": o_assets2Storyboard;
"o_event": o_event;
"o_eventChapter": o_eventChapter;
"o_flowData": o_flowData;
"o_image": o_image;
"o_novel": o_novel;
"o_outline": o_outline;