Commit Graph

49 Commits

Author SHA1 Message Date
Tee
33116796dd Export individual card service functions 2021-03-11 08:02:32 -05:00
Tee
1ab1add58a Add ampersand and parameter conditions in client.ts 2021-03-11 07:59:21 -05:00
Tee
ba2ce6e79b Use optional property syntax for ILegality 2021-03-04 07:45:38 -05:00
Tee
4238438adb Use optional property syntax in TCGPlayer interface 2021-03-01 22:01:47 -05:00
Tee
0d00d4f984 Refactor Resistance and Weakness imports 2021-03-01 22:01:24 -05:00
Tee
979a6367b8 Refactor SDK imports 2021-03-01 22:01:12 -05:00
Tee
b12e306c73 Remove API service interface 2021-03-01 22:00:14 -05:00
Tee
320d62dd41 Extend shared stats interface to weakness and resistance 2021-03-01 21:31:52 -05:00
Tee
e7d36cc5a1 Use default exports for Set service methods instead of classes 2021-02-28 23:45:36 -05:00
Tee
fb33ea3617 Use default exports for service methods instead of classes 2021-02-28 23:44:13 -05:00
Tee
aa4179d523 Remove card and set classes 2021-02-28 22:55:20 -05:00
Tee
7f71588138 Use private client methods in services 2021-02-28 22:27:48 -05:00
Tee
537a236b42 Create private singleton class for Client 2021-02-27 23:06:15 -05:00
Tee
e588d35dd9 Remove QueryBuilder 2021-02-26 21:24:51 -05:00
Tee
5f19f8227e Add SetService 2021-02-26 19:56:41 -05:00
Tee
a7afa92184 Use generic APIService implemention for CardService 2021-02-26 10:58:05 -05:00
Tee
2f186599dd Refactor APIService into generic interface 2021-02-26 10:56:55 -05:00
Tee
f30b2313fe Remove QueryBuilder abstraction from CardService 2021-02-26 08:57:15 -05:00
Tee
4006272f4d Refactor newly merged interface names 2021-02-25 22:19:25 -05:00
Tee
43c1987a83 Refactor card interface names from merge 2021-02-25 22:11:17 -05:00
Tee
e8201df35f Transfer API information to client for ownership 2021-02-25 22:09:07 -05:00
Tee
363bcfd321 Refactor query interface imports 2021-02-25 22:08:38 -05:00
Tee
657605eaa0 Add API service interface 2021-02-25 22:08:02 -05:00
Tee
669e6db54c Refactor interface names 2021-02-25 22:02:32 -05:00
Tee
ade8606e8f Merge initial v2 changes 2021-02-25 20:47:55 -05:00
239b18bcd3 Initial update to v2 data structures 2021-02-22 12:05:03 -05:00
Tee
cec9ea8c5e Move API constants to client.ts for ownership 2021-02-19 19:29:44 -05:00
Tee
9b6acd5b9a Remove API constants from sdk.ts 2021-02-19 19:29:16 -05:00
668c6740e7 Moved tests and updated Set 2020-11-17 08:12:12 -06:00
239d1b2831 Added ancientTrait to Card; updated README 2020-11-15 20:54:09 -06:00
ef53f9f99c Marked Promise methods as async; const correctness; return reject Promise, if failed. 2020-11-15 20:29:28 -06:00
9ef254cde4 remove unwanted console.error 2020-07-04 10:57:19 -04:00
94cfed900d Update package name for easier use 2019-10-12 13:44:01 -04:00
795aa22ec2 fix(5): Cant search for terms containing ampersand 2019-10-02 13:51:43 +10:00
a53c961506 Test SDK without the "single" parameter; Small cleanup; Allow Client.get to accept a string for ID path parameter 2019-08-07 19:27:24 -05:00
682f90c49a Allow Client.get to accept a string for ID path parameter 2019-08-03 09:22:35 +10:00
93535ff9ad Small cleanup 2019-08-02 19:06:59 +10:00
609f583c4e Test SDK without the "single" parameter 2019-08-02 13:21:44 +10:00
6b39166105 Changing static public function for QueryBuilder to private 2019-07-07 21:21:16 -05:00
26dce235a6 Update package 2019-07-06 17:00:29 -04:00
0de4a8384d Update set definition 2019-07-06 15:53:51 -04:00
a084077543 Update card definition 2019-07-06 15:53:17 -04:00
7ad922eb19 IQuery Interface
Added the definition to the IQuery interface to be used under the PokemonTCG namespace
2018-01-21 17:10:39 -07:00
5c1ff275f6 Updated Readme and Index
Testing exporting a proper interface with the namespace
2018-01-21 16:59:58 -07:00
599b12daf8 Client Tests and Updates
Added client tests and updated the client class to use a better URL to get the data across all classes
2018-01-21 16:44:07 -07:00
643a54d40d Test Coverage
Added test coverage for all of the QueryBuilder methods which are the foundation to all of the other classes methods like Card.
2018-01-21 11:12:47 -07:00
4159cd65fe README and Interfaces
Updated the IType interface and the README file that includes installation instructions and usage examples
2018-01-20 17:31:59 -07:00
94a0da5aaa Basic Working Product
The QueryBuilder is now being used to get data for each different class i.e. Card, Set, Type, SuperType and SubType
2018-01-20 16:45:17 -07:00
92c2dea62f Initial commit.
Classes and interfaces in place. The QueryBuilder generics are still a work in progress
2018-01-18 17:19:41 -07:00