Skip to content

Commit

Permalink
feat: Console.logLevel
Browse files Browse the repository at this point in the history
Update arguments-builder.config.ts
Update boxjs.settings.json
Update response.dev.js
Update database.mjs
Update response.js
Update setENV.mjs
Update types.d.ts
  • Loading branch information
VirgilClyne committed Dec 10, 2024
1 parent 4193243 commit 1680226
Show file tree
Hide file tree
Showing 9 changed files with 280 additions and 263 deletions.
25 changes: 20 additions & 5 deletions arguments-builder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default defineConfig({
args: [
{
key: "Home.Tab",
name: "[首页]标签页",
name: "[首页] 标签页",
defaultValue: ["直播tab", "推荐tab", "hottopic", "bangumi", "anime", "film", "koreavtw"],
type: "array",
boxJsType: "checkboxes",
Expand Down Expand Up @@ -100,7 +100,7 @@ export default defineConfig({
},
{
key: "Home.Tab_default",
name: "[首页]默认标签页",
name: "[首页] 默认标签页",
defaultValue: "推荐tab",
type: "string",
boxJsType: "selects",
Expand Down Expand Up @@ -162,7 +162,7 @@ export default defineConfig({
},
{
key: "Home.Top_left",
name: "[首页]顶栏(左侧)按钮(用户头像)",
name: "[首页] 顶栏(左侧)按钮(用户头像)",
defaultValue: "mine",
type: "string",
boxJsType: "selects",
Expand All @@ -180,7 +180,7 @@ export default defineConfig({
},
{
key: "Home.Top",
name: "[首页]顶栏(右侧)按钮",
name: "[首页] 顶栏(右侧)按钮",
defaultValue: ["消息Top"],
type: "array",
boxJsType: "checkboxes",
Expand All @@ -202,7 +202,7 @@ export default defineConfig({
},
{
key: "Bottom",
name: "[底部]导航栏按钮",
name: "[底部] 导航栏按钮",
defaultValue: ["home", "dynamic", "ogv", "会员购Bottom", "我的Bottom"],
type: "array",
boxJsType: "checkboxes",
Expand Down Expand Up @@ -242,5 +242,20 @@ export default defineConfig({
}
],
},
{
key: "LogLevel",
name: "[调试] 日志等级",
type: "string",
defaultValue: "WARN",
description: "选择脚本日志的输出等级,低于所选等级的日志将全部输出。",
options: [
{ key: "OFF", label: "关闭" },
{ key: "ERROR", label: "❌ 错误" },
{ key: "WARN", label: "⚠️ 警告" },
{ key: "INFO", label: "ℹ️ 信息" },
{ key: "DEBUG", label: "🅱️ 调试" },
{ key: "ALL", label: "全部" },
],
},
],
});
Loading

0 comments on commit 1680226

Please sign in to comment.