1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-08-15 01:41:59 +00:00

Compare commits

...

252 Commits

Author SHA1 Message Date
62f6671b63 feat: Add Mythical Island set (#624)
* feat: Add A1a

Signed-off-by: Avior <git@avior.me>

* fix: test failing

Signed-off-by: Avior <git@avior.me>

---------

Signed-off-by: Avior <git@avior.me>
2024-12-19 01:16:28 +01:00
87d9b16fb8 chore: Add error reporting (#617)
* chore: Add error reporting

Signed-off-by: Avior <git@avior.me>

* fix: test issues

Signed-off-by: Avior <git@avior.me>

---------

Signed-off-by: Avior <git@avior.me>
2024-12-12 00:20:58 +01:00
0616b98038 fix: variable not found 2024-12-10 13:47:43 +01:00
Duncan
a8f8b29340 fix: Add missing reverse holo variants to SV03 Obsidian Flames holo rare cards (#611) 2024-12-10 13:38:12 +01:00
Duncan
2813d77f92 fix: Add missing reverse holo variants to 151 holo rare cards (#609) 2024-12-10 13:37:54 +01:00
ebc2bb28bf feat: Allow to customize number of workers (#616) 2024-12-10 13:34:57 +01:00
c52ed815bb feat: Add Scarlet & Violet Promos (#607)
* feat: ADd set datas

Signed-off-by: Avior <git@avior.me>

* feat: Add cards

Signed-off-by: Avior <git@avior.me>

---------

Signed-off-by: Avior <git@avior.me>
2024-12-03 09:32:33 +01:00
5e1ba9ee8d chore: update CODE_OF_CONDUCT.md (#593) 2024-12-01 23:36:54 +01:00
David Leiva
121db30389 feat: Add firstSet and lastSet properties to Serie interface (#591) 2024-12-01 23:35:26 +01:00
Richie Moon
48a984ef50 fix: Added the illustrator field to TCGP A1 cards. (#604) 2024-12-01 23:26:53 +01:00
Duncan
2b6d06184d fix: Add SV08 Surging Sparks card variants (#592)
* fix: Add SV08 Surging Sparks card variants

* fix: Fix validate by adding 'abbreviation' to Set interface
2024-12-01 23:26:45 +01:00
Duncan
109921761e fix: Enable reverse variant for SV05 Temporal Forces holo rare cards (#596) 2024-12-01 23:25:31 +01:00
Duncan
3b02e9be81 fix: Add SV06.5 Shrouded Fable card variants (#598) 2024-12-01 23:25:10 +01:00
Duncan
eaf5935a0f fix: Enable reverse variant for SV06 Twilight Masquerade holo rare cards (#600) 2024-12-01 23:24:51 +01:00
Duncan
878c0dc83a fix: Enable reverse variant for SV04.5 Paldean Fates holo rare cards (#603) 2024-12-01 23:24:21 +01:00
usullu
aeaa784100 fix: Fixed new added "Apex" Cards (#590)
Co-authored-by: yusullu <yusullu@gwh-digital.de>
2024-11-28 00:34:09 +01:00
Duncan
fabb829169 fix: Add SV07 Stellar Crown card variants (#588) 2024-11-28 00:25:43 +01:00
d291c692d9 fix: random card not respecting format (#589) 2024-11-27 23:55:07 +01:00
8610bd60fe feat: Add TCG Pocket promos A (#587) 2024-11-26 00:44:07 +01:00
TCGdex [Bot]
89e0b8d367 editor: fix some other rarities (#584)
Co-authored-by: Avior <git@avior.me>
2024-11-21 01:52:48 +01:00
TCGdex [Bot]
660cccbe97 editor: Edited some rarities (#583)
Co-authored-by: Avior <git@avior.me>
2024-11-21 01:26:29 +01:00
8eb9131f60 feat: Add series names
Signed-off-by: Avior <git@avior.me>
2024-11-12 11:09:04 +01:00
041572da85 fix: missing one
Signed-off-by: Avior <git@avior.me>
2024-11-12 10:53:12 +01:00
982e0dd8f0 chore: Add Dutch sets names (#580) 2024-11-12 10:48:49 +01:00
207a18fec6 chore: Add polish sets names (#579) 2024-11-12 10:42:15 +01:00
ac83a0ebdb chore: Add russian set names (#578) 2024-11-12 10:42:04 +01:00
45f7db66d7 feat: Add Surging Sparks (#576) 2024-11-12 01:16:52 +01:00
14ed8ee912 feat: Genetic Apex (A1) (English Only) (#573) 2024-11-06 02:16:30 +01:00
bf8f610c04 feat: Add chinese SV08 (#572) 2024-11-06 02:10:26 +01:00
8231f45f81 feat: Add abbreviations to the database (#534) 2024-11-06 02:10:06 +01:00
e30d54469d feat: add the Japanese SV8 (#559) 2024-11-06 00:58:08 +01:00
c1d83caca0 feat: Update asian sets (#554) 2024-11-05 23:46:04 +01:00
64bcd0524d fix: no data was returned when filtering with set (#568) 2024-11-05 19:03:12 +01:00
07a8ad0b8e fix: Add missing multi value filtering (#564) 2024-10-29 14:52:11 +01:00
4c96331b93 fix: set id not taking into account in set search (#563) 2024-10-17 23:33:34 +02:00
1a52a6f29a chore: Add sponsors segment (#549) 2024-10-10 02:49:52 +02:00
1d14078dd8 feat(asian): Updated SV6 and added SV6a & SV6s (#502) 2024-10-10 00:44:36 +02:00
4f2c27937a feat: Add Stellar Crown (#533) 2024-10-09 23:30:26 +02:00
bbd5d28dc6 fix: missing deletion 2024-09-26 00:43:22 +02:00
ce8d5590ef chore: Remove unused logs 2024-09-26 00:37:22 +02:00
b9dae445b1 fix: sets not working when fetching with name 2024-09-26 00:31:10 +02:00
4700618047 feat: Add advanced filtering capabilities (#522) 2024-09-26 00:11:48 +02:00
5899083e5d perfs: speedup Git file last edit lookup (#531) 2024-08-30 16:19:48 +02:00
ae6ed3cdaa feat: setup clustering (#530) 2024-08-30 12:10:05 +02:00
5928a1dd25 chore: tag no displaying correctly 2024-08-25 19:16:27 +02:00
Felipe Contreras Salinas
5fbcd82457 fix: add missing retreat cost and weakness for some cards (#527)
Co-authored-by: Felipe Contreras Salinas <felipe@bstr.cl>
2024-08-25 02:45:45 +02:00
cfd6d5c0e8 feat: Add shrouded fable cards (#525) 2024-08-25 02:44:42 +02:00
Felipe Contreras Salinas
80f483ab66 fix: Reversal Energy type should be "Special" (#526)
Co-authored-by: Felipe Contreras Salinas <felipe@bstr.cl>
2024-08-24 17:02:42 +02:00
31b1ae566e feat: Add standard Error reporting to user through RFC9457 (#519) 2024-07-25 12:29:06 +02:00
698f66cf55 chore: change favicon/robots/sitemap (#523) 2024-07-24 16:20:13 +02:00
c8ec4c88a7 feat: update format rotation to 2024 (#521) 2024-07-24 15:06:00 +02:00
68e363bfaa fix: Add missing codes of tcgOnline
Signed-off-by: Avior <git@avior.me>
2024-07-24 12:24:29 +02:00
TCGdex [Bot]
ab265c6c41 editor: misc fixes for variants (#517)
Co-authored-by: Avior <git@avior.me>
2024-07-03 22:44:31 +02:00
TCGdex [Bot]
c10020a9a9 editor: change Twilight Masquerade variants (#516)
Co-authored-by: Avior <git@avior.me>
2024-07-03 22:16:16 +02:00
TCGdex [Bot]
e36865e971 editor: fix temporal forces variants (#515)
Co-authored-by: Avior <git@avior.me>
2024-07-03 22:09:57 +02:00
TCGdex [Bot]
5b32edb5bf editor: fix Paldean Fates variants (#514)
Co-authored-by: Avior <git@avior.me>
2024-07-03 22:09:49 +02:00
TCGdex [Bot]
e7ceb7ac59 editor: correct variants for Paradox Rift (#513)
Co-authored-by: Avior <git@avior.me>
2024-07-03 22:09:39 +02:00
TCGdex [Bot]
629ab06c4c editor: add the correct variants for Obsidian Flames (#512) 2024-07-03 21:30:08 +02:00
TCGdex [Bot]
7e3cf7aa08 editor: fix Paldea Evolved variants (#510)
Co-authored-by: Aviortheking <git@avior.me>
2024-07-03 16:28:15 +02:00
TCGdex [Bot]
0475848425 editor: fix Scarlet & Violet variants (#508)
Co-authored-by: Avior <git@avior.me>
2024-07-03 15:53:00 +02:00
TCGdex [Bot]
eea5c5147b editor: add rarities for 151 set (#507)
Co-authored-by: Avior <git@avior.me>
2024-07-03 12:38:33 +02:00
3d58d92db7 chore: Remove error sub repository
Signed-off-by: Avior <github@avior.me>
2024-06-27 00:49:41 +02:00
dependabot[bot]
d0b4071ff9 build: bump docker/build-push-action from 5 to 6 (#496)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 12:33:44 +02:00
dependabot[bot]
661edcf790 build: bump oven-sh/setup-bun from 1 to 2 (#499)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 10:13:20 +02:00
27521b92ad fix: dependabot still has permission (#501) 2024-06-25 10:04:42 +02:00
6751deb9d0 chore: disable push to Docker for forks (#500) 2024-06-25 10:00:48 +02:00
2e8c843c5a chore: unused text (#497) 2024-06-19 23:35:44 +02:00
allcontributors[bot]
d75b756bac docs: add Reloadaxe as a contributor for data (#495)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-06-18 00:36:35 +02:00
Benjamin Rousseliere
91dc66a494 Add missing pokemon card dex ids (#494)
Co-authored-by: Benjamin Rousseliere <benjamin.r@galadrim.fr>
2024-06-18 00:34:39 +02:00
a26ef0e5eb feat: Add support for Asians Pokémon Cards (#481) 2024-06-07 12:53:08 +02:00
allcontributors[bot]
a35fadd50c docs: add spyworldxp as a contributor for data (#493)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-05-28 14:19:55 +02:00
Clement Yuan
f2c664badc Update 1.ts (#492) 2024-05-28 14:19:12 +02:00
8a4a93af8f feat: Add Twilight Masquerade (#491) 2024-05-24 08:48:44 +02:00
d48971c95e fix: Ordering failing when one value is null (#490) 2024-05-19 01:32:23 +02:00
16fe072e7e fix: Updated field not working as intended (#488) 2024-05-12 02:32:58 +02:00
c476d82618 feat: Add an updated field to the card field (#460) 2024-05-12 00:51:56 +02:00
e4aba3bf1c feat: Add random card/set/serie endpoint (#484)
Co-authored-by: Avior <git@avior.me>
2024-05-10 02:44:50 +02:00
df154e6b9b Chore: upgrade deps (#483)
Co-authored-by: Avior <git@avior.me>
2024-05-07 02:41:57 +02:00
c7b3267ca2 fix: Missing Compilation when testing 2024-05-06 01:39:46 +02:00
14418b0c94 chore: Add metadata for Portuguese (#482) 2024-05-06 01:37:29 +02:00
aa99ed2750 fix: Add the two missing sets in german (#479) 2024-03-25 00:48:31 +01:00
2d27a129a1 feat: Paldean Fates and Temporal Forces (#478) 2024-03-25 00:30:17 +01:00
0c29886812 fix: better error logging for GraphQL
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2024-02-29 15:12:39 +01:00
f6e7871fc5 fix: Remove even more requires
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2024-02-29 14:53:30 +01:00
f9aa90ed09 fix: Move from require to import
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2024-02-29 14:38:32 +01:00
8e3406f8fc feat: Add more error loggin to catch this shitty error
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2024-02-29 14:14:05 +01:00
e6a8c1dd71 chore: Add error handling directing to a Glitchtip server to log errors
Signed-off-by: Avior <github@avior.me>
2024-01-22 23:45:48 +01:00
0146765e7a fix: Cache saving 5xx errors
Signed-off-by: Avior <github@avior.me>
2024-01-22 23:22:39 +01:00
41bf9afde7 feat: Add ability for users to requests using the subfields values (#477) 2024-01-22 01:48:04 +01:00
2cfa860f6d fix: Undefined values crashing the request (#476) 2024-01-22 01:42:59 +01:00
b168b86006 chore: Update Bruno tests (#473) 2024-01-08 01:33:47 +01:00
dependabot[bot]
3a441887b8 build: bump actions/setup-node from 3 to 4 (#470)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Avior <github@avior.me>
2024-01-08 00:50:15 +01:00
dependabot[bot]
e36c92a0b0 build: bump actions/checkout from 3 to 4 (#469)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 00:48:09 +01:00
33007d83bc fix: Invalid card when searching using the set and localid (#472) 2024-01-08 00:40:31 +01:00
8684fb14e4 feat: Add bruno to tests the APIs (#468) 2024-01-03 23:42:56 +01:00
8fd7afeb32 fix: better sorting defaults
Signed-off-by: Avior <github@avior.me>
2024-01-03 23:24:52 +01:00
28fcb66fc9 fix: 404 error for options requests
Signed-off-by: Avior <github@avior.me>
2024-01-03 21:06:52 +01:00
12ed23b5a2 fix: invalid OPTIONS request handling (#467) 2024-01-03 20:25:15 +01:00
b4dbdef4fa fix: set order not following the old way (#465) 2024-01-03 12:16:57 +01:00
ef23029d24 fix: log that want to production
Signed-off-by: Avior <github@avior.me>
2024-01-03 03:51:42 +01:00
b333423c5d feat: Add Paradox Rift (#464) 2024-01-03 03:34:52 +01:00
7fe2f0283c chore: Update legal cards for the 2023 season (#462) 2024-01-03 03:18:09 +01:00
b7e150fe45 chore: Document the GraphQL definition (#461) 2024-01-03 03:11:50 +01:00
5c8ca20a41 feat: Add better sorting/filtering/pagination (#458) 2024-01-03 02:27:56 +01:00
034b7e2cec feat: Move internals to bunJS (#459) 2024-01-03 00:40:03 +01:00
f8c1d7dce9 fix: HeartGold & Soulsilver serie rarities (#457) 2023-12-28 13:55:56 +01:00
2b9c364625 fix: Call of Legends rarity errors (#456) 2023-12-27 22:12:54 +01:00
c8db79bfaa fix: Gym Challenge errors (#455) 2023-12-27 22:05:41 +01:00
e18c919cfc fix: Diamond & Pearl rarities (#454) 2023-12-27 21:34:54 +01:00
3cb7e062da fix: Platinum Serie rarities (#453) 2023-12-27 20:33:44 +01:00
ed4d9a18b0 fix: invalid Sword & Shield rarities (#447) 2023-12-27 19:30:08 +01:00
6d133f5343 feat: Add missing german sets (HGSS & COL) (#451)
Some checks failed
Build Docker image / build (push) Failing after 42s
2023-12-06 01:20:07 +01:00
b24233b342 feat: Add missing German sets (#450) 2023-12-06 00:47:28 +01:00
a7011c519d feat: Add built image to dockerhub (#449)
Some checks failed
Build Docker image / build (push) Failing after 26s
2023-11-30 01:47:36 +01:00
2da15ced34 feat: Add a prebuilt docker image (#448)
Some checks failed
Build Docker image / build (push) Failing after 42s
2023-11-29 11:20:11 +01:00
3c93a3534c feat: Add Scarlet & violet three first sets (#446)
Some checks failed
Build / build (push) Failing after 59s
2023-11-12 14:56:22 +01:00
calli23
e0e3a1a4fd fix: added variants in Brilliant Stars (#432) 2023-03-21 15:18:18 +01:00
calli23
636a49f9a8 fix: modified variants in Crown Zenith (#427) 2023-02-06 16:47:30 +01:00
calli23
5cf0f1af5a fix: modified variants in Silver Tempest (#425) 2023-02-04 12:54:17 +01:00
allcontributors[bot]
6abe6193c1 docs: add calli23 as a contributor for data (#421)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-01-30 10:16:05 +01:00
calli23
2a7e84c93a fix: modified variants in Pokémon Go and Astral Radiance (#420) 2023-01-30 09:41:17 +01:00
9074fbf511 feat: Add Crown Zenith (#416) 2023-01-22 19:11:31 +01:00
a2db003735 fix: Build error
Signed-off-by: Avior <github@avior.me>
2023-01-11 21:27:20 +01:00
4b340733d7 fix(server): Server not correctly handling +
Signed-off-by: Avior <github@avior.me>
2023-01-11 21:18:31 +01:00
2b23503864 fix: Add missing user-agent
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-09 15:57:16 +01:00
467f6e9e95 fix: Build issues
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-09 14:57:08 +01:00
c5af3d17e6 misc: Updated deps
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-09 14:56:34 +01:00
8192542c1d feat(server): Add better logging to detect potential errors
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-09 14:42:22 +01:00
33814d7df2 fix: Build error
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-11-25 10:31:37 +01:00
f5fa952e54 fix: Cache caching OPTIONS requests
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-11-25 10:24:26 +01:00
5c6a4749f8 feat: Add Silver Tempest to the DB (#386) 2022-11-11 19:59:43 +01:00
0146baaf82 feat: Added Lost Origin datas (#360) 2022-09-14 00:24:11 +02:00
7467090e2c fix: changed to new API URL
Signed-off-by: Avior <github@avior.me>
2022-09-12 23:57:16 +02:00
fad5e018a3 misc: Add Project funding 2022-08-06 18:23:36 +02:00
e7e0e4d639 feat: Add Pokemon GO set (#323)
Signed-off-by: Avior <github@avior.me>
2022-07-01 10:17:20 +02:00
91865f7f02 feat: Add Astral Radiance (#305) 2022-05-27 01:49:58 +02:00
a006f77bf4 fix: Add Status link to image 2022-05-13 15:43:29 +02:00
dependabot[bot]
2bed8a4995 build: bump docker/build-push-action from 2 to 3 (#291)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-12 10:32:35 +02:00
932b52b8d1 fix: incorrect card counts (#287)
Signed-off-by: Avior <github@avior.me>
2022-05-03 23:11:18 +02:00
dependabot[bot]
ecd9cb313f build: bump actions/setup-node from 2 to 3.1.0 (#267)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 10:46:44 +02:00
dependabot[bot]
f867e18ab7 build: bump actions/checkout from 2 to 3 (#254)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 10:33:55 +02:00
82395591e1 build: Upgrade Deps (#286) 2022-05-02 10:05:48 +02:00
June
a65798f000 fix: mistype in evolveFrom name in french (#273) 2022-04-29 12:35:19 +02:00
a835c6ca29 fix: Handle variable lang directive (#272) 2022-04-11 12:17:22 +02:00
June
3d5beb1f76 fix: Set name in french is a mistype (Hidden Fates) (#269) 2022-04-05 10:40:46 +02:00
4ec775fe56 feat: Added XY Datas for other languages (#265) 2022-03-31 11:01:32 +02:00
fc74c637d3 fix: Incorrect year for the latest set 2022-03-16 12:47:25 +01:00
dependabot[bot]
452016f564 build: bump ts-node from 10.5.0 to 10.7.0 (#257)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 12:22:27 +01:00
dependabot[bot]
fe2a77115e build: bump ts-node from 10.5.0 to 10.7.0 in /server (#258)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 16:23:25 +01:00
7a5000c2f3 feat: Add Brilliant Stars (#250) 2022-02-25 17:39:00 +01:00
dependabot[bot]
7a21171219 build: bump fs-extra from 10.0.0 to 10.0.1 in /server (#246)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-23 15:29:05 +01:00
dependabot[bot]
29f66ed0a2 build: bump @types/node from 16.11.24 to 16.11.25 (#242)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 10:21:00 +01:00
dependabot[bot]
d9ced72b81 build: bump @types/node-fetch from 2.5.12 to 2.6.1 in /server (#244)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 10:06:50 +01:00
dependabot[bot]
e3ebaefbda build: bump @types/node from 16.11.22 to 16.11.24 in /server (#241)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-13 23:39:01 +01:00
dependabot[bot]
03f44625ac build: bump @types/node from 16.11.22 to 16.11.24 (#240)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 15:24:08 +01:00
dependabot[bot]
c10444cfe8 build: bump ts-node from 10.4.0 to 10.5.0 in /server (#239)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 15:09:24 +01:00
dependabot[bot]
919a098c80 build: bump ts-node from 10.4.0 to 10.5.0 (#238)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-09 17:00:42 +01:00
dependabot[bot]
5b858ec207 build: bump @types/node from 16.11.21 to 16.11.22 (#236)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 10:30:32 +01:00
dependabot[bot]
df64dbda1e build: bump @types/node from 16.11.21 to 16.11.22 in /server (#237)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 10:06:57 +01:00
dependabot[bot]
f50b536000 build: bump @tcgdex/sdk from 2.4.5 to 2.4.6 in /server (#235)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-31 11:48:27 +01:00
dependabot[bot]
659b60c5b9 build: bump typescript from 4.5.4 to 4.5.5 (#233)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 16:31:00 +01:00
dependabot[bot]
ed88d97f01 build: bump @types/node from 16.11.20 to 16.11.21 (#230)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 16:23:00 +01:00
dependabot[bot]
8116b8a36f build: bump typescript from 4.5.4 to 4.5.5 in /server (#234)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 00:05:30 +01:00
97a521ddac feat: Add Github Table as SVG (#232) 2022-01-19 11:29:27 +01:00
dependabot[bot]
fbde4a9b5f build: bump @types/node from 16.11.20 to 16.11.21 in /server (#231)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-19 10:25:42 +01:00
dependabot[bot]
02f3c4dbd8 build: bump @types/node from 16.11.19 to 16.11.20 (#227)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 11:33:20 +01:00
dependabot[bot]
7763d6b807 build: bump node-fetch from 2.6.6 to 2.6.7 in /server (#228)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 11:11:40 +01:00
dependabot[bot]
430d92fa27 build: bump @types/node from 16.11.19 to 16.11.20 in /server (#229)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 11:02:05 +01:00
62257cb5f0 fix: Fix Total progress without the correct pre language progress (#226) 2022-01-17 10:21:14 +01:00
fa2391397c fix: Add Sword & Shield Portuguese promos set name (#225) 2022-01-14 19:43:34 +01:00
bf1b890302 fix: Battle Styles has the correct card count (#224) 2022-01-12 11:39:16 +01:00
dependabot[bot]
509f961b94 build: bump @types/node from 16.11.18 to 16.11.19 (#222)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-05 18:50:17 +00:00
dependabot[bot]
77223376fa build: bump @types/node from 16.11.18 to 16.11.19 in /server (#223)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-05 10:39:33 +01:00
dependabot[bot]
a3be561b6e build: bump @types/node from 16.11.17 to 16.11.18 in /server (#221)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-04 09:50:54 +01:00
dependabot[bot]
b3a9874d2c build: bump @types/node from 16.11.17 to 16.11.18 (#220)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-04 09:44:39 +01:00
df5bb1aae3 Update util.ts 2021-12-30 23:46:27 +00:00
1d8077d8b4 perf: Remove Uneeded logging (#219) 2021-12-30 23:40:04 +00:00
16467d4a19 refactor: Add more logging forGraphQL errors (#218) 2021-12-30 23:11:53 +00:00
dependabot[bot]
9956808686 build: bump @types/node from 16.11.15 to 16.11.17 in /server (#217)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.15 to 16.11.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-24 14:59:04 +01:00
dependabot[bot]
5a77eb6397 build: bump @types/node from 16.11.15 to 16.11.17 (#216)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-23 23:18:24 +00:00
dependabot[bot]
d7cc241045 build: bump @types/node from 16.11.14 to 16.11.15 (#215)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-22 13:16:31 +01:00
dependabot[bot]
28ede1add3 build: bump @types/node from 16.11.14 to 16.11.15 in /server (#214)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-21 09:54:57 +01:00
dependabot[bot]
29c4c5b9b8 build: bump express from 4.17.1 to 4.17.2 in /server (#213)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-18 13:27:24 +00:00
dependabot[bot]
5e17ad4fd0 build: bump @types/node from 16.11.13 to 16.11.14 in /server (#212)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-16 11:43:02 +01:00
dependabot[bot]
b06a2c4a9d build: bump @types/node from 16.11.13 to 16.11.14 (#211)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-16 11:34:10 +01:00
0f05a63198 fix: StringEndpoint not corresponding to the docs (#210) 2021-12-15 10:50:47 +01:00
dependabot[bot]
fe7f6a0738 build: bump typescript from 4.5.3 to 4.5.4 (#205)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-14 10:12:17 +01:00
dependabot[bot]
6b9f33d79a build: bump typescript from 4.5.2 to 4.5.3 (#202)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 10:10:34 +01:00
dependabot[bot]
e842937023 build: bump @types/node from 16.11.11 to 16.11.12 in /server (#201)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.11 to 16.11.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-08 12:36:09 +01:00
dependabot[bot]
8d3164554f build: bump graphql from 15.7.2 to 15.8.0 in /server (#200)
Bumps [graphql](https://github.com/graphql/graphql-js) from 15.7.2 to 15.8.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v15.7.2...v15.8.0)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-08 12:35:58 +01:00
dependabot[bot]
b0a72fe69e build: bump @types/node from 16.11.11 to 16.11.12 (#199)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.11 to 16.11.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-08 12:35:27 +01:00
dependabot[bot]
549ff493c8 build: bump @types/node from 16.11.10 to 16.11.11 in /server (#198)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.10 to 16.11.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-01 10:04:47 +01:00
dependabot[bot]
fa88847240 build: bump @types/node from 16.11.10 to 16.11.11 (#197)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.10 to 16.11.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-01 09:55:40 +01:00
c2ea960801 fix: Fix Endpoints not giving the correct card with a speicific id (#196)
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2021-11-30 15:23:01 +01:00
allcontributors[bot]
eecbee9194 docs: add JuneTwooo as a contributor for data (#195)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-11-25 14:22:20 +01:00
June
4dda72aa7f fix: Fix Jungle French name (#194)
Edit french "Jungla" to "Jungle"
2021-11-25 14:00:21 +01:00
dependabot[bot]
0bc30d6001 build: bump @types/node from 16.11.9 to 16.11.10 in /server (#193)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.9 to 16.11.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-24 10:09:17 +01:00
dependabot[bot]
7421e3c523 build: bump @types/node from 16.11.9 to 16.11.10 (#192)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.9 to 16.11.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-24 10:09:08 +01:00
6045261e59 fix: Fix server not Starting (#191)
Signed-off-by: Avior <github@avior.me>
2021-11-23 16:54:56 +01:00
16862a048e fix: Add missing German Translations (#190)
Signed-off-by: Avior <github@avior.me>
2021-11-23 16:18:30 +01:00
762ce389c1 feat: Add status Dashboard (#187)
* feat: Add status Dashboard

Still need some polishing like using the compiler instead of the live DB

Signed-off-by: Avior <github@avior.me>

* refactor: Simplified compiler files generators

Signed-off-by: Avior <florian.bouillon@delta-wings.net>

* chore: Add step to compiler for stats and optimize

Signed-off-by: Avior <github@avior.me>

* refactor: Remove unused variable

Signed-off-by: Avior <github@avior.me>
2021-11-23 16:12:50 +01:00
8ef099273e fix: Add E-Card French Translations (#166)
* fix: Add E-Card French Translations

Signed-off-by: Avior <github@avior.me>

* fix: Fixed Cards without rarity

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2021-11-22 19:07:35 +00:00
d4be6fa84f fix: Add Diamond & Pearl French translations (#179)
* fix: Add the two first sets

Signed-off-by: Avior <github@avior.me>

* fix: Add DP, DP Black Star and Mysterious Treasures

Signed-off-by: Avior <github@avior.me>
2021-11-22 18:11:03 +00:00
b70c73d43e fix: Add Portuguese Sets/Series names translations (#186)
Signed-off-by: Avior <github@avior.me>
2021-11-22 15:51:59 +01:00
b365c15559 feat: Add Poké Card Creator Pack cards (#184)
Signed-off-by: Avior <github@avior.me>
2021-11-22 15:08:42 +01:00
d7d600c0d7 feat: Add W Promotional variant (#183)
Signed-off-by: Avior <github@avior.me>
2021-11-22 14:52:58 +01:00
227637fd97 fix: Misc Endpoints not working as intended (#181)
Signed-off-by: Avior <github@avior.me>
2021-11-22 14:46:03 +01:00
ac3a62c0ec fix: Fix database issues template data-type 2021-11-22 13:51:54 +01:00
dependabot[bot]
9d2cad1cc9 build: bump @types/node from 16.11.8 to 16.11.9 (#182)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.8 to 16.11.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 10:00:26 +01:00
afe33f4b3c fix: incorrect set being reconized (#180)
* fix: set fetching name not stricly checking

Signed-off-by: Avior <github@avior.me>

* fix: finding card by set not testing set name

Signed-off-by: Avior <github@avior.me>

* fix: incorrect set being reconized

Signed-off-by: Avior <github@avior.me>
2021-11-19 15:47:58 +01:00
dependabot[bot]
d81275b679 build: bump @types/node from 16.11.7 to 16.11.9 in /server (#178)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.7 to 16.11.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 09:57:09 +01:00
dependabot[bot]
6c0db1fba8 build: bump @types/node from 16.11.7 to 16.11.8 (#176)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.7 to 16.11.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 09:55:02 +01:00
b55cab7c6f fix: JSON endpoints not working as intended (#175)
* fix: set fetching name not stricly checking

Signed-off-by: Avior <github@avior.me>

* fix: finding card by set not testing set name

Signed-off-by: Avior <github@avior.me>
2021-11-18 11:52:10 +01:00
dependabot[bot]
7f83a6f8eb build: bump typescript from 4.4.4 to 4.5.2 in /server (#174)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.5.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.4...v4.5.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-18 10:12:28 +01:00
dependabot[bot]
f473f1e920 build: bump typescript from 4.4.4 to 4.5.2 (#173)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.5.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.4...v4.5.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-18 09:53:31 +01:00
ada32e3b20 feat: Add Baby stage (#123)
Signed-off-by: Avior <github@avior.me>
2021-11-17 15:09:13 +01:00
2f5f52b51c refactor: Add Sets/Series translations (#172)
* refactor: Add set/Series translations

Signed-off-by: Avior <github@avior.me>

* refactor: Done Trainer kits

Signed-off-by: Avior <github@avior.me>
2021-11-16 12:44:58 +01:00
df23371cb4 fix: Add most POP series French translations (#170)
* fix: Added most of the translations

Some translations aren't available or are user made without a card image depicted

Signed-off-by: Avior <github@avior.me>

* fix: Add sets French translations

Signed-off-by: Avior <github@avior.me>
2021-11-16 10:08:20 +01:00
b6fbcc1b77 fix: add EX French translations (#169)
* fix: Add for some sets

Signed-off-by: Avior <github@avior.me>

* Added Sets titles

Signed-off-by: Avior <github@avior.me>

* fix: Finished last EX sets

Signed-off-by: Avior <github@avior.me>

* Change Discord Link text
2021-11-15 16:24:10 +01:00
68054fe4c9 fix: Add Neo serie french translations (#167)
Signed-off-by: Avior <github@avior.me>
2021-11-12 17:24:19 +01:00
ffdd3b4656 fix: Add Base serie translations (#161)
Signed-off-by: Avior <github@avior.me>
2021-11-12 17:07:41 +01:00
3b8e87e284 fix: Fix Resistance and Weaknesses GQL being incorrect type (#168) 2021-11-12 16:05:57 +01:00
dependabot[bot]
64f107ca01 build: Bump @types/node from 16.11.6 to 16.11.7 in /server (#152)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.6 to 16.11.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-12 15:00:48 +01:00
dependabot[bot]
a15a6e122c Bump @types/node from 16.11.6 to 16.11.7 (#150)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.6 to 16.11.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Avior <github@avior.me>
2021-11-12 14:55:57 +01:00
5ef66aac3b fix: Make /series/:serie case insensitive (#164)
Signed-off-by: Avior <github@avior.me>
2021-11-12 14:37:49 +01:00
a8c1188e5f fix: Fusion Strike id (#163)
I AM STUPID, FUCK MYSELF
2021-11-12 12:53:28 +01:00
2be1cb2be9 feat: Add Fusion Strike (#162)
Signed-off-by: Avior <github@avior.me>
2021-11-12 12:42:38 +01:00
Maxopoly
a0792cd72f fix: Fix typo in base1-1 (#160) 2021-11-12 09:45:34 +01:00
e12adb1641 fix: Same problem for set subid (#158)
* fix: Fix /sets/:id endpoint to check in lowercase

Signed-off-by: Avior <github@avior.me>

* fix: Same problem for set subid

Signed-off-by: Avior <github@avior.me>
2021-11-10 11:18:18 +01:00
d432b8a826 fix: Fix /sets/:id endpoint to check in lowercase (#157)
Signed-off-by: Avior <github@avior.me>
2021-11-09 15:23:33 +01:00
fa6322a635 feat: Add serie wide energies (#115)
Signed-off-by: Avior <github@avior.me>
2021-11-09 11:03:41 +01:00
dependabot[bot]
e7b660eb21 build: bump graphql from 15.7.0 to 15.7.2 in /server (#154)
Bumps [graphql](https://github.com/graphql/graphql-js) from 15.7.0 to 15.7.2.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v15.7.0...v15.7.2)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 10:35:44 +01:00
dependabot[bot]
aa88a08083 Bump js2xmlparser from 4.0.1 to 4.0.2 in /server (#146)
Bumps [js2xmlparser](https://github.com/michaelkourlas/node-js2xmlparser) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/michaelkourlas/node-js2xmlparser/releases)
- [Changelog](https://github.com/michaelkourlas/node-js2xmlparser/blob/master/CHANGES.md)
- [Commits](https://github.com/michaelkourlas/node-js2xmlparser/compare/v4.0.1...v4.0.2)

---
updated-dependencies:
- dependency-name: js2xmlparser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 10:28:42 +01:00
b4dc289f07 fix: Update Dependabot to use conventional commits (#153) 2021-11-09 10:11:28 +01:00
4dedacee58 docs: Update Code of Conduction, Contributing and templates (#145)
* feat: Add Code of Conduct

this Code of Conduct will be Enforced on the TCGdex's Github and on the TCGdex's Discord

* Update Issue templates

Signed-off-by: Avior <github@avior.me>

* Updated Documents

Signed-off-by: Avior <github@avior.me>
2021-11-08 17:10:19 +01:00
d65a69bcac fix: Change to use angular conventional changelog (#144) 2021-11-08 14:58:55 +01:00
c3149d9028 feat: Add Pull Request Template (#143) 2021-11-08 12:53:10 +01:00
4cee9d98cd fix: conventional Commits to use the correct preset (#142) 2021-11-08 11:24:28 +01:00
allcontributors[bot]
337f50a6df docs: add Maxopoly as a contributor for data (#140)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-11-04 19:33:53 +01:00
Maxopoly
9622f84388 feature: Complete german meta text (#139) 2021-11-04 19:33:04 +01:00
8c9657f8f2 Forogt to remove the import
Signed-off-by: Avior <github@avior.me>
2021-11-04 13:52:29 +01:00
02de2d5006 Fixed (#138)
Signed-off-by: Avior <github@avior.me>
2021-11-04 13:36:15 +01:00
7173179d6f Fix: card endpoint (#137)
* Fixed duplication bug

Signed-off-by: Avior <github@avior.me>

* Fixed

Signed-off-by: Avior <github@avior.me>
2021-11-04 12:30:08 +01:00
80ec53a57d Fix: duplication bug (#136)
Signed-off-by: Avior <github@avior.me>
2021-11-04 12:21:54 +01:00
7de5764409 fix: bad type (#135)
* Fixed path

Signed-off-by: Avior <github@avior.me>

* Fixed Builder

Signed-off-by: Avior <github@avior.me>

* Fixed

Signed-off-by: Avior <github@avior.me>
2021-11-04 12:03:06 +01:00
40240f2ab9 fix: Fixed DB path (#134)
* Fixed path

Signed-off-by: Avior <github@avior.me>

* Fixed Builder

Signed-off-by: Avior <github@avior.me>
2021-11-04 11:51:09 +01:00
65e5bdb9ee fix: Fixed paths not being changed (#133) 2021-11-04 11:01:56 +01:00
c4b4449fd4 feature: Implement new Server infrastructure with GraphQL. (#132)
* Added new compiler to db

Signed-off-by: Avior <florian.bouillon@delta-wings.net>

* Add compiled DB to artifacts

Signed-off-by: Avior <florian.bouillon@delta-wings.net>

* Fixed space error

Signed-off-by: Avior <florian.bouillon@delta-wings.net>

* Fixed?

Signed-off-by: Avior <florian.bouillon@delta-wings.net>

* Update node.js.yml

* Update node.js.yml

* Made change so the db is no longer dependent on the SDK

Signed-off-by: Avior <florian.bouillon@delta-wings.net>

* f

Signed-off-by: Avior <florian.bouillon@delta-wings.net>

* Fixed artifact

Signed-off-by: Avior <florian.bouillon@delta-wings.net>

* U

Signed-off-by: Avior <florian.bouillon@delta-wings.net>

* \Changed folder

Signed-off-by: Avior <florian.bouillon@delta-wings.net>

* Fixede?

Signed-off-by: Avior <florian.bouillon@delta-wings.net>

* Try with everything

* saved the file ;)

* ignore compiler

* Fixed prebuild being run again

* Fixed public folder

Signed-off-by: Avior <github@avior.me>

* fixed graphql file

Signed-off-by: Avior <github@avior.me>

* fixed?

Signed-off-by: Avior <github@avior.me>

* Check tree because life is potato

Signed-off-by: Avior <github@avior.me>

* this is harder

Signed-off-by: Avior <github@avior.me>

* f

Signed-off-by: Avior <github@avior.me>

* Fixed?

Signed-off-by: Avior <github@avior.me>

* r

Signed-off-by: Avior <github@avior.me>

* fd

Signed-off-by: Avior <github@avior.me>

* added back context

Signed-off-by: Avior <github@avior.me>

* ah

Signed-off-by: Avior <github@avior.me>

* AAH

Signed-off-by: Avior <github@avior.me>

* AAAH

Signed-off-by: Avior <github@avior.me>

* ffffffffffffffffff

Signed-off-by: Avior <github@avior.me>

* fix: Changed the default builder

Signed-off-by: Avior <github@avior.me>

* Removed useless tree function

Signed-off-by: Avior <github@avior.me>
2021-11-04 10:02:26 +01:00
allcontributors[bot]
c991193f4b docs: add Kevin-Adrea as a contributor for bug (#131)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-11-03 14:36:57 +01:00
a2a8582253 fix: enforce conventionnal commit (#130) 2021-11-02 19:34:55 +01:00
allcontributors[bot]
0bccc9866b docs: add JuneTwooo as a contributor for bug (#129)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* quick fix

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Avior <florian.bouillon@delta-wings.net>
2021-11-02 17:18:29 +01:00
allcontributors[bot]
cce0236851 docs: add Aviortheking as a contributor for code, data (#128)
* docs: update README.md [skip ci]

* docs: create .all-contributorsrc [skip ci]

* Fix All contributor not displaying correctly

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Avior <florian.bouillon@delta-wings.net>
2021-11-02 17:03:52 +01:00
21901 changed files with 783190 additions and 27318 deletions

83
.all-contributorsrc Normal file
View File

@@ -0,0 +1,83 @@
{
"files": [
"README.md"
],
"imageSize": 100,
"commit": false,
"badgeTemplate": "<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square\" alt=\"All Contributors Badge\" /></a>",
"contributors": [
{
"login": "Aviortheking",
"name": "Avior",
"avatar_url": "https://avatars.githubusercontent.com/u/15822031?v=4",
"profile": "https://www.avior.me/",
"contributions": [
"code",
"data"
]
},
{
"login": "JuneTwooo",
"name": "June",
"avatar_url": "https://avatars.githubusercontent.com/u/1458019?v=4",
"profile": "https://github.com/JuneTwooo",
"contributions": [
"bug",
"data"
]
},
{
"login": "Kevin-Adrea",
"name": "Kevin-Adrea",
"avatar_url": "https://avatars.githubusercontent.com/u/36231620?v=4",
"profile": "https://github.com/Kevin-Adrea",
"contributions": [
"bug"
]
},
{
"login": "Maxopoly",
"name": "Maxopoly",
"avatar_url": "https://avatars.githubusercontent.com/u/12138136?v=4",
"profile": "https://github.com/Maxopoly",
"contributions": [
"data"
]
},
{
"login": "calli23",
"name": "calli23",
"avatar_url": "https://avatars.githubusercontent.com/u/24553863?v=4",
"profile": "https://github.com/calli23",
"contributions": [
"data"
]
},
{
"login": "spyworldxp",
"name": "Clement Yuan",
"avatar_url": "https://avatars.githubusercontent.com/u/1112701?v=4",
"profile": "http://imclement.com",
"contributions": [
"data"
]
},
{
"login": "Reloadaxe",
"name": "Benjamin Rousseliere",
"avatar_url": "https://avatars.githubusercontent.com/u/44167126?v=4",
"profile": "https://github.com/Reloadaxe",
"contributions": [
"data"
]
}
],
"contributorsPerLine": 7,
"projectName": "cards-database",
"projectOwner": "tcgdex",
"repoType": "github",
"repoHost": "https://github.com",
"skipCi": true,
"commitConvention": "angular",
"commitType": "docs"
}

8
.bruno/bruno.json Normal file
View File

@@ -0,0 +1,8 @@
{
"version": "1",
"name": "TCGdex",
"type": "collection",
"presets": {
"requestType": "http"
}
}

View File

@@ -0,0 +1,25 @@
meta {
name: Advanced Query
type: http
seq: 1
}
get {
url: {{BASE_URL}}/v2/en/cards?name=eq:Pikachu&hp=gte:60&hp=lt:70&localId=5&localId=not:tg&id=neq:cel25-5
body: none
auth: none
}
params:query {
name: eq:Pikachu
hp: gte:60
hp: lt:70
localId: 5
localId: not:tg
id: neq:cel25-5
}
assert {
res.status: eq 200
res.body: gte 14
}

View File

@@ -0,0 +1,28 @@
meta {
name: Get the cards list
type: http
seq: 1
}
get {
url: {{BASE_URL}}/v2/en/cards?sort:field=name&sort:order=DESC&pagination:page=1&pagination:itemsPerPage=4
body: none
auth: none
}
query {
sort:field: name
sort:order: DESC
pagination:page: 1
pagination:itemsPerPage: 4
~name: furret
}
assert {
res.status: eq 200
res.body.length: eq 4
}
docs {
Fully describe the card list request, it also has every parameters it can
}

View File

@@ -0,0 +1,16 @@
meta {
name: Get one card
type: http
seq: 2
}
get {
url: {{BASE_URL}}/v2/en/cards/swsh3-136
body: none
auth: none
}
assert {
res.status: eq 200
res.body.id: eq swsh3-136
}

23
.bruno/cards/multiple.bru Normal file
View File

@@ -0,0 +1,23 @@
meta {
name: Multiple values
type: http
seq: 1
}
get {
url: {{BASE_URL}}/v2/en/cards?name=eq:Pikachu|Pichu&hp=lt:70&localId=not:tg&id=neq:cel25-5
body: none
auth: none
}
params:query {
name: eq:Pikachu|Pichu
hp: lt:70
localId: not:tg
id: neq:cel25-5
}
assert {
res.status: eq 200
res.body.length: gt 85
}

View File

@@ -0,0 +1,3 @@
vars {
BASE_URL: https://beta.api.tcgdex.net
}

View File

@@ -0,0 +1,3 @@
vars {
BASE_URL: http://127.0.0.1:3000
}

View File

@@ -0,0 +1,3 @@
vars {
BASE_URL: https://api.tcgdex.net
}

View File

@@ -0,0 +1,22 @@
meta {
name: 466 - Invalid Sorting
type: http
seq: 1
}
get {
url: {{BASE_URL}}/v2/en/sets/swsh8/53
body: none
auth: none
}
assert {
res.body.id: eq swsh8-53
res.status: eq 200
}
docs {
Validate the issue seen in
https://github.com/tcgdex/cards-database/issues/466
}

View File

@@ -0,0 +1,15 @@
meta {
name: 467 - Validate that we can run OPTIONS
type: http
seq: 2
}
options {
url: {{BASE_URL}}/status
body: none
auth: none
}
assert {
res.status: eq 200
}

View File

@@ -0,0 +1,22 @@
meta {
name: 471 - Invalid Set Sorting
type: http
seq: 3
}
get {
url: {{BASE_URL}}/v2/en/sets/swsh12/10
body: none
auth: none
}
assert {
res.body.id: eq swsh12-010
res.status: eq 200
}
docs {
Validate the issue seen in
https://github.com/tcgdex/cards-database/issues/471
}

View File

@@ -0,0 +1,25 @@
meta {
name: 474 - Queries crashing the server
type: http
seq: 4
}
get {
url: {{BASE_URL}}/v2/en/cards?legal.standard=true
body: none
auth: none
}
query {
legal.standard: true
}
assert {
res.status: eq 200
}
docs {
Validate the issue seen in
https://github.com/tcgdex/cards-database/issues/474
}

View File

@@ -0,0 +1,25 @@
meta {
name: 475 - Ability to query subfileds
type: http
seq: 5
}
get {
url: {{BASE_URL}}/v2/en/cards?legal.standard=true
body: none
auth: none
}
query {
legal.standard: true
}
assert {
res.status: eq 200
}
docs {
Validate the issue seen in
https://github.com/tcgdex/cards-database/issues/474
}

View File

@@ -0,0 +1,17 @@
meta {
name: 489 - Crash When sorting with Null values
type: http
seq: 6
}
get {
url: {{BASE_URL}}/v2/en/cards?name=pikachu&sort:field=hp&sort:order=DESC
body: none
auth: none
}
query {
name: pikachu
sort:field: hp
sort:order: DESC
}

View File

@@ -0,0 +1,29 @@
meta {
name: 562 - GraphQL set request is not returning the correct value
type: graphql
seq: 7
}
post {
url: {{BASE_URL}}/v2/graphql
body: graphql
auth: none
}
body:graphql {
query Pouet {
set(id: "{{SET_ID}}") {
id
}
}
}
vars:pre-request {
SET_ID: swsh1
}
assert {
res.status: eq 200
res.body.data.set.id: eq {{SET_ID}}
}

View File

@@ -0,0 +1,21 @@
meta {
name: 567 - invalid data returned when filtering using set
type: http
seq: 9
}
get {
url: {{BASE_URL}}/v2/en/cards?name=umbreon&set=evolving skies
body: none
auth: none
}
params:query {
name: umbreon
set: evolving skies
}
assert {
res.status: eq 200
res.body.length: gte 6
}

28
.bruno/graphql/card.bru Normal file
View File

@@ -0,0 +1,28 @@
meta {
name: card
type: graphql
seq: 2
}
post {
url: {{BASE_URL}}/v2/graphql
body: graphql
auth: none
}
body:graphql {
query Pouet {
card(id: "{{ID}}") {
id
}
}
}
vars:pre-request {
ID: swsh1-136
}
assert {
res.status: eq 200
res.body.data.card.id: eq {{ID}}
}

33
.bruno/graphql/cards.bru Normal file
View File

@@ -0,0 +1,33 @@
meta {
name: cards
type: graphql
seq: 1
}
post {
url: {{BASE_URL}}/v2/graphql
body: graphql
auth: none
}
body:graphql {
query Pouet {
cards {
id
localId
name
set {
id
name
serie {
id
name
}
}
}
}
}
assert {
res.status: eq 200
}

29
.bruno/graphql/serie.bru Normal file
View File

@@ -0,0 +1,29 @@
meta {
name: serie
type: graphql
seq: 5
}
post {
url: {{BASE_URL}}/v2/graphql
body: graphql
auth: none
}
body:graphql {
query Pouet {
serie(id: "{{ID}}") {
id
}
}
}
vars:pre-request {
ID: swsh
}
assert {
res.status: eq 200
res.body.data.serie.id: eq {{ID}}
}

24
.bruno/graphql/series.bru Normal file
View File

@@ -0,0 +1,24 @@
meta {
name: series
type: graphql
seq: 6
}
post {
url: {{BASE_URL}}/v2/graphql
body: graphql
auth: none
}
body:graphql {
query Pouet {
series {
id
}
}
}
assert {
res.status: eq 200
}

29
.bruno/graphql/set.bru Normal file
View File

@@ -0,0 +1,29 @@
meta {
name: set
type: graphql
seq: 3
}
post {
url: {{BASE_URL}}/v2/graphql
body: graphql
auth: none
}
body:graphql {
query Pouet {
set(id: "{{SET_ID}}") {
id
}
}
}
vars:pre-request {
SET_ID: swsh1
}
assert {
res.status: eq 200
res.body.data.set.id: eq {{SET_ID}}
}

24
.bruno/graphql/sets.bru Normal file
View File

@@ -0,0 +1,24 @@
meta {
name: sets
type: graphql
seq: 4
}
post {
url: {{BASE_URL}}/v2/graphql
body: graphql
auth: none
}
body:graphql {
query Pouet {
sets {
id
}
}
}
assert {
res.status: eq 200
}

View File

@@ -0,0 +1,20 @@
meta {
name: Random Card
type: http
seq: 1
}
get {
url: {{BASE_URL}}/v2/en/random/card?name=furret
body: none
auth: none
}
query {
name: furret
}
assert {
res.status: eq 200
res.body.name: contains Furret
}

View File

@@ -0,0 +1,19 @@
meta {
name: Random Serie
type: http
seq: 3
}
get {
url: {{BASE_URL}}/v2/en/random/serie?name=p
body: none
auth: none
}
query {
name: p
}
assert {
res.status: eq 200
}

View File

@@ -0,0 +1,20 @@
meta {
name: Random Set
type: http
seq: 2
}
get {
url: {{BASE_URL}}/v2/en/random/set?name=sword
body: none
auth: none
}
query {
name: sword
}
assert {
res.status: eq 200
res.body.name: contains Sword
}

View File

@@ -0,0 +1,21 @@
meta {
name: Advanced Query
type: http
seq: 4
}
get {
url: {{BASE_URL}}/v2/en/sets?cardCount.official=gt:64&id=swsh
body: none
auth: none
}
params:query {
cardCount.official:gt: 64
id: swsh
}
assert {
res.status: eq 200
res.body: length 17
}

View File

@@ -0,0 +1,16 @@
meta {
name: Get a card by set name
type: http
seq: 6
}
get {
url: {{BASE_URL}}/v2/en/sets/Crystal%20Guardians/10
body: none
auth: none
}
assert {
res.status: eq 200
res.body.id: eq ex14-10
}

View File

@@ -0,0 +1,16 @@
meta {
name: Get a set by name
type: http
seq: 5
}
get {
url: {{BASE_URL}}/v2/en/sets/Crystal%20Guardians
body: none
auth: none
}
assert {
res.status: eq 200
res.body.id: eq ex14
}

View File

@@ -0,0 +1,25 @@
meta {
name: Get a list of sets
type: http
seq: 3
}
get {
url: {{BASE_URL}}/v2/en/sets?sort:field=name&sort:order=DESC&pagination:page=1&pagination:itemsPerPage=1&name=Dark
body: none
auth: none
}
query {
sort:field: name
sort:order: DESC
pagination:page: 1
pagination:itemsPerPage: 1
name: Dark
}
assert {
res.status: eq 200
res.body[0].id: eq swsh3
res.body.length: eq 1
}

16
.bruno/sets/get-a-set.bru Normal file
View File

@@ -0,0 +1,16 @@
meta {
name: Get a set
type: http
seq: 2
}
get {
url: {{BASE_URL}}/v2/en/sets/swsh3
body: none
auth: none
}
assert {
res.status: eq 200
res.body.id: eq swsh3
}

View File

@@ -0,0 +1,16 @@
meta {
name: Get one card from a set
type: http
seq: 1
}
get {
url: {{BASE_URL}}/v2/en/sets/swsh3/136
body: none
auth: none
}
assert {
res.status: eq 200
res.body.id: eq swsh3-136
}

22
.dockerignore Normal file
View File

@@ -0,0 +1,22 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
node_modules
# misc
.DS_Store
.env*
# debug
npm-debug.log*
dist/
*.asc
/data/**/*.js
# production
/server/dist
/server/generated

1
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1 @@
github: TCGdex

36
.github/ISSUE_TEMPLATE/api-issue.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: API Issue Report
description: Use this when you found an issue involving the TCGdex Server
title: "issue:"
labels: [issue, server]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to help advance the project witg your issue report!
- type: checkboxes
id: issue-location
validations:
required: true
attributes:
label: Where are you having the issue
options:
- label: GraphQL
- label: JSON API
- type: checkboxes
id: issue-item
attributes:
label: Is the issue affecting one of the two elements below ?
options:
- label: Translations
- label: Definitions Files (Open API, GraphQL Schema, etc)
- type: textarea
id: description
attributes:
label: Description
description: What is happening
validations:
required: true

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: TCGdex Discord
url: https://discord.gg/NehYTAhsZE
about: You can post user code related issues here.

View File

@@ -0,0 +1,41 @@
name: Database Issue Report
description: Use this when you found an issue involving the TCGdex Datas
title: "issue:"
labels: [issue, database]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to help advance the project witg your issue report!
Note: if the issue is affecting translations or definitions files the correct issue report as the API one
- type: dropdown
id: data-type
validations:
required: true
attributes:
label: What seems to be the issue
description: Select the types of data that seems to be causing issues
options:
- Card
- Set
- Serie
- Other
- type: input
id: fields
attributes:
label: Field(s)
description: Tell which field(s) have the issue
placeholder: "ex: the Regulation Mark field"
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: Describe Your problem
placeholder: "ex: The cards have an incorrect name"
validations:
required: true

View File

@@ -1,7 +1,7 @@
name: Enhancement
description: You have an Idea that will enhance the API, Use this issue Template!
title: "[Up]: "
labels: [project/database, project/server, project/compiler, type/enhancement]
description: Use this template if you have an Idea that will enhance the API/Database
title: "enhancement: "
labels: [enhancement]
body:
- type: markdown
attributes:
@@ -25,6 +25,6 @@ body:
attributes:
label: Please explain in more details what idea you have
description: If you selected Other or new Data Type please put it as the first line
placeholder: "Ex: I would love to see the cards have this new field..."
placeholder: "Ex: I would love to see the cards have this new awesome field..."
validations:
required: true

View File

@@ -1,26 +0,0 @@
name: Incorect Data
description: Use this when you found an incorrect information on a card/set/serie
title: "[Data]: "
labels: [project/database, type/incorrect-data]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to help correct incorrect informations about the database!
It should take less than a day to get an answer!
- type: textarea
id: incorrect
attributes:
label: Path of the incorrect file(s)
description: Fill the different files that have incorrect informations (one per line) (you can use * if it concern a lot of files)
placeholder: "ex: data/Sword & Shield/Sword & Shield/1.ts"
validations:
required: true
- type: textarea
id: description
attributes:
label: Incorrect informations
description: Describe the incorrect informations
placeholder: "ex: The cards have an incorrect name"
validations:
required: true

View File

@@ -1,7 +1,7 @@
name: New Set
description: Use this Issue Template when you found a New set!
title: "[Set]: {Set Name}"
labels: [type/new-set, project/database]
description: Issue Template used when a new set has been announced by TPC
title: "new set: {Set Name}"
labels: [database]
body:
- type: markdown
attributes:
@@ -11,7 +11,7 @@ body:
id: source
attributes:
label: Source
description: Where did you find out about this new set
description: Where did you find out about this new set (domain name MUST be pokemon.com)
placeholder: "ex: https://www.pokemon.com/us/pokemon-tcg/sword-shield-evolving-skies/explore-and-watch/"
validations:
required: true

5
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@@ -0,0 +1,5 @@
<!--
Thanks for your Pull Request, Please provide the related Issue using "Fix #0" or describe the change(s) you made.
The issue title must follow Conventional Commit conventionalcommits.org.
More informations at https://github.com/tcgdex/cards-database/blob/master/CONTRIBUTING.md
-->

View File

@@ -5,13 +5,26 @@
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
# Workflow files stored in the
# default location of `.github/workflows`
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
versioning-strategy: lockfile-only
commit-message:
prefix: build
- package-ecosystem: "npm"
directory: "/server"
schedule:
interval: "daily"
versioning-strategy: lockfile-only
commit-message:
prefix: build
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: build

15
.github/sponsors/dzeio.svg vendored Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

63
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,63 @@
name: Build Docker image
on:
push:
branches:
- '*'
tags:
- v*
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/tcgdex/server
tcgdex/server
tags: |
type=edge
type=ref,event=pr
type=ref,event=branch,prefix=branch-
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=semver,pattern=latest
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
- name: Login to Github Packages
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
file: ./Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

View File

@@ -1,45 +0,0 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Compile
on:
push:
branches:
- master
paths:
- 'data/**'
- 'meta/**'
pull_request:
jobs:
test:
name: Compilation Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup NodeJS
uses: actions/setup-node@v2.4.1
with:
node-version: 16.x
- name: Install packages
run: npm ci
- name: Build the database
run: npm run compile
push:
name: Launch the compiler
needs: test
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest
steps:
- name: Compiler Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.PAC }}
repository: tcgdex/compiler
event-type: card-database-update

42
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,42 @@
name: Test the Data
on:
push:
branches:
- '*'
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup BunJS
uses: oven-sh/setup-bun@v2
- name: Install deps
run: |
bun install -g @usebruno/cli
bun install --frozen-lockfile
cd server
bun install --frozen-lockfile
bun run compile
- name: Validate the data & the server
run: |
bun run validate
cd server
bun run validate
- name: Validate some requests
run: |
cd server
bun run start &
sleep 10
cd ../.bruno
bru run --env Developpement

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
*.js
node_modules/
dist/

132
CODE_OF_CONDUCT.md Normal file
View File

@@ -0,0 +1,132 @@
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official email address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at contact@tcgdex.net or
on Discord to Avior through the official server https://discord.gg/63mQvd3GVE.
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series of
actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within the
community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].
[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations

View File

@@ -1,33 +1,200 @@
# How to contribute
<!-- omit in toc -->
If you are here, I like you already !
# Contributing to TCGdex
## TL::DR
First off, thanks for taking the time to contribute! ❤️
A card is missing or has incorrect informations?
All types of contributions are encouraged and valued. See the [Table of Contents](#table-of-contents) for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉
feel free to contribute to the database by adding [an Issue](https://github.com/tcgdex/cards-database/issues/new), [a Discussion](https://github.com/tcgdex/cards-database/discussions/new) or [a Pull Request](https://github.com/tcgdex/cards-database/pulls/compare)
> And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about:
>
> - Star the project
> - Tweet about it
> - Refer this project in your project's readme
> - Mention the project at local meetups and tell your friends/colleagues
## Database Issue or recomendation
<!-- omit in toc -->
We would love you to see what you can propose to make the Database/API better !
## Table of Contents
to do this you can check if there is not already an issue/discussion about it, and if there is nothing, add a new [Issues](https://github.com/tcgdex/cards-database/issues/new) if it's already well though, or [create a new discussion](https://github.com/tcgdex/cards-database/discussions/new) to speak about it
- [Code of Conduct](#code-of-conduct)
- [I Have a Question](#i-have-a-question)
- [I Want To Contribute](#i-want-to-contribute)
- [Reporting Issues](#reporting-issues)
- [Suggesting Enhancements](#suggesting-enhancements)
- [Your First Code Contribution](#your-first-code-contribution)
- [Improving The Documentation](#improving-the-documentation)
- [Styleguides](#styleguides)
- [Coding Guidlines](#coding-guidelines)
- [Commit Messages](#commit-messages)
- [Join The Project Team](#join-the-project-team)
## Pushing changes
## Code of Conduct
To send changes to our repository, you will have to follow the next steps:
This project and everyone participating in it is governed by the
[TCGdex Code of Conduct](https://github.com/tcgdex/cards-database/blob/master/CODE_OF_CONDUCT.md).
By participating, you are expected to uphold this code. Please report unacceptable behavior to <contact@tcgdex.net>.
## I Have a Question
> If you want to ask a question, we assume that you have read the available Documentation at <https://www.tcgdex.dev>.
The best way to ask questions is to join our Discord server at <https://discord.gg/NehYTAhsZE>.
You can also ask them on the Github Repository, it is best to search for existing [Issues](https://github.com/tcgdex/cards-database/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in a new issue. It is also advisable to search the internet for answers first.
If you then still feel the need to ask a question and need clarification, we recommend the following:
- Open an [Issue](https://github.com/tcgdex/cards-database/issues/new/choose).
- Provide as much context as you can about what you're running into.
- Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant.
We will then take care of the issue as soon as possible.
<!--
You might want to create a separate issue tag for questions and include it in this description. People should then tag their issues accordingly.
Depending on how large the project is, you may want to outsource the questioning, e.g. to Stack Overflow or Gitter. You may add additional contact and information possibilities:
- IRC
- Slack
- Gitter
- Stack Overflow tag
- Blog
- FAQ
- Roadmap
- E-Mail List
- Forum
-->
## I Want To Contribute
> ### Legal Notice <!-- omit in toc -->
>
> When contributing to this project, you must agree that you have authored 100% of the content, that you have the necessary rights to the content and that the content you contribute may be provided under the project license.
### Reporting Issues
<!-- omit in toc -->
#### Before Submitting an Issue Report
A good issue report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible.
- Determine if your issue is not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](https://www.tcgdex.dev). If you are looking for support, you might want to check [this section](#i-have-a-question)).
- To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already an issue report existing for your bug or error in the [bug tracker](https://github.com/tcgdex/cards-database/issues).
- Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue.
- Collect information about the bug:
- Stack trace (Traceback)
- OS, Platform and Version (Windows, Linux, macOS, x86, ARM)
- Version of the interpreter, compiler, SDK, runtime environment, package manager, depending on what seems relevant.
- Possibly your input and the output
- Can you reliably reproduce the issue? And can you also reproduce it with older versions?
<!-- omit in toc -->
#### How Do I Submit a Good Bug Report?
> You must never report security related issues, vulnerabilities or bugs to the issue tracker, or elsewhere in public. Instead sensitive bugs must be sent by email to <security@tcgdex.net>.
<!-- You may add a PGP key to allow the messages to be sent encrypted as well. -->
We use GitHub issues to track bugs and errors. If you run into an issue with the project:
- Open an [Issue](https://github.com/tcgdex/cards-databaseissues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.)
- Explain the behavior you would expect and the actual behavior.
- Please provide as much context as possible and describe the *reproduction steps* that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case.
- Provide the information you collected in the previous section.
Once it's filed:
- The project team will label the issue accordingly.
- A team member will try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for those steps and mark the issue as `needs-repro`. Bugs with the `needs-repro` tag will not be addressed until they are reproduced.
- If the team is able to reproduce the issue, it will be marked `needs-fix`, as well as possibly other tags (such as `critical`), and the issue will be left to be [implemented by someone](#your-first-code-contribution).
<!-- You might want to create an issue template for bugs and errors that can be used as a guide and that defines the structure of the information to be included. If you do so, reference it here in the description. -->
### Suggesting Enhancements
This section guides you through submitting an enhancement suggestion for TCGdex, **including completely new features and minor improvements to existing functionality**. Following these guidelines will help maintainers and the community to understand your suggestion and find related suggestions.
<!-- omit in toc -->
#### Before Submitting an Enhancement
- Make sure that you are using the latest version.
- Read the [documentation](https://www.tcgdex.dev) carefully and find out if the functionality is already covered, maybe by an individual configuration.
- Perform a [search](https://github.com/tcgdex/cards-databaseissues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
- Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Keep in mind that we want features that will be useful to the majority of our users and not just a small subset. If you're just targeting a minority of users, consider writing an add-on/plugin library.
<!-- omit in toc -->
#### How Do I Submit a Good Enhancement Suggestion?
Enhancement suggestions are tracked as [GitHub issues](https://github.com/tcgdex/cards-databaseissues).
- Use a **clear and descriptive title** for the issue to identify the suggestion.
- Provide a **step-by-step description of the suggested enhancement** in as many details as possible.
- **Describe the current behavior** and **explain which behavior you expected to see instead** and why. At this point you can also tell which alternatives do not work for you.
- You may want to **include screenshots and animated GIFs** which help you demonstrate the steps or point out the part which the suggestion is related to. You can use [this tool](https://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux. <!-- this should only be included if the project has a GUI -->
- **Explain why this enhancement would be useful** to most TCGdex users. You may also want to point out the other projects that solved it better and which could serve as inspiration.
<!-- You might want to create an issue template for enhancement suggestions that can be used as a guide and that defines the structure of the information to be included. If you do so, reference it here in the description. -->
### Your First Code Contribution
_note: Follow the different styleguides listed below when contributing_
- Fork 🍴 the project. _see the `fork` button at the top right of the screen_
- make the changes you want in your repository.
- Create a Pull request here https://github.com/tcgdex/cards-database/compare by selecting your repository patch with our `master` branch
- Create a Pull request here https://github.com/tcgdex/cards-database/compare by selecting your repository patch with our `master` branch _If it's not finished put WIP: before_
- we don't like ❌, so if your pull request has its automated checks ending with the red cross, please double check your changes until it show the awesome 🟢, or ask for help !
- If you pull request is ready for review you can go to the 🏖️ and we will handle the rest !
- If your pull request is ready for review remove WIP: put it s ready for review and we will handle the rest !
## coding Convention
### Improving The Documentation
The documentation is updated in the Documentation repository at <https://github.com/tcgdex/documentation>
## Styleguides
### Coding Guidelines
Install the plugin `.editorconfig` in your dev environment if it's not already done and thats it !
for those who don't want to install it the basic are these:
- Indent using `tab`
- Indent using the `tab` or `\t` character
- the line feed character is `\n`
- only use `;` when necessary and at the start of the line
- use double quotes `"` when editing files in the `data/` folder and single quote `'` in other files
- don't uglify your code (_why would you even do it_)
### Commit Messages
We follow the [Conventional Commit specification](conventionalcommits.org) and are using the [Angular format](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit) with some changes.
In short, please name your Pull Requests/Commits following this format
```
<type>(<scope>): <short summary>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
```
- `type` MUST be one of
- build: Changes affecting the files at `server/compiler`
- ci: Changes affecting the CI at `.github/workflows` or `Dockerfile`
- docs: Changes affecting the differents `.md` files
- feat: a new field/feature being added
- fix: data fixes/server fixes
- pref: Performance related fixes
- refactor: Misc code changes
- test: same as `ci`
- the field `(<scope>)` is optional
- `short summary` MUST follow thoses rules
- Capitalize the first letter
- use the imperative, present tense: "Change" not "Changed" nor "Changes"
- `<footer>` and `<body>` are both optional
## Attribution
This guide is based on [Contribution Gen]((https://github.com/bttger/contributing-gen)) and was adapted by the TCGdex community !

53
Dockerfile Normal file
View File

@@ -0,0 +1,53 @@
FROM docker.io/oven/bun:1-alpine AS build
# go to work folder
WORKDIR /usr/src/app
# Add git as it is used to fetch updated times
RUN apk add git &&\
git config --global safe.directory '*'
ADD --chown=bun:bun package.json bun.lockb ./
ADD --chown=bun:bun server/package.json server/bun.lockb ./server/
# install dependencies
RUN bun install --frozen-lockfile && \
cd server && \
bun install --frozen-lockfile
# Add project files
ADD --chown=bun:bun . .
# build
RUN cd server && \
bun run compile
# remove dev dependencies (bun do not yet support "prune")
RUN cd server && \
rm -rf node_modules && \
bun install --frozen-install --production
# go to another VM
FROM docker.io/oven/bun:1-alpine AS prod
# inform software to be in production
ENV NODE_ENV=production
# run as non root user
USER bun
# go to work folder
WORKDIR /usr/src/app
# copy from build image
COPY --chown=bun:bun --from=build /usr/src/app/server/generated ./generated
COPY --chown=bun:bun --from=build /usr/src/app/server/node_modules ./node_modules
COPY --chown=bun:bun --from=build /usr/src/app/server/src ./src
COPY --chown=bun:bun --from=build /usr/src/app/server/public ./public
COPY --chown=bun:bun --from=build /usr/src/app/server/package.json ./package.json
# Expose port
EXPOSE 3000
# run it !
CMD ["bun", "run", "start"]

View File

@@ -1,6 +1,6 @@
<p align="center">
<a href="https://www.tcgdex.net">
<img src="https://repository-images.githubusercontent.com/241652591/01dd7200-ca01-11eb-98e0-d8f04e7dfe42" width="50%" alt="Discord Link">
<img src="https://www.tcgdex.net/assets/og.png" width="90%" alt="TCGdex Main Image">
</a>
</p>
<p align="center">
@@ -13,63 +13,90 @@
<a href="https://github.com/tcgdex/cards-database/stargazers">
<img src="https://img.shields.io/github/stars/tcgdex/cards-database?style=flat-square" alt="Github stars">
</a>
<a href="https://github.com/tcgdex/compiler">
<img src="https://img.shields.io/github/workflow/status/tcgdex/cards-database/Compile?style=flat-square" alt="Compiler build passing" />
<a href="https://github.com/tcgdex/cards-database/actions">
<img src="https://img.shields.io/github/actions/workflow/status/TCGdex/cards-database/build.yml?style=flat-square" alt="Compiler build passing" />
</a>
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
<a href="#contributors-"><img src="https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square" alt="All Contributors Badge" /></a>
<!-- ALL-CONTRIBUTORS-BADGE:END -->
</p>
# Pokemon TCGdex Cards Database
# TCGdex - Pokémon TCG Cards Database
A Multilanguage Pokémon TCG Database with Cards Pictures and most of the informations contained on the cards.
## Translations
## Getting Started
| | English | French | German | Italian | Portuguese | Spanish |
|-------------|---------|--------|--------|---------|------------|---------|
| Cards | 13869 | 9464 | 6133 | 6133 | 6133 | 6133 |
| Translated | 100% | 68% | 44% | 44% | 44% | 44% |
A full documentation of the API is available at <https://tcgdex.dev>
_want to help translating? each object fields on cards that have at least en,fr,es,de,it,pt can have the others!,_
_Also we have another translation files located at `meta/translations`_
- The easiest way to interact with the database is by using one of our SDKs listed below.
- You can also direcly use the endpoints at `api.tcgdex.net` (see the documentation).
- You can build the API yourself by using our `Dockerfile` and using it on the port 3000
## Interact with the Database
_documentation available at https://www.tcgdex.net/docs_
- The easiest way to interact with the database is by using one of our SDKs _list below_.
- You can also direcly use the endpoints at `api.tcgdex.net`.
- You can build the API yourself by using our [compiler](https://github.com/tcgdex/compiler) or download the already [compiled database](https://github.com/tcgdex/distribution).
## SDKs / API Wrappers
#### SDKs / API Wrappers
We currently officially support theses SDKs
- [Javascript/Typescript SDK](https://github.com/tcgdex/javascript-sdk)
- [PHP SDK](https://github.com/tcgdex/php-sdk)
- [Java SDK](https://github.com/tcgdex/java-sdk)
_If you have a SDK, start a [discussion](https://github.com/tcgdex/cards-database/discussions/new) to be added here_
## Status
We are making sure to make every cards available for every languages they were available !
## Join Us on Discord
[![TCGdex Progress](https://api.tcgdex.net/status/github.svg)](https://api.tcgdex.net/status)
You want to ask something or you just want to discuss anything from an idea/improvement about the API to why Furret should be in the next Pokken Tournament game...
_want to help translating? each object fields on cards that have at least en,fr,es,de,it or pt can have the others!,_
_Also we have another translation files located at `meta/translations`_
Well you can join us on [Discord](https://discord.gg/NehYTAhsZE) !
## Sponsors 💕
## Contributing
_[Support us as a sponsor](https://github.com/sponsors/tcgdex) and have your logo featured on our GitHub README, complete with a link to your website._
See [CONTRIBUTING.md](./CONTRIBUTING.md)
<p align="center">
<a href="https://dzeio.com" target="_blank" title="Dzeio">
<img height="128" width="32%" src="./.github/sponsors/dzeio.svg" alt="TCGdex Sponsor Dzeio" />
</a>
</p>
TL::DR
- Fork
- make your changes
- pull request
<p align="center">
<!-- <a href="https://dzeio.com" target="_blank" title="Dzeio"><img height="80" width="19%" src="./.github/sponsors/dzeio.svg" alt="TCGdex Sponsor Dzeio" /></a> -->
</p>
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.avior.me/"><img src="https://avatars.githubusercontent.com/u/15822031?v=4?s=100" width="100px;" alt="Avior"/><br /><sub><b>Avior</b></sub></a><br /><a href="https://github.com/tcgdex/cards-database/commits?author=Aviortheking" title="Code">💻</a> <a href="#data-Aviortheking" title="Data">🔣</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/JuneTwooo"><img src="https://avatars.githubusercontent.com/u/1458019?v=4?s=100" width="100px;" alt="June"/><br /><sub><b>June</b></sub></a><br /><a href="https://github.com/tcgdex/cards-database/issues?q=author%3AJuneTwooo" title="Bug reports">🐛</a> <a href="#data-JuneTwooo" title="Data">🔣</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Kevin-Adrea"><img src="https://avatars.githubusercontent.com/u/36231620?v=4?s=100" width="100px;" alt="Kevin-Adrea"/><br /><sub><b>Kevin-Adrea</b></sub></a><br /><a href="https://github.com/tcgdex/cards-database/issues?q=author%3AKevin-Adrea" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Maxopoly"><img src="https://avatars.githubusercontent.com/u/12138136?v=4?s=100" width="100px;" alt="Maxopoly"/><br /><sub><b>Maxopoly</b></sub></a><br /><a href="#data-Maxopoly" title="Data">🔣</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/calli23"><img src="https://avatars.githubusercontent.com/u/24553863?v=4?s=100" width="100px;" alt="calli23"/><br /><sub><b>calli23</b></sub></a><br /><a href="#data-calli23" title="Data">🔣</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://imclement.com"><img src="https://avatars.githubusercontent.com/u/1112701?v=4?s=100" width="100px;" alt="Clement Yuan"/><br /><sub><b>Clement Yuan</b></sub></a><br /><a href="#data-spyworldxp" title="Data">🔣</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Reloadaxe"><img src="https://avatars.githubusercontent.com/u/44167126?v=4?s=100" width="100px;" alt="Benjamin Rousseliere"/><br /><sub><b>Benjamin Rousseliere</b></sub></a><br /><a href="#data-Reloadaxe" title="Data">🔣</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
## Deprecation
As of February 2021, the v1 API is no longer supported.
## License
## Licenses
This database is not produced, endorsed, supported or affiliated with Nintendo or The Pokémon Company

BIN
bun.lockb Executable file

Binary file not shown.

10
data-asia/ADV.ts Normal file
View File

@@ -0,0 +1,10 @@
import { Serie } from '../interfaces'
const serie: Serie = {
name: {
ja: 'ADV'
},
id: 'ADV'
}
export default serie

18
data-asia/ADV/ADV1.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../ADV'
const set: Set = {
id: 'ADV1',
name: {
ja: '拡張パック'
},
serie: serie,
cardCount: {
official: 55
},
releaseDate: '2003-01-31'
}
export default set

18
data-asia/ADV/ADV2.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../ADV'
const set: Set = {
id: 'ADV2',
name: {
ja: '砂漠のきせき'
},
serie: serie,
cardCount: {
official: 53
},
releaseDate: '2003-04-18'
}
export default set

18
data-asia/ADV/ADV3.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../ADV'
const set: Set = {
id: 'ADV3',
name: {
ja: '天空の覇者'
},
serie: serie,
cardCount: {
official: 54
},
releaseDate: '2003-06-25'
}
export default set

18
data-asia/ADV/ADV4.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../ADV'
const set: Set = {
id: 'ADV4',
name: {
ja: '強化拡張パックex1マグマVSアクア ふたつの野望'
},
serie: serie,
cardCount: {
official: 80
},
releaseDate: '2003-10-24'
}
export default set

18
data-asia/ADV/ADV5.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../ADV'
const set: Set = {
id: 'ADV5',
name: {
ja: 'とかれた封印'
},
serie: serie,
cardCount: {
official: 83
},
releaseDate: '2004-01-16'
}
export default set

8
data-asia/BW.ts Normal file
View File

@@ -0,0 +1,8 @@
import { Serie } from '../interfaces'
const serie: Serie = {
name: {},
id: 'null'
}
export default serie

19
data-asia/BW/BW1a.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'BW1a',
name: {
ja: 'ブラックコレクション',
ko: '블랙 컬렉션'
},
serie: serie,
cardCount: {
official: 53
},
releaseDate: '2010-12-17'
}
export default set

19
data-asia/BW/BW1b.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'BW1b',
name: {
ja: 'ホワイトコレクション',
ko: '화이트 컬렉션'
},
serie: serie,
cardCount: {
official: 53
},
releaseDate: '2010-12-17'
}
export default set

19
data-asia/BW/BW2.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'BW2',
name: {
ja: 'レッドコレクション',
ko: '레드 컬렉션'
},
serie: serie,
cardCount: {
official: 66
},
releaseDate: '2011-07-15'
}
export default set

19
data-asia/BW/BW3a.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'BW3a',
name: {
ja: 'サイコドライブ',
ko: '사이코 드라이브'
},
serie: serie,
cardCount: {
official: 52
},
releaseDate: '2011-09-16'
}
export default set

19
data-asia/BW/BW3b.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'BW3a',
name: {
ja: 'ヘイルブリザード',
ko: '헤일 블리자드'
},
serie: serie,
cardCount: {
official: 52
},
releaseDate: '2011-09-16'
}
export default set

19
data-asia/BW/BW4.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'BW4',
name: {
ja: 'ダークラッシュ',
ko: '다크러시'
},
serie: serie,
cardCount: {
official: 69
},
releaseDate: '2011-12-16'
}
export default set

19
data-asia/BW/BW5a.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'BW5a',
name: {
ja: 'リューズブラスト',
ko: '드래곤 블라스트'
},
serie: serie,
cardCount: {
official: 50
},
releaseDate: '2012-03-16'
}
export default set

19
data-asia/BW/BW5b.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'BW5b',
name: {
ja: 'リューノブレード',
ko: '드래곤 블레이드'
},
serie: serie,
cardCount: {
official: 50
},
releaseDate: '2012-03-16'
}
export default set

19
data-asia/BW/BW6a.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'BW6a',
name: {
ja: 'フリーズボルト',
ko: '프리즈볼트'
},
serie: serie,
cardCount: {
official: 59
},
releaseDate: '2012-07-13'
}
export default set

19
data-asia/BW/BW6b.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'BW6b',
name: {
ja: 'コールドフレア',
ko: '콜드플레어'
},
serie: serie,
cardCount: {
official: 59
},
releaseDate: '2012-07-13'
}
export default set

19
data-asia/BW/BW7.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'BW7',
name: {
ja: 'プラズマゲイル',
ko: '플라스마게일'
},
serie: serie,
cardCount: {
official: 70
},
releaseDate: '2012-09-14'
}
export default set

19
data-asia/BW/BW8a.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'BW8a',
name: {
ja: 'ラセンフォース',
ko: '스파이럴포스'
},
serie: serie,
cardCount: {
official: 51
},
releaseDate: '2012-12-14'
}
export default set

19
data-asia/BW/BW8b.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'BW8a',
name: {
ja: 'ライデンナックル',
ko: '볼트너클'
},
serie: serie,
cardCount: {
official: 51
},
releaseDate: '2012-12-14'
}
export default set

19
data-asia/BW/BW9.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'BW9',
name: {
ja: 'メガロキャノン',
ko: '메갈로캐논'
},
serie: serie,
cardCount: {
official: 76
},
releaseDate: '2013-03-15'
}
export default set

19
data-asia/BW/DS.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'DS',
name: {
ja: 'ドラゴンセレクション',
ko: '드래곤 컬렉션'
},
serie: serie,
cardCount: {
official: 20
},
releaseDate: '2012-01-27'
}
export default set

19
data-asia/BW/EBB.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'EBB',
name: {
ja: 'EXバトルブースト',
ko: 'EX 배틀 부스트'
},
serie: serie,
cardCount: {
official: 96
},
releaseDate: '2013-07-13'
}
export default set

19
data-asia/BW/SC.ts Normal file
View File

@@ -0,0 +1,19 @@
import { Set } from '../../interfaces'
import serie from '../BW'
const set: Set = {
id: 'SC',
name: {
ja: 'シャイニーコレクション',
ko: '샤이니 컬렉션'
},
serie: serie,
cardCount: {
official: 20
},
releaseDate: '2013-02-01'
}
export default set

8
data-asia/DP.ts Normal file
View File

@@ -0,0 +1,8 @@
import { Serie } from '../interfaces'
const serie: Serie = {
name: {},
id: 'null'
}
export default serie

18
data-asia/DP/DP1a.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../DPt'
const set: Set = {
id: 'DP1a',
name: {
ja: '時空の創造: ダイヤモンドコレクション'
},
serie: serie,
cardCount: {
official: 117
},
releaseDate: '2006-11-30'
}
export default set

18
data-asia/DP/DP1b.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../DPt'
const set: Set = {
id: 'DP1b',
name: {
ja: '時空の創造: パールコレクション'
},
serie: serie,
cardCount: {
official: 119
},
releaseDate: '2006-11-30'
}
export default set

18
data-asia/DP/DP2.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../DPt'
const set: Set = {
id: 'DP2',
name: {
ja: '湖の秘密'
},
serie: serie,
cardCount: {
official: 123
},
releaseDate: '2007-03-02'
}
export default set

18
data-asia/DP/DP3.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../DPt'
const set: Set = {
id: 'DP3',
name: {
ja: 'ひかる闇'
},
serie: serie,
cardCount: {
official: 119
},
releaseDate: '2007-07-05'
}
export default set

18
data-asia/DP/DP4a.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../DPt'
const set: Set = {
id: 'DP4a',
name: {
ja: '月光の追跡'
},
serie: serie,
cardCount: {
official: 70
},
releaseDate: '2007-10-26'
}
export default set

18
data-asia/DP/DP4b.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../DPt'
const set: Set = {
id: 'DP4b',
name: {
ja: '夜明けの疾走'
},
serie: serie,
cardCount: {
official: 70
},
releaseDate: '2007-10-26'
}
export default set

18
data-asia/DP/DP5a.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../DPt'
const set: Set = {
id: 'DP5a',
name: {
ja: '秘境の叫び'
},
serie: serie,
cardCount: {
official: 65
},
releaseDate: '2008-03-14'
}
export default set

18
data-asia/DP/DP5b.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../DPt'
const set: Set = {
id: 'DP5b',
name: {
ja: '怒りの神殿'
},
serie: serie,
cardCount: {
official: 65
},
releaseDate: '2008-03-14'
}
export default set

18
data-asia/DP/DP6.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../DPt'
const set: Set = {
id: 'DP6',
name: {
ja: '破空の激闘'
},
serie: serie,
cardCount: {
official: 92
},
releaseDate: '2008-07-10'
}
export default set

8
data-asia/DPt.ts Normal file
View File

@@ -0,0 +1,8 @@
import { Serie } from '../interfaces'
const serie: Serie = {
name: {},
id: 'null'
}
export default serie

18
data-asia/DPt/Pt1.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../DPt'
const set: Set = {
id: 'Pt1',
name: {
ja: 'ギンガの覇道'
},
serie: serie,
cardCount: {
official: 96
},
releaseDate: '2008-10-10'
}
export default set

18
data-asia/DPt/Pt2.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../DPt'
const set: Set = {
id: 'Pt2',
name: {
ja: '時の果ての絆'
},
serie: serie,
cardCount: {
official: 90
},
releaseDate: '2008-12-26'
}
export default set

18
data-asia/DPt/Pt3.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../DPt'
const set: Set = {
id: 'Pt3',
name: {
ja: 'フロンティアの鼓動'
},
serie: serie,
cardCount: {
official: 100
},
releaseDate: '2009-03-06'
}
export default set

18
data-asia/DPt/Pt4.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../DPt'
const set: Set = {
id: 'Pt4',
name: {
ja: 'アルセウス光臨'
},
serie: serie,
cardCount: {
official: 90
},
releaseDate: '2009-07-08'
}
export default set

10
data-asia/L.ts Normal file
View File

@@ -0,0 +1,10 @@
import { Serie } from '../interfaces'
const serie: Serie = {
name: {
ja: 'LEGEND'
},
id: 'L'
}
export default serie

18
data-asia/L/L1a.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../L'
const set: Set = {
id: 'L1a',
name: {
ja: 'ハートゴールドコレクション'
},
serie: serie,
cardCount: {
official: 70
},
releaseDate: '2009-10-09'
}
export default set

18
data-asia/L/L1b.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../L'
const set: Set = {
id: 'L1b',
name: {
ja: 'ソウルシルバーコレクション'
},
serie: serie,
cardCount: {
official: 70
},
releaseDate: '2009-10-09'
}
export default set

18
data-asia/L/L2.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../L'
const set: Set = {
id: 'L2',
name: {
ja: 'よみがえる伝説'
},
serie: serie,
cardCount: {
official: 70
},
releaseDate: '2010-02-11'
}
export default set

18
data-asia/L/L3.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../L'
const set: Set = {
id: 'L3',
name: {
ja: '頂上大激突'
},
serie: serie,
cardCount: {
official: 70
},
releaseDate: '2010-07-08'
}
export default set

18
data-asia/L/LL.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../L'
const set: Set = {
id: 'LL',
name: {
ja: '強化パック ロストリンク'
},
serie: serie,
cardCount: {
official: 40
},
releaseDate: '2010-04-16'
}
export default set

10
data-asia/PCG.ts Normal file
View File

@@ -0,0 +1,10 @@
import { Serie } from '../interfaces'
const serie: Serie = {
name: {
ja: 'PCG'
},
id: 'PCG'
}
export default serie

18
data-asia/PCG/PCG1.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../PCG'
const set: Set = {
id: 'PCG1',
name: {
ja: '伝説の飛翔'
},
serie: serie,
cardCount: {
official: 82
},
releaseDate: '2004-04-09'
}
export default set

18
data-asia/PCG/PCG10.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../PCG'
const set: Set = {
id: 'PCG10',
name: {
ja: 'ワールドチャンピオンズパック'
},
serie: serie,
cardCount: {
official: 108
},
releaseDate: '2007-07-05'
}
export default set

Some files were not shown because too many files have changed in this diff Show More