feat: automated most of operator config detection
This commit is contained in:
@@ -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 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user