* Add Awakening type and remove old defs We remove the flat list of awakening data, as we will be pulling data from the database * Update types to use new Awakening type * Update WeaponUnit for Grand weapon awakenings * Update object modals We needed to update CharacterModal and WeaponModal to display awakenings from the new data format. However, the component used (`SelectWithInput`) was tied to AX Skills in a way that would take exponentially more time to resolve. Instead, we forked `SelectWithInput` into `AwakeningSelectWithInput` and did our work there. `AwakeningSelect` was found to be redundant, so it was removed. * Update hovercards
11 lines
161 B
TypeScript
11 lines
161 B
TypeScript
interface Awakening {
|
|
id: string
|
|
name: {
|
|
[key: string]: string
|
|
en: string
|
|
jp: string
|
|
}
|
|
slug: string
|
|
object_type?: string
|
|
order: number
|
|
}
|