Compare commits
103 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7cfd47c36b | ||
|
|
fcc5d3db15 | ||
|
|
2f19691a57 | ||
|
|
83ddadd451 | ||
|
|
b965cccbf1 | ||
|
|
8b60a7f8dd | ||
|
|
04c9907490 | ||
|
|
adef358534 | ||
|
|
fcdad22d94 | ||
|
|
bbc142ac2d | ||
|
|
7169bc202e | ||
|
|
5eb8eb8e3b | ||
|
|
40ffb41f39 | ||
|
|
fe8960687e | ||
|
|
37882ab4bc | ||
|
|
5d892684b8 | ||
|
|
9b5f30ed22 | ||
|
|
564a0c173a | ||
|
|
60a171f1ca | ||
|
|
e0a74b0e58 | ||
|
|
d2ebcca18a | ||
|
|
a096bdcae4 | ||
|
|
e5b360b457 | ||
|
|
608c7834a1 | ||
|
|
79e935b869 | ||
|
|
9de79611c3 | ||
|
|
a4b4232671 | ||
|
|
f42e6d4c8a | ||
|
|
07c45ea9ca | ||
|
|
6363d8d1a2 | ||
|
|
e3ffbb7ffb | ||
|
|
8664d46938 | ||
|
|
6e40784682 | ||
|
|
eb4061748e | ||
|
|
a1fe5823da | ||
|
|
765320168d | ||
|
|
98ebeebf26 | ||
|
|
6293c633b4 | ||
|
|
0f607cea94 | ||
|
|
2defb5740f | ||
|
|
f2fc45204f | ||
|
|
be48c32d0d | ||
|
|
c071538ecc | ||
|
|
f89c008a5c | ||
|
|
512aae14c6 | ||
|
|
7ab35ea4b9 | ||
|
|
09589995ad | ||
|
|
bf1711fa77 | ||
|
|
ed0bc96f97 | ||
|
|
1b2b6ad490 | ||
|
|
5617ba8637 | ||
|
|
fcd6a6160a | ||
|
|
451b0b2762 | ||
|
|
15a402d6ea | ||
|
|
0494700d54 | ||
|
|
a748945628 | ||
|
|
435b1a81db | ||
|
|
7f815d2452 | ||
|
|
b0e0593f65 | ||
|
|
4d581243ef | ||
|
|
8dd8635c04 | ||
|
|
b7d875b0d0 | ||
|
|
1ff37b2918 | ||
|
|
f05a983caa | ||
|
|
a472f2577c | ||
|
|
1f49ddea0c | ||
|
|
ba6efd1529 | ||
|
|
75ba8faf9b | ||
|
|
b1e2ace554 | ||
|
|
9be8c78deb | ||
|
|
b5562a0fce | ||
|
|
0fecfb430c | ||
|
|
bf70161000 | ||
|
|
d23302706b | ||
|
|
7fa17b3b3b | ||
|
|
e8616332d4 | ||
|
|
54fae5e481 | ||
|
|
6804b35043 | ||
|
|
397f1b09a1 | ||
|
|
63e1c98e5d | ||
|
|
ae01e4e8ac | ||
|
|
46efb8fa7d | ||
|
|
3098581235 | ||
|
|
faa6cfe8ea | ||
|
|
e70c658608 | ||
|
|
daeabec99f | ||
|
|
d1f4432a92 | ||
|
|
48fd6cb1b0 | ||
|
|
a78921a9b1 | ||
|
|
855ddace77 | ||
|
|
c9e548ff57 | ||
|
|
77c333383c | ||
|
|
f62e13a26d | ||
|
|
f959b69ea3 | ||
|
|
68c2d1cfcb | ||
|
|
3cb0c423a5 | ||
|
|
a52d573094 | ||
|
|
19b2615d6a | ||
|
|
88bdccec43 | ||
|
|
a7bb92df0c | ||
|
|
1eb36bd606 | ||
|
|
f7eb293ae5 | ||
|
|
0159ee38f3 |
@@ -1,3 +1,3 @@
|
||||
VITE_SENTRY_RELEASE=TeyvatGuide@0.9.2
|
||||
VITE_COMMIT_HASH=40cf7edb
|
||||
VITE_BUILD_TIME=1768742260
|
||||
VITE_SENTRY_RELEASE=TeyvatGuide@0.9.7
|
||||
VITE_COMMIT_HASH=fcc5d3db
|
||||
VITE_BUILD_TIME=1772101907
|
||||
|
||||
17
.github/workflows/build.yml
vendored
@@ -45,12 +45,6 @@ jobs:
|
||||
chmod 644 ~/.ssh/known_hosts
|
||||
- name: Test SSH connection
|
||||
run: ssh -T git@github.com || true
|
||||
- name: Load env.production
|
||||
id: env
|
||||
if: matrix.settings.target == 'windows'
|
||||
run: |
|
||||
$VITE_SENTRY_RELEASE = Get-Content .env.production | Where-Object { $_ -match '^VITE_SENTRY_RELEASE=' } | ForEach-Object { ($_ -split '=')[1] }
|
||||
"VITE_SENTRY_RELEASE=$VITE_SENTRY_RELEASE" >> $env:GITHUB_OUTPUT
|
||||
- name: Rust setup
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: Rust cache
|
||||
@@ -100,14 +94,3 @@ jobs:
|
||||
</a>
|
||||
releaseDraft: true
|
||||
prerelease: false
|
||||
|
||||
- name: Upload Sentry Pdb
|
||||
if: matrix.settings.target == 'windows'
|
||||
run: |
|
||||
echo "Uploading release: $SENTRY_RELEASE"
|
||||
sentry-cli releases new "$SENTRY_RELEASE"
|
||||
sentry-cli upload-dif src-tauri/target/release/TeyvatGuide.pdb
|
||||
sentry-cli releases finalize "$SENTRY_RELEASE"
|
||||
env:
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
SENTRY_RELEASE: ${{ steps.env.outputs.VITE_SENTRY_RELEASE }}
|
||||
|
||||
67
CHANGELOG.md
@@ -2,14 +2,73 @@
|
||||
Author: 目棃
|
||||
Description: CHANGELOG
|
||||
Date: 2025-09-09
|
||||
Update: 2026-01-18
|
||||
Update: 2026-02-26
|
||||
---
|
||||
|
||||
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2025-09-09 14:30:56`
|
||||
>
|
||||
> 更新于 `2026-01-18 20:35:21`
|
||||
> 更新于 `2026-02-26 18:31:44`
|
||||
|
||||
## [0.9.2](https://github.com/BTMuli/TeyvatGuide/releases/v0.9.2) (2025-01-18)
|
||||
## [0.9.7](https://github.com/BTMuli/TeyvatGuide/releases/v0.9.7) (2026-02-26)
|
||||
|
||||
- 🐛 修复脚本页面账号切换异常
|
||||
- 🚸 调整游戏安装目录选取逻辑,调整大小写处理 [`#219`](https://github.com/BTMuli/TeyvatGuide/issues/219)
|
||||
- 💄 替换部分侧边栏图标
|
||||
- 💄 调整浅色模式下滚动条可见度
|
||||
- 💄 调整部分页面UI
|
||||
|
||||
## [0.9.6](https://github.com/BTMuli/TeyvatGuide/releases/v0.9.6) (2026-02-26)
|
||||
|
||||
- 🍱 更新6.4版本资源
|
||||
- ✨ 剧诗页新增绘想游迹&月谕圣牌浮窗
|
||||
- 👽️ 升级 UI 框架至 Vuetify4
|
||||
- ♻️ 重构多页面用户数据加载&刷新逻辑,大幅提升多账号用户体验
|
||||
- 🐛 修复浮窗高度异常抖动导致的子回复加载异常
|
||||
- 🐛 修复特定条件下的渲染异常
|
||||
- 🐛 完善分享设置输入校验,剔除非正整数输入
|
||||
- 🚸 版本更新后重置反馈按钮显示
|
||||
- 🚸 调用内置YAE时检测游戏本体是否启动
|
||||
- 🚸 更换祈愿字典数据源,由Hakushi变更为Yatta
|
||||
- 🚸 替换帖子卡片版块图标数据源,修复可能出现的版块图标渲染异常
|
||||
- 🚸 优化回正相关处理
|
||||
- 💄 调整侧边栏,溢出滚动
|
||||
- 💄 帖子详情显示 `vod` 组件占位
|
||||
- 💄 当存在战绩数据时角色列表用户信息采用对应数据进行渲染
|
||||
- 💄 首页限时祈愿组件卡池角色超过4个时采用Swiper进行轮播
|
||||
- 💄 调整 Snackbar 层级 [`#218`](https://github.com/BTMuli/TeyvatGuide/issues/218)
|
||||
|
||||
## [0.9.5](https://github.com/BTMuli/TeyvatGuide/releases/v0.9.5) (2026-02-08)
|
||||
|
||||
- ✨ 重构UIGF导入导出备份恢复,支持UIGF4.2
|
||||
- 🍱 精简颂愿元数据
|
||||
- 🐛 由于Gt4配置变更,修复验证码登录时极验未正确触发
|
||||
- 🐛 保存用户信息采用参数绑定,修复特殊数据导致的sql拼接异常
|
||||
- 🐛 将ck更新逻辑移至首页,修复ck自动更新异常
|
||||
- 🐛 修正剧诗概况星章计算逻辑
|
||||
- 💄 调整战绩数据总览样式,更为紧凑
|
||||
- 💄 处理特定武器没有副属性时的渲染
|
||||
- 💄 修复集录祈愿卡池渲染异常
|
||||
- 💄 调整剧诗详情布局,统一比例 2/1
|
||||
- 💄 调整签到组件额外奖励样式,处理额外奖励点击
|
||||
- 🚸 暴露成就系列完成百分比,1位小数
|
||||
- 🚸 优化当前选中成就系列区分度
|
||||
- 🚸 深渊上传成功后自动刷新胡桃云用户信息
|
||||
- 🚸 修复图片质量调整特定条件下浮窗异常关闭 [`#207`](https://github.com/BTMuli/TeyvatGuide/issues/207)
|
||||
- 🚸 自定义表情加载失败点击重新加载
|
||||
- 🚸 优化祈愿垫数展示UI
|
||||
|
||||
## [0.9.4](https://github.com/BTMuli/TeyvatGuide/releases/v0.9.4) (2026-01-22)
|
||||
|
||||
- 🐛 修复`msi`版本导入`dll`调用路径异常,捕获`dll`路径异常错误
|
||||
- 🎨 调整商店版本`dll`检测逻辑,存在时不复制
|
||||
- 🚸 调整导入相关提示文本
|
||||
|
||||
## [0.9.3](https://github.com/BTMuli/TeyvatGuide/releases/v0.9.3) (2026-01-19)
|
||||
|
||||
- 🐛 修复导入调用参数异常
|
||||
- 🚸 设置页胡桃云用户信息刷新防抖处理
|
||||
|
||||
## [0.9.2](https://github.com/BTMuli/TeyvatGuide/releases/v0.9.2) (2026-01-18)
|
||||
|
||||
- 🍱 增加旅行者衣装相关资源
|
||||
- ✨ WIKI新增 `{LINK#xx}{/LINK}` 数据支持 [`#156`](https://github.com/BTMuli/TeyvatGuide/issues/156)
|
||||
@@ -29,7 +88,7 @@ Update: 2026-01-18
|
||||
- ♻️ 祈愿页面导入功能合并,仅显示一个导入按钮
|
||||
- 💄 深渊支持单楼层分享,剧诗支持单幕分享
|
||||
|
||||
## [0.9.1](https://github.com/BTMuli/TeyvatGuide/releases/v0.9.1) (2025-01-14)
|
||||
## [0.9.1](https://github.com/BTMuli/TeyvatGuide/releases/v0.9.1) (2026-01-14)
|
||||
|
||||
- 🍱 元数据:更新6.3版本资源
|
||||
- 🍱 元数据:精简部分材料来源描述
|
||||
|
||||
12
README.md
@@ -2,18 +2,18 @@
|
||||
Author: 目棃
|
||||
Description: 说明文档
|
||||
Date: 2023-03-05
|
||||
Update: 2026-01-14
|
||||
Update: 2026-02-25
|
||||
---
|
||||
|
||||
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-05 14:41:55`
|
||||
>
|
||||
> 更新于 `2026-01-14 00:09:05`
|
||||
> 更新于 `2026-02-25 19:28:26`
|
||||
|
||||
[](https://deepwiki.com/BTMuli/TeyvatGuide)
|
||||
[](https://deepwiki.com/BTMuli/TeyvatGuide) [](https://app.fossa.com/projects/git%2Bgithub.com%2FBTMuli%2FTeyvatGuide?ref=badge_shield)
|
||||
|
||||
[](https://github.com/BTMuli/TeyvatGuide/commits) [](https://github.com/BTMuli/TeyvatGuide/commits)
|
||||
|
||||
[](./docs/standards/UIAF.md) [](./docs/standards/UIGF3.md) [](./docs/standards/UIGF.md)
|
||||
[](./docs/standards/UIAF.md) [](./docs/standards/UIGF3.md) [](./docs/standards/UIGF.md)
|
||||
|
||||
[](./LICENSE)
|
||||
|
||||
@@ -54,7 +54,7 @@ Game Tool for Genshin Impact player, supports Windows and macOS.
|
||||
- [x] 米游社各分区帖子获取(支持通过 ID 获取)
|
||||
- [x] 米游社话题帖子获取(通过话题点击跳转)
|
||||
- [x] 成就管理(UIAF v1.1),支持 [`Yae`](https://github.com/HolographicHat/Yae) 导入 & 自动导入(内置Yae)
|
||||
- [x] 祈愿管理(UIGF v3.0,UIGF v4.1)
|
||||
- [x] 祈愿管理(UIGF v3.0,UIGF v4.2)
|
||||
- [x] 背包物品获取(内置YAE)
|
||||
- [x] 留影叙佳期画片查看
|
||||
- [x] 帖子收藏
|
||||
@@ -139,6 +139,8 @@ Game Tool for Genshin Impact player, supports Windows and macOS.
|
||||
|
||||
隐私政策:[Privacy](https://app.btmuli.ink/docs/TeyvatGuide/privacy.html)
|
||||
|
||||
[](https://app.fossa.com/projects/git%2Bgithub.com%2FBTMuli%2FTeyvatGuide?ref=badge_large)
|
||||
|
||||
## 鸣谢 / Thanks
|
||||
|
||||
本项目在开发过程中参考了诸多相关开源项目,特此鸣谢。
|
||||
|
||||
@@ -2,18 +2,18 @@
|
||||
Author: 目棃
|
||||
Description: UIGF v4 Backup
|
||||
Date: 2024-11-11
|
||||
Update: 2024-11-11
|
||||
Update: 2026-02-07
|
||||
---
|
||||
|
||||
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2024-11-11 11:57:27`
|
||||
>
|
||||
> 更新于 `2024-11-11 11:57:27`
|
||||
> 更新于 `2026-02-07 21:29:27`
|
||||
|
||||
> 本文档为 [UIGF v4.0](https://github.com/UIGF-org/UIGF-org.github.io/blob/main/docs/zh/standards/uigf.md) 的备份,仅供参考。
|
||||
> 本文档为 [UIGF v4.2](https://github.com/UIGF-org/UIGF-org.github.io/blob/main/docs/zh/standards/uigf.md) 的备份,仅供参考。
|
||||
|
||||
# 统一可交换抽卡记录标准 v4.0
|
||||
# 统一可交换抽卡记录标准 v4.2
|
||||
|
||||
> Uniformed Interchangeable GachaLog Format standard (UIGF) v4.0 <Badge text="Current" type="message" />
|
||||
> Uniformed Interchangeable GachaLog Format standard (UIGF) v4.2 <Badge text="Current" type="message" />
|
||||
|
||||
::: warning 中断性更新警告
|
||||
`UIGF v4.0 及更高版本` 对于 `UIGF v3.0 及更低版本` 和 `SRGF v1.0` **不具备向下兼容性**。UIGF/SRGF 合作项目如需适配,需重新认证。
|
||||
@@ -21,10 +21,14 @@ Update: 2024-11-11
|
||||
|
||||
## 更新记录
|
||||
|
||||
| 版本 | 说明 | 兼容 |
|
||||
| ------ | --------------------------------- | --------------- |
|
||||
| `v3.0` | 低版本的更新日志请查看历史版本 | v3.0 及更低版本 |
|
||||
| `v4.0` | 合并 SRGF,新增绝区零抽卡格式支持 | v4.0 |
|
||||
| 版本 | 说明 | 兼容 |
|
||||
| ------ | ------------------------------------------------ | --------------- |
|
||||
| `v3.0` | 低版本的更新日志请查看历史版本 | v3.0 及更低版本 |
|
||||
| `v4.0` | 合并 SRGF,新增绝区零抽卡格式支持 | v4.0 |
|
||||
| `v4.1` | 新增对星穹铁道 v3.4 版所引入的新的卡池类型的支持 | v4.1/v4.0\* |
|
||||
| `v4.2` | 新增对于千星奇域的支持 | v4.1 |
|
||||
|
||||
- 对于无需处理星穹铁道的应用,v4.1 与 v4.0 兼容。
|
||||
|
||||
## 前言
|
||||
|
||||
@@ -77,11 +81,11 @@ Update: 2024-11-11
|
||||
},
|
||||
"export_app": {
|
||||
"type": "string",
|
||||
"description": "导出档案的 App 名称"
|
||||
"description": "导出档案的应用名称"
|
||||
},
|
||||
"export_app_version": {
|
||||
"type": "string",
|
||||
"description": "导出档案的 App 版本"
|
||||
"description": "导出档案的应用版本"
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
@@ -157,7 +161,8 @@ Update: 2024-11-11
|
||||
},
|
||||
"time": {
|
||||
"type": "string",
|
||||
"description": "抽取物品时对应时区(timezone)下的当地时间"
|
||||
"description": "抽取物品时对应时区(timezone)下的当地时间",
|
||||
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -173,7 +178,10 @@ Update: 2024-11-11
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "记录内部 ID,米哈游 API 返回"
|
||||
"description": "记录内部 ID,米哈游 API 返回",
|
||||
"maxLength": 19,
|
||||
"minLength": 1,
|
||||
"pattern": "^[0-9]+$"
|
||||
}
|
||||
},
|
||||
"required": ["uigf_gacha_type", "gacha_type", "item_id", "time", "id"]
|
||||
@@ -231,12 +239,12 @@ Update: 2024-11-11
|
||||
"properties": {
|
||||
"gacha_id": {
|
||||
"type": "string",
|
||||
"description": "卡池 Id"
|
||||
"description": "卡池 ID"
|
||||
},
|
||||
"gacha_type": {
|
||||
"type": "string",
|
||||
"description": "卡池类型",
|
||||
"enum": ["1", "2", "11", "12"]
|
||||
"enum": ["1", "2", "11", "12", "21", "22"]
|
||||
},
|
||||
"item_id": {
|
||||
"type": "string",
|
||||
@@ -248,7 +256,8 @@ Update: 2024-11-11
|
||||
},
|
||||
"time": {
|
||||
"type": "string",
|
||||
"description": "抽取物品时对应时区(timezone)下的当地时间"
|
||||
"description": "抽取物品时对应时区(timezone)下的当地时间",
|
||||
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -264,7 +273,10 @@ Update: 2024-11-11
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "记录内部 ID,米哈游 API 返回"
|
||||
"description": "记录内部 ID,米哈游 API 返回",
|
||||
"maxLength": 19,
|
||||
"minLength": 1,
|
||||
"pattern": "^[0-9]+$"
|
||||
}
|
||||
},
|
||||
"required": ["gacha_type", "gacha_id", "time", "item_id", "id"]
|
||||
@@ -322,7 +334,7 @@ Update: 2024-11-11
|
||||
"properties": {
|
||||
"gacha_id": {
|
||||
"type": "string",
|
||||
"description": "卡池 Id"
|
||||
"description": "卡池 ID"
|
||||
},
|
||||
"gacha_type": {
|
||||
"type": "string",
|
||||
@@ -339,7 +351,8 @@ Update: 2024-11-11
|
||||
},
|
||||
"time": {
|
||||
"type": "string",
|
||||
"description": "抽取物品时对应时区(timezone)下的当地时间"
|
||||
"description": "抽取物品时对应时区(timezone)下的当地时间",
|
||||
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -355,7 +368,10 @@ Update: 2024-11-11
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "记录内部 ID,米哈游 API 返回"
|
||||
"description": "记录内部 ID,米哈游 API 返回",
|
||||
"maxLength": 19,
|
||||
"minLength": 1,
|
||||
"pattern": "^[0-9]+$"
|
||||
}
|
||||
},
|
||||
"required": ["gacha_type", "item_id", "time", "id"]
|
||||
@@ -364,6 +380,109 @@ Update: 2024-11-11
|
||||
},
|
||||
"required": ["uid", "timezone", "list"]
|
||||
}
|
||||
},
|
||||
"hk4e_ugc": {
|
||||
"type": "array",
|
||||
"properties": {
|
||||
"uid": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "integer"
|
||||
}
|
||||
],
|
||||
"description": "UID"
|
||||
},
|
||||
"timezone": {
|
||||
"type": "integer",
|
||||
"description": "时区偏移,由米哈游 API 返回,若与服务器时区不同请注意 list 中 time 的转换"
|
||||
},
|
||||
"lang": {
|
||||
"type": "string",
|
||||
"description": "语言代码",
|
||||
"enum": [
|
||||
"de-de",
|
||||
"en-us",
|
||||
"es-es",
|
||||
"fr-fr",
|
||||
"id-id",
|
||||
"it-it",
|
||||
"ja-jp",
|
||||
"ko-kr",
|
||||
"pt-pt",
|
||||
"ru-ru",
|
||||
"th-th",
|
||||
"tr-tr",
|
||||
"vi-vn",
|
||||
"zh-cn",
|
||||
"zh-tw"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "记录内部 ID,米哈游 API 返回",
|
||||
"maxLength": 19,
|
||||
"minLength": 1,
|
||||
"pattern": "^[0-9]+$"
|
||||
},
|
||||
"schedule_id": {
|
||||
"type": "string",
|
||||
"description": "卡池排期 ID,米哈游 API 返回",
|
||||
"minLength": 1,
|
||||
"pattern": "^[0-9]+$"
|
||||
},
|
||||
"item_type": {
|
||||
"type": "string",
|
||||
"description": "物品类型,米哈游 API 返回"
|
||||
},
|
||||
"item_id": {
|
||||
"type": "string",
|
||||
"description": "物品 ID,米哈游 API 返回",
|
||||
"minLength": 1,
|
||||
"pattern": "^[0-9]+$"
|
||||
},
|
||||
"item_name": {
|
||||
"type": "string",
|
||||
"description": "物品名称,米哈游 API 返回"
|
||||
},
|
||||
"rank_type": {
|
||||
"type": "string",
|
||||
"description": "物品等级,米哈游 API 返回",
|
||||
"minLength": 1,
|
||||
"pattern": "^[0-9]+$"
|
||||
},
|
||||
"time": {
|
||||
"type": "string",
|
||||
"description": "抽取物品时对应时区(timezone)下的当地时间",
|
||||
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"
|
||||
},
|
||||
"op_gacha_type": {
|
||||
"type": "string",
|
||||
"description": "卡池类型,米哈游 API 返回",
|
||||
"enum": ["1000", "2000", "20011", "20012", "20021", "20022"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"schedule_id",
|
||||
"item_type",
|
||||
"item_id",
|
||||
"item_name",
|
||||
"rank_type",
|
||||
"time",
|
||||
"op_gacha_type"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["uid", "timezone", "list"]
|
||||
}
|
||||
},
|
||||
"required": ["info"]
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
/**
|
||||
* ESLint配置文件
|
||||
* @since 2025-05-29
|
||||
* ESLint 配置文件
|
||||
* @since Beta v0.9.3
|
||||
*/
|
||||
import { defineConfig } from "eslint/config";
|
||||
import eslintPluginJsonc from "eslint-plugin-jsonc";
|
||||
import eslintPluginJs from "@eslint/js";
|
||||
import eslintPluginTs from "typescript-eslint";
|
||||
@@ -11,14 +12,14 @@ import eslintConfigJson from "./eslint/jsonEslint.js";
|
||||
import eslintConfigVue from "./eslint/vueEslint.js";
|
||||
import eslintConfigYml from "./eslint/ymlEslint.js";
|
||||
|
||||
export default [
|
||||
export default defineConfig([
|
||||
eslintPluginJs.configs.recommended,
|
||||
...eslintPluginJsonc.configs["flat/recommended-with-jsonc"],
|
||||
...eslintPluginTs.configs.recommended,
|
||||
...eslintPluginVue.configs["flat/essential"],
|
||||
...eslintConfigJson,
|
||||
...eslintConfigVue,
|
||||
eslintConfigYml,
|
||||
...eslintConfigYml,
|
||||
{
|
||||
ignores: [
|
||||
"dist",
|
||||
@@ -31,4 +32,4 @@ export default [
|
||||
".github",
|
||||
],
|
||||
},
|
||||
];
|
||||
]);
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
* JSON 文件的 ESLint 配置
|
||||
* @since Beta v0.9.1
|
||||
* @since Beta v0.9.6
|
||||
*/
|
||||
|
||||
import pluginJsonc from "eslint-plugin-jsonc";
|
||||
import parserJsonc from "jsonc-eslint-parser";
|
||||
import * as parserJsonc from "jsonc-eslint-parser";
|
||||
|
||||
const pkgJsonConfig = {
|
||||
files: ["package.json"],
|
||||
|
||||
@@ -1,24 +1,25 @@
|
||||
/**
|
||||
* @file eslint/ymlEslint.js
|
||||
* @description YAML相关的ESLint配置
|
||||
* @since Beta v0.7.7
|
||||
* YAML 文件的 ESLint 配置
|
||||
* @since Beta v0.9.3
|
||||
*/
|
||||
import pluginYml from "eslint-plugin-yml";
|
||||
import parserYml from "yaml-eslint-parser";
|
||||
import * as ymlParser from "yaml-eslint-parser";
|
||||
|
||||
const eslintConfigYml = {
|
||||
files: ["**/*.yml", "**/*.yaml"],
|
||||
plugins: { yml: pluginYml },
|
||||
languageOptions: {
|
||||
parser: parserYml,
|
||||
parserOptions: { defaultYAMLVersion: "1.2", extraFileExtensions: [".yaml", ".yml"] },
|
||||
const eslintConfigYml = [
|
||||
{
|
||||
files: ["**/*.yml", "**/*.yaml"],
|
||||
plugins: { yml: pluginYml },
|
||||
languageOptions: {
|
||||
parser: ymlParser,
|
||||
parserOptions: { defaultYAMLVersion: "1.2", extraFileExtensions: [".yaml", ".yml"] },
|
||||
},
|
||||
rules: {
|
||||
"yml/indent": ["error", 2],
|
||||
"yml/key-spacing": ["error"],
|
||||
"yml/quotes": ["error", { prefer: "double", avoidEscape: true }],
|
||||
"yml/sort-keys": ["error", "asc"],
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
"yml/indent": ["error", 2],
|
||||
"yml/key-spacing": ["error"],
|
||||
"yml/quotes": ["error", { prefer: "double", avoidEscape: true }],
|
||||
"yml/sort-keys": ["error", "asc"],
|
||||
},
|
||||
};
|
||||
];
|
||||
|
||||
export default eslintConfigYml;
|
||||
|
||||
84
package.json
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"name": "teyvatguide",
|
||||
"version": "0.9.2",
|
||||
"version": "0.9.7",
|
||||
"description": "Game Tool for GenshinImpact player",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.28.0",
|
||||
"packageManager": "pnpm@10.30.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsx scripts/auto-build.ts",
|
||||
@@ -72,22 +72,23 @@
|
||||
"dependencies": {
|
||||
"@date-fns/tz": "^1.4.1",
|
||||
"@mdi/font": "7.4.47",
|
||||
"@sentry/vite-plugin": "^4.6.2",
|
||||
"@sentry/vue": "^10.34.0",
|
||||
"@sentry/core": "^10.40.0",
|
||||
"@sentry/vite-plugin": "^5.1.0",
|
||||
"@sentry/vue": "^10.40.0",
|
||||
"@skipperndt/plugin-machine-uid": "^0.1.3",
|
||||
"@tauri-apps/api": "^2.9.1",
|
||||
"@tauri-apps/api": "^2.10.1",
|
||||
"@tauri-apps/plugin-cli": "^2.4.1",
|
||||
"@tauri-apps/plugin-deep-link": "^2.4.6",
|
||||
"@tauri-apps/plugin-deep-link": "^2.4.7",
|
||||
"@tauri-apps/plugin-dialog": "^2.6.0",
|
||||
"@tauri-apps/plugin-fs": "^2.4.5",
|
||||
"@tauri-apps/plugin-http": "^2.5.6",
|
||||
"@tauri-apps/plugin-http": "^2.5.7",
|
||||
"@tauri-apps/plugin-log": "^2.8.0",
|
||||
"@tauri-apps/plugin-notification": "^2.3.3",
|
||||
"@tauri-apps/plugin-opener": "^2.5.3",
|
||||
"@tauri-apps/plugin-os": "^2.3.2",
|
||||
"@tauri-apps/plugin-process": "^2.3.1",
|
||||
"@tauri-apps/plugin-sql": "^2.3.1",
|
||||
"ajv": "^8.17.1",
|
||||
"@tauri-apps/plugin-sql": "^2.3.2",
|
||||
"ajv": "^8.18.0",
|
||||
"artplayer": "^5.3.0",
|
||||
"colord": "^2.9.3",
|
||||
"date-fns": "^4.1.0",
|
||||
@@ -98,67 +99,66 @@
|
||||
"json-bigint": "^1.0.0",
|
||||
"pinia": "^3.0.4",
|
||||
"pinia-plugin-persistedstate": "^4.7.1",
|
||||
"qrcode.vue": "^3.6.0",
|
||||
"qrcode.vue": "^3.8.0",
|
||||
"rsa-oaep-encryption": "^1.1.0",
|
||||
"sass-embedded": "^1.97.2",
|
||||
"swiper": "^12.0.3",
|
||||
"sass-embedded": "^1.97.3",
|
||||
"swiper": "^12.1.2",
|
||||
"uuid": "^13.0.0",
|
||||
"vue": "^3.5.26",
|
||||
"vue": "^3.5.29",
|
||||
"vue-echarts": "^8.0.1",
|
||||
"vue-json-pretty": "^2.6.0",
|
||||
"vue-router": "^4.6.4",
|
||||
"vuetify": "^3.11.6",
|
||||
"vue-router": "^5.0.3",
|
||||
"vuetify": "^4.0.0",
|
||||
"wcag-color": "^1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@btmuli/stylelint-plugin-color": "^0.1.0",
|
||||
"@eslint/eslintrc": "^3.3.3",
|
||||
"@eslint/js": "^9.39.2",
|
||||
"@eslint/eslintrc": "^3.3.4",
|
||||
"@eslint/js": "9.39.2",
|
||||
"@microsoft/tsdoc": "^0.16.0",
|
||||
"@sentry/core": "^10.34.0",
|
||||
"@tauri-apps/cli": "2.9.6",
|
||||
"@tauri-apps/cli": "2.10.0",
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@types/js-md5": "^0.8.0",
|
||||
"@types/json-bigint": "^1.0.4",
|
||||
"@types/node": "^25.0.9",
|
||||
"@typescript-eslint/parser": "^8.53.0",
|
||||
"@typescript/native-preview": "7.0.0-dev.20260116.1",
|
||||
"@vitejs/plugin-vue": "^6.0.3",
|
||||
"@types/node": "^25.3.0",
|
||||
"@typescript-eslint/parser": "^8.56.1",
|
||||
"@typescript/native-preview": "7.0.0-dev.20260222.1",
|
||||
"@vitejs/plugin-vue": "^6.0.4",
|
||||
"app-root-path": "^3.1.0",
|
||||
"concurrently": "^9.2.1",
|
||||
"envfile": "^7.1.0",
|
||||
"eslint": "^9.39.2",
|
||||
"eslint": "9.39.2",
|
||||
"eslint-plugin-import": "^2.32.0",
|
||||
"eslint-plugin-jsonc": "^2.21.0",
|
||||
"eslint-plugin-jsonc": "^3.1.0",
|
||||
"eslint-plugin-prettier": "^5.5.5",
|
||||
"eslint-plugin-tsdoc": "^0.5.0",
|
||||
"eslint-plugin-vue": "^10.7.0",
|
||||
"eslint-plugin-yml": "^1.19.1",
|
||||
"eslint-plugin-tsdoc": "^0.5.1",
|
||||
"eslint-plugin-vue": "^10.8.0",
|
||||
"eslint-plugin-yml": "^3.3.0",
|
||||
"fs-extra": "^11.3.3",
|
||||
"globals": "^17.0.0",
|
||||
"globals": "^17.3.0",
|
||||
"husky": "^9.1.7",
|
||||
"jsonc-eslint-parser": "^2.4.2",
|
||||
"jsonc-eslint-parser": "^3.1.0",
|
||||
"lint-staged": "^16.2.7",
|
||||
"oxlint": "^1.39.0",
|
||||
"postcss-preset-env": "^11.1.1",
|
||||
"prettier": "3.8.0",
|
||||
"stylelint": "^17.0.0",
|
||||
"oxlint": "^1.50.0",
|
||||
"postcss-preset-env": "^11.2.0",
|
||||
"prettier": "3.8.1",
|
||||
"stylelint": "^17.3.0",
|
||||
"stylelint-config-idiomatic-order": "^10.0.0",
|
||||
"stylelint-config-standard-scss": "^17.0.0",
|
||||
"stylelint-config-standard-vue": "^1.0.0",
|
||||
"stylelint-declaration-block-no-ignored-properties": "^2.8.0",
|
||||
"stylelint-high-performance-animation": "^1.11.0",
|
||||
"stylelint-declaration-block-no-ignored-properties": "^3.0.0",
|
||||
"stylelint-high-performance-animation": "^2.0.0",
|
||||
"stylelint-order": "^7.0.1",
|
||||
"stylelint-prettier": "^5.0.3",
|
||||
"stylelint-scss": "^7.0.0",
|
||||
"tsx": "^4.21.0",
|
||||
"typescript": "^5.9.3",
|
||||
"typescript-eslint": "^8.53.0",
|
||||
"typescript-eslint": "^8.56.1",
|
||||
"vite": "npm:rolldown-vite@^7.3.1",
|
||||
"vite-plugin-vue-devtools": "^8.0.5",
|
||||
"vite-plugin-vuetify": "^2.1.2",
|
||||
"vue-eslint-parser": "^10.2.0",
|
||||
"vue-tsc": "^3.2.2",
|
||||
"yaml-eslint-parser": "^1.3.2"
|
||||
"vite-plugin-vue-devtools": "^8.0.6",
|
||||
"vite-plugin-vuetify": "^2.1.3",
|
||||
"vue-eslint-parser": "^10.4.0",
|
||||
"vue-tsc": "^3.2.5",
|
||||
"yaml-eslint-parser": "^2.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
3774
pnpm-lock.yaml
generated
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 896 B After Width: | Height: | Size: 896 B |
|
Before Width: | Height: | Size: 556 B After Width: | Height: | Size: 556 B |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
BIN
public/UI/combat/charBg.webp
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
public/UI/combat/charFinish.webp
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
public/UI/combat/charFront.webp
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
public/UI/combat/charLock.webp
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
public/UI/combat/charMaster.webp
Normal file
|
After Width: | Height: | Size: 638 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
public/UI/combat/tarotDefault.webp
Normal file
|
After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 776 B After Width: | Height: | Size: 776 B |
BIN
public/UI/nav/subRecord.webp
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
public/UI/nav/subSign.webp
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
BIN
public/UI/nav/userBag.webp
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 704 B After Width: | Height: | Size: 704 B |
|
Before Width: | Height: | Size: 1010 B After Width: | Height: | Size: 1010 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 786 B After Width: | Height: | Size: 786 B |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 114 B After Width: | Height: | Size: 114 B |
|
Before Width: | Height: | Size: 476 B After Width: | Height: | Size: 476 B |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
public/WIKI/character/10000128.webp
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_ArmAcc_S0105.webp
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Bottom_S0105.webp
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Hair_S0105.webp
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Headwear_S0105.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_LegAcc_S0105.webp
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Shoe_S0105.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Suit_S0070.webp
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Suit_S0071.webp
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Suit_S0100.webp
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Suit_S0101.webp
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Suit_S0102.webp
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Suit_S0103.webp
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Suit_S0104.webp
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Suit_S0105.webp
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Suit_S0107.webp
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Suit_S0109.webp
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Suit_S0110.webp
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Suit_S0112.webp
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Boy_Top_S0105.webp
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Girl_ArmAcc_S0105.webp
Normal file
|
After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 14 KiB |
BIN
public/WIKI/gachaB/UI_Beyd_Avatar_Girl_Bottom_S0105.webp
Normal file
|
After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 16 KiB |