Skip to content

Commit

Permalink
feat: Console
Browse files Browse the repository at this point in the history
Update arguments-builder.config.ts
Update boxjs.settings.json
Update package-lock.json
Update request.dev.js
Update database.mjs
Update request.js
Update setENV.mjs
Update types.d.ts
  • Loading branch information
VirgilClyne committed Dec 9, 2024
1 parent 2f29cfa commit 6b9f67a
Show file tree
Hide file tree
Showing 11 changed files with 341 additions and 356 deletions.
Empty file removed .gitmodules
Empty file.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* 正确顺序为先读取 `$argument` 再读取 `$persistentStore (BoxJs)`
* 即,有相同键名时,`$persistentStore (BoxJs)` 的值会覆盖 `$argument` 的值

### ‼️ Breaking Changes
* 从脚本中移除了 `@nsnanocat/url` polyfill
* 由于 `@nsnanocat/url` 已经被移除,所以 `📰 News` 项目已完全不再支持 `🚀 ShadowRocket`

### 🔣 Dependencies
* 升级了 `@nsnanocat/util`
* `util``submodule` 更改为 `package`
Expand Down
21 changes: 16 additions & 5 deletions arguments-builder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ export default defineConfig({
{
path: "./dist/iRingo.News.stoverride",
template: "./template/stash.handlebars",
},
{
path: "./dist/iRingo.News.srmodule",
template: "./template/shadowrocket.handlebars",
},
}
],
dts: {
isExported: true,
Expand Down Expand Up @@ -63,5 +59,20 @@ export default defineConfig({
type: "boolean",
description: "是否显示News+搜索结果。",
},
{
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 6b9f67a

Please sign in to comment.