Compare commits
218 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3428f3a41 | ||
|
|
d863f6198e | ||
|
|
a461fb9a00 | ||
|
|
568b0b5db7 | ||
|
|
0d5d77e2bd | ||
|
|
369d62f4e7 | ||
|
|
7a36ab6665 | ||
|
|
bc50acb813 | ||
|
|
43732578cd | ||
|
|
a04bdee7cb | ||
|
|
1d4621843a | ||
|
|
4ca76b168e | ||
|
|
b00c8b424d | ||
|
|
48159aa483 | ||
|
|
5a95fc1eda | ||
|
|
5f95299cf2 | ||
|
|
e8734c8483 | ||
|
|
2d65608674 | ||
|
|
df5d22d39b | ||
|
|
8a409f3e9b | ||
|
|
430a703c2d | ||
|
|
0a33f468a3 | ||
|
|
dced5755da | ||
|
|
842ba3221d | ||
|
|
05c90e16ad | ||
|
|
dd7db68f57 | ||
|
|
f20622b55c | ||
|
|
762d096f28 | ||
|
|
39e33d4dcf | ||
|
|
7aefd4ebb8 | ||
|
|
759c585612 | ||
|
|
4370bbaa57 | ||
|
|
00386bc7ee | ||
|
|
497c126263 | ||
|
|
1f5daab03f | ||
|
|
154a9183bf | ||
|
|
11fa30bd4f | ||
|
|
02398e3d63 | ||
|
|
5f26e8c01d | ||
|
|
cba947ffc8 | ||
|
|
33a56385d1 | ||
|
|
7cd8b6ffd9 | ||
|
|
e8432e705b | ||
|
|
6e6648f652 | ||
|
|
a9f80da053 | ||
|
|
dffb1475f8 | ||
|
|
49a47a16ee | ||
|
|
39cc07694a | ||
|
|
2df65515a4 | ||
|
|
058ad8cd8e | ||
|
|
01ea7fa4db | ||
|
|
56efbcf583 | ||
|
|
f0fc0ecd81 | ||
|
|
c438c07483 | ||
|
|
86f7838578 | ||
|
|
3337cfbf6d | ||
|
|
3844e36fdb | ||
|
|
2f9fb30026 | ||
|
|
125ecee943 | ||
|
|
6d3c03516f | ||
|
|
833bffba4f | ||
|
|
cc73997da0 | ||
|
|
07dc2a4f66 | ||
|
|
19c6f265a9 | ||
|
|
e3c74dc237 | ||
|
|
ffe96e86cd | ||
|
|
c2306ed5d7 | ||
|
|
e9d1d70d36 | ||
|
|
4664e567db | ||
|
|
9ad20640e6 | ||
|
|
86c87344ea | ||
|
|
845bcdaae0 | ||
|
|
a7c7a533db | ||
|
|
0defb65115 | ||
|
|
5dc8c3b7c3 | ||
|
|
888f1f2bdd | ||
|
|
57e055ebe8 | ||
|
|
d5beea5c2d | ||
|
|
17b0d75d21 | ||
|
|
e973ac41fa | ||
|
|
30a97e9973 | ||
|
|
07e944859c | ||
|
|
17744cc01d | ||
|
|
cfc1f65e3e | ||
|
|
0965524003 | ||
|
|
d4818448b5 | ||
|
|
3ff37fcc83 | ||
|
|
838fefac6a | ||
|
|
0141012f55 | ||
|
|
347b3ed13d | ||
|
|
8c50da61b1 | ||
|
|
5395304431 | ||
|
|
39713bf5d3 | ||
|
|
771505b527 | ||
|
|
1a381916a5 | ||
|
|
1d0b070451 | ||
|
|
9a18fa8e42 | ||
|
|
7164c7caf2 | ||
|
|
aeb49dabb2 | ||
|
|
1ccb99dd1b | ||
|
|
f998ba21b3 | ||
|
|
5406e10922 | ||
|
|
527093b982 | ||
|
|
7b34124cd2 | ||
|
|
3bf48561a1 | ||
|
|
c24ae38294 | ||
|
|
e94e3a6821 | ||
|
|
ad55e56651 | ||
|
|
6151d13b96 | ||
|
|
dbf2ed4a56 | ||
|
|
624970aa57 | ||
|
|
4c480d1fa2 | ||
|
|
4880e6bb8e | ||
|
|
7d142d02b3 | ||
|
|
df06d7aba0 | ||
|
|
b01e4e680f | ||
|
|
be3d49566d | ||
|
|
9aac81cbc4 | ||
|
|
e61f9519db | ||
|
|
48f6d95c7a | ||
|
|
0cb68dfe6f | ||
|
|
1df568e26a | ||
|
|
e249b5e956 | ||
|
|
c9370b0a22 | ||
|
|
32691c6c92 | ||
|
|
68edc6bcab | ||
|
|
a800ed532d | ||
|
|
0bb730d2e3 | ||
|
|
fcb5f94656 | ||
|
|
3883f9880a | ||
|
|
919baca46c | ||
|
|
2e63d310af | ||
|
|
64ee8a36dc | ||
|
|
71d7337384 | ||
|
|
389acf19fe | ||
|
|
f55f4116d5 | ||
|
|
68b84d2bc7 | ||
|
|
669dec73ba | ||
|
|
03b83ba2d1 | ||
|
|
0f07f8c031 | ||
|
|
3b08dd9a14 | ||
|
|
f11c1ef984 | ||
|
|
d271444610 | ||
|
|
d9fa158076 | ||
|
|
e08f37b89e | ||
|
|
7ba2011b35 | ||
|
|
cab0c9a9c8 | ||
|
|
885a8b22da | ||
|
|
b5eec739e7 | ||
|
|
3640a43fa7 | ||
|
|
bb58e6ef03 | ||
|
|
9b27e8d955 | ||
|
|
7ae8b5ec46 | ||
|
|
060382b3a7 | ||
|
|
747763601b | ||
|
|
5b8610ab5b | ||
|
|
80e27a20a7 | ||
|
|
26d1883d98 | ||
|
|
91fd375263 | ||
|
|
3b0ed774df | ||
|
|
5f3f6640a4 | ||
|
|
b1424fb582 | ||
|
|
f64b48c356 | ||
|
|
90242829a9 | ||
|
|
d6ae3765b6 | ||
|
|
92a1775d19 | ||
|
|
fd3822fe70 | ||
|
|
618d3a1632 | ||
|
|
1c3b73bde9 | ||
|
|
c541d67abc | ||
|
|
1d3b1ae78e | ||
|
|
312436b4e2 | ||
|
|
d98663dccb | ||
|
|
653073e684 | ||
|
|
1d09f4817b | ||
|
|
6ca5de28ac | ||
|
|
ff649c2426 | ||
|
|
1c5bebf75e | ||
|
|
b60718aa62 | ||
|
|
c018638e4a | ||
|
|
1906e911c7 | ||
|
|
fbb66b3964 | ||
|
|
561f34cf8b | ||
|
|
5241c08c33 | ||
|
|
630a64323d | ||
|
|
54d2e27054 | ||
|
|
1c69cf07a5 | ||
|
|
715c206945 | ||
|
|
219286f6a1 | ||
|
|
fc3d417961 | ||
|
|
712a09131e | ||
|
|
13e9440c6f | ||
|
|
bed0e528b0 | ||
|
|
43c282efd2 | ||
|
|
b74a3b0bbf | ||
|
|
7c0239391e | ||
|
|
b1060f76c5 | ||
|
|
66137cf5b6 | ||
|
|
69668f5ada | ||
|
|
a5cff46efb | ||
|
|
8037b635ba | ||
|
|
7a060a71f0 | ||
|
|
d583247630 | ||
|
|
c1a7e8448a | ||
|
|
349bab1173 | ||
|
|
db36d18df2 | ||
|
|
f619ccc64b | ||
|
|
8ae1d578ff | ||
|
|
e6eaa2e293 | ||
|
|
a9912cf42b | ||
|
|
4aa9319799 | ||
|
|
38ef0bfcca | ||
|
|
c55f5b9ab8 | ||
|
|
468db1171e | ||
|
|
a474b96280 | ||
|
|
149c7b3f27 | ||
|
|
abca5bd2f9 | ||
|
|
89d3a172b8 |
@@ -1,7 +1,8 @@
|
||||
# Build
|
||||
dist
|
||||
src-tauri/target
|
||||
# Submodules
|
||||
TGAssistant
|
||||
# Package files
|
||||
pnpm-lock.yaml
|
||||
# lint files
|
||||
!.prettierrc.yml
|
||||
!.stylelintrc.yml
|
||||
|
||||
23
.github/ISSUE_TEMPLATE/bug.yml
vendored
@@ -4,8 +4,6 @@ title: "[Bug] "
|
||||
labels:
|
||||
- BUG
|
||||
- Question
|
||||
assignees:
|
||||
- BTMuli
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
@@ -16,25 +14,14 @@ body:
|
||||
- 复现流程
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Issue重复性检查
|
||||
description: 我确认查找过相关的 Issue
|
||||
label: Issue Check
|
||||
options:
|
||||
- label: 我确认查找过相关的 Issue
|
||||
required: true
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: 问题必要性检查
|
||||
description: 我确认这个问题是影响使用的
|
||||
options:
|
||||
required: false
|
||||
- label: 我确认这个问题是影响使用的
|
||||
required: true
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: 提问的艺术
|
||||
description: 我阅读过[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)
|
||||
options:
|
||||
required: false
|
||||
- label: 我阅读过[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)
|
||||
required: true
|
||||
required: false
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
@@ -48,7 +35,7 @@ body:
|
||||
attributes:
|
||||
label: 当前使用版本
|
||||
description: 请填写当前使用版本
|
||||
placeholder: 如 Beta v0.3.4
|
||||
placeholder: 如 Beta v0.3.7
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
|
||||
25
.github/ISSUE_TEMPLATE/enhancement.yml
vendored
@@ -3,8 +3,6 @@ description: 提交新功能请求
|
||||
title: "[Feat] "
|
||||
labels:
|
||||
- 新特性
|
||||
assignees:
|
||||
- BTMuli
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
@@ -15,25 +13,14 @@ body:
|
||||
- 当前使用版本
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Issue重复性检查
|
||||
description: 我确认查找过相关的 Issue
|
||||
label: Issue Check
|
||||
options:
|
||||
- label: 我确认查找过相关的 Issue
|
||||
required: true
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: 功能必要性检查
|
||||
description: 我确认这个功能是完善用户体验的
|
||||
options:
|
||||
- label: 我确认这个功能是完善用户体验的
|
||||
required: true
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: 提问的艺术
|
||||
description: 我阅读过[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)
|
||||
options:
|
||||
required: false
|
||||
- label: 我确认这个问题是影响使用的
|
||||
required: false
|
||||
- label: 我阅读过[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)
|
||||
required: true
|
||||
required: false
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
@@ -47,7 +34,7 @@ body:
|
||||
attributes:
|
||||
label: 当前使用版本
|
||||
description: 请填写当前使用版本
|
||||
placeholder: 如 Beta v0.3.4
|
||||
placeholder: 如 Beta v0.3.7
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
|
||||
4
.github/ISSUE_TEMPLATE/todo.yml
vendored
@@ -3,8 +3,6 @@ description: 用于开发人员 Issue 的模板
|
||||
title: "[TODO] "
|
||||
labels:
|
||||
- 新特性
|
||||
assignees:
|
||||
- BTMuli
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
@@ -35,7 +33,7 @@ body:
|
||||
attributes:
|
||||
label: 当前提交
|
||||
description: 请填写当前提交
|
||||
placeholder: 如 Beta v0.3.4
|
||||
placeholder: 如 Beta v0.3.7
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
|
||||
26
.github/workflows/build.yml
vendored
@@ -11,12 +11,24 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [windows-latest, macos-latest]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
settings:
|
||||
- platform: windows-latest
|
||||
args: "--verbose"
|
||||
target: "windows"
|
||||
- platform: macos-latest
|
||||
args: "--target x86_64-apple-darwin"
|
||||
target: "macos-intel"
|
||||
- platform: macos-latest
|
||||
args: "--target aarch64-apple-darwin"
|
||||
target: "macos-arm"
|
||||
runs-on: ${{ matrix.settings.platform }}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Add Rust targets(macOS)
|
||||
if: matrix.settings.target == 'macos-arm'
|
||||
run: rustup target add aarch64-apple-darwin
|
||||
|
||||
- name: Rust setup
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
@@ -28,11 +40,11 @@ jobs:
|
||||
- name: setup node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18.16.0
|
||||
- name: setup pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8.9.2
|
||||
version: 8.11.0
|
||||
- name: Install frontend dependencies
|
||||
run: pnpm install
|
||||
|
||||
@@ -40,13 +52,13 @@ jobs:
|
||||
uses: tauri-apps/tauri-action@dev
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
||||
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
||||
with:
|
||||
args: ${{ matrix.settings.args }}
|
||||
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
|
||||
releaseName: v__VERSION__-beta
|
||||
releaseBody: |
|
||||
> Windows 平台用户建议通过微软应用商店下载,MacOS 平台仅在此发布,Linux 平台暂不支持。
|
||||
> [!TIP]
|
||||
> Windows 平台用户建议通过微软应用商店下载,macOS 平台仅在此发布,Linux 平台暂不支持。
|
||||
|
||||
<a href="https://apps.microsoft.com/store/detail/9NLBNNNBNSJN?launch=true&cid=BTMuli&mode=mini">
|
||||
<img src="https://get.microsoft.com/images/zh-cn%20dark.svg" alt="download"/>
|
||||
|
||||
13
.github/workflows/qodana_code_quality.yml
vendored
@@ -1,26 +1,27 @@
|
||||
name: Qodana
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
qodana:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: setup node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 21.4.0
|
||||
- name: setup pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8.6.7
|
||||
- name: Install frontend dependencies
|
||||
version: 8.12.1
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
- name: "Qodana Scan"
|
||||
uses: JetBrains/qodana-action@v2022.3.4
|
||||
uses: JetBrains/qodana-action@v2023.3
|
||||
env:
|
||||
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
|
||||
|
||||
4
.gitignore
vendored
@@ -6,3 +6,7 @@ node_modules
|
||||
dist
|
||||
# Secrets
|
||||
.env.sh
|
||||
# wiki-json(dev)
|
||||
src/data/WIKI/Character/
|
||||
src/data/WIKI/Weapon/
|
||||
src/data/WIKI/GCG/
|
||||
|
||||
@@ -5,9 +5,11 @@
|
||||
# Tauri build
|
||||
dist
|
||||
src-tauri/target
|
||||
# submodules
|
||||
TGAssistant
|
||||
# Pnpm
|
||||
pnpm-lock.yaml
|
||||
# Qodana
|
||||
qodana.yaml
|
||||
# sourse
|
||||
*.webp
|
||||
*.png
|
||||
*.svg
|
||||
|
||||
@@ -5,4 +5,4 @@ useTabs: false
|
||||
tabWidth: 2
|
||||
bracketSpacing: true
|
||||
endOfLine: auto
|
||||
trailingComma: "all"
|
||||
trailingComma: all
|
||||
|
||||
@@ -8,4 +8,7 @@ plugins:
|
||||
- stylelint-prettier
|
||||
- stylelint-order
|
||||
rules:
|
||||
"prettier/prettier": true
|
||||
prettier/prettier: true
|
||||
property-no-vendor-prefix:
|
||||
- true
|
||||
- ignoreProperties: [backdrop-filter]
|
||||
|
||||
3
.vscode/launch.json
vendored
@@ -1,7 +1,4 @@
|
||||
{
|
||||
// 使用 IntelliSense 了解相关属性。
|
||||
// 悬停以查看现有属性的描述。
|
||||
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
|
||||
106
CHANGELOG.md
@@ -2,12 +2,114 @@
|
||||
Author: 目棃
|
||||
Description: CHANGELOG
|
||||
Date: 2023-09-08
|
||||
Update: 2023-10-28
|
||||
Update: 2023-12-11
|
||||
---
|
||||
|
||||
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-09-08 09:45:17 `
|
||||
>
|
||||
> 更新于 `2023-10-28 19:18:49`
|
||||
> 更新于 `2023-12-11 19:01:09`
|
||||
|
||||
## [0.3.8](https://github.com/BTMuli/TeyvatGuide/releases/v0.3.8) (2023-12-20)
|
||||
|
||||
### Feat
|
||||
|
||||
- JSBridge:新增部分回调的处理
|
||||
- JSBridge:完善 `share` 回调处理,目前已经能够支持大部分分享图的生成
|
||||
- 应用:角色图鉴开始动工
|
||||
- JSBridge:添加菜单项,支持 `置顶`、`取消置顶`、`打开帖子`
|
||||
- 成就:名片子弹窗改为 `overlay` 模式
|
||||
- 应用:添加 4.3 版本相关资源 [`#66`](https://github.com/BTMuli/TeyvatGuide/issues/66)
|
||||
|
||||
### Fix
|
||||
|
||||
- 应用:备份时进行目录存在性检测
|
||||
- 应用:修复 macOS 启动闪退 [`#69`](https://github.com/BTMuli/TeyvatGuide/issues/69)
|
||||
- 帖子:修复文本过长导致渲染溢出
|
||||
- 应用:修复 UIGF 导出格式错误 [`#71`](https://github.com/BTMuli/TeyvatGuide/issues/71)
|
||||
- 应用:分享图保存逻辑调整,超过20M未到80M时取消保存文件仍会保存至剪贴板
|
||||
- 帖子:修复部分帖子表情包渲染错误
|
||||
|
||||
### Change
|
||||
|
||||
- 组件:移除对于头像的裁剪
|
||||
- 应用:侧边栏必要快捷入口保留
|
||||
- 应用:重构链接识别处理
|
||||
- 应用:用于获取 `deviceFp` 的设备信息将保存到数据库中
|
||||
- 应用:重构 `userStore` 及 `cookie` 相关类型
|
||||
|
||||
## [0.3.7](https://github.com/BTMuli/TeyvatGuide/releases/v0.3.7) (2023-12-11)
|
||||
|
||||
### Feat
|
||||
|
||||
- 帖子:渲染方式迭代,由 `v-html` 改为组件渲染 [`#64`](https://github.com/BTMuli/TeyvatGuide/issues/64)
|
||||
- 帖子:分享图增加应用标识
|
||||
- 应用:新增帖子页面,支持浏览各游戏分区各版块按不同排序方式的帖子 [`#67`](https://github.com/BTMuli/TeyvatGuide/issues/67)
|
||||
- 应用:macOS 新增 arm64 架构支持 [`#68`](https://github.com/BTMuli/TeyvatGuide/issues/68)
|
||||
- JSBridge: 部分原先存在遮罩的页面将去除遮罩
|
||||
- JSBridge: 新增部分回调的处理
|
||||
|
||||
### Fix
|
||||
|
||||
- 帖子:修复大别野卡片渲染错误 [`#63`](https://github.com/BTMuli/TeyvatGuide/issues/63)
|
||||
- 公告:修复标题错误显示 `<br>` 的问题
|
||||
- 帖子:修复表情包渲染错误,移除首页表情包下载
|
||||
|
||||
### Change
|
||||
|
||||
- 帖子:分享图大小超过 80M 时不予保存,超过 20M 时可选保存至文件
|
||||
- 应用:移除侧边栏点击菜单,可以通过帖子页面触发各功能入口
|
||||
- JSBridge:重构 `pushPage`、`closePage` 逻辑
|
||||
|
||||
## [0.3.6](https://github.com/BTMuli/TeyvatGuide/releases/v0.3.6) (2023-11-25)
|
||||
|
||||
### Feat
|
||||
|
||||
- 应用:实装 `device_fp`,有效降低 `1034` 错误 [`#58`](https://github.com/BTMuli/TeyvatGuide/issues/58)
|
||||
- 首页:今日素材组件添加留影叙佳期入口,角色生日时颜色变更 [`#61`](https://github.com/BTMuli/TeyvatGuide/issues/61)
|
||||
- 组件:优化 showConfirm 组件 input 模式下的体验
|
||||
- 成就:支持单个成就完成状态修改 [`#60`](https://github.com/BTMuli/TeyvatGuide/issues/60)
|
||||
- 成就:支持隐藏已完成成就 [`#19`](https://github.com/BTMuli/TeyvatGuide/issues/19)
|
||||
- 角色:角色详情页 UI 迭代,支持角色卡片分享 [`#20`](https://github.com/BTMuli/TeyvatGuide/issues/20)
|
||||
|
||||
### Fix
|
||||
|
||||
- JSBridge:修复窗口关闭后无法再次创建的问题
|
||||
- JSBridge:修复保存图片默认路径错误
|
||||
- JSBridge:调整 closePage 逻辑
|
||||
- 应用:在生成分享图时忽略某些元素
|
||||
- 应用:完善数据库检测机制 [`#62`](https://github.com/BTMuli/TeyvatGuide/issues/62)
|
||||
- JSBridge:应用启动时关闭隐藏的子窗口
|
||||
- 应用:完善登录态检测机制
|
||||
|
||||
### Change
|
||||
|
||||
- 应用:米游社 salt 版本更新到 2.63.1
|
||||
- 咨讯:大别野版块不再忽略咨讯区
|
||||
- 分享:提高生成分享图的清晰度
|
||||
- 成就:调整完成 icon 的颜色
|
||||
- 组件:增加素材日历组件 overlay 国家 icon 清晰度
|
||||
- 成就:重构成就页面代码,优化性能
|
||||
|
||||
## [0.3.5](https://github.com/BTMuli/TeyvatGuide/releases/v0.3.5) (2023-11-11)
|
||||
|
||||
### Feat
|
||||
|
||||
- 资源:更新至 4.2 版本 [`#57`](https://github.com/BTMuli/TeyvatGuide/issues/57)
|
||||
- 祈愿:支持 UIGF v2.4 [`#59`](https://github.com/BTMuli/TeyvatGuide/issues/59)
|
||||
|
||||
### Fix
|
||||
|
||||
- JSBridge:修复图片保存失败 [`#56`](https://github.com/BTMuli/TeyvatGuide/issues/56)
|
||||
- JSBridge: 调整 hideSideBar 逻辑 [`a474b962`](https://github.com/BTMuli/TeyvatGuide/commit/a474b962)
|
||||
- 组件:修复 `snackbar` 组件被 `overlay` 遮挡问题 [`db36d18d`](https://github.com/BTMuli/TeyvatGuide/commit/db36d18d)
|
||||
- 数据库:更新数据库时同时更新 `buildTime` [`c1a7e844`](https://github.com/BTMuli/TeyvatGuide/commit/c1a7e844)
|
||||
|
||||
### Change
|
||||
|
||||
- JSBridge:留影叙佳期入口改为工具箱入口 [`149c7b3f`](https://github.com/BTMuli/TeyvatGuide/commit/149c7b3f)
|
||||
- Post:调整基准背景色 [`e6eaa2e2`](https://github.com/BTMuli/TeyvatGuide/commit/e6eaa2e2)
|
||||
- 组件:适应游戏 UI 变更 `confirm` 组件样式 [`7a060a71`](https://github.com/BTMuli/TeyvatGuide/commit/7a060a71)
|
||||
- API:更新祈愿记录获取 `endpoint` [`8037b635`](https://github.com/BTMuli/TeyvatGuide/commit/8037b635)
|
||||
|
||||
## [0.3.4](https://github.com/BTMuli/TeyvatGuide/releases/v0.3.4) (2023-10-28)
|
||||
|
||||
|
||||
21
README.md
@@ -2,16 +2,16 @@
|
||||
Author: 目棃
|
||||
Description: 说明文档
|
||||
Date: 2023-03-05
|
||||
Update: 2023-10-28
|
||||
Update: 2023-12-10
|
||||
---
|
||||
|
||||
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-05 14:41:55`
|
||||
>
|
||||
> 更新于 `2023-10-28 19:26:59`
|
||||
> 更新于 `2023-12-10 16:38:32`
|
||||
|
||||
 
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
<div style="width: 100%; text-align: center; margin: 0 auto;">
|
||||
<img alt="icon" src="https://s2.loli.net/2023/10/19/Y5DpBQRy3usLHEb.png" />
|
||||
@@ -19,9 +19,9 @@ Update: 2023-10-28
|
||||
|
||||
# Teyvat Guide
|
||||
|
||||
基于 Tauri 的原神工具应用,支持 Windows 和 MacOS 平台。
|
||||
基于 Tauri 的原神工具应用,支持 Windows 和 macOS 平台。
|
||||
|
||||
Game Tool for Genshin Impact player, supports Windows and MacOS.
|
||||
Game Tool for Genshin Impact player, supports Windows and macOS.
|
||||
|
||||
## 下载 / Download
|
||||
|
||||
@@ -31,7 +31,7 @@ Game Tool for Genshin Impact player, supports Windows and MacOS.
|
||||
<img src="https://get.microsoft.com/images/zh-cn%20dark.svg" alt="download"/>
|
||||
</a>
|
||||
|
||||
> MacOS 用户可以通过 Github Release 下载
|
||||
> macOS 用户可以通过 Github Release 下载
|
||||
|
||||
[](https://github.com/BTMuli/TeyvatGuide/releases/latest)
|
||||
|
||||
@@ -46,6 +46,7 @@ Game Tool for Genshin Impact player, supports Windows and MacOS.
|
||||
- [x] 当前卡池、近期活动、素材日历
|
||||
- [x] 游戏内公告&活动获取
|
||||
- [x] 米游社官方帖获取(支持通过 ID 获取)
|
||||
- [x] 米游社各分区帖子获取(支持通过 ID 获取)
|
||||
- [x] 成就管理(UIAF),支持 [`YaeAchievement`](https://github.com/HolographicHat/YaeAchievement) 导入
|
||||
- [x] 祈愿管理(UIGF)
|
||||
|
||||
@@ -86,7 +87,7 @@ Game Tool for Genshin Impact player, supports Windows and MacOS.
|
||||
- Changelog: [CHANGELOG](CHANGELOG.md)
|
||||
- 资源来源:[项目资源说明](docs/项目资源说明.md)
|
||||
- UIAF:[UIAF v1.1](docs/UIAF.md)
|
||||
- UIGF:[UIGF v2.3](docs/UIGF.md)
|
||||
- UIGF:[UIGF v2.4](docs/UIGF.md)
|
||||
|
||||
## 特定项目 / Special Project
|
||||
|
||||
@@ -100,7 +101,11 @@ Game Tool for Genshin Impact player, supports Windows and MacOS.
|
||||
- [Vue3](https://github.com/vuejs/core)
|
||||
- [Vite](https://github.com/vitejs/vite)
|
||||
- [Vuetify](https://github.com/vuetifyjs/vuetify)
|
||||
- [Echarts](https://echarts.apache.org/zh/index.html)
|
||||
|
||||
## 第三方组件 / Plugins
|
||||
|
||||
- [Echarts](https://echarts.apache.org/zh/index.html):用于祈愿概览图生成
|
||||
- [Artplayer](https://artplayer.org/):用于米游社帖子视频播放解析
|
||||
|
||||
## 协议 / License
|
||||
|
||||
|
||||
364
docs/UIGF.md
@@ -1,50 +1,77 @@
|
||||
---
|
||||
Author: 目棃
|
||||
Date: 2023-04-07
|
||||
Description: UIGF v2.3 Backup
|
||||
Update: 2023-04-07
|
||||
Description: UIGF v2.4 Backup
|
||||
Date: 2023-11-15
|
||||
Update: 2023-11-15
|
||||
---
|
||||
|
||||
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于`2023-04-07 19:51:40`
|
||||
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-11-15 20:58:36`
|
||||
>
|
||||
> 更新于 `2023-04-07 19:51:40`
|
||||
> 更新于 `2023-11-15 20:58:36`
|
||||
>
|
||||
> 本文档为 [UIGF v2.4](https://github.com/UIGF-org/UIGF-org.github.io/blob/main/docs/zh/standards/UIGF.md) 的备份,仅供参考。
|
||||
|
||||
> 本文档为 [`UIGF`](https://github.com/UIGF-org/UIGF-org.github.io/blob/main/docs/zh/standards/UIGF-pre-release.md) 的备份。
|
||||
# 统一可交换抽卡记录标准 v2.4
|
||||
|
||||
# 统一可交换祈愿记录标准 v2.3
|
||||
> Uniformed Interchangeable GachaLog Format standard (UIGF) v2.4 <Badge text="Current" type="message" />
|
||||
>
|
||||
> ::: warning UIGF 标准使用声明
|
||||
> 应用必须在同时支持 UIGF 数据格式**导入**和**导出**功能并在相关功能区域或文档中提供跳转至 [UIGF-Org](https://uigf.org) 的超链接后声明支持 UIGF 格式
|
||||
|
||||
> Uniformed Interchangeable GachaLog Format standard (UIGF) v2.3
|
||||
仅包含导入功能降低了用户数据可流通性,且将数据至于用户不可控的风险中,不符合 UIGF-Org 设计的初衷。
|
||||
:::
|
||||
|
||||
## 更新记录
|
||||
|
||||
| 版本 | 说明 | 兼容 |
|
||||
| ------ | ------------------------------------------------ | -------------- |
|
||||
| `v2.0` | 首个正式版本 | v2.0 |
|
||||
| `v2.1` | 简化了部分语言表述,与 v2.0 在数据格式上完全一致 | v2.1 and lower |
|
||||
| `v2.2` | 新增 `info.export_timestamp` 填充 UNIX 时间戳 | v2.2 and lower |
|
||||
| `v2.3` | 扩充至非中文语境,使用 Json Schema 表述 | v2.3 and lower |
|
||||
| 版本 | 说明 | 兼容 |
|
||||
| ----------------------------- | ---------------------------------------------------------- | -------------- |
|
||||
| `v2.0` | 首个正式版本 | v2.0 |
|
||||
| `v2.1` | 简化了部分语言表述,与 v2.0在数据格式上完全一致 | v2.1 and lower |
|
||||
| [`v2.2`](UIGF-legacy-v2.2.md) | 新增 `info.export_timestamp` 填充 UNIX 时间戳 | v2.2 and lower |
|
||||
| [`v2.3`](UIGF-legacy-v2.3.md) | 扩充至非中文语境,使用 Json Schema 表述。移除了 Excel 格式 | v2.3 and lower |
|
||||
| `v2.4` | 新增 `info.region_time_zone` 支持时区处理 | v2.4 and lower |
|
||||
|
||||
## Id
|
||||
### v2.4 更新内容
|
||||
|
||||
原神的祈愿记录物品内包含了一项较为特殊的字段: `id` ,该值在 1.3 版本后加入
|
||||
所以**先前查询出的物品**若无特殊兼容性修改则不会包含相应的 `id`
|
||||
App 导出 UIGF 时
|
||||
- 国际化兼容性增强
|
||||
- 在 `info` 对象中新增了 `region_time_zone` 字段
|
||||
|
||||
- 需要确保每个物品的 `id` 的有效性。
|
||||
- 从最后一个自带有效 `id` 的物品开始,向前(相对于时间)依次递减 `id` 的值,每次递减的值应保持为 `1`
|
||||
## `info` 字段说明
|
||||
|
||||
导入 UIGF 到 App 时
|
||||
### `region_time_zone`
|
||||
|
||||
- App 不应假设所有的 `gacha_item` 都有有效的 `id` 值
|
||||
- App 应具有处理 `id` 字段为 `null`或 `` 空字符串的能力
|
||||
由于在获取祈愿记录时得到的`time`为服务器时间,为了准确判断时间的时区偏移,引入此字段。
|
||||
|
||||
## GachaType
|
||||
与 SRGF 不同,由于无法直接从服务器获取`region_time_zone`,在导出方未提供此字段时,需要根据 `uid` 进行推断。
|
||||
|
||||
祈愿包含了会共享保底与概率的卡池,所以需要一个额外的字段来界定
|
||||
我们在`UIGF`的所有格式中注入了`uigf_gacha_type`字段
|
||||
在导出到`UIGF`格式时需要注意添加对应的`uigf_gacha_type`字段
|
||||
#### 映射关系
|
||||
|
||||
### 映射关系
|
||||
| `uid`首个字符 | `region_time_zone` | 游戏服务器 |
|
||||
| ------------- | ------------------ | --------------------------------- |
|
||||
| `'6'` | `-5` | os_usa |
|
||||
| `'7'` | `1` | os_euro |
|
||||
| 剩余情况 | `8` | os_cht, os_asia, cn_gf01, cn_qd01 |
|
||||
|
||||
App 不应假定 `region_time_zone` 的值为上表中给出的值,应具有处理非标准 `region_time_zone` 值的能力。
|
||||
若 `region_time_zone` 的值与 `uid` 推断结果不一致,则优先选择 `region_time_zone` 给出的值。
|
||||
|
||||
## `list` 字段说明
|
||||
|
||||
### `id`
|
||||
|
||||
物品内包含了一项较为特殊的字段: `id`,为原神官方 API 中包含的,代表每条抽卡记录唯一性的 `id`。App 导出 UIGF 时
|
||||
|
||||
- 需要确保每个物品都有一个有效的唯一 `id`
|
||||
- 若有记录中不包含`id`,则应从下一个自带有效 `id` 的物品开始,为每条缺失`id`字段的数据补全`id`。
|
||||
赋值数据向前(时间排序)依次递减,每次递减的值应保持为 `1`
|
||||
|
||||
### `gacha_type`
|
||||
|
||||
由于存在会共享保底与概率的卡池,所以需要一个额外的字段来界定
|
||||
我们在 `UIGF` 的所有格式中注入了 `uigf_gacha_type` 字段
|
||||
在导出到 `UIGF` 格式时需要注意添加对应的 `uigf_gacha_type` 字段
|
||||
|
||||
#### 映射关系
|
||||
|
||||
| `uigf_gacha_type` | `gacha_type` |
|
||||
| ----------------- | -------------- |
|
||||
@@ -53,225 +80,112 @@ App 导出 UIGF 时
|
||||
| `301` | `301` or `400` |
|
||||
| `302` | `302` |
|
||||
|
||||
## Json 格式
|
||||
### `item_id`
|
||||
|
||||
> Uniformed Interchangeable GachaLog Format standard of Json (UIGF.J)
|
||||
> Json 格式 由于 与从官方接口获取到的格式一致
|
||||
> 更便于各 App 的导入与导出,我们也在此做出规范
|
||||
> 该格式应仅用于各 App 间的数据互通
|
||||
物品游戏内ID,你可以通过 [UIGF API](../API.md) 获取这一数据
|
||||
|
||||
### 导出的格式
|
||||
## Json Schema
|
||||
|
||||
> UIGF-Org 提供[Json Schema](/schema/uigf.json) 用于验证
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "object",
|
||||
"title": "UIGF object",
|
||||
"properties": {
|
||||
"info": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"uid": {
|
||||
"type": "string",
|
||||
"title": "Uid",
|
||||
"description": "Uid"
|
||||
},
|
||||
"lang": {
|
||||
"type": "string",
|
||||
"title": "Language",
|
||||
"description": "语言 ISO 3166"
|
||||
},
|
||||
"uigf_version": {
|
||||
"type": "string",
|
||||
"title": "UIGF Version",
|
||||
"description": "UIGF 版本号"
|
||||
},
|
||||
"export_timestamp": {
|
||||
"type": "number",
|
||||
"title": "Export Timestamp",
|
||||
"description": "导出时间戳(秒)"
|
||||
},
|
||||
"export_time": {
|
||||
"type": "string",
|
||||
"description": "导出时间",
|
||||
"format": "date-time",
|
||||
"pattern": "yyyy-MM-dd HH:mm:ss",
|
||||
"title": "Export Time"
|
||||
},
|
||||
"export_app": {
|
||||
"type": "string",
|
||||
"title": "Export App",
|
||||
"description": "导出应用"
|
||||
},
|
||||
"export_app_version": {
|
||||
"type": "string",
|
||||
"title": "Export App Version",
|
||||
"description": "导出应用版本"
|
||||
}
|
||||
},
|
||||
"title": "Infomation",
|
||||
"required": ["uid", "lang", "uigf_version"],
|
||||
"description": "包含导出方定义的基本信息"
|
||||
},
|
||||
"list": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"root": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"info": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"gacha_type": {
|
||||
"uid": {
|
||||
"type": "string",
|
||||
"description": "祈愿类型"
|
||||
"title": "导出记录的 UID"
|
||||
},
|
||||
"item_id": {
|
||||
"lang": {
|
||||
"type": "string",
|
||||
"title": "Item Id",
|
||||
"description": "空字符串"
|
||||
"title": "语言 languagecode2-country/regioncode2"
|
||||
},
|
||||
"count": {
|
||||
"type": "string",
|
||||
"title": "Count",
|
||||
"description": "数量"
|
||||
"export_timestamp": {
|
||||
"type": "number",
|
||||
"title": "导出 UNIX 时间戳(秒)"
|
||||
},
|
||||
"time": {
|
||||
"export_time": {
|
||||
"type": "string",
|
||||
"title": "Time",
|
||||
"description": "物品获取时间",
|
||||
"pattern": "yyyy-MM-dd HH:mm:ss",
|
||||
"format": "date-time"
|
||||
"title": "导出时间",
|
||||
"description": "yyyy-MM-dd HH:mm:ss"
|
||||
},
|
||||
"name": {
|
||||
"export_app": {
|
||||
"type": "string",
|
||||
"title": "Name",
|
||||
"description": "名称"
|
||||
"title": "导出 App 名称"
|
||||
},
|
||||
"item_type": {
|
||||
"export_app_version": {
|
||||
"type": "string",
|
||||
"title": "Item Type",
|
||||
"description": "物品类型"
|
||||
"title": "导出 App 版本"
|
||||
},
|
||||
"rank_type": {
|
||||
"uigf_version": {
|
||||
"type": "string",
|
||||
"title": "Item Quality",
|
||||
"description": "物品星级"
|
||||
"title": "UIGF 版本号",
|
||||
"pattern": "v\\d+\\.\\d+"
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"title": "Id",
|
||||
"description": "内部数据库Id"
|
||||
},
|
||||
"uigf_gacha_type": {
|
||||
"type": "string",
|
||||
"title": "Query Type",
|
||||
"description": "向接口查询时需要的 gacha_type"
|
||||
"region_time_zone": {
|
||||
"type": "number",
|
||||
"title": "区域时区偏移"
|
||||
}
|
||||
},
|
||||
"required": ["gacha_type", "name", "id", "uigf_gacha_type", "time"],
|
||||
"title": "Gacha Item",
|
||||
"description": "祈愿物品"
|
||||
"required": ["uid", "uigf_version"],
|
||||
"title": "UIGF 导出信息"
|
||||
},
|
||||
"title": "List",
|
||||
"description": "物品列表"
|
||||
}
|
||||
},
|
||||
"required": ["info", "list"],
|
||||
"description": "UIGF 根对象"
|
||||
"list": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"uigf_gacha_type": {
|
||||
"type": "string",
|
||||
"title": "UIGF 卡池类型",
|
||||
"description": "用于区分卡池类型不同,但卡池保底计算相同的物品"
|
||||
},
|
||||
"gacha_type": {
|
||||
"type": "string",
|
||||
"title": "卡池类型"
|
||||
},
|
||||
"item_id": {
|
||||
"type": "string",
|
||||
"title": "物品的内部 ID"
|
||||
},
|
||||
"count": {
|
||||
"type": "string",
|
||||
"title": "个数",
|
||||
"description": "一般为1"
|
||||
},
|
||||
"time": {
|
||||
"type": "string",
|
||||
"title": "获取物品的时间"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"title": "物品名称"
|
||||
},
|
||||
"item_type": {
|
||||
"type": "string",
|
||||
"title": "物品类型"
|
||||
},
|
||||
"rank_type": {
|
||||
"type": "string",
|
||||
"title": "物品等级"
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"title": "记录内部 ID"
|
||||
}
|
||||
},
|
||||
"required": ["uigf_gacha_type", "gacha_type", "id", "item_id", "time"],
|
||||
"title": "UIGF 物品"
|
||||
},
|
||||
"title": "物品列表"
|
||||
}
|
||||
},
|
||||
"required": ["info", "list"],
|
||||
"title": "UIGF 根对象"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Excel 工作簿 (Workbook Format)
|
||||
|
||||
> Uniformed Interchangeable GachaLog Format standard of Workbook (UIGF.W)
|
||||
|
||||
### 单元格的格式
|
||||
|
||||
- 在填充单元格内的数据时,应统一转换到 `String` 字符串类型后填入
|
||||
|
||||
### 表名及内容
|
||||
|
||||
| 表名 | 内容 | 类型 | 是否必要 |
|
||||
| ------------ | -------------------------------------- | ------ | ------------------------------ |
|
||||
| 统计分析 | 统计分析内容等 | 任意 | 否 |
|
||||
| 角色活动祈愿 | `gacha_type` : `301 or 400` 的祈愿数据 | 祈愿表 | 否,但是应该导出 |
|
||||
| 武器活动祈愿 | `gacha_type` : `302` 的祈愿数据 | 祈愿表 | 否,但是应该导出 |
|
||||
| 常驻祈愿 | `gacha_type` : `200` 的祈愿数据 | 祈愿表 | 否,但是应该导出 |
|
||||
| 新手祈愿 | `gacha_type` : `100` 的祈愿数据 | 祈愿表 | 否,但是应该导出 |
|
||||
| 原始数据 | 全部祈愿数据 | 数据表 | **详见下方原始数据表结构说明** |
|
||||
|
||||
- 表的顺序可以是任意的
|
||||
- 可以隐藏部分表,防止用户随意篡改数据
|
||||
- Sheet 的名称应与游戏内祈愿记录页面显示的名称保持一致
|
||||
|
||||
> App 间应依据 `原始数据表` 的内容,来进行数据互通
|
||||
|
||||
### 祈愿表结构
|
||||
|
||||
本节内容是为了规范兼容分析类 App
|
||||
|
||||
- 表头对应的内容填充**顺序需要严格按照下方说明**排布
|
||||
- **共享保底的卡池**按祈愿类型 (`gacha_type`) 区分
|
||||
- 此类 `Sheet` 存在的目的,是为了便于用户观看与祈愿分析工具的分析
|
||||
|
||||
| 表头 | 内容 | 是否必要 |
|
||||
| -------- | ---------------------------------------- | ---------------------------- |
|
||||
| 时间 | `yyyy-MM-dd HH:mm:ss` 格式的 `time` 时间 | 是 |
|
||||
| 名称 | `name`物品名称 | 是 |
|
||||
| 物品类型 | `item_type` | 是 |
|
||||
| 星级 | `rank_type` | 是 |
|
||||
| 祈愿类型 | `gacha_type` 的转义名称 | 是,尽管部分工具不会分析此项 |
|
||||
| ... | ... | 否 |
|
||||
|
||||
> 如果你认为有必要的话,可以额外增加其他表头,但请确保表头的前几列为上表规范的内容
|
||||
> 表内的数据通常按祈愿 Id 升序或降序排列,分析 App 不应假设表内的顺序为特定的升序与降序
|
||||
|
||||
#### `gacha_type` 转义名称
|
||||
|
||||
| gacha_type | 名称 |
|
||||
| ---------- | -------------- |
|
||||
| 100 | 新手祈愿 |
|
||||
| 200 | 常驻祈愿 |
|
||||
| 301 | 角色活动祈愿 |
|
||||
| 400 | 角色活动祈愿-2 |
|
||||
| 302 | 武器活动祈愿 |
|
||||
|
||||
#### 示例
|
||||
|
||||
| 时间 | 名称 | 类别 | 星级 | 祈愿类型 | ... |
|
||||
| ------------------- | -------- | ---- | ---- | -------------- | --- |
|
||||
| 2021-02-17 18:45:09 | 以理服人 | 武器 | 3 | 角色活动祈愿-2 | ... |
|
||||
| ... | ... | ... | ... | ... | ... |
|
||||
|
||||
### 原始数据表结构
|
||||
|
||||
导出时
|
||||
|
||||
- App 在导出时应尽可能询问用户是否应包含原始数据表
|
||||
- 一旦在工作簿内包含了名为 `原始数据` 的表,即表示支持本格式
|
||||
- 该表内的内容应严格按照本格式所述填充
|
||||
- **表头的顺序需严格按照下表设置**。
|
||||
- 现有的字段采用**字典顺序**递增排序,后续新增的字段依添加的顺序排在后侧。
|
||||
- 若无特殊需求,我们建议导出所有 json 数据内包含的字段
|
||||
|
||||
导入时
|
||||
|
||||
- 强烈建议您编写不依赖于列的顺序位置便可实现导入的程序,以达到最大化的兼容。
|
||||
- 如果省略了其中某些非必要字段的值,请保持表头存在,对应的列则空置。
|
||||
|
||||
| 表头 | 是否必要 |
|
||||
| ----------------- | ---------------------------------------------------- |
|
||||
| `count` | 否,但是建议保留,不排除后续会有`count`不为 1 的情况 |
|
||||
| `gacha_type` | 是 |
|
||||
| `id` | 是,且大部分 App 按此字段排序数据 |
|
||||
| `item_id` | 否,目前官方已经弃用了此字段 |
|
||||
| `item_type` | 是 |
|
||||
| `lang` | 否,但建议保留,以便国际化 |
|
||||
| `name` | 是 |
|
||||
| `rank_type` | 否,但建议保留,以便分析 |
|
||||
| `time` | 否,但建议保留,以便分析 |
|
||||
| `uid` | 否,但建议将选择权交予用户,保留以便分析 |
|
||||
| `uigf_gacha_type` | 是 |
|
||||
|
||||
#### 示例
|
||||
|
||||
| count | gacha_type | id | item_id | item_type | lang | name | rank_type | time | uid | uigf_gacha_type |
|
||||
| ----- | ---------- | ------------------- | ------- | --------- | ----- | -------- | --------- | ------------------- | --------- | --------------- |
|
||||
| 1 | 301 | 1613556360008291100 | | 武器 | zh-cn | 以理服人 | 3 | 2021-02-17 18:45:09 | 123456789 | 301 |
|
||||
| ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
|
||||
|
||||
57
package.json
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"name": "TeyvatGuide",
|
||||
"version": "0.3.4",
|
||||
"version": "0.3.8",
|
||||
"description": "Game Tool for Genshin Impact player",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@8.9.2",
|
||||
"packageManager": "pnpm@8.11.0",
|
||||
"scripts": {
|
||||
"build": "tauri build",
|
||||
"debug": "tauri build --debug",
|
||||
@@ -67,7 +67,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@mdi/font": "7.3.67",
|
||||
"@tauri-apps/api": "^1.5.1",
|
||||
"@tauri-apps/api": "^1.5.2",
|
||||
"artplayer": "^5.0.9",
|
||||
"clipboard": "^2.0.11",
|
||||
"color-convert": "^2.0.1",
|
||||
"echarts": "^5.4.3",
|
||||
@@ -78,47 +79,47 @@
|
||||
"qrcode.vue": "^3.4.1",
|
||||
"tauri-plugin-sql-api": "github:tauri-apps/tauri-plugin-sql#v1",
|
||||
"uuid": "^9.0.1",
|
||||
"vue": "^3.3.4",
|
||||
"vue-echarts": "^6.6.1",
|
||||
"vue": "^3.3.11",
|
||||
"vue-echarts": "^6.6.3",
|
||||
"vue-json-viewer": "^3.0.4",
|
||||
"vue-router": "^4.2.5",
|
||||
"vuetify": "^3.3.22",
|
||||
"vuetify": "^3.4.6",
|
||||
"wcag-color": "^1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tauri-apps/cli": "^1.5.4",
|
||||
"@types/color-convert": "^2.0.2",
|
||||
"@types/js-md5": "^0.7.1",
|
||||
"@types/node": "^20.8.7",
|
||||
"@types/uuid": "^9.0.6",
|
||||
"@typescript-eslint/eslint-plugin": "^6.8.0",
|
||||
"@typescript-eslint/parser": "^6.8.0",
|
||||
"@vitejs/plugin-vue": "^4.4.0",
|
||||
"@tauri-apps/cli": "^1.5.7",
|
||||
"@types/color-convert": "^2.0.3",
|
||||
"@types/js-md5": "^0.7.2",
|
||||
"@types/node": "^20.10.4",
|
||||
"@types/uuid": "^9.0.7",
|
||||
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
||||
"@typescript-eslint/parser": "^6.14.0",
|
||||
"@vitejs/plugin-vue": "^4.5.2",
|
||||
"@vue/devtools": "^6.5.1",
|
||||
"concurrently": "^8.2.2",
|
||||
"eslint": "^8.51.0",
|
||||
"eslint-config-prettier": "^9.0.0",
|
||||
"eslint-config-standard-with-typescript": "^39.1.1",
|
||||
"eslint-plugin-import": "^2.28.1",
|
||||
"eslint": "^8.55.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-config-standard-with-typescript": "^40.0.0",
|
||||
"eslint-plugin-import": "^2.29.0",
|
||||
"eslint-plugin-jsonc": "^2.10.0",
|
||||
"eslint-plugin-n": "^16.2.0",
|
||||
"eslint-plugin-n": "^16.4.0",
|
||||
"eslint-plugin-prettier": "^5.0.1",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"eslint-plugin-vue": "^9.17.0",
|
||||
"eslint-plugin-vue": "^9.19.2",
|
||||
"eslint-plugin-yml": "^1.10.0",
|
||||
"husky": "^8.0.3",
|
||||
"jsonc-eslint-parser": "^2.3.0",
|
||||
"lint-staged": "^15.0.2",
|
||||
"prettier": "3.0.3",
|
||||
"jsonc-eslint-parser": "^2.4.0",
|
||||
"lint-staged": "^15.2.0",
|
||||
"prettier": "3.1.0",
|
||||
"stylelint": "^15.11.0",
|
||||
"stylelint-config-idiomatic-order": "^9.0.0",
|
||||
"stylelint-config-idiomatic-order": "^10.0.0",
|
||||
"stylelint-config-standard-vue": "^1.0.0",
|
||||
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
|
||||
"stylelint-high-performance-animation": "^1.9.0",
|
||||
"stylelint-order": "^6.0.3",
|
||||
"stylelint-prettier": "^4.0.2",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^4.5.0",
|
||||
"stylelint-order": "^6.0.4",
|
||||
"stylelint-prettier": "^4.1.0",
|
||||
"typescript": "^5.3.3",
|
||||
"vite": "^5.0.7",
|
||||
"vite-plugin-vuetify": "^1.0.2",
|
||||
"yaml-eslint-parser": "^1.2.2"
|
||||
}
|
||||
|
||||
1779
pnpm-lock.yaml
generated
BIN
public/WIKI/GCG/normal/「女士」.webp
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
public/WIKI/GCG/normal/万家灶火.webp
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
public/WIKI/GCG/normal/五郎.webp
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
public/WIKI/GCG/normal/化种匣.webp
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
public/WIKI/GCG/normal/和璞鸢.webp
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
public/WIKI/GCG/normal/四风原典.webp
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
public/WIKI/GCG/normal/图莱杜拉的回忆.webp
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
public/WIKI/GCG/normal/在地为化.webp
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
public/WIKI/GCG/normal/坍陷与契机.webp
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
public/WIKI/GCG/normal/多莉.webp
Normal file
|
After Width: | Height: | Size: 70 KiB |
BIN
public/WIKI/GCG/normal/夜兰.webp
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
public/WIKI/GCG/normal/如影流露的冷刃.webp
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
public/WIKI/GCG/normal/妮露.webp
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
public/WIKI/GCG/normal/完场喝彩.webp
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
public/WIKI/GCG/normal/归芒携信.webp
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
public/WIKI/GCG/normal/悲号回唱.webp
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
public/WIKI/GCG/normal/星天的花雨.webp
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
public/WIKI/GCG/normal/晦朔千引.webp
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
public/WIKI/GCG/normal/来歆余响.webp
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
public/WIKI/GCG/normal/林尼.webp
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
public/WIKI/GCG/normal/欧庇克莱歌剧院.webp
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
public/WIKI/GCG/normal/正理.webp
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
public/WIKI/GCG/normal/毁裂风涡.webp
Normal file
|
After Width: | Height: | Size: 70 KiB |
BIN
public/WIKI/GCG/normal/沙王的投影.webp
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
public/WIKI/GCG/normal/浮溯之珏.webp
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
public/WIKI/GCG/normal/浮烁的四叶印.webp
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
public/WIKI/GCG/normal/海染砗磲.webp
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
public/WIKI/GCG/normal/湖中垂柳.webp
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
public/WIKI/GCG/normal/灵光明烁之心.webp
Normal file
|
After Width: | Height: | Size: 60 KiB |
BIN
public/WIKI/GCG/normal/炸鱼薯条.webp
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
public/WIKI/GCG/normal/特瓦林.webp
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
public/WIKI/GCG/normal/犬奔·疾如风.webp
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
public/WIKI/GCG/normal/猜先有方.webp
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
public/WIKI/GCG/normal/玛梅赫.webp
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
public/WIKI/GCG/normal/琳妮特.webp
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
public/WIKI/GCG/normal/琴音之诗.webp
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
public/WIKI/GCG/normal/留念镜.webp
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
public/WIKI/GCG/normal/白术.webp
Normal file
|
After Width: | Height: | Size: 69 KiB |
BIN
public/WIKI/GCG/normal/艾尔海森.webp
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
public/WIKI/GCG/normal/花海甘露之光.webp
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
public/WIKI/GCG/normal/苇海信标.webp
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
public/WIKI/GCG/normal/若陀龙王.webp
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
public/WIKI/GCG/normal/苦痛奉还.webp
Normal file
|
After Width: | Height: | Size: 73 KiB |
BIN
public/WIKI/GCG/normal/莱依拉.webp
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
public/WIKI/GCG/normal/裁叶萃光.webp
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
public/WIKI/GCG/normal/裁定之时.webp
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
public/WIKI/GCG/normal/酌盈剂虚.webp
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
public/WIKI/GCG/normal/野猪公主.webp
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
public/WIKI/GCG/normal/镀金旅团·炽沙叙事人.webp
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
public/WIKI/GCG/normal/雷音权现.webp
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
public/WIKI/GCG/normal/风龙废墟.webp
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
public/WIKI/GCG/normal/饰金之梦.webp
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
public/WIKI/GCG/normal/魔蝎烈祸.webp
Normal file
|
After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |