feat: automated most of operator config detection

This commit is contained in:
Haoyu Xu
2025-05-06 14:04:17 +08:00
parent ea7947d900
commit f3f84068da
89 changed files with 667 additions and 849 deletions

View File

@@ -77,7 +77,7 @@
{
"codename": {
"zh-CN": "新约能天使",
"en-US": "Exusiai the New Covenant"
"en-US": "Exusiai the New Covenant"
},
"type": "operator",
"link": "https://ak.hypergryph.com/archive/dynamicCompile/202504941.html",
@@ -703,4 +703,4 @@
}
]
}
}
}

View File

@@ -46,3 +46,21 @@ export interface OperatorConfig extends OfficialInfoOperatorConfig {
export type OfficialInfoMapping = {
[id: string]: OperatorConfig
}
export type OfficialInfoV2 = {
length: number
dates: string[]
info: OfficialInfoOperatorConfigV2[]
}
export type OfficialInfoOperatorConfigV2 = {
operatorName: string
skinName: {
'zh-CN': string
'en-US': string
}
type: 'operator' | 'skin'
link: string
id: number
date: string
}