Update package name for easier use

This commit is contained in:
CptSpaceToaster
2019-10-12 13:42:55 -04:00
parent 5830c35f35
commit 94cfed900d
13 changed files with 28 additions and 90 deletions

View File

@ -1,43 +1,2 @@
import { Card as BaseCard } from './classes/card';
import { Meta as BaseMeta } from './classes/meta';
import { Set as BaseSet } from './classes/set';
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 interface IResistance {
type: string;
value: string;
}
export interface IWeakness {
type: string;
value: string;
}
}
import * as PokemonTCG from './sdk';
export { PokemonTCG };