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:
@ -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;
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
export interface IQuery {
|
||||
name: string;
|
||||
value: string;
|
||||
value: string | number;
|
||||
}
|
||||
@ -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;
|
||||
}
|
||||
@ -1,4 +1,3 @@
|
||||
export interface ISubType {
|
||||
resource(): string;
|
||||
all(): ISubType[];
|
||||
types: string[];
|
||||
}
|
||||
@ -1,4 +1,3 @@
|
||||
export interface ISuperType {
|
||||
resource(): string;
|
||||
all(): ISuperType[];
|
||||
types: string[];
|
||||
}
|
||||
Reference in New Issue
Block a user