Basic Working Product

The QueryBuilder is now being used to get data for each different class i.e. Card, Set, Type, SuperType and SubType
This commit is contained in:
Bradyn Glines
2018-01-20 16:45:17 -07:00
parent 92c2dea62f
commit 94a0da5aaa
17 changed files with 158 additions and 42 deletions

View File

@ -29,9 +29,4 @@ export interface ICard {
nationalPokedexNumber: number;
ancientTrait: string;
evolvesFrom: string;
resource(): string;
find(id: number): ICard;
all(): ICard[];
where(args: object): ICard;
}

View File

@ -1,4 +1,4 @@
export interface IQuery {
name: string;
value: string;
value: string | number;
}

View File

@ -8,9 +8,4 @@ export interface ISet {
releaseDate: string;
symbolUrl: string;
ptcgoCode: string;
resource(): string;
find(id: number): ISet;
all(): ISet[];
where(args: object): ISet;
}

View File

@ -1,4 +1,3 @@
export interface ISubType {
resource(): string;
all(): ISubType[];
types: string[];
}

View File

@ -1,4 +1,3 @@
export interface ISuperType {
resource(): string;
all(): ISuperType[];
types: string[];
}