Update package

This commit is contained in:
CptSpaceToaster
2019-07-06 16:59:29 -04:00
parent 415e3f1f94
commit 26dce235a6
13 changed files with 478 additions and 406 deletions

View File

@ -1,27 +1,43 @@
import { Card as BaseCard } from './classes/card';
import { Ability as BaseAbility } from './classes/ability';
import { Attack as BaseAttack } from './classes/attack';
import { Meta as BaseMeta } from './classes/meta';
import { Set as BaseSet } from './classes/set';
import { Type as BaseType } from './classes/type';
export namespace PokemonTCG {
export const Card = BaseCard;
export type Card = BaseCard;
export const Meta = BaseMeta;
export type Meta = BaseMeta;
export const Set = BaseSet;
export type Set = BaseSet;
export interface IAbility {
name: string;
text: string;
type: string;
}
export interface IAttack {
convertedEnergyCost: string;
cost: string[];
damage: string;
name: string;
text: string;
}
export interface IQuery {
name: string;
value: string | number;
}
export const Card = BaseCard;
export type Card = BaseCard;
export interface IResistance {
type: string;
value: string;
}
export const Ability = BaseAbility;
export type Ability = BaseAbility;
export const Attack = BaseAttack;
export type Attack = BaseAttack;
export const Set = BaseSet;
export type Set = BaseSet;
export const Type = BaseType;
export type Type = BaseType;
export interface IWeakness {
type: string;
value: string;
}
}