Compare commits

...

261 Commits

Author SHA1 Message Date
BTMuli
6068821f89 🚀 v0.3.1 版本更新 2023-09-15 19:49:51 +08:00
BTMuli
0c95648dc6 🔧 还是得加上不然打包不了 2023-09-15 18:51:47 +08:00
BTMuli
55901ee680 检测更新,自动弹出 Changelog 2023-09-15 18:28:48 +08:00
BTMuli
7513643e02 💚 配置微改 2023-09-15 18:14:46 +08:00
BTMuli
42cf8bfd9c 🔨 添加 icon 2023-09-15 18:02:03 +08:00
BTMuli
17457169fd 🔥 关闭 updater,已经有 MS Store 了 2023-09-15 17:31:36 +08:00
BTMuli
0c2d4d0b89 🐛 应用初次加载也加载数据库,完善数据库 load #40 2023-09-15 17:30:07 +08:00
BTMuli
a7dd069930 🚚 tauri-genshin → Teyvat Guide 2023-09-15 17:19:33 +08:00
BTMuli
f907c798bc 📝 添加微软商店链接 2023-09-15 16:48:47 +08:00
BTMuli
8abeeb8c8f 🐛 尝试修复 action 报错 2023-09-11 13:51:21 +08:00
BTMuli
8a11dd6919 💄 修复 dark mode 下字体不清晰问题 2023-09-11 13:09:33 +08:00
BTMuli
4e23970a6c 🐛 获取延时,以避免 -110 报错 2023-09-10 18:22:40 +08:00
BTMuli
61287e3297 🌱 开始开发 0.3.1 2023-09-10 18:22:00 +08:00
BTMuli
a0d9f38f79 🐛 修复 targets 错误 2023-09-08 11:16:48 +08:00
BTMuli
40e0157443 🐛 修复 Frontmatter 错误 2023-09-08 11:01:26 +08:00
BTMuli
00cecf593a 🍱 v0.3.0 2023-09-08 10:52:02 +08:00
BTMuli
5836bf91e6 🚀 v0.3.0 版本更新 2023-09-08 10:33:44 +08:00
BTMuli
46a4752140 🐛 修复一些问题 2023-09-08 10:15:38 +08:00
BTMuli
afb0f317cc 👷 更改打包配置,仅支持 windows(msi) 2023-09-08 09:58:58 +08:00
BTMuli
87c3c59c86 🚨 fix warn info when build 2023-09-07 16:57:50 +08:00
BTMuli
7e3843809f 💄 微改回顶组件样式 2023-09-07 16:04:40 +08:00
BTMuli
ce864897f6 ⬆️ 升级 pnpm 2023-09-07 15:59:28 +08:00
BTMuli
fcb158a7eb 🐛 修复用户数据缺失 2023-09-07 15:46:48 +08:00
BTMuli
2a696d77b4 ⚰️ 删除无用代码 2023-09-07 15:18:47 +08:00
BTMuli
153b27b8cb 💄 美化抽奖页 2023-09-07 14:59:15 +08:00
BTMuli
fcb1dc9493 ♻️ 代码精简 2023-09-06 11:12:32 +08:00
BTMuli
427abd8fa7 ⚰️ 清了一下 todo 2023-09-06 10:25:49 +08:00
BTMuli
a64fc23f87 💄 更换图标,调整顺序 2023-09-06 10:08:19 +08:00
BTMuli
d3d23c439f 💄 稍微处理了一下色彩 2023-09-06 09:28:31 +08:00
BTMuli
efd4c670fb 💄 优化提示 2023-09-05 18:19:32 +08:00
BTMuli
42f5003502 🍱 更新部分缺漏数据 2023-09-05 18:12:03 +08:00
BTMuli
e33f824cec 💄 调整角色 overlay 样式,修复一些报错 2023-09-05 16:54:21 +08:00
BTMuli
472459205c 💄 样式微改 2023-09-05 11:32:48 +08:00
BTMuli
b2858899c1 🐛 修复含有折叠框的文章分享图错误渲染的问题 2023-09-05 11:29:05 +08:00
BTMuli
d89bdf2b34 🥅 完善报错,易于排查 2023-09-05 10:55:59 +08:00
BTMuli
dd412d2d3c 添加 emoji 解析 2023-09-05 10:45:34 +08:00
BTMuli
47823e3f46 🧑‍💻 结构化内容解析显示,便于调试 2023-09-05 09:12:52 +08:00
BTMuli
99712a325f 💡 添加 todo 2023-09-05 00:05:12 +08:00
BTMuli
e834758565 💄 改了点样式 2023-09-04 21:16:29 +08:00
BTMuli
a020a0193e 🐛 修复 divider 生成分享时渲染错误的问题 2023-09-04 21:01:36 +08:00
BTMuli
2ac29e13c3 🐛 修复用户数据获取异常 2023-09-04 19:25:23 +08:00
BTMuli
27bf6bdc41 🐛 修复颜色解析错误,采用 wcag 标准 2023-09-04 19:04:18 +08:00
BTMuli
477201bfb3 🎨 微改 2023-09-04 17:08:07 +08:00
BTMuli
ad11a91f73 实装祈愿记录获取 2023-09-04 16:57:11 +08:00
BTMuli
4fef4d94e1 实装 authKey 获取 2023-09-04 14:54:05 +08:00
BTMuli
4b80de3f24 ♻️ 完善 ds 算法 2023-09-04 14:32:59 +08:00
BTMuli
e2a1f8c862 完成扫码获取 ck,closes #18 2023-09-04 09:29:41 +08:00
BTMuli
bda4966ae5 初步打通相关流程 2023-09-04 01:12:19 +08:00
BTMuli
4f6f065645 添加 gt 获取 st,ckt 相关请求 2023-09-03 23:08:23 +08:00
BTMuli
733ef716e2 🎨 小改 2023-09-03 16:13:05 +08:00
BTMuli
3a7ca20b14 完成扫码获取 gameToken 2023-09-03 16:10:23 +08:00
BTMuli
3cac2057f8 米游社 APP 登录 Web 搞了个组件 2023-09-03 15:31:57 +08:00
BTMuli
faba854b74 ♻️ 改了一些组件 2023-09-03 00:06:48 +08:00
BTMuli
4debd354a7 ♻️ 完善 box-bg 层级,减少 border 2023-09-02 22:42:08 +08:00
BTMuli
95eca77d0a ♻️ 用户相关的四个一级页面勉强改完 2023-09-02 14:03:23 +08:00
BTMuli
a8488c04f8 💄 完善昨天改的四个 common page 2023-09-02 12:07:03 +08:00
BTMuli
b4b1e194d9 💄 调整基本样式 2023-09-02 10:57:55 +08:00
BTMuli
296350473a ♻️ 又改了一些页面样式 2023-09-01 23:51:46 +08:00
BTMuli
191fe57b36 💄 首页按钮样式变更 2023-09-01 22:20:23 +08:00
BTMuli
208aa7cc1a ♻️ confirm 组件样式调整 2023-09-01 22:19:52 +08:00
BTMuli
6f22326a88 ♻️ 首页颜色替换完成 2023-09-01 20:39:52 +08:00
BTMuli
386085f8c3 🎨 调整默认背景色,设置默认保存路径 2023-09-01 19:39:26 +08:00
BTMuli
343c83b185 ♻️ 样式调整,慢慢改吧 2023-09-01 16:55:43 +08:00
BTMuli
2c129351c1 💄 微调布局 2023-09-01 10:10:28 +08:00
BTMuli
09317afac6 ♻️ 祈愿数据单独备份、恢复 2023-09-01 09:39:14 +08:00
BTMuli
1bdc614940 ♻️ uid 直接读取数据库,优化渲染 2023-08-31 20:08:04 +08:00
BTMuli
f842da01fa 🐛 修复导出路径错误 2023-08-31 19:02:54 +08:00
BTMuli
a3c1442c7d 🌱 成功获取扫码登录返回 tokens 2023-08-31 17:13:46 +08:00
BTMuli
cf691d8b51 🐛 修复 Cookie 无法输入的问题 2023-08-31 15:40:13 +08:00
BTMuli
6e21242e11 📝 v0.2.x 归档 2023-08-31 15:33:40 +08:00
BTMuli
a76f77502b ⬆️ 更新依赖,开写 v0.3.0 2023-08-31 15:23:17 +08:00
BTMuli
9d681b29f1 🍱 v0.2.3 2023-08-31 14:45:18 +08:00
BTMuli
1025e11a70 🚀 v0.2.3 版本更新 2023-08-31 11:28:22 +08:00
BTMuli
75fb5c241a 🐛 手动刷新数据 2023-08-31 11:11:05 +08:00
BTMuli
7be0f1cb37 UIGF 基本完工 #27 2023-08-31 11:00:48 +08:00
BTMuli
fb1e567c47 🎨 美化样式,添加新手池数据 2023-08-30 16:44:57 +08:00
BTMuli
a12cd063ef 🍱 更换深渊图标 2023-08-30 15:18:12 +08:00
BTMuli
3cbb460693 💄 美化图标表现 2023-08-30 11:29:04 +08:00
BTMuli
50444eb737 🍱 侧边栏图标变更,感谢 HoyoWiki 2023-08-30 10:08:22 +08:00
BTMuli
d64cab8b4e 🌱 微改 2023-08-30 09:25:55 +08:00
BTMuli
2cac0c95bd 🌱 草创概览饼图,echarts调参苦手 2023-08-30 00:30:36 +08:00
BTMuli
19dcd54be0 🧑‍💻 优化 rules 2023-08-30 00:27:59 +08:00
BTMuli
3a10e6d7ed 🍱 将之前误删的菲米尼数据拿回来 2023-08-29 20:29:43 +08:00
BTMuli
f961e607b0 🌱 初步完成UIGF 导入导出备份恢复,并参照优化UIAF相关代码 2023-08-29 20:04:37 +08:00
BTMuli
0033565c58 ✏️ fix typo 2023-08-29 18:48:13 +08:00
BTMuli
76687ab4f7 ♻️ ToConfirm → showConfirm 2023-08-29 18:32:35 +08:00
BTMuli
55761e81b5 🎨 优化组件 2023-08-29 18:23:14 +08:00
BTMuli
5511062d26 💫 动画加上,过渡自然点 2023-08-29 17:09:29 +08:00
BTMuli
6c4a3c7830 成功获取 confirm 返回 2023-08-29 16:14:21 +08:00
BTMuli
e6c5e98ef9 🌱 初步尝试改造 confirm,回调没写好 #34 2023-08-29 14:44:26 +08:00
BTMuli
e2fccec49f 🎨 Prettier 2023-08-28 16:59:19 +08:00
BTMuli
3873e0ad21 🚚 snackbar → showSnackbar 2023-08-28 16:55:16 +08:00
BTMuli
63f7ca2409 ⬆️ 更新 pnpm 版本 2023-08-28 16:44:12 +08:00
BTMuli
598ce68a40 ♻️ 函数式调用 snackbar 2023-08-28 16:20:37 +08:00
BTMuli
923aae692f 🌱 尝试函数式组件 #34 2023-08-28 16:06:45 +08:00
BTMuli
8073d79856 🌱 UIGF 相关处理草创 2023-08-28 10:40:20 +08:00
BTMuli
6e22eddcf5 🔥 删除实时便笺请求 2023-08-28 10:33:44 +08:00
BTMuli
1bf467c0e1 🏷️ 添加 UIGF 类型 2023-08-28 10:31:20 +08:00
BTMuli
3fee50f8d4 🔥 砍掉实时便笺 2023-08-28 09:15:20 +08:00
BTMuli
f5c5900e43 🐛 修正背景色 2023-08-27 22:37:16 +08:00
BTMuli
0baa7adafd ♻️ 横版布局,美化样式 2023-08-27 22:32:05 +08:00
BTMuli
6b0556da28 💄 优化布局 2023-08-27 21:44:35 +08:00
BTMuli
bd3c0050b3 ⬆️ 更新依赖 2023-08-27 19:13:42 +08:00
BTMuli
b4e0c65150 📝 修复链接错误 2023-08-27 14:57:44 +08:00
BTMuli
5d967ac110 💄 调整布局 2023-08-27 14:52:52 +08:00
BTMuli
fcc98ab2c1 🔧 尝试修复 action 报错x5 2023-08-27 13:50:48 +08:00
BTMuli
a0a73ccd1a ⬆️ 更新 cargo 依赖 2023-08-27 13:47:42 +08:00
BTMuli
d761810bbe 🔧 尝试修复 action 报错x4 2023-08-27 12:05:44 +08:00
BTMuli
c2f862c65e 🔧 尝试修复 action 报错x3 2023-08-27 12:00:46 +08:00
BTMuli
140af8393f 🔧 尝试修复 action 报错x2 2023-08-27 11:49:58 +08:00
BTMuli
c74341ccd2 🔧 尝试修复 action 报错 2023-08-27 11:32:22 +08:00
BTMuli
0d2d0125b8 🍱 补充缺漏 contentId,删除菲米尼数据 2023-08-27 11:26:19 +08:00
BTMuli
baaa2e5e1f 💄 美化卡池组件样式 2023-08-27 11:07:37 +08:00
BTMuli
f9e171d412 ⬆️ 更新依赖,开写 v0.2.3 2023-08-27 00:25:04 +08:00
BTMuli
df177079fc 🍱 更新 latest.json 2023-08-15 18:16:06 +08:00
BTMuli
5990689264 🚀 v0.2.2 版本更新 2023-08-15 17:56:15 +08:00
BTMuli
b875898efa 添加水神瞳数据 2023-08-15 17:44:20 +08:00
BTMuli
9ffd0468ed 🔥 删除无用 json 2023-08-15 17:25:47 +08:00
BTMuli
9cc2bb9402 🍱 添加新 bg 2023-08-15 17:25:30 +08:00
BTMuli
696fa0ffca 🍱 添加素材日历 json #33 2023-08-15 17:25:10 +08:00
BTMuli
456503b2e3 ✏️ fix typo 2023-08-15 17:23:16 +08:00
BTMuli
515ec72fec 🍱 更新武器 JSON #33 2023-08-15 15:19:26 +08:00
BTMuli
bd44e25f71 🍱 更新角色 JSON #33 2023-08-15 14:54:55 +08:00
BTMuli
41549aad96 🍱 添加遗漏名片资源 #33 2023-08-15 14:36:58 +08:00
BTMuli
a58d440173 🍱 添加枫丹 icon 2023-08-15 13:17:54 +08:00
BTMuli
87495518d1 🍱 更新名片JSON #33 2023-08-15 12:13:54 +08:00
BTMuli
7819746e35 🍱 更新成就相关资源 #33 2023-08-15 12:13:08 +08:00
BTMuli
bfd42e6caa 🔥 删除旧资源 2023-08-15 11:56:25 +08:00
BTMuli
de153497e5 🐛 降低 contentId 必要性 2023-08-13 15:51:42 +08:00
BTMuli
d025131034 ✏️ 优化卡牌类型,更新资源 #33 2023-08-13 15:44:53 +08:00
BTMuli
7593c45dc2 🍱 更新卡牌图像资源 #33 2023-08-13 15:42:28 +08:00
BTMuli
70c56c3501 🍱 更新角色、武器及部分名片、材料图像资源 #33 2023-08-05 19:30:39 +08:00
BTMuli
a937552c1e 点击外部可配置是否退出 2023-08-05 15:08:16 +08:00
BTMuli
00277f521e ⬆️ 适应 HUTAO API 更新深渊上传字段 2023-08-05 14:26:38 +08:00
BTMuli
7ab9898f97 🌱 初步完成实时便笺获取,但未处理 1034 2023-07-29 20:32:38 +08:00
BTMuli
ca6bbccd89 🔧 修改 ts 编译配置以解决 Qodana 报错 2023-07-29 14:42:58 +08:00
BTMuli
062e34e585 🐛 修复 Qodana 报错 2023-07-29 14:33:06 +08:00
BTMuli
d1fa7348c8 🐛 修复 Qodana eslint 报错 2023-07-29 13:09:45 +08:00
BTMuli
5d1a961c47 🐛 修复 Qodana 报错 2023-07-29 12:59:32 +08:00
BTMuli
7394d32578 ✏️ 修复 Qodana 报错 2023-07-29 12:47:38 +08:00
BTMuli
d960d21177 🐛 修复 Qodana 不运行的问题x3 2023-07-29 12:44:00 +08:00
BTMuli
28ab533060 🐛 修复 Qodana 不允许的问题 2023-07-29 12:39:51 +08:00
BTMuli
5cb45475f2 🐛 修复 Qodana 不允许的问题 2023-07-29 12:37:01 +08:00
BTMuli
36e99ba5d2 🐛 修复 Qdana 报错 2023-07-29 12:26:00 +08:00
BTMuli
4b407ea56e 🧑‍💻 适用IDE:Webstorm > 2023.2 2023-07-29 12:20:18 +08:00
BTMuli
09c1bd81fa 🌱 完成获取实时便笺请求 2023-07-26 14:14:26 +08:00
BTMuli
f0abb2ce55 🏷️ 添加实时便笺返回类型 2023-07-26 14:12:00 +08:00
BTMuli
709f210cea ♻️ 路径优化 2023-07-26 12:13:41 +08:00
BTMuli
eab72c1503 ️ Revert "♻️ 路由按需引入"
This reverts commit 07bc93ab39.
2023-07-26 11:51:57 +08:00
BTMuli
07bc93ab39 ♻️ 路由按需引入 2023-07-18 21:54:13 +08:00
BTMuli
cb98a236c6 🐛 换了一种渲染方式 #32 2023-07-17 15:04:58 +08:00
BTMuli
1b523a3eea 🐛 对于旅行者进行特殊处理 #31 2023-07-17 14:47:42 +08:00
BTMuli
b1dc27da32 🍱 补充缺漏数据 2023-07-17 14:41:40 +08:00
BTMuli
26989d455a 🙈 添加 pnpm-lock.yaml 2023-07-17 14:22:48 +08:00
BTMuli
a614865663 🐛 修复 banner 为 '' 时渲染错误 2023-07-15 18:44:11 +08:00
BTMuli
f083886a98 🔥 删除无用代码 2023-07-15 18:39:52 +08:00
BTMuli
12c71a176f ✏️ fix typo 2023-07-15 18:38:13 +08:00
BTMuli
2795870953 🐛 修复 ck 读取失败 2023-07-15 18:28:38 +08:00
BTMuli
05c6bde2f4 🐛 修复成就版本更新遗漏 2023-07-15 18:08:23 +08:00
BTMuli
cb68d22028 🌱 开写 v0.2.2 2023-07-15 18:00:20 +08:00
BTMuli
83bf263801 🔥 删除 submodule 2023-07-14 21:49:56 +08:00
BTMuli
c85c4128c6 👷 更新 pnpm 版本 2023-07-14 21:35:24 +08:00
BTMuli
1c951e8b56 🍱 更新 latest.json 2023-07-14 21:31:28 +08:00
BTMuli
00a223022d 🚀 v0.2.1 版本更新 2023-07-14 21:06:01 +08:00
BTMuli
a7fbd7c996 🍱 添加3.8卡牌资源 #30 2023-07-14 20:25:52 +08:00
BTMuli
7845e8619a 💄 调整最大宽度,优化表现 2023-07-06 23:48:04 +08:00
BTMuli
1c04ba1d44 ♻️ 优化更新逻辑 2023-07-06 17:33:13 +08:00
BTMuli
cabd6f269a 🔧 Nsis 语言配置变更 2023-07-06 16:37:30 +08:00
BTMuli
840f147bf2 🔧 添加镜像站 2023-07-06 16:03:15 +08:00
BTMuli
04e080904c 将 ID 跳转暴露出来,便于查看非官方帖 2023-07-06 12:07:01 +08:00
BTMuli
445cbf820e ✏️ 类型修正 nameCase → NameCase 2023-07-06 11:54:37 +08:00
BTMuli
3adee32a1e 🎨 数据上传后添加 snackbar ,优化表现 2023-07-06 11:31:05 +08:00
BTMuli
c5dafcfa73 🍱 添加 3.8 名片资源 #30 2023-07-05 08:22:53 +08:00
BTMuli
def1700d05 🍱 添加 3.8 成就数据 #30 2023-07-05 08:17:08 +08:00
BTMuli
8f9cc43db8 🎨 代码格式化 2023-07-03 14:30:03 +08:00
BTMuli
ed2a99c0e2 🔨 更新 script 2023-07-03 14:26:24 +08:00
BTMuli
ed4d5b2875 📝 更新 README 2023-07-02 20:51:38 +08:00
BTMuli
be0e1ed987 🧑‍💻 添加 .md 的 lint-staged 2023-07-02 20:51:24 +08:00
BTMuli
e1c8c20be2 🌱 角色持有 4/4 2023-07-02 20:46:51 +08:00
BTMuli
6582950a42 ⚰️ 清除冗余样式 2023-07-02 20:46:21 +08:00
BTMuli
7c262daf5e 🌱 草创队伍出场页,3/4 2023-07-02 20:46:04 +08:00
BTMuli
afdf1f5bee 素材日历支持分享 2023-07-02 19:16:54 +08:00
BTMuli
911a21e54d 💄 修正图标 2023-07-02 09:46:12 +08:00
BTMuli
3f39cc830a 🎨 优化逻辑,将 loading 暴露出来 2023-07-01 13:51:36 +08:00
BTMuli
b281a30634 ⬆️ 更新依赖 2023-07-01 12:17:10 +08:00
BTMuli
4cb9eedf59 👷 npm → pnpm 2023-07-01 12:10:58 +08:00
BTMuli
513d845660 🔧 解决 Volar 报错 2023-07-01 11:45:19 +08:00
BTMuli
970c3fcd48 🎨 现在 post 跟 anno 也能等 share 了,虽然实现丑了点x 2023-06-30 22:11:38 +08:00
BTMuli
830e590d91 🎨 优化分享图片逻辑,能够确认进度了 2023-06-30 21:55:04 +08:00
BTMuli
b83ff4674d 💄 优化样式 2023-06-30 21:29:54 +08:00
BTMuli
622aca5a55 🌱 初步完成分享功能 2.5/4 2023-06-30 21:18:04 +08:00
BTMuli
6f484fbb60 🌱 我直接 copy 2023-06-30 20:58:05 +08:00
BTMuli
b2bf41c312 ✏️ 类型修正 2023-06-30 20:53:51 +08:00
BTMuli
2207649a3c 💄 优化视觉效果 2023-06-30 20:48:07 +08:00
BTMuli
75dcf2a7eb 🌱 基本完成角色使用率页面,1/4 2023-06-30 20:46:42 +08:00
BTMuli
a05f31f4a5 🌱 数据有了,就差渲染了 2023-06-30 14:42:48 +08:00
BTMuli
e59164e729 🌱 继续完善页面 2023-06-30 11:08:49 +08:00
BTMuli
6a2c5473e8 🔧 调整 eslint rules 2023-06-30 10:21:51 +08:00
BTMuli
594a880494 💄 微调样式 2023-06-30 10:21:25 +08:00
BTMuli
be12e83be7 🐛 解决控制台报错 2023-06-29 16:01:11 +08:00
BTMuli
922ab7fa5d 🧑‍💻 添加 lint-staged 2023-06-29 15:57:24 +08:00
BTMuli
07b2a0e7a8 🔧 变更解析顺序 2023-06-29 15:48:01 +08:00
BTMuli
7b85c72134 💄 优化视觉表现 2023-06-29 14:56:34 +08:00
BTMuli
8a5aa97b36 完成天赋数据渲染 2023-06-29 11:30:44 +08:00
BTMuli
1f1c25c0bd 完成天赋数据获取 & 数据合并 2023-06-29 09:18:57 +08:00
BTMuli
2bf0b2db95 💄 配色变更 2023-06-28 22:06:50 +08:00
BTMuli
3f5b7a370e ♻️ 换了种实现方式 2023-06-28 21:47:18 +08:00
BTMuli
40ae3ffca5 🔥 清除无用文件&代码 2023-06-28 20:38:56 +08:00
BTMuli
69c630cd4f 💄 就这样吧 2023-06-28 20:36:34 +08:00
BTMuli
644f1b970f 💄 美化米游社咨讯页面 2023-06-28 17:05:43 +08:00
BTMuli
40b0a1e531 🐛 这边漏了 2023-06-28 15:36:03 +08:00
BTMuli
7433ae8271 🎨 类型拓展 2023-06-28 15:34:42 +08:00
BTMuli
e0008a367a 🐛 解决 eslint warn 2023-06-28 15:17:39 +08:00
BTMuli
4cd7153d79 🐛 修正样式 2023-06-28 15:17:09 +08:00
BTMuli
42f31c9322 💄 美化公告页 devBtn 样式 2023-06-28 11:30:04 +08:00
BTMuli
20a2329e10 🐛 修复 hover 时 border-radius 消失问题 2023-06-28 11:23:15 +08:00
BTMuli
c8963efc98 🌱 初步完成角色天赋获取 2023-06-28 11:01:45 +08:00
BTMuli
97314d131b ⚰️ 清除无用 todo 2023-06-28 10:03:33 +08:00
BTMuli
322b7f611f ⬆️ 更新子模块 2023-06-28 10:02:22 +08:00
BTMuli
99a6f38c5c ♻️ Mys 类型重构,优化目录结构 2023-06-27 21:01:24 +08:00
BTMuli
dc51257e6b ♻️ Hutao 类型重构,优化目录结构 2023-06-27 20:19:45 +08:00
BTMuli
c7c1b2a0a2 💄 初步美化,进一步得涉及代码重构了 2023-06-27 10:52:02 +08:00
BTMuli
0a6c1485e3 完成深渊数据上传 #22 2023-06-27 10:08:33 +08:00
BTMuli
8551a7951a ️ func revert 2023-06-27 09:42:27 +08:00
BTMuli
64e0b89ee5 ✏️ 类型修正 2023-06-27 09:23:33 +08:00
BTMuli
c1fcc022a9 🌱 草创深渊上传 2023-06-27 00:16:53 +08:00
BTMuli
7fa5a279de 🐛 解决控制台报错 2023-06-26 23:12:16 +08:00
BTMuli
691108333a 🎨 美化样式 2023-06-26 21:45:22 +08:00
BTMuli
2591e86e2e 🎨 代码格式化 2023-06-26 20:56:08 +08:00
BTMuli
8e8c01c40c 🔧 添加 css 排序规则 2023-06-26 20:53:29 +08:00
BTMuli
99451c955a 💄 美化样式 2023-06-26 19:37:27 +08:00
BTMuli
118445b765 ⚰️ 清除无用样式 2023-06-26 17:02:03 +08:00
BTMuli
0c923060b8 ♻️ 优化素材日历组件 2023-06-26 17:00:44 +08:00
BTMuli
05df2c0589 💄 美化滚动条样式 2023-06-26 15:43:40 +08:00
BTMuli
ff293d0006 🚚 重命名&美化 2023-06-26 15:24:47 +08:00
BTMuli
6b67953cfe 🔧 更新格式化配置 2023-06-25 16:58:37 +08:00
BTMuli
9f9a1de09f 🐛 修复部分 eslint 报错 2023-06-25 16:57:55 +08:00
BTMuli
7567bba147 🎨 代码格式化 2023-06-25 16:15:15 +08:00
BTMuli
7982649bbc 🔧 格式化配置 2023-06-25 16:14:39 +08:00
BTMuli
778e056970 💄 优化样式 2023-06-25 15:00:29 +08:00
BTMuli
26186f4498 💄 添加衣装数据 2023-06-23 23:16:01 +08:00
BTMuli
093971a1a1 ♻️ 优化代码,减少 dom 2023-06-23 22:41:58 +08:00
BTMuli
c7c3f36199 Merge remote-tracking branch 'origin/master' 2023-06-23 21:54:30 +08:00
BTMuli
e4b8f22ae6 Merge pull request #29 from BTMuli/dependabot/cargo/src-tauri/openssl-0.10.55
Bump openssl from 0.10.54 to 0.10.55 in /src-tauri
2023-06-23 00:10:52 +08:00
dependabot[bot]
ecd6a8e7d3 Bump openssl from 0.10.54 to 0.10.55 in /src-tauri
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.54 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.54...openssl-v0.10.55)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 22:58:22 +00:00
BTMuli
f9bb9d654e 🎨 优化路径 2023-06-21 19:57:55 +08:00
BTMuli
8206283140 💄 美化样式 2023-06-21 19:56:56 +08:00
BTMuli
072a31c31a 🐛 修复内容溢出 2023-06-21 18:20:41 +08:00
BTMuli
0b2ca7e3f1 🌱 干饭去了 2023-06-21 11:35:19 +08:00
BTMuli
82cca0963b 💄 美化样式 2023-06-21 10:59:00 +08:00
BTMuli
93fd197ddb 📝 更新文档 2023-06-21 10:28:56 +08:00
BTMuli
b54c7dc110 💄 美化侧边栏 2023-06-21 10:27:11 +08:00
BTMuli
49aa34457b 🌱 草创深渊数据库页面 2023-06-21 10:09:04 +08:00
BTMuli
4bb5a248a4 ♻️ 样式组件化 2023-06-20 21:28:23 +08:00
BTMuli
d1e778bcb7 💄 美化样式 2023-06-20 21:12:15 +08:00
BTMuli
babd9a3b09 ♻️ 素材日历 Overlay 材料组件优化 2023-06-20 20:56:59 +08:00
BTMuli
e1b8089386 ♻️ 选择跳转单提出来作为组件 2023-06-20 20:11:08 +08:00
BTMuli
829b755c3a 🌱 开写 v0.2.1 2023-06-20 19:10:45 +08:00
BTMuli
0efef62e06 ⬆️ 更新依赖 2023-06-20 18:52:46 +08:00
BTMuli
dca4fc41d1 📝 更正文档 2023-06-20 08:54:20 +08:00
BTMuli
2d2178266c 🍱 更新 latest.json 2023-06-20 08:52:42 +08:00
524 changed files with 47895 additions and 43240 deletions

5
.eslintignore Normal file
View File

@@ -0,0 +1,5 @@
# Build
dist
src-tauri/target
# Submodules
TGAssistant

View File

@@ -5,86 +5,35 @@ env:
extends:
- plugin:vue/vue3-recommended
- standard-with-typescript
overrides: []
- prettier
- plugin:prettier/recommended
parser: vue-eslint-parser
parserOptions:
parser: "@typescript-eslint/parser"
ecmaVersion: latest
sourceType: module
extraFileExtensions:
- .vue
parser: "@typescript-eslint/parser"
project:
- ./tsconfig.json
- ./tsconfig.node.json
- tsconfig.json
- tsconfig.node.json
globals:
TGApp: readonly
plugins:
- vue
- prettier
rules:
# some rules that not normal disabled
semi: off
quotes: off
# rules of standard
no-tabs:
# normal
array-callback-return: warn
# TypeScript
"@typescript-eslint/strict-boolean-expressions": off
"@typescript-eslint/consistent-type-assertions":
- warn
- allowIndentationTabs: false # 禁止使用 tab 缩进
comma-dangle:
- assertionStyle: angle-bracket # 使用尖括号
"@typescript-eslint/naming-convention":
- warn
- always-multiline # 多行时,尾随逗号必须存在
camelcase:
- warn
- properties: always # 对象属性名必须使用驼峰命名
array-callback-return:
- error
- allowImplicit: true
# rules of vue
vue/max-attributes-per-line:
- off
# vue/max-len: # 限制代码长度不得超过这个长度
# - warn
# - code: 80
vue/html-indent:
- warn
- 2 # Vue 标签缩进
- baseIndent: 1 # 最外面的template缩进
vue/component-name-in-template-casing:
- warn # 组件应使用PascalCase命名
- "PascalCase"
vue/multi-word-component-names:
- off # 组件名应该是由多个单词组成
# rules of typescript
"@typescript-eslint/strict-boolean-expressions":
- off
"@typescript-eslint/indent":
- warn
- 2 # js/ts缩进
"@typescript-eslint/semi":
- warn
- always # 语句末尾必须加分号
"@typescript-eslint/quotes":
- warn
- double # 引号使用双引号
"@typescript-eslint/comma-dangle":
- warn
- always-multiline
"@typescript-eslint/prefer-nullish-coalescing": off # on 会出现一些问题
"@typescript-eslint/space-before-function-paren":
- warn
- always # 函数名和括号之间必须有空格
"@typescript-eslint/ban-types":
- warn
- types:
Object: # 禁止使用 Object
message: "Use {} instead"
fixWith: "{}"
Boolean: # 禁止使用 Boolean
message: "Use boolean instead"
Number: # 禁止使用 Number
message: "Use number instead"
String: # 禁止使用 String
message: "Use string instead"
Symbol: # 禁止使用 Symbol
message: "Use symbol instead"
"@typescript-eslint/no-floating-promises":
- warn
- ignoreVoid: true # 忽略 void 类型
- selector: variableLike
format: ["camelCase", "UPPER_CASE", "PascalCase", "snake_case"]
leadingUnderscore: "allow"
trailingUnderscore: "allow"
"@typescript-eslint/no-non-null-assertion": warn
# Vue
"vue/multi-word-component-names": off

View File

@@ -20,6 +20,10 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
- name: setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.7
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Restore Cargo dependencies
@@ -34,15 +38,15 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('src-tauri/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Install frontend dependencies
run: npm install
run: pnpm install --frozen-lockfile
- 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 }}
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: v__VERSION__-alpha
releaseName: v__VERSION__-beta
releaseBody: https://github.com/BTMuli/Tauri.Genshin/releases/tag/v__VERSION__
releaseDraft: true
prerelease: false

View File

@@ -0,0 +1,27 @@
name: Qodana
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
qodana:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.7
- name: Install frontend dependencies
run: pnpm install --frozen-lockfile
- name: "Qodana Scan"
uses: JetBrains/qodana-action@v2022.3.4
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "TGAssistant"]
path = TGAssistant
url = https://github.com/BTMuli/TGAssistant

1
.husky/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
_

4
.husky/pre-commit Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged

View File

@@ -2,15 +2,10 @@
.idea
# Visual Studio Code Setting
.vscode
# Node Modules
node_modules
package-lock.json
# Tauri build
dist
src-tauri/target
# submodules
TGAssistant
# Docs
README.md
LICENSE
docs
# Pnpm
pnpm-lock.yaml

View File

@@ -1,7 +1,8 @@
"semi": true
"singleQuote": false
"printWidth": 120
"useTabs": true
"proseWrap": "preserve"
"bracketSpacing": true
"endOfLine": "crlf"
semi: true
singleQuote: false
printWidth: 100
useTabs: false
tabWidth: 2
bracketSpacing: true
endOfLine: auto
trailingComma: "all"

View File

@@ -3,4 +3,9 @@ extends:
- stylelint-order
- stylelint-declaration-block-no-ignored-properties
- stylelint-config-standard-vue
rules: {}
- stylelint-config-idiomatic-order
plugins:
- stylelint-prettier
- stylelint-order
rules:
"prettier/prettier": true

View File

@@ -1,39 +1,56 @@
---
Author: 目棃
Date: 2023-06-18
Date: 2023-09-08
Description: CHANGELOG
Update: 2023-06-19
Update: 2023-09-15
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-06-18 15:03:42 `
>
> 更新于 `2023-06-19 14:30:30`
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-09-08 09:45:17 `
>
> 更新于 `2023-09-15 19:43:50`
# CHANGELOG
## [0.2.0](https://github.com/BTMuli/Tauri.Genshin/releases/0.2.0) (2023-06-18)
## [0.3.1](https://github.com/BTMuli/TeyvatGuide/releases/v0.3.1) (2023-09-15)
### Feat
- 功能:完成原神战绩数据获取、分享
- 功能:完成角色列表数据获取、分享
- 功能:完成深渊数据获取、分享
- 组件:新建多种组件
- 功能:帖子&公告支持分享 [`5393dc1b`](https://github.com/BTMuli/Tauri.Genshin/commit/5393dc1b)
- 页面:帖子&公告页面样式调整
- 正式上架微软商店 <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"/>
</a>
- 首页:检测到版本更新时,会弹出更新页面
### Fix
- 卡牌:更新遗漏卡牌 [`2b768bbf`](https://github.com/BTMuli/Tauri.Genshin/commit/2b768bbf)
- 数据:`ltoken`失效时自动更新 [`6a4ab1f0`](https://github.com/BTMuli/Tauri.Genshin/commit/6a4ab1f0)
- 应用:修复自动更新无效问题 [`9eec6258`](https://github.com/BTMuli/Tauri.Genshin/commit/9eec6258)
- 应用:支持深渊数据备份&恢复 [`44f715f4`](https://github.com/BTMuli/Tauri.Genshin/commit/44f715f4)
- 数据库:修复更新时间 `dev` 开头仍然存储的问题 [`32e3548b`](https://github.com/BTMuli/Tauri.Genshin/commit/32e3548b)
- 修复祈愿记录获取失败的问题 [`#38`](https://github.com/BTMuli/TeyvatGuide/issues/38)
- 修复应用初始化加载数据库失败的问题 [`#40`](https://github.com/BTMuli/TeyvatGuide/issues/40)
- 修复 Github action 构建失败的问题
### Change
- 类型:更新部分类型定义
- 资源:成就系列图标目录变更
- 资源:字体文件变更 [`2ee48566`](https://github.com/BTMuli/Tauri.Genshin/commit/2ee48566)
- 应用:关闭 Tauri 自带的自动更新功能,依赖微软商店的更新机制
- 应用:更改应用名称,`Tauri.Genshin` -> `Teyvat Guide`
FullCommits: [`v0.1.6...v0.2.0`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.1.6...v0.2.0)
FullCommits: [`v0.3.0...v0.3.1`](https://github.com/BTMuli/TeyvatGuide/compare/v0.3.0...v0.3.1)
## [0.3.0](https://github.com/BTMuli/Tauri.Genshin/releases/v0.3.0) (2023-09-08)
### Feat
- 登录:支持扫码登录 closes #18
- 祈愿:支持祈愿记录获取
- 帖子:支持表情包解析
### Fix
- 祈愿UID 列表从数据库中读取,支持多账号祈愿记录
- 祈愿:修复导出路径错误
- 帖子:修复颜色解析错误
- 帖子:修复生成分享图时分隔线渲染错误
- 帖子:修复含有折叠框的帖子生成分享图时渲染错误
- 数据:添加缺失的角色数据
### Change
- 样式:应用样式调整
- 构建:更改打包配置,目前仅支持 Windows 平台msi
FullCommits: [`v0.2.3...v0.3.0`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.2.3...v0.3.0)

122
README.md
View File

@@ -1,87 +1,125 @@
---
Author: 目棃
Date: 2023-03-05
Description: 说明文档
Update: 2023-06-19
Date: 2023-03-05
Update: 2023-09-15
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-05 14:41:55`
>
> 更新于 `2023-06-19 14:30:03`
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-05 14:41:55`
>
> 更新于 `2023-09-15 19:07:25`
![](https://img.shields.io/github/last-commit/BTMuli/Tauri.Genshin?style=for-the-badge) ![](https://img.shields.io/github/commits-since/BTMuli/Tauri.Genshin/latest?include_prereleases&style=for-the-badge) ![](https://img.shields.io/github/license/BTMuli/Tauri.Genshin?style=for-the-badge)
![](https://img.shields.io/github/last-commit/BTMuli/TeyvatGuide?style=for-the-badge) ![](https://img.shields.io/github/commits-since/BTMuli/TeyvatGuide/latest?include_prereleases&style=for-the-badge)
# Tauri.Genshin
![](https://img.shields.io/badge/UIAF-v1.1-orange?style=for-the-badge) ![](https://img.shields.io/badge/UIGF-v2.3-red?style=for-the-badge) ![](https://img.shields.io/github/license/BTMuli/TeyvatGuide?style=for-the-badge)
Tauri 练手项目,子模块:[TGAssistant](https://github.com/BTMuli/TGAssistant)
# Teyvat Guide
## Release
基于 Tauri 的原神助手应用。
[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/BTMuli/Tauri.Genshin?include_prereleases&style=for-the-badge)](https://github.com/BTMuli/Tauri.Genshin/releases/latest)
A Genshin Impact assistant app based on Tauri.
## 技术栈
## 声明 / Declaration
本项目仅供个人学习交流使用。请勿用于任何商业或违法违规用途。
本项目涉及到的隐私数据,如 Cookie、Token 等,仅用于获取相关数据,不会被上传至任何服务器。
深渊页面的上传功能,采用的是 [Hutao API](https://hut.ao/zh/development/platform.html) 提供的接口,仅上传如下数据:
- 用户的游戏 UID
- 用户的深境螺旋记录
- 用户的角色信息及其装备的武器和圣遗物信息
该功能为用户主动上传,不会在用户不知情的情况下上传数据。
## 下载 / Download
> 程序已经通过微软商店审核,可以直接在商店下载。
<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"/>
</a>
> 不推荐通过 GitHub Release 下载,但仍保留了该功能。
[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/BTMuli/TeyvatGuide?include_prereleases&style=for-the-badge)](https://github.com/BTMuli/TeyvatGuide/releases/latest)
## 技术栈 / Tech Stack
- [Tauri](https://github.com/tauri-apps/tauri)
- [Vue3](https://github.com/vuejs/core)
- [Vite](https://github.com/vitejs/vite)
- [TypeScript](https://github.com/microsoft/TypeScript)
- [Vuetify](https://github.com/vuetifyjs/vuetify)
- [Echarts](https://echarts.apache.org/zh/index.html)
## 当前进度
## 功能 / Features
> 以下进度仅为开发进度,不代表最终版本
- 免登陆功能:
### 已完成
- [x] 当前卡池、近期活动、素材日历
- [x] 游戏内公告&活动获取
- [x] 米游社官方帖获取(支持通过 ID 获取)
- [x] 成就管理UIAF
- [x] 祈愿管理UIGF
- [x] 米游社咨讯获取&展示(支持多种游戏)
- [x] 游戏内公告&活动获取&展示
- [x] UIAF 成就数据导入、导出、备份、恢复
- [x] 首页素材日历、近期活动、限时祈愿可选展示
- [x] Wiki 页面草创(包含 GCG、角色、武器等
- [x] 浅色/深色主题切换
- [x] 应用更新检测
- [x] 用户 Cookie 获取、备份、恢复、刷新
- [x] 原神战绩数据获取、渲染、分享
- [x] 角色列表数据获取、渲染、分享
- [x] 深渊挑战数据获取、渲染、分享、备份、恢复
- 登陆功能:
### 计划中
- [x] 原神战绩数据获取
- [x] 角色列表数据获取
- [x] 螺旋深渊数据获取
- [x] 祈愿数据获取(近半年)
- [ ] UIGF 祈愿数据导入导出&展示
- [ ] 深渊数据上传
- [ ] 实时便笺数据获取
- [ ] 角色天赋数据获取
- Wiki 功能:
### 长期计划
- [x] 深渊数据库Hutao API
- [x] 角色数据库(开发中)
- [x] 武器数据库(开发中)
- [x] 卡牌数据库(开发中)
- [ ] Wiki 详情页
- [ ] 游戏资源更新
- 应用功能:
- [x] 应用更新检测
- [x] 浅色/深色主题切换
## 仓库概况
## 仓库概况 / Repo Stats
![Status](https://repobeats.axiom.co/api/embed/0edac184a5892f2520e83e3fe6519c4168db2e1b.svg "Repobeats analytics image")
## UI 参考
## UI 参考 / UI Reference
- [Snap.Hutao](https://github.com/DGP-Studio/Snap.Hutao)
- [StarWard](https://github.com/Scighost/Starward)
- [米游社](https://www.miyoushe.com/ys/)
- [原神](https://yuanshen.com/)
## 相关文档
## 相关文档 / Docs
+ Changelog: [CHANGELOG](CHANGELOG.md)
+ 资源来源:[项目资源说明](docs/项目资源说明.md)
+ UIAF[UIAF v1.1](docs/UIAF.md)
+ UIGF[UIGF v2.3](docs/UIGF.md)
- Changelog: [CHANGELOG](CHANGELOG.md)
- 资源来源:[项目资源说明](docs/项目资源说明.md)
- UIAF[UIAF v1.1](docs/UIAF.md)
- UIGF[UIGF v2.3](docs/UIGF.md)
## Contributors
## 贡献者 / Contributors
- [BTMuli](https://github.com/BTMuli)
- [舰队的偶像岛风酱!](https://github.com/frg2089)
- [jerry765](https://github.com/jerry765)
## License
## 协议 / License
项目基于 [MIT](LICENSE) 协议开源。
应用版本号遵循 [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/) 规范。
## 鸣谢 / Thanks
本项目在开发过程中参考了诸多相关开源项目,特此鸣谢。
- [UIGF Organization](https://github.com/UIGF-org)
- [Snap.Hutao](https://github.com/DGP-Studio/Snap.Hutao)
- [StarWard](https://github.com/Scighost/Starward)
- [xunkong](https://github.com/xunkong/xunkong)
- [gs-helper](https://github.com/vikiboss/gs-helper)
- [paimon-moe](https://github.com/MadeBaruna/paimon-moe)
- [Adachi-BOT](https://github.com/Arondight/Adachi-BOT)

Submodule TGAssistant deleted from b63789f61f

View File

@@ -6,7 +6,7 @@ Update: 2023-06-18
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-30 15:39:49`
>
>
> 更新于 `2023-06-18 15:02:31`
# CHANGELOG v0.1.x
@@ -113,7 +113,6 @@ FullCommits: [`v0.1.2 ~ v0.1.3`](https://github.com/BTMuli/Tauri.Genshin/compare
- 咨讯:支持多种游戏咨讯查看
- 米游社解析:添加 `mention` 类型解析
### Fix
- 首页:近期活动、限时祈愿结束处理

109
docs/CHANGELOG-v0.2.x.md Normal file
View File

@@ -0,0 +1,109 @@
---
Author: 目棃
Date: 2023-06-18
Description: CHANGELOG
Update: 2023-08-31
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-06-18 15:03:42 `
>
> 更新于 `2023-08-31 15:32:53`
# CHANGELOG v0.2.x
> 本文仅记录 v0.2.x 版本的更新内容
## [0.2.3](https://github.com/BTMuli/Tauri.Genshin/releases/v0.2.3) (2023-08-31)
### Feat
- 组件:实现并替换 `snackbar` `confirm` 组件,新组件采用函数式调用
- 功能:完成 UIGF 数据导入、导出、渲染 [#27](https://github.com/BTMuli/Tauri.Genshin/issues/27)
### Fix
- 资源:补充部分缺漏 contentId
- 分享:调整生成分享图的默认背景颜色
- 页面:`我的角色` 页面更新天赋数据后自动刷新页面
### Change
- 组件:首页卡池组件样式调整
- 依赖:更新 cargo 依赖
- 页面:调整 `原神战绩` 页面样式
- 页面:调整 `深渊记录` 页面样式,采用横版布局
- 功能:不再考虑 `实时便笺` 功能实现
- 图标:侧边栏部分图标变更
FullCommits: [`v0.2.2...v0.2.3`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.2.2...v0.2.3)
## [0.2.2](https://github.com/BTMuli/Tauri.Genshin/releases/v0.2.2) (2023-08-15)
### Feat
- 资源:更新游戏 4.0 版本相关资源 [#33](https://github.com/BTMuli/Tauri.Genshin/issues/33)
### Fix
- 深渊:修复渲染错误 [#32](https://github.com/BTMuli/Tauri.Genshin/issues/32)
- 深渊:修复图片缺失 [#31](https://github.com/BTMuli/Tauri.Genshin/issues/31)
### Change
- 深渊:适应 HutaoAPI 更新 [`00277f52`](https://github.com/BTMuli/Tauri.Genshin/commit/00277f52)
- 素材日历:变更数据来源
FullCommits: [`v0.2.1...v0.2.2`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.2.1...v0.2.2)
## [0.2.1](https://github.com/BTMuli/Tauri.Genshin/releases/v0.2.1) (2023-07-14)
### Feat
- 深渊: 新增深渊数据库页面,角色深渊数据支持数据上传 [`#22`](https://github.com/BTMuli/Tauri.Genshin/issues/22)
- 页面:角色详情新增角色衣装数据 [`26186f44`](https://github.com/BTMuli/Tauri.Genshin/commit/26186f44)
- 页面:角色详情新增角色天赋数据
- 功能:子页面:米游社帖子、游戏公告支持分享;首页素材日历支持分享
- 资源:更新 3.8 版本资源 [`#30`](https://github.com/BTMuli/Tauri.Genshin/issues/30)
- 功能:支持根据帖子 ID 跳转到帖子页面 [`04e08090`](https://github.com/BTMuli/Tauri.Genshin/commit/04e08090)
### Fix
- 样式:美化部分页面、组件样式
- 组件:优化素材日历组件 [`0c923060`](https://github.com/BTMuli/Tauri.Genshin/commit/0c923060)
- 样式:修复首页组件近期活动样式 [`20a2329e`](https://github.com/BTMuli/Tauri.Genshin/commit/20a2329e)
- 样式:美化米游社咨讯页面样式,增加部分数据
### Change
- 依赖:各依赖更新至最新版本
- 配置:优化 Eslint Prettier Stylelint Lint-Staged 等配置
- 重构:重构 Mys 插件数据类型及 Hutao 插件数据类型
Full Commits: [`v0.2.0...v0.2.1`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.2.0...v0.2.1)
## [0.2.0](https://github.com/BTMuli/Tauri.Genshin/releases/v0.2.0) (2023-06-19)
### Feat
- 功能:完成原神战绩数据获取、分享
- 功能:完成角色列表数据获取、分享
- 功能:完成深渊数据获取、分享
- 组件:新建多种组件
- 功能:帖子&公告支持分享 [`5393dc1b`](https://github.com/BTMuli/Tauri.Genshin/commit/5393dc1b)
- 页面:帖子&公告页面样式调整
### Fix
- 卡牌:更新遗漏卡牌 [`2b768bbf`](https://github.com/BTMuli/Tauri.Genshin/commit/2b768bbf)
- 数据:`ltoken`失效时自动更新 [`6a4ab1f0`](https://github.com/BTMuli/Tauri.Genshin/commit/6a4ab1f0)
- 应用:修复自动更新无效问题 [`9eec6258`](https://github.com/BTMuli/Tauri.Genshin/commit/9eec6258)
- 应用:支持深渊数据备份&恢复 [`44f715f4`](https://github.com/BTMuli/Tauri.Genshin/commit/44f715f4)
- 数据库:修复更新时间 `dev` 开头仍然存储的问题 [`32e3548b`](https://github.com/BTMuli/Tauri.Genshin/commit/32e3548b)
### Change
- 类型:更新部分类型定义
- 资源:成就系列图标目录变更
- 资源:字体文件变更 [`2ee48566`](https://github.com/BTMuli/Tauri.Genshin/commit/2ee48566)
Full Commits: [`v0.1.6...v0.2.0`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.1.6...v0.2.0)

View File

@@ -6,7 +6,7 @@ Update: 2023-03-07
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于`2023-03-07 14:17:11`
>
>
> 更新于 `2023-03-07 14:17:11`
> 本文档为 [`UIAF`](https://github.com/DGP-Studio/Snap.Genshin.Docs/blob/main/docs/development/UIAF.md) 的备份。
@@ -14,18 +14,19 @@ Update: 2023-03-07
# 统一可交换成就标准 v1.1
> Uniformed Interchangeable Achievement Format standard (UIAF)
## 前言
由于原神的第三方成就识别、导出、记录软件越来越多,在有了 UIGF 的经验后,
我们
* [babalae/genshin achievement toy](https://github.com/babalae/genshin-achievement-toy)
* [DGP Studio/Snap.Genshin](https://github.com/DGP-Studio/Snap.Genshin)
* [HolographicHat/genshin achievement export](https://github.com/HolographicHat/genshin-achievement-export)
* [YuehaiTeam/cocogoat](https://github.com/YuehaiTeam/cocogoat)
- [babalae/genshin achievement toy](https://github.com/babalae/genshin-achievement-toy)
- [DGP Studio/Snap.Genshin](https://github.com/DGP-Studio/Snap.Genshin)
- [HolographicHat/genshin achievement export](https://github.com/HolographicHat/genshin-achievement-export)
- [YuehaiTeam/cocogoat](https://github.com/YuehaiTeam/cocogoat)
(上述名称以字典顺序排序,不代表其他任何意义)
在此一起制定了此项标准旨在加强各个原神相关的App间的数据可交换性。
在此一起,制定了此项标准,旨在加强各个原神相关的 App 间的数据可交换性。
## 注意事项
@@ -61,10 +62,7 @@ Update: 2023-03-07
"description": "导出UNIX时间戳"
}
},
"required": [
"export_app",
"uiaf_version"
],
"required": ["export_app", "uiaf_version"],
"description": "包含导出方定义的基本信息"
},
"list": {
@@ -83,12 +81,7 @@ Update: 2023-03-07
"status": {
"type": "number",
"description": "完成状态",
"enum": [
0,
1,
2,
3
],
"enum": [0, 1, 2, 3],
"enumDesc": "ACHIEVEMENT_INVALID = 0; ACHIEVEMENT_UNFINISHED = 1; ACHIEVEMENT_FINISHED = 2;ACHIEVEMENT_POINT_TAKEN = 3;"
},
"timestamp": {
@@ -96,21 +89,13 @@ Update: 2023-03-07
"description": "完成的时间"
}
},
"required": [
"id",
"current",
"status",
"timestamp"
],
"required": ["id", "current", "status", "timestamp"],
"description": "表示一个成就"
},
"description": "包含完成或未完成的成就"
}
},
"required": [
"info",
"list"
]
"required": ["info", "list"]
}
```
@@ -118,46 +103,48 @@ Update: 2023-03-07
可以包含我们认可的以下字段
|字段名|值|说明|
|-|-|-|
|`export_timestamp`|导出UNIX时间戳||
|`export_app_version`|导出此份记录的App版本号||
|`uiaf_version`|所应用的 `UIAF` 的版本,包含此字段以防 `UIAF` 出现中断性变更时App无法处理||
| 字段名 | 值 | 说明 |
| -------------------- | --------------------------------------------------------------------------- | ---- |
| `export_timestamp` | 导出 UNIX 时间戳 | |
| `export_app_version` | 导出此份记录的 App 版本号 | |
| `uiaf_version` | 所应用的 `UIAF` 的版本,包含此字段以防 `UIAF` 出现中断性变更时App 无法处理 | |
#### `uiaf_version`
合法值
|值|说明|向下兼容的最低版本|
|-|-|-|
|`v1.0`|首个正式版本|v1.0|
|`v1.1`|`achievement` 中引入了 `status` 字段,指示成就的完成情况|v1.1|
| 值 | 说明 | 向下兼容的最低版本 |
| ------ | ----------------------------------------------------------- | ------------------ |
| `v1.0` | 首个正式版本 | v1.0 |
| `v1.1` | `achievement` 中引入了 `status` 字段,指示成就的完成情况 | v1.1 |
#### `export_app`
未实现导出支持的以 `-` 代替
|导出 App|`export_app` 的值|
|-|-|
|Empty|Empty|
| 导出 App | `export_app` 的值 |
| -------- | ----------------- |
| Empty | Empty |
### `achievement`
#### `id`
原神的成就在游戏内部带有Id对于扫描类导出软件在取得成就的外在表现形式呈现文本便可对应到内部的Id
原神的成就在游戏内部带有 Id对于扫描类导出软件在取得成就的外在表现形式呈现文本便可对应到内部的 Id
> 导入/导出软件应自行负责Id与呈现文本间的转换
> 导入/导出软件应自行负责 Id 与呈现文本间的转换
> 成就的信息可以从 [Dimbreath/GenshinData](https://github.com/Dimbreath/GenshinData) 库中获取
#### `timestamp`
* 对于识别成功的值直接将时间转换为对应的UNIX 时间戳(秒)
- 对于识别成功的值,直接将时间转换为对应的 UNIX 时间戳(秒)
* 对于识别失败的值,直接将时间设置为 `9999-12-31 23:59:59`253402271999
- 对于识别失败的值,直接将时间设置为 `9999-12-31 23:59:59`253402271999
#### `current`
* 对于识别成功的值,如 30/40 `current` 的值应设置为30
- 对于识别成功的值,如 30/40 `current` 的值应设置为 30
> 因为始终可以从原神的数据中找到目标达成值
* 对于识别失败的值,请将该字段的值设为 `0`
- 对于识别失败的值,请将该字段的值设为 `0`

View File

@@ -6,7 +6,7 @@ Update: 2023-04-07
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于`2023-04-07 19:51:40`
>
>
> 更新于 `2023-04-07 19:51:40`
> 本文档为 [`UIGF`](https://github.com/UIGF-org/UIGF-org.github.io/blob/main/docs/zh/standards/UIGF-pre-release.md) 的备份。
@@ -17,24 +17,26 @@ Update: 2023-04-07
## 更新记录
|版本|说明|兼容|
|-|-|-|
|`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` | 新增 `info.export_timestamp` 填充 UNIX 时间戳 | v2.2 and lower |
| `v2.3` | 扩充至非中文语境,使用 Json Schema 表述 | v2.3 and lower |
## Id
原神的祈愿记录物品内包含了一项较为特殊的字段: `id` ,该值在 1.3版本后加入
原神的祈愿记录物品内包含了一项较为特殊的字段: `id` ,该值在 1.3 版本后加入
所以**先前查询出的物品**若无特殊兼容性修改则不会包含相应的 `id`
App 导出 UIGF 时
* 需要确保每个物品的 `id` 的有效性。
* 从最后一个自带有效 `id` 的物品开始,向前(相对于时间)依次递减 `id` 的值,每次递减的值应保持为 `1`
- 需要确保每个物品的 `id` 的有效性。
- 从最后一个自带有效 `id` 的物品开始,向前(相对于时间)依次递减 `id` 的值,每次递减的值应保持为 `1`
导入 UIGF 到 App 时
* App不应假设所有的 `gacha_item` 都有有效的 `id`
* App应具有处理 `id` 字段为 `null`或 `` 空字符串的能力
- App 不应假设所有的 `gacha_item` 都有有效的 `id`
- App 应具有处理 `id` 字段为 `null`或 `` 空字符串的能力
## GachaType
@@ -44,19 +46,19 @@ App 导出 UIGF 时
### 映射关系
|`uigf_gacha_type`|`gacha_type`|
|-|-|
|`100`|`100`|
|`200`|`200`|
|`301`|`301` or `400`|
|`302`|`302`|
| `uigf_gacha_type` | `gacha_type` |
| ----------------- | -------------- |
| `100` | `100` |
| `200` | `200` |
| `301` | `301` or `400` |
| `302` | `302` |
## Json 格式
> Uniformed Interchangeable GachaLog Format standard of Json (UIGF.J)
Json 格式 由于 与从官方接口获取到的格式一致
更便于各App的导入与导出我们也在此做出规范
该格式应仅用于各App间的数据互通
> Json 格式 由于 与从官方接口获取到的格式一致
> 更便于各 App 的导入与导出,我们也在此做出规范
> 该格式应仅用于各 App 间的数据互通
### 导出的格式
@@ -107,11 +109,7 @@ Json 格式 由于 与从官方接口获取到的格式一致
}
},
"title": "Infomation",
"required": [
"uid",
"lang",
"uigf_version"
],
"required": ["uid", "lang", "uigf_version"],
"description": "包含导出方定义的基本信息"
},
"list": {
@@ -166,13 +164,7 @@ Json 格式 由于 与从官方接口获取到的格式一致
"description": "向接口查询时需要的 gacha_type"
}
},
"required": [
"gacha_type",
"name",
"id",
"uigf_gacha_type",
"time"
],
"required": ["gacha_type", "name", "id", "uigf_gacha_type", "time"],
"title": "Gacha Item",
"description": "祈愿物品"
},
@@ -180,10 +172,7 @@ Json 格式 由于 与从官方接口获取到的格式一致
"description": "物品列表"
}
},
"required": [
"info",
"list"
],
"required": ["info", "list"],
"description": "UIGF 根对象"
}
```
@@ -194,95 +183,95 @@ Json 格式 由于 与从官方接口获取到的格式一致
### 单元格的格式
* 在填充单元格内的数据时,应统一转换到 `String` 字符串类型后填入
- 在填充单元格内的数据时,应统一转换到 `String` 字符串类型后填入
### 表名及内容
|表名|内容|类型|是否必要|
|-|-|-|-|
|统计分析|统计分析内容等|任意|否|
|角色活动祈愿|`gacha_type` : `301 or 400` 的祈愿数据|祈愿表|否,但是应该导出|
|武器活动祈愿|`gacha_type` : `302` 的祈愿数据|祈愿表|否,但是应该导出|
|常驻祈愿|`gacha_type` : `200` 的祈愿数据|祈愿表|否,但是应该导出|
|新手祈愿|`gacha_type` : `100` 的祈愿数据|祈愿表|否,但是应该导出|
|原始数据|全部祈愿数据|数据表|**详见下方原始数据表结构说明**|
| 表名 | 内容 | 类型 | 是否必要 |
| ------------ | -------------------------------------- | ------ | ------------------------------ |
| 统计分析 | 统计分析内容等 | 任意 | 否 |
| 角色活动祈愿 | `gacha_type` : `301 or 400` 的祈愿数据 | 祈愿表 | 否,但是应该导出 |
| 武器活动祈愿 | `gacha_type` : `302` 的祈愿数据 | 祈愿表 | 否,但是应该导出 |
| 常驻祈愿 | `gacha_type` : `200` 的祈愿数据 | 祈愿表 | 否,但是应该导出 |
| 新手祈愿 | `gacha_type` : `100` 的祈愿数据 | 祈愿表 | 否,但是应该导出 |
| 原始数据 | 全部祈愿数据 | 数据表 | **详见下方原始数据表结构说明** |
* 表的顺序可以是任意的
* 可以隐藏部分表,防止用户随意篡改数据
* Sheet 的名称应与游戏内祈愿记录页面显示的名称保持一致
- 表的顺序可以是任意的
- 可以隐藏部分表,防止用户随意篡改数据
- Sheet 的名称应与游戏内祈愿记录页面显示的名称保持一致
> App间应依据 `原始数据表` 的内容,来进行数据互通
> App 间应依据 `原始数据表` 的内容,来进行数据互通
### 祈愿表结构
本节内容是为了规范兼容分析类App
本节内容是为了规范兼容分析类 App
* 表头对应的内容填充**顺序需要严格按照下方说明**排布
* **共享保底的卡池**按祈愿类型 (`gacha_type`) 区分
* 此类 `Sheet` 存在的目的,是为了便于用户观看与祈愿分析工具的分析
- 表头对应的内容填充**顺序需要严格按照下方说明**排布
- **共享保底的卡池**按祈愿类型 (`gacha_type`) 区分
- 此类 `Sheet` 存在的目的,是为了便于用户观看与祈愿分析工具的分析
|表头|内容|是否必要|
|-|-|-|
|时间|`yyyy-MM-dd HH:mm:ss` 格式的 `time` 时间|是|
|名称|`name`物品名称|是|
|物品类型|`item_type`|是|
|星级|`rank_type`|是|
|祈愿类型|`gacha_type` 的转义名称|是,尽管部分工具不会分析此项|
|...|...|否|
| 表头 | 内容 | 是否必要 |
| -------- | ---------------------------------------- | ---------------------------- |
| 时间 | `yyyy-MM-dd HH:mm:ss` 格式的 `time` 时间 | 是 |
| 名称 | `name`物品名称 | 是 |
| 物品类型 | `item_type` | 是 |
| 星级 | `rank_type` | 是 |
| 祈愿类型 | `gacha_type` 的转义名称 | 是,尽管部分工具不会分析此项 |
| ... | ... | 否 |
> 如果你认为有必要的话,可以额外增加其他表头,但请确保表头的前几列为上表规范的内容
> 表内的数据通常按祈愿Id升序或降序排列分析App不应假设表内的顺序为特定的升序与降序
> 表内的数据通常按祈愿 Id 升序或降序排列,分析 App 不应假设表内的顺序为特定的升序与降序
#### `gacha_type` 转义名称
|gacha_type|名称|
|-|-|
|100|新手祈愿|
|200|常驻祈愿|
|301|角色活动祈愿|
|400|角色活动祈愿-2|
|302|武器活动祈愿|
| gacha_type | 名称 |
| ---------- | -------------- |
| 100 | 新手祈愿 |
| 200 | 常驻祈愿 |
| 301 | 角色活动祈愿 |
| 400 | 角色活动祈愿-2 |
| 302 | 武器活动祈愿 |
#### 示例
|时间|名称|类别|星级|祈愿类型|...|
|-|-|-|-|-|-|
|2021-02-17 18:45:09|以理服人|武器|3|角色活动祈愿-2|...|
|...|...|...|...|...|...|
| 时间 | 名称 | 类别 | 星级 | 祈愿类型 | ... |
| ------------------- | -------- | ---- | ---- | -------------- | --- |
| 2021-02-17 18:45:09 | 以理服人 | 武器 | 3 | 角色活动祈愿-2 | ... |
| ... | ... | ... | ... | ... | ... |
### 原始数据表结构
导出时
* App 在导出时应尽可能询问用户是否应包含原始数据表
* 一旦在工作簿内包含了名为 `原始数据` 的表,即表示支持本格式
* 该表内的内容应严格按照本格式所述填充
* **表头的顺序需严格按照下表设置**。
* 现有的字段采用**字典顺序**递增排序,后续新增的字段依添加的顺序排在后侧。
* 若无特殊需求我们建议导出所有json 数据内包含的字段
- App 在导出时应尽可能询问用户是否应包含原始数据表
- 一旦在工作簿内包含了名为 `原始数据` 的表,即表示支持本格式
- 该表内的内容应严格按照本格式所述填充
- **表头的顺序需严格按照下表设置**。
- 现有的字段采用**字典顺序**递增排序,后续新增的字段依添加的顺序排在后侧。
- 若无特殊需求,我们建议导出所有 json 数据内包含的字段
导入时
* 强烈建议您编写不依赖于列的顺序位置便可实现导入的程序,以达到最大化的兼容。
* 如果省略了其中某些非必要字段的值,请保持表头存在,对应的列则空置。
- 强烈建议您编写不依赖于列的顺序位置便可实现导入的程序,以达到最大化的兼容。
- 如果省略了其中某些非必要字段的值,请保持表头存在,对应的列则空置。
|表头|是否必要|
|-|-|
|`count`|否,但是建议保留,不排除后续会有`count`不为1的情况|
|`gacha_type`|是|
|`id`|且大部分App按此字段排序数据|
|`item_id`|否,目前官方已经弃用了此字段|
|`item_type`|是|
|`lang`|否,但建议保留,以便国际化|
|`name`|是|
|`rank_type`|否,但建议保留,以便分析|
|`time`|否,但建议保留,以便分析|
|`uid`|否,但建议将选择权交予用户,保留以便分析|
|`uigf_gacha_type`|是|
| 表头 | 是否必要 |
| ----------------- | ---------------------------------------------------- |
| `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|
|...|...|...|...|...|...|...|...|...|...|...|
| 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 |
| ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |

View File

@@ -2,34 +2,51 @@
Author: 目棃
Date: 2023-03-10
Description: 项目资源说明
Update: 2023-05-19
Update: 2023-09-08
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于`2023-03-10 22:05:44`
>
> 更新于 `2023-05-19 23:02:49`
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-10 22:05:44`
>
> 更新于 `2023-09-08 09:44:56`
## 说明
本文档用于说明项目原始资源来源。
相关仓库:[TGAssistant](https://github.com/BTMuli/TGAssistant)
以下提及到的 JSON 数据均经过处理,并未直接作为项目 JSON 数据使用
> 如下 JSON 均经过处理,并未直接作为项目 JSON 数据使用。
>
> 如下图像均经过 Sharp 处理转换为 webp 格式,并未直接作为项目图像资源使用。
以下提及到的图像资源,除个人绘制 SVG 外,均经过 Sharp 处理转换为 webp 格式,并未直接作为项目图像资源使用。
相关仓库:
- [TGAssistant](https://github.com/BTMuli/TGAssistant):项目下游仓库,用于处理项目数据。
- [Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata):胡桃元数据仓库,项目大部分数据来源于此。
- [Snap.Static](https://github.com/DGP-Studio/Snap.Static):胡桃静态资源仓库,项目部分图像资源来源于此。
## 字体
[个人非商用授权](https://www.hanyi.com.cn/faq-doc-1) - 北京汉仪创新科技股份有限公司 版权所有
- 汉仪文黑-85W
- 汉仪文黑-55W
[SIL Open Font License 1.1](https://github.com/JetBrains/JetBrainsMono/blob/master/OFL.txt) - 开源字体,可用于商业用途
- JetBrains Mono
- JetBrains Mono Bold
## 侧边栏图标
- 顶部收缩按钮:`mdi:chevron-right` `mdi:chevron-left`
- 首页:[Fandom](https://genshin-impact.fandom.com/wiki/Genshin_Impact_Wiki)
- 公告:个人绘制 SVG
- 咨讯:[米游社](https://www.miyoushe.com)
- 成就:个人绘制 SVG
- 米游社:[米游社](https://www.miyoushe.com),其子目录同样来源于米游社
- 图鉴:[原神「盛典与慧业」内容专题页](https://webstatic.mihoyo.com/ys/event/e20210601blue_post/vert.html?page_sn=b3a3f395f09e4f8d&bbs_presentation_style=fullscreen&utm_source=bbs&utm_medium=ys&utm_campaign=pgc)
- GCG个人绘制 SVG
- 角色图鉴:[原神「盛典与慧业」内容专题页](https://webstatic.mihoyo.com/ys/event/e20210601blue_post/vert.html?page_sn=b3a3f395f09e4f8d&bbs_presentation_style=fullscreen&utm_source=bbs&utm_medium=ys&utm_campaign=pgc)
- 武器图鉴:[原神「盛典与慧业」内容专题页](https://webstatic.mihoyo.com/ys/event/e20210601blue_post/vert.html?page_sn=b3a3f395f09e4f8d&bbs_presentation_style=fullscreen&utm_source=bbs&utm_medium=ys&utm_campaign=pgc)
- 原神战绩Hoyolab
- 我的角色Hoyolab
- 深渊记录Hoyolab
- 祈愿记录Hoyolab
- 图鉴:Hoyolab其子目录图标同样来源于 Hoyolab
- 模式切换:`mdi-weather-night` `mdi-weather-sunny`
- 设置:个人绘制 SVG
@@ -39,71 +56,15 @@ Update: 2023-05-19
## 成就相关
### JSON 数据
- [Achievement|Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata/blob/main/Output/CHS/Achievement.json)
- [AchievementGoal|Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata/blob/main/Output/CHS/AchievementGoal.json)
- [achievement|Paimon.Moe](https://github.com/MadeBaruna/paimon-moe/blob/main/src/data/achievement/zh.json)
### 图像资源
- [36691244|米游社](https://www.miyoushe.com/ys/article/36691244)
- [成就系统|原神WIKI](https://wiki.biligame.com/ys/%E6%88%90%E5%B0%B1%E7%B3%BB%E7%BB%9F)
- [HoneyHunterWorld](https://genshin.honeyhunterworld.com/?lang=EN)
### 格式说明
关于 JSON 数据格式,参见 [Achievements.d.ts](https://github.com/BTMuli/Tauri.Genshin/blob/master/src/types/Achievement.d.ts)。
关于图像资源格式,涉及到的图像类型及格式如下:
- 原石图标:`source/material/原石.webp`256x25632位深度
- 成就系列图标:`source/achievementSeries/${series_id}.webp`256x25632位深度
- 成就系列对应名片图标:见 [名片相关](#名片相关)
参见 [TGAssistant](https://github.com/BTMuli/TGAssistant) 相关处理。
## 名片相关
### JSON 数据
为个人通过爬取 HoneyHunterWorld 生成的 JSON 数据,格式参见 [NameCard.d.ts](https://github.com/BTMuli/Tauri.Genshin/blob/master/src/types/NameCard.d.ts)。
参考:
- [HoneyHunterWorld](https://genshin.honeyhunterworld.com/?lang=CHS)
- [原神WIKI|名片](https://wiki.biligame.com/ys/%E5%90%8D%E7%89%87)
### 图像资源
- [HoneyHunterWorld](https://genshin.honeyhunterworld.com/?lang=EN)
### 格式说明
- 名片图标:`source/nameCard/icon/${card.name}.webp`250x16532位深度
- 名片bg`source/nameCard/bg/${card.name}.webp`880x14032位深度
- 名片profile`source/nameCard/profile/${card.name}.webp`840x40032位深度
### 格式说明
- 卡牌图标:`source/gcg/card/${cardType}/${cardName}.webp`420x72032位深度
参见 [TGAssistant](https://github.com/BTMuli/TGAssistant) 相关处理。
## 素材日历相关
### JSON 数据
为米游社观测枢 API 获取的 JSON 数据,格式参见 [Calendar.d.ts](https://github.com/BTMuli/Tauri.Genshin/blob/master/src/types/Calendar.d.ts)。
### 图像资源
- [HoneyHunterWorld](https://genshin.honeyhunterworld.com/?lang=EN)
- [原神](https://ys.mihoyo.com/main/map)
### 格式说明
> 角色&武器资源见 [Wiki](#wiki)。
- 素材图标:`source/calendar/material/${sourceName}.webp`128x12832位深度
- 星级图标:`icon/star/${star}.webp`133x2932位深度
- 地区图标: `icon/nation/${nation}.webp`256x25632位深度
参见 [TGAssistant](https://github.com/BTMuli/TGAssistant) 相关处理。
## Wiki
@@ -111,8 +72,8 @@ Update: 2023-05-19
> 转换格式略。
- 角色图鉴:[Avatar|Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata/blob/main/Output/CHS/Avatar.json)
- 武器图鉴:[Weapon|Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata/blob/main/Output/CHS/Weapon.json)
- 角色图鉴:[Avatar|Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata/blob/main/Genshin/CHS/Avatar.json)
- 武器图鉴:[Weapon|Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata/blob/main/Genshin/CHS/Weapon.json)
- 卡牌图鉴:
- [卡牌图鉴|米游社观测枢](https://bbs.mihoyo.com/ys/obc/channel/map/231)
- [GCG|Ambr.top](https://ambr.top/chs/gcg)
@@ -131,9 +92,8 @@ Update: 2023-05-19
>
> iconType 为 `normal` 或 `special`,目前只有 `normal`。
- 角色图鉴:`WIKI/character/icon/${avatarId}.webp`256x25632位深度
- 武器图鉴:`WIKI/weapon/icon/${weaponId}.webp`256x25632位深度
- 角色图鉴:`WIKI/character/icon/${avatarId}.webp`256x25632 位深度
- 武器图鉴:`WIKI/weapon/icon/${weaponId}.webp`256x25632 位深度
- 卡牌图鉴:
- 卡牌背景:`WIKI/GCG/${iconType}/${cardName}.webp`420x72032位深度
- 卡牌图标:`WIKI/GCG/bg.${bgType}.webp`420x72032位深度
- 卡牌背景:`WIKI/GCG/${iconType}/${cardName}.webp`420x72032 位深度
- 卡牌图标:`WIKI/GCG/bg.${bgType}.webp`420x72032 位深度

View File

@@ -1,14 +1,14 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/icon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tauri.Genshin</title>
</head>
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/icon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tauri.Genshin</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>

View File

@@ -1,11 +0,0 @@
{
"version": "0.1.6",
"notes": "See the assets to download this version and install.",
"pub_date": "2023-05-28T08:35:02.837Z",
"platforms": {
"windows-x86_64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVSWkdzekNNZjh1aHFFWURpcFZoU0Urb1NhRGRlazZQbkZLUUpUckJHQllYOGhQL01WNm1WSVh6SktkZURZVGd6SVJpYi81dG9aZTZ3ejB0YWJ3SjkvUW1xYTNwZTFxaHc0PQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNjg1MjYyODc4CWZpbGU6dGF1cmktZ2Vuc2hpbl8wLjEuNl94NjRfemgtQ04ubXNpLnppcAp6MVgwcVVXa3BwS0tjcHlkK05mYk9ManFTWmRhUTI5ajN2Qk9KYjJwRlR4OU9mbUszaWR0eFZDR2UyMEZDbHFNalhWcmtYYWh4M1FxTkowdzZjV1JBdz09Cg==",
"url": "https://github.com/BTMuli/Tauri.Genshin/releases/download/v0.1.6/tauri-genshin_0.1.6_x64_zh-CN.msi.zip"
}
}
}

6229
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,83 +1,101 @@
{
"name": "tauri-genshin",
"description": "A Tauri App Demo",
"private": true,
"version": "0.2.0",
"author": "BTMuli <bt-muli@outlook.com>",
"packageManager": "npm@9.6.6",
"scripts": {
"build": "tauri build",
"debug": "tauri build --debug",
"dev": "concurrently -k \"tauri dev --exit-on-panic\" \"vue-devtools\"",
"lint": "concurrently \"npm:lint:*(!fix)\"",
"lint:code": "eslint \"./src/**/*.{vue,ts,tsx,js,jsx}\"",
"lint:code:fix": "npm run lint:code -- --fix",
"lint:fix": "concurrently \"npm:lint:*:fix\"",
"lint:style": "stylelint \"./src/**/*.{vue,css}\"",
"lint:style:fix": "npm run lint:style -- --fix",
"prettier": "prettier \"**/*.{json,yml,html}\" --write",
"tauri": "tauri",
"update:submodule": "git submodule update --remote --recursive",
"vite:dev": "vite dev",
"vite:build": "vite build"
},
"bugs": {
"url": "https://github.com/BTMuli/Tauri.Genshin/issues"
},
"directories": {
"doc": "docs"
},
"homepage": "https://github.com/BTMuli/Tauri.Genshin#readme",
"keywords": [
"Tauri",
"Node",
"Typescript",
"Vite",
"Genshin Impact",
"Vuetify"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/BTMuli/Tauri.Genshin.git"
},
"dependencies": {
"@mdi/font": "7.2.96",
"@tauri-apps/api": "^1.3.0",
"clipboard": "^2.0.11",
"html2canvas": "^1.4.1",
"js-md5": "^0.7.3",
"pinia": "^2.0.36",
"pinia-plugin-persistedstate": "^3.1.0",
"tauri-plugin-sql-api": "github:tauri-apps/tauri-plugin-sql",
"vue": "^3.3.1",
"vue-json-viewer": "^3.0.4",
"vue-router": "^4.1.6",
"vuetify": "^3.2.3"
},
"devDependencies": {
"@tauri-apps/cli": "^1.3.1",
"@types/js-md5": "^0.7.0",
"@types/node": "^20.1.2",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"@vitejs/plugin-vue": "^4.2.2",
"@vue/devtools": "^6.5.0",
"concurrently": "^8.0.1",
"eslint": "^8.40.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.12.0",
"prettier": "2.8.8",
"stylelint": "^15.6.1",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
"stylelint-high-performance-animation": "^1.8.0",
"stylelint-order": "^6.0.3",
"typescript": "^5.0.4",
"vite": "^4.3.9",
"vite-plugin-vuetify": "^1.0.2"
}
"name": "TeyvatGuide",
"description": "A Genshin Tool build with Tauri",
"private": true,
"version": "0.3.1",
"author": "BTMuli <bt-muli@outlook.com>",
"packageManager": "pnpm@8.7.5",
"scripts": {
"build": "tauri build",
"debug": "tauri build --debug",
"dev": "concurrently -k \"tauri dev --exit-on-panic\" \"vue-devtools\"",
"lint": "concurrently \"pnpm:lint:*(!fix)\"",
"lint:fix": "concurrently \"pnpm:lint:*:fix\"",
"lint:code": "eslint .",
"lint:code:fix": "eslint . --fix",
"lint:style": "stylelint \"src/**/*.{vue,css}\"",
"lint:style:fix": "pnpm lint:style --fix",
"prettier": "prettier . --write",
"tauri": "tauri",
"tauri:icon": "tauri icon ./public/icon.png",
"vite:dev": "vite dev",
"vite:build": "vite build",
"prepare": "husky install"
},
"lint-staged": {
"*.{ts,vue}": "eslint --fix",
"*.{vue,css}": "stylelint --fix",
"*.{ts,vue,css,yml,json,md}": "prettier --write"
},
"bugs": {
"url": "https://github.com/BTMuli/TeyvatGuide/issues"
},
"directories": {
"doc": "docs"
},
"homepage": "https://github.com/BTMuli/TeyvatGuide#readme",
"keywords": [
"Tauri",
"Node",
"Typescript",
"Vite",
"Genshin Impact",
"Vuetify"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/BTMuli/TeyvatGuide.git"
},
"dependencies": {
"@mdi/font": "7.2.96",
"@tauri-apps/api": "^1.4.0",
"clipboard": "^2.0.11",
"color-convert": "^2.0.1",
"echarts": "^5.4.3",
"html2canvas": "^1.4.1",
"js-md5": "^0.7.3",
"pinia": "^2.1.6",
"pinia-plugin-persistedstate": "^3.2.0",
"qrcode.vue": "^3.4.1",
"tauri-plugin-sql-api": "https://github.com/tauri-apps/tauri-plugin-sql#v1",
"vue": "^3.3.4",
"vue-echarts": "^6.6.1",
"vue-json-viewer": "^3.0.4",
"vue-router": "^4.2.4",
"vuetify": "^3.3.15",
"wcag-color": "^1.1.1"
},
"devDependencies": {
"@tauri-apps/cli": "^1.4.0",
"@types/color-convert": "^2.0.0",
"@types/js-md5": "^0.7.0",
"@types/node": "^20.5.7",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"@vitejs/plugin-vue": "^4.3.4",
"@vue/devtools": "^6.5.0",
"concurrently": "^8.2.1",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^39.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.0.2",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.17.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"prettier": "3.0.3",
"stylelint": "^15.10.3",
"stylelint-config-idiomatic-order": "^9.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.4.9",
"vite-plugin-vuetify": "^1.0.2"
}
}

5083
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Some files were not shown because too many files have changed in this diff Show More