koishi-plugin-anime-schedule 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/config.js CHANGED
@@ -93,7 +93,7 @@ exports.Config = koishi_1.Schema.intersect([
93
93
  .description('单张图片最多加载多少张封面,0 为不限制')
94
94
  .default(0),
95
95
  showCover: koishi_1.Schema.boolean().description('显示封面').default(true),
96
- showScore: koishi_1.Schema.boolean().description('显示评分').default(true),
96
+ showScore: koishi_1.Schema.boolean().description('显示评分,评价不足 10 人时不显示').default(true),
97
97
  useForward: koishi_1.Schema.boolean()
98
98
  .description('纯文本模式使用合并转发,避免刷屏')
99
99
  .default(true),
@@ -113,8 +113,7 @@ exports.Config = koishi_1.Schema.intersect([
113
113
  .default('localized'),
114
114
  scoreTtlHours: koishi_1.Schema.number()
115
115
  .min(1).step(1)
116
- .description('评分与评价人数的缓存小时数。新番开播头几周评分天天在变,'
117
- + '因此单独给一个比标题封面短得多的保质期')
116
+ .description('评分缓存小时数')
118
117
  .default(constants_1.DEFAULT_SCORE_TTL_HOURS),
119
118
  cacheTtlDays: koishi_1.Schema.number()
120
119
  .min(1).step(1)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-anime-schedule",
3
3
  "description": "番剧更新表与订阅提醒:每日 / 深夜档 / 本周 / 本季四张表,支持单部订阅",
4
- "version": "1.0.6",
4
+ "version": "1.0.7",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@napi-rs/canvas": "^1.0.10",
41
- "bangumi-data": "^0.3.229"
41
+ "bangumi-data": "^0.3.230"
42
42
  },
43
43
  "koishi": {
44
44
  "description": {
package/readme.md CHANGED
@@ -56,8 +56,8 @@ npm i koishi-plugin-anime-schedule
56
56
  | `output.format` | `image` | `image` / `text` |
57
57
  | `output.layout` | `table` | 图片排版:`table` / `list` |
58
58
  | `localize.titleStyle` | `localized` | `localized` 仅中文 / `both` 中文(日文原名)/ `original` 仅日文原名 |
59
- | `localize.scoreTtlHours` | `24` | 评分与评价人数的缓存小时数。新番开播头几周评分天天在变,因此单独给一个较短的保质期 |
60
- | `output.showScore` | `true` | 是否显示 Bangumi 评分。评价人数少于 10 人时一律不显示——样本太少的分数会误导人 |
59
+ | `localize.scoreTtlHours` | `24` | 评分与评价人数的缓存小时数 |
60
+ | `output.showScore` | `true` | 是否显示评分,评价不足 10 人时不显示 |
61
61
  | `render.jpegQuality` | `100` | 图片编码质量,调低可减小体积 |
62
62
  | `advanced.debug` | `false` | 输出调试日志 |
63
63