From 43c1987a837016658096738d38a97806a2ab27eb Mon Sep 17 00:00:00 2001 From: Tee Date: Thu, 25 Feb 2021 22:11:17 -0500 Subject: [PATCH] Refactor card interface names from merge --- src/interfaces/card.ts | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/interfaces/card.ts b/src/interfaces/card.ts index 6c5ff53..f8d8cba 100644 --- a/src/interfaces/card.ts +++ b/src/interfaces/card.ts @@ -1,18 +1,18 @@ -import { IAbility } from './ability'; -import { IAncientTrait } from './ancientTrait'; -import { IAttack } from './attack'; -import { IResistance } from './resistance'; -import { IWeakness } from './weakness'; +import { Ability } from './ability'; +import { AncientTrait } from './ancientTrait'; +import { Attack } from './attack'; +import { Resistance } from './resistance'; +import { Weakness } from './weakness'; import { ICardImage } from './image'; import { ILegality } from './legality'; -import { ISet } from './set'; +import { Set } from './set'; import { ITCGPlayer } from './tcgplayer'; -export interface ICard { - abilities: IAbility[]; +export interface Card { + abilities: Ability[]; artist: string; - ancientTrait?: IAncientTrait; - attacks: IAttack[]; + ancientTrait?: AncientTrait; + attacks: Attack[]; convertedRetreatCost: number; evolvesFrom: string; flavorText: string; @@ -24,13 +24,13 @@ export interface ICard { nationalPokedexNumbers: number[]; number: string; rarity: string; - resistances: IResistance[]; + resistances: Resistance[]; retreatCost: string[]; rules: string[]; - set: ISet; + set: Set; subtypes: string[]; supertype: string; tcgplayer: ITCGPlayer | undefined; types: string[]; - weaknesses: IWeakness[]; + weaknesses: Weakness[]; } \ No newline at end of file