import { WolfState , SlotData , AbilityStatus } from '../types' ; export const getSlotDataByAbilityName = ( state , abilityName ) : SlotData [ ] => { return state . slotData . filter ( ( slot ) => slot . abilityName === abilityName ) ; } ; export const getAbilityStatus = ( state ) : AbilityStatus [ ] => state . abilityStatus ;