mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-03 06:55:06 +08:00
feat(config): 配置文件的导入\读取\删除草创
* 后续只保留 appData,userData 默认清空
This commit is contained in:
10859
src/data/app/achievements.json
Normal file
10859
src/data/app/achievements.json
Normal file
File diff suppressed because it is too large
Load Diff
10
src/data/app/index.ts
Normal file
10
src/data/app/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import achievements from "./achievements.json?raw";
|
||||
|
||||
const appData = [
|
||||
{
|
||||
name: "achievements.json",
|
||||
data: achievements,
|
||||
},
|
||||
];
|
||||
|
||||
export default appData;
|
||||
8
src/data/index.ts
Normal file
8
src/data/index.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import appData from "./app";
|
||||
import userDate from "./user";
|
||||
|
||||
const TauriGenshinData = {
|
||||
appData: appData,
|
||||
userData: userDate,
|
||||
};
|
||||
export default TauriGenshinData;
|
||||
5302
src/data/user/achievements.json
Normal file
5302
src/data/user/achievements.json
Normal file
File diff suppressed because it is too large
Load Diff
10
src/data/user/index.ts
Normal file
10
src/data/user/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import achievements from "./achievements.json?raw";
|
||||
|
||||
const userDate = [
|
||||
{
|
||||
name: "achievements.json",
|
||||
data: achievements,
|
||||
},
|
||||
];
|
||||
|
||||
export default userDate;
|
||||
Reference in New Issue
Block a user