no message
This commit is contained in:
parent
0d75548cb1
commit
2f89431316
@ -122,7 +122,7 @@ export default (resTool: ResTool, toolsNames?: string[]) => {
|
|||||||
assetId.push(id);
|
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 });
|
socket.emit("setPlanData", { key: "script", value: scriptId });
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
57
src/types/database.d.ts
vendored
57
src/types/database.d.ts
vendored
@ -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 {
|
export interface memories {
|
||||||
'content': string;
|
'content': string;
|
||||||
'createTime': number;
|
'createTime': number;
|
||||||
@ -25,7 +64,7 @@ export interface o_agentDeploy {
|
|||||||
export interface o_agentWorkData {
|
export interface o_agentWorkData {
|
||||||
'createTime'?: number | null;
|
'createTime'?: number | null;
|
||||||
'data'?: string | null;
|
'data'?: string | null;
|
||||||
'episodesId'?: number | null;
|
'espisodeId'?: number | null;
|
||||||
'id'?: number;
|
'id'?: number;
|
||||||
'key'?: string | null;
|
'key'?: string | null;
|
||||||
'projectId'?: number | null;
|
'projectId'?: number | null;
|
||||||
@ -47,6 +86,7 @@ export interface o_assets {
|
|||||||
'remark'?: string | null;
|
'remark'?: string | null;
|
||||||
'scriptId'?: number | null;
|
'scriptId'?: number | null;
|
||||||
'startTime'?: number | null;
|
'startTime'?: number | null;
|
||||||
|
'state'?: string | null;
|
||||||
'type'?: string | null;
|
'type'?: string | null;
|
||||||
}
|
}
|
||||||
export interface o_assets2Storyboard {
|
export interface o_assets2Storyboard {
|
||||||
@ -64,6 +104,15 @@ export interface o_eventChapter {
|
|||||||
'id'?: number;
|
'id'?: number;
|
||||||
'novelId'?: number | null;
|
'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 {
|
export interface o_image {
|
||||||
'assetsId'?: number | null;
|
'assetsId'?: number | null;
|
||||||
'filePath'?: string | null;
|
'filePath'?: string | null;
|
||||||
@ -195,6 +244,9 @@ export interface o_videoConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface DB {
|
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;
|
"memories": memories;
|
||||||
"o_agentDeploy": o_agentDeploy;
|
"o_agentDeploy": o_agentDeploy;
|
||||||
"o_agentWorkData": o_agentWorkData;
|
"o_agentWorkData": o_agentWorkData;
|
||||||
@ -203,6 +255,7 @@ export interface DB {
|
|||||||
"o_assets2Storyboard": o_assets2Storyboard;
|
"o_assets2Storyboard": o_assets2Storyboard;
|
||||||
"o_event": o_event;
|
"o_event": o_event;
|
||||||
"o_eventChapter": o_eventChapter;
|
"o_eventChapter": o_eventChapter;
|
||||||
|
"o_flowData": o_flowData;
|
||||||
"o_image": o_image;
|
"o_image": o_image;
|
||||||
"o_novel": o_novel;
|
"o_novel": o_novel;
|
||||||
"o_outline": o_outline;
|
"o_outline": o_outline;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user