适配最新web前端
This commit is contained in:
parent
539b14070c
commit
46ac187d96
@ -546,11 +546,11 @@ Toonflow 基于 AGPL-3.0 协议开源发布,许可证详情:https://www.gnu.
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- # ⭐️ 星标历史
|
# ⭐️ 星标历史
|
||||||
|
|
||||||
[](https://www.star-history.com/#HBAI-Ltd/Toonflow-app&type=date&legend=top-left)
|
[](https://www.star-history.com/#HBAI-Ltd/Toonflow-app&type=date&legend=top-left)
|
||||||
|
|
||||||
--- -->
|
---
|
||||||
|
|
||||||
# 🙏 致谢
|
# 🙏 致谢
|
||||||
|
|
||||||
|
|||||||
@ -8,6 +8,6 @@ export default router.post("/", async (req, res) => {
|
|||||||
const configData = await u
|
const configData = await u
|
||||||
.db("t_aiModelMap")
|
.db("t_aiModelMap")
|
||||||
.leftJoin("t_config", "t_aiModelMap.configId", "t_config.id")
|
.leftJoin("t_config", "t_aiModelMap.configId", "t_config.id")
|
||||||
.select("t_aiModelMap.name", "t_config.model", "t_aiModelMap.id", "t_aiModelMap.key");
|
.select("t_aiModelMap.name", "t_config.model", "t_aiModelMap.id", "t_aiModelMap.key", "t_config.manufacturer");
|
||||||
res.status(200).send(success(configData));
|
res.status(200).send(success(configData));
|
||||||
});
|
});
|
||||||
|
|||||||
19
src/types/database.d.ts
vendored
19
src/types/database.d.ts
vendored
@ -1,19 +1,6 @@
|
|||||||
// @db-hash 5a633f2d45df5d971905dd32c0ac9880
|
// @db-hash 945540586ca016b1b9a42042fc5ccbf3
|
||||||
//该文件由脚本自动生成,请勿手动修改
|
//该文件由脚本自动生成,请勿手动修改
|
||||||
|
|
||||||
export interface _t_video_old_20260131 {
|
|
||||||
'configId'?: number | null;
|
|
||||||
'filePath'?: string | null;
|
|
||||||
'firstFrame'?: string | null;
|
|
||||||
'id'?: number;
|
|
||||||
'model'?: string | null;
|
|
||||||
'prompt'?: string | null;
|
|
||||||
'resolution'?: string | null;
|
|
||||||
'scriptId'?: number | null;
|
|
||||||
'state'?: number | null;
|
|
||||||
'storyboardImgs'?: string | null;
|
|
||||||
'time'?: number | null;
|
|
||||||
}
|
|
||||||
export interface t_aiModelMap {
|
export interface t_aiModelMap {
|
||||||
'configId'?: number | null;
|
'configId'?: number | null;
|
||||||
'id'?: number;
|
'id'?: number;
|
||||||
@ -52,7 +39,6 @@ export interface t_config {
|
|||||||
'manufacturer'?: string | null;
|
'manufacturer'?: string | null;
|
||||||
'model'?: string | null;
|
'model'?: string | null;
|
||||||
'modelType'?: string | null;
|
'modelType'?: string | null;
|
||||||
'name'?: string | null;
|
|
||||||
'type'?: string | null;
|
'type'?: string | null;
|
||||||
'userId'?: number | null;
|
'userId'?: number | null;
|
||||||
}
|
}
|
||||||
@ -139,6 +125,7 @@ export interface t_user {
|
|||||||
export interface t_video {
|
export interface t_video {
|
||||||
'aiConfigId'?: number | null;
|
'aiConfigId'?: number | null;
|
||||||
'configId'?: number | null;
|
'configId'?: number | null;
|
||||||
|
'errorReason'?: string | null;
|
||||||
'filePath'?: string | null;
|
'filePath'?: string | null;
|
||||||
'firstFrame'?: string | null;
|
'firstFrame'?: string | null;
|
||||||
'id'?: number;
|
'id'?: number;
|
||||||
@ -151,6 +138,7 @@ export interface t_video {
|
|||||||
'time'?: number | null;
|
'time'?: number | null;
|
||||||
}
|
}
|
||||||
export interface t_videoConfig {
|
export interface t_videoConfig {
|
||||||
|
'aiConfigId'?: number | null;
|
||||||
'audioEnabled'?: number | null;
|
'audioEnabled'?: number | null;
|
||||||
'createTime'?: number | null;
|
'createTime'?: number | null;
|
||||||
'duration'?: number | null;
|
'duration'?: number | null;
|
||||||
@ -170,7 +158,6 @@ export interface t_videoConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface DB {
|
export interface DB {
|
||||||
"_t_video_old_20260131": _t_video_old_20260131;
|
|
||||||
"t_aiModelMap": t_aiModelMap;
|
"t_aiModelMap": t_aiModelMap;
|
||||||
"t_assets": t_assets;
|
"t_assets": t_assets;
|
||||||
"t_chatHistory": t_chatHistory;
|
"t_chatHistory": t_chatHistory;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user