1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-08-16 09:08:52 +00:00

Compare commits

...

105 Commits

Author SHA1 Message Date
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
19497 changed files with 659195 additions and 20325 deletions

View File

@@ -43,6 +43,33 @@
"contributions": [ "contributions": [
"data" "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, "contributorsPerLine": 7,
@@ -50,5 +77,7 @@
"projectOwner": "tcgdex", "projectOwner": "tcgdex",
"repoType": "github", "repoType": "github",
"repoHost": "https://github.com", "repoHost": "https://github.com",
"skipCi": true "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: length 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 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: lt 0
}

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
}

View File

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

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

View File

@@ -1,58 +1,63 @@
name: Build name: Build Docker image
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
on: on:
push: push:
branches: [ master ] branches:
# Publish semver tags as releases. - '*'
tags: [ 'v*.*.*' ] tags:
- v*
pull_request: pull_request:
branches: [ master ] branches:
- master
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: tcgdex/server
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
with:
fetch-depth: 0
# Login against a Docker registry except on PR - name: Docker meta
# https://github.com/docker/login-action id: meta
- name: Log into registry ${{ env.REGISTRY }} uses: docker/metadata-action@v5
if: github.event_name != 'pull_request' with:
uses: docker/login-action@v1 images: |
with: ghcr.io/tcgdex/server
registry: ${{ env.REGISTRY }} tcgdex/server
username: ${{ github.actor }} tags: |
password: ${{ secrets.GITHUB_TOKEN }} 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
# Extract metadata (tags, labels) for Docker - name: Login to Docker Hub
# https://github.com/docker/metadata-action uses: docker/login-action@v3
- name: Extract Docker metadata with:
id: meta username: ${{ secrets.DOCKERHUB_USER }}
uses: docker/metadata-action@v3 password: ${{ secrets.DOCKERHUB_TOKEN }}
with: if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# Build and push Docker image with Buildx (don't push on PR) - name: Login to Github Packages
# https://github.com/docker/build-push-action uses: docker/login-action@v3
- name: Build and push with:
uses: docker/build-push-action@v3 registry: ghcr.io
with: username: ${{ github.actor }}
context: . password: ${{ secrets.DOCKER_TOKEN }}
push: ${{ github.event_name != 'pull_request' }} if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} - 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,14 +0,0 @@
name: Conventionnal Commit
on: pull_request
jobs:
conventional:
name: Conventional PR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: beemojs/conventional-pr-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
config-preset: angular

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

View File

@@ -1,5 +0,0 @@
{
"files.exclude": {
"**/*.js": true
}
}

View File

@@ -1,44 +1,53 @@
FROM node:alpine as BUILD_IMAGE FROM docker.io/oven/bun:1-alpine AS build
WORKDIR /app # go to work folder
WORKDIR /usr/src/app
ADD package.json package-lock.json ./ # Add git as it is used to fetch updated times
ADD server/package.json server/package-lock.json ./server/ 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 # install dependencies
RUN npm ci && \ RUN bun install --frozen-lockfile && \
cd server && \ cd server && \
npm ci bun install --frozen-lockfile
# Add project files # Add project files
ADD . . ADD --chown=bun:bun . .
# build # build
RUN npm run compile && \ RUN cd server && \
cd server && \ bun run compile
npm run compile && \
npm run build
# remove dev dependencies # remove dev dependencies (bun do not yet support "prune")
RUN npm prune --production && \ RUN cd server && \
cd server && \ rm -rf node_modules && \
npm prune --production bun install --frozen-install --production
# go to another VM # go to another VM
FROM node:alpine FROM docker.io/oven/bun:1-alpine AS prod
# go to folder # inform software to be in production
WORKDIR /app ENV NODE_ENV=production
# run as non root user
USER bun
# go to work folder
WORKDIR /usr/src/app
# copy from build image # copy from build image
COPY --from=BUILD_IMAGE /app/server/generated ./generated COPY --chown=bun:bun --from=build /usr/src/app/server/generated ./generated
COPY --from=BUILD_IMAGE /app/server/node_modules ./node_modules COPY --chown=bun:bun --from=build /usr/src/app/server/node_modules ./node_modules
COPY --from=BUILD_IMAGE /app/server/dist ./dist COPY --chown=bun:bun --from=build /usr/src/app/server/src ./src
COPY --from=BUILD_IMAGE /app/server/public ./public COPY --chown=bun:bun --from=build /usr/src/app/server/public ./public
COPY --from=BUILD_IMAGE /app/server/package.json ./package.json COPY --chown=bun:bun --from=build /usr/src/app/server/package.json ./package.json
# Expose port # Expose port
EXPOSE 3000 EXPOSE 3000
# run it ! # run it !
CMD ["npm", "run", "start"] CMD ["bun", "run", "start"]

View File

@@ -13,11 +13,11 @@
<a href="https://github.com/tcgdex/cards-database/stargazers"> <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"> <img src="https://img.shields.io/github/stars/tcgdex/cards-database?style=flat-square" alt="Github stars">
</a> </a>
<a href="https://github.com/tcgdex/compiler"> <a href="https://github.com/tcgdex/cards-database/actions">
<img src="https://img.shields.io/github/workflow/status/tcgdex/cards-database/Compile?style=flat-square" alt="Compiler build passing" /> <img src="https://img.shields.io/github/actions/workflow/status/TCGdex/cards-database/build.yml?style=flat-square" alt="Compiler build passing" />
</a> </a>
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
<a href="#contributors-"><img src="https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square" alt="All Contributors Badge" /></a> <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 --> <!-- ALL-CONTRIBUTORS-BADGE:END -->
</p> </p>
@@ -27,11 +27,7 @@ A Multilanguage Pokémon TCG Database with Cards Pictures and most of the inform
## Getting Started ## Getting Started
_If you need help for using/editing the database, [join us on Discord](https://discord.gg/NehYTAhsZE)!_ A full documentation of the API is available at <https://tcgdex.dev>
### Using the Database
_The full documentation is available at <https://www.tcgdex.dev>_
- The easiest way to interact with the database is by using one of our SDKs listed below. - 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 also direcly use the endpoints at `api.tcgdex.net` (see the documentation).
@@ -45,14 +41,6 @@ We currently officially support theses SDKs
- [PHP SDK](https://github.com/tcgdex/php-sdk) - [PHP SDK](https://github.com/tcgdex/php-sdk)
- [Java SDK](https://github.com/tcgdex/java-sdk) - [Java SDK](https://github.com/tcgdex/java-sdk)
### Editing the Database
There is three sub folders that will allow you to edit some faces of the database
- `/data`: Contains Cards Data architectured around `SerieName/SetName/CardLocalId` folders
- `/meta`: Contains informations for the project (definitions files, Translations for some fields)
- `/server`: The server that allow to communicate with the database
## Status ## Status
We are making sure to make every cards available for every languages they were available ! We are making sure to make every cards available for every languages they were available !
@@ -62,18 +50,19 @@ We are making sure to make every cards available for every languages they were a
_want to help translating? each object fields on cards that have at least en,fr,es,de,it or pt can have the others!,_ _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`_ _Also we have another translation files located at `meta/translations`_
## Contributing ## Sponsors 💕
See [CONTRIBUTING.md](./CONTRIBUTING.md) _[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._
TL::DR <p align="center">
- Fork <a href="https://dzeio.com" target="_blank" title="Dzeio">
- make your changes <img height="128" width="32%" src="./.github/sponsors/dzeio.svg" alt="TCGdex Sponsor Dzeio" />
- pull request </a>
</p>
## Deprecation <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> -->
As of February 2021, the v1 API is no longer supported. </p>
## Contributors ✨ ## Contributors ✨
@@ -83,12 +72,17 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<!-- prettier-ignore-start --> <!-- prettier-ignore-start -->
<!-- markdownlint-disable --> <!-- markdownlint-disable -->
<table> <table>
<tr> <tbody>
<td align="center"><a href="https://www.avior.me/"><img src="https://avatars.githubusercontent.com/u/15822031?v=4?s=100" width="100px;" alt=""/><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> <tr>
<td align="center"><a href="https://github.com/JuneTwooo"><img src="https://avatars.githubusercontent.com/u/1458019?v=4?s=100" width="100px;" alt=""/><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://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"><a href="https://github.com/Kevin-Adrea"><img src="https://avatars.githubusercontent.com/u/36231620?v=4?s=100" width="100px;" alt=""/><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/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"><a href="https://github.com/Maxopoly"><img src="https://avatars.githubusercontent.com/u/12138136?v=4?s=100" width="100px;" alt=""/><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/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>
</tr> <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> </table>
<!-- markdownlint-restore --> <!-- markdownlint-restore -->
@@ -98,6 +92,10 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! 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.
## Licenses ## Licenses
This database is not produced, endorsed, supported or affiliated with Nintendo or The Pokémon Company 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

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

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../PCG'
const set: Set = {
id: 'PCG2',
name: {
ja: '蒼空の激突'
},
serie: serie,
cardCount: {
official: 82
},
releaseDate: '2004-07-01'
}
export default set

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

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../PCG'
const set: Set = {
id: 'PCG3',
name: {
ja: 'ロケット団の逆襲'
},
serie: serie,
cardCount: {
official: 84
},
releaseDate: '2004-10-15'
}
export default set

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

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../PCG'
const set: Set = {
id: 'PCG4',
name: {
ja: '金の空、銀の海'
},
serie: serie,
cardCount: {
official: 106
},
releaseDate: '2005-04-08'
}
export default set

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

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../PCG'
const set: Set = {
id: 'PCG5',
name: {
ja: 'まぼろしの森'
},
serie: serie,
cardCount: {
official: 86
},
releaseDate: '2005-06-30'
}
export default set

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

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../PCG'
const set: Set = {
id: 'PCG6',
name: {
ja: 'ホロンの研究塔'
},
serie: serie,
cardCount: {
official: 86
},
releaseDate: '2005-10-28'
}
export default set

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

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../PCG'
const set: Set = {
id: 'PCG7',
name: {
ja: 'ホロンの幻影'
},
serie: serie,
cardCount: {
official: 52
},
releaseDate: '2006-01-27'
}
export default set

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

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../PCG'
const set: Set = {
id: 'PCG8',
name: {
ja: 'きせきの結晶'
},
serie: serie,
cardCount: {
official: 75
},
releaseDate: '2006-03-10'
}
export default set

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

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../PCG'
const set: Set = {
id: 'PCG9',
name: {
ja: 'さいはての攻防'
},
serie: serie,
cardCount: {
official: 68
},
releaseDate: '2006-06-29'
}
export default set

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

@@ -0,0 +1,10 @@
import { Serie } from '../interfaces'
const serie: Serie = {
name: {
ja: 'ポケットモンスターカードゲーム'
},
id: 'PMCG'
}
export default serie

18
data-asia/PMCG/PMCG1.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../PMCG'
const set: Set = {
id: 'PMCG1',
name: {
ja: '拡張パック'
},
serie: serie,
cardCount: {
official: 102
},
releaseDate: '1996-10-20'
}
export default set

18
data-asia/PMCG/PMCG2.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Set } from '../../interfaces'
import serie from '../PMCG'
const set: Set = {
id: 'PMCG2',
name: {
ja: 'ポケモンジャングル'
},
serie: serie,
cardCount: {
official: 48
},
releaseDate: '1997-03-05'
}
export default set

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