hensei-web/types/GridCharacter.d.ts
Justin Edmund 0ebd1a6c66
Update awakening (#315)
* 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
2023-06-19 00:46:03 -07:00

14 lines
284 B
TypeScript

interface GridCharacter {
id: string
position: number
object: Character
uncap_level: number
transcendence_step: number
over_mastery: CharacterOverMastery
aetherial_mastery: ExtendedMastery
awakening: {
type: Awakening
level: number
}
perpetuity: boolean
}