Update optional properties for card interfaces
This commit is contained in:
@ -1,36 +1,37 @@
|
||||
import { IAbility } from '../interfaces/ability';
|
||||
import { IAncientTrait } from './ancientTrait';
|
||||
import { IAttack } from '../interfaces/attack';
|
||||
import { IResistance } from '../interfaces/resistance';
|
||||
import { IWeakness } from '../interfaces/weakness';
|
||||
import { ICardImage } from './image';
|
||||
import { ILegality } from './legality';
|
||||
import { ISet } from './set';
|
||||
import { ITCGPlayer } from './tcgplayer';
|
||||
import { IAbility } from "../interfaces/ability";
|
||||
import { IAncientTrait } from "./ancientTrait";
|
||||
import { IAttack } from "../interfaces/attack";
|
||||
import { IResistance } from "../interfaces/resistance";
|
||||
import { IWeakness } from "../interfaces/weakness";
|
||||
import { ICardImage } from "./image";
|
||||
import { ILegality } from "./legality";
|
||||
import { ISet } from "./set";
|
||||
import { ITCGPlayer } from "./tcgplayer";
|
||||
|
||||
export interface ICard {
|
||||
abilities: IAbility[];
|
||||
artist: string;
|
||||
ancientTrait?: IAncientTrait;
|
||||
attacks: IAttack[];
|
||||
convertedRetreatCost: number;
|
||||
evolvesFrom: string;
|
||||
flavorText: string;
|
||||
hp: string;
|
||||
id: string;
|
||||
images: ICardImage;
|
||||
legalities: ILegality;
|
||||
name: string;
|
||||
nationalPokedexNumbers: number[];
|
||||
number: string;
|
||||
rarity: string;
|
||||
resistances: IResistance[];
|
||||
retreatCost: string[];
|
||||
rules: string[];
|
||||
set: ISet;
|
||||
subtypes: string[];
|
||||
supertype: string;
|
||||
tcgplayer: ITCGPlayer | undefined;
|
||||
types: string[];
|
||||
weaknesses: IWeakness[];
|
||||
}
|
||||
subtypes: string[];
|
||||
hp?: string;
|
||||
types?: string[];
|
||||
evolesFrom?: string;
|
||||
evolvesTo?: string[];
|
||||
rules?: string[];
|
||||
ancientTrait?: IAncientTrait;
|
||||
abilities?: IAbility[];
|
||||
attacks?: IAttack[];
|
||||
weaknesses?: IWeakness[];
|
||||
resistances?: IResistance[];
|
||||
retreatCost?: string[];
|
||||
convertedRetreatCost?: number;
|
||||
set: ISet;
|
||||
number: string;
|
||||
artist?: string;
|
||||
rarity: string;
|
||||
flavorText?: string;
|
||||
nationalPokedexNumbers?: number[];
|
||||
legalities: ILegality;
|
||||
images: ICardImage;
|
||||
tcgplayer?: ITCGPlayer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user