mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-08-15 01:41:59 +00:00
Compare commits
254 Commits
Author | SHA1 | Date | |
---|---|---|---|
7e2a3ea30c | |||
ecf4c9f8fa | |||
e8e9c23e14 | |||
e4099defdb | |||
19dccfd5d7 | |||
|
2f9c5814ff | ||
|
7f95bd3da1 | ||
|
0158daf40d | ||
|
a597759d9d | ||
|
28662c55c3 | ||
|
eca49a1bee | ||
|
de13bb175a | ||
34dc55b1d7 | |||
17ef7efab3 | |||
|
b6dab212b7 | ||
ff0cf14773 | |||
|
2a2b6463ff | ||
|
6b3633e748 | ||
8fb7f88283 | |||
|
366e9e6ea7 | ||
a33629e883 | |||
33232f1b65 | |||
7568334dec | |||
|
f39956e429 | ||
|
a722ecbbda | ||
f2a7f09e48 | |||
|
60031a9de6 | ||
144b794610 | |||
62f6671b63 | |||
87d9b16fb8 | |||
0616b98038 | |||
|
a8f8b29340 | ||
|
2813d77f92 | ||
ebc2bb28bf | |||
c52ed815bb | |||
5e1ba9ee8d | |||
|
121db30389 | ||
|
48a984ef50 | ||
|
2b6d06184d | ||
|
109921761e | ||
|
3b02e9be81 | ||
|
eaf5935a0f | ||
|
878c0dc83a | ||
|
aeaa784100 | ||
|
fabb829169 | ||
d291c692d9 | |||
8610bd60fe | |||
|
89e0b8d367 | ||
|
660cccbe97 | ||
8eb9131f60
|
|||
041572da85
|
|||
982e0dd8f0 | |||
207a18fec6 | |||
ac83a0ebdb | |||
45f7db66d7 | |||
14ed8ee912 | |||
bf8f610c04 | |||
8231f45f81 | |||
e30d54469d | |||
c1d83caca0 | |||
64bcd0524d | |||
07a8ad0b8e | |||
4c96331b93 | |||
1a52a6f29a | |||
1d14078dd8 | |||
4f2c27937a | |||
bbd5d28dc6 | |||
ce8d5590ef | |||
b9dae445b1 | |||
4700618047 | |||
5899083e5d | |||
ae6ed3cdaa | |||
5928a1dd25 | |||
|
5fbcd82457 | ||
cfd6d5c0e8 | |||
|
80f483ab66 | ||
31b1ae566e | |||
698f66cf55 | |||
c8ec4c88a7 | |||
68e363bfaa | |||
|
ab265c6c41 | ||
|
c10020a9a9 | ||
|
e36865e971 | ||
|
5b32edb5bf | ||
|
e7ceb7ac59 | ||
|
629ab06c4c | ||
|
7e3cf7aa08 | ||
|
0475848425 | ||
|
eea5c5147b | ||
3d58d92db7 | |||
|
d0b4071ff9 | ||
|
661edcf790 | ||
27521b92ad | |||
6751deb9d0 | |||
2e8c843c5a | |||
|
d75b756bac | ||
|
91dc66a494 | ||
a26ef0e5eb | |||
|
a35fadd50c | ||
|
f2c664badc | ||
8a4a93af8f | |||
d48971c95e | |||
16fe072e7e | |||
c476d82618 | |||
e4aba3bf1c | |||
df154e6b9b | |||
c7b3267ca2 | |||
14418b0c94 | |||
aa99ed2750 | |||
2d27a129a1 | |||
0c29886812 | |||
f6e7871fc5 | |||
f9aa90ed09 | |||
8e3406f8fc | |||
e6a8c1dd71 | |||
0146765e7a | |||
41bf9afde7 | |||
2cfa860f6d | |||
b168b86006 | |||
|
3a441887b8 | ||
|
e36c92a0b0 | ||
33007d83bc | |||
8684fb14e4 | |||
8fd7afeb32 | |||
28fcb66fc9 | |||
12ed23b5a2 | |||
b4dbdef4fa | |||
ef23029d24 | |||
b333423c5d | |||
7fe2f0283c | |||
b7e150fe45 | |||
5c8ca20a41 | |||
034b7e2cec | |||
f8c1d7dce9 | |||
2b9c364625 | |||
c8db79bfaa | |||
e18c919cfc | |||
3cb7e062da | |||
ed4d9a18b0 | |||
6d133f5343 | |||
b24233b342 | |||
a7011c519d | |||
2da15ced34 | |||
3c93a3534c | |||
|
e0e3a1a4fd | ||
|
636a49f9a8 | ||
|
5cf0f1af5a | ||
|
6abe6193c1 | ||
|
2a7e84c93a | ||
9074fbf511 | |||
a2db003735
|
|||
4b340733d7
|
|||
2b23503864
|
|||
467f6e9e95
|
|||
c5af3d17e6
|
|||
8192542c1d
|
|||
33814d7df2
|
|||
f5fa952e54
|
|||
5c6a4749f8 | |||
0146baaf82 | |||
7467090e2c | |||
fad5e018a3 | |||
e7e0e4d639 | |||
91865f7f02 | |||
a006f77bf4 | |||
|
2bed8a4995 | ||
932b52b8d1
|
|||
|
ecd9cb313f | ||
|
f867e18ab7 | ||
82395591e1 | |||
|
a65798f000 | ||
a835c6ca29 | |||
|
3d5beb1f76 | ||
4ec775fe56 | |||
fc74c637d3 | |||
|
452016f564 | ||
|
fe2a77115e | ||
7a5000c2f3 | |||
|
7a21171219 | ||
|
29f66ed0a2 | ||
|
d9ced72b81 | ||
|
e3ebaefbda | ||
|
03f44625ac | ||
|
c10444cfe8 | ||
|
919a098c80 | ||
|
5b858ec207 | ||
|
df64dbda1e | ||
|
f50b536000 | ||
|
659b60c5b9 | ||
|
ed88d97f01 | ||
|
8116b8a36f | ||
97a521ddac | |||
|
fbde4a9b5f | ||
|
02f3c4dbd8 | ||
|
7763d6b807 | ||
|
430d92fa27 | ||
62257cb5f0 | |||
fa2391397c | |||
bf1b890302 | |||
|
509f961b94 | ||
|
77223376fa | ||
|
a3be561b6e | ||
|
b3a9874d2c | ||
df5bb1aae3 | |||
1d8077d8b4 | |||
16467d4a19 | |||
|
9956808686 | ||
|
5a77eb6397 | ||
|
d7cc241045 | ||
|
28ede1add3 | ||
|
29c4c5b9b8 | ||
|
5e17ad4fd0 | ||
|
b06a2c4a9d | ||
0f05a63198 | |||
|
fe7f6a0738 | ||
|
6b9f33d79a | ||
|
e842937023 | ||
|
8d3164554f | ||
|
b0a72fe69e | ||
|
549ff493c8 | ||
|
fa88847240 | ||
c2ea960801 | |||
|
eecbee9194 | ||
|
4dda72aa7f | ||
|
0bc30d6001 | ||
|
7421e3c523 | ||
6045261e59 | |||
16862a048e | |||
762ce389c1 | |||
8ef099273e | |||
d4be6fa84f | |||
b70c73d43e | |||
b365c15559 | |||
d7d600c0d7 | |||
227637fd97 | |||
ac3a62c0ec | |||
|
9d2cad1cc9 | ||
afe33f4b3c | |||
|
d81275b679 | ||
|
6c0db1fba8 | ||
b55cab7c6f | |||
|
7f83a6f8eb | ||
|
f473f1e920 | ||
ada32e3b20 | |||
2f5f52b51c | |||
df23371cb4 | |||
b6fbcc1b77 | |||
68054fe4c9 | |||
ffdd3b4656 | |||
3b8e87e284 | |||
|
64f107ca01 | ||
|
a15a6e122c | ||
5ef66aac3b | |||
a8c1188e5f |
@@ -22,7 +22,8 @@
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/1458019?v=4",
|
||||
"profile": "https://github.com/JuneTwooo",
|
||||
"contributions": [
|
||||
"bug"
|
||||
"bug",
|
||||
"data"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -42,6 +43,33 @@
|
||||
"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,
|
||||
@@ -49,5 +77,7 @@
|
||||
"projectOwner": "tcgdex",
|
||||
"repoType": "github",
|
||||
"repoHost": "https://github.com",
|
||||
"skipCi": true
|
||||
"skipCi": true,
|
||||
"commitConvention": "angular",
|
||||
"commitType": "docs"
|
||||
}
|
||||
|
8
.bruno/bruno.json
Normal file
8
.bruno/bruno.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "TCGdex",
|
||||
"type": "collection",
|
||||
"presets": {
|
||||
"requestType": "http"
|
||||
}
|
||||
}
|
25
.bruno/cards/advanced-query.bru
Normal file
25
.bruno/cards/advanced-query.bru
Normal 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: gte 14
|
||||
}
|
28
.bruno/cards/get-cards-list.bru
Normal file
28
.bruno/cards/get-cards-list.bru
Normal 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
|
||||
}
|
16
.bruno/cards/get-one-card.bru
Normal file
16
.bruno/cards/get-one-card.bru
Normal 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
23
.bruno/cards/multiple.bru
Normal 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
|
||||
}
|
3
.bruno/environments/Beta.bru
Normal file
3
.bruno/environments/Beta.bru
Normal file
@@ -0,0 +1,3 @@
|
||||
vars {
|
||||
BASE_URL: https://beta.api.tcgdex.net
|
||||
}
|
3
.bruno/environments/Developpement.bru
Normal file
3
.bruno/environments/Developpement.bru
Normal file
@@ -0,0 +1,3 @@
|
||||
vars {
|
||||
BASE_URL: http://127.0.0.1:3000
|
||||
}
|
3
.bruno/environments/Production.bru
Normal file
3
.bruno/environments/Production.bru
Normal file
@@ -0,0 +1,3 @@
|
||||
vars {
|
||||
BASE_URL: https://api.tcgdex.net
|
||||
}
|
22
.bruno/fixes/466-invalid-sorting.bru
Normal file
22
.bruno/fixes/466-invalid-sorting.bru
Normal 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
|
||||
}
|
15
.bruno/fixes/467-options-not-working-correctly.bru
Normal file
15
.bruno/fixes/467-options-not-working-correctly.bru
Normal 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
|
||||
}
|
22
.bruno/fixes/471-invalid-set-sorting.bru
Normal file
22
.bruno/fixes/471-invalid-set-sorting.bru
Normal 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
|
||||
}
|
25
.bruno/fixes/474-queries-crashing-the-server.bru
Normal file
25
.bruno/fixes/474-queries-crashing-the-server.bru
Normal 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
|
||||
}
|
25
.bruno/fixes/475-ability-query-subfields.bru
Normal file
25
.bruno/fixes/475-ability-query-subfields.bru
Normal 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
|
||||
}
|
17
.bruno/fixes/489-crash-when-sorting-with-null-values.bru
Normal file
17
.bruno/fixes/489-crash-when-sorting-with-null-values.bru
Normal 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
|
||||
}
|
@@ -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}}
|
||||
}
|
15
.bruno/fixes/566-specific-request-crash-the-request.bru
Normal file
15
.bruno/fixes/566-specific-request-crash-the-request.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: 566 - Specific request crash the request
|
||||
type: http
|
||||
seq: 7
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/v2/fr/cards?name=eq:Pikachu&name=eq:Pichu,Pikachu
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
}
|
@@ -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
28
.bruno/graphql/card.bru
Normal 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
33
.bruno/graphql/cards.bru
Normal 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
29
.bruno/graphql/serie.bru
Normal 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
24
.bruno/graphql/series.bru
Normal 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
29
.bruno/graphql/set.bru
Normal 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
24
.bruno/graphql/sets.bru
Normal 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
|
||||
}
|
20
.bruno/random/Random Card.bru
Normal file
20
.bruno/random/Random Card.bru
Normal 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
|
||||
}
|
19
.bruno/random/Random Serie.bru
Normal file
19
.bruno/random/Random Serie.bru
Normal 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
|
||||
}
|
20
.bruno/random/Random Set.bru
Normal file
20
.bruno/random/Random Set.bru
Normal 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
|
||||
}
|
21
.bruno/sets/Advanced Query.bru
Normal file
21
.bruno/sets/Advanced Query.bru
Normal 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
|
||||
}
|
16
.bruno/sets/Get a card by set name.bru
Normal file
16
.bruno/sets/Get a card by set name.bru
Normal 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
|
||||
}
|
16
.bruno/sets/Get a set by name.bru
Normal file
16
.bruno/sets/Get a set by name.bru
Normal 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
|
||||
}
|
25
.bruno/sets/get-a-list-of-sets.bru
Normal file
25
.bruno/sets/get-a-list-of-sets.bru
Normal 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
16
.bruno/sets/get-a-set.bru
Normal 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
|
||||
}
|
16
.bruno/sets/get-one-card-from-a-set.bru
Normal file
16
.bruno/sets/get-one-card-from-a-set.bru
Normal 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
|
||||
}
|
1
.github/FUNDING.yml
vendored
Normal file
1
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
github: TCGdex
|
8
.github/ISSUE_TEMPLATE/database-issue.yml
vendored
8
.github/ISSUE_TEMPLATE/database-issue.yml
vendored
@@ -19,10 +19,10 @@ body:
|
||||
label: What seems to be the issue
|
||||
description: Select the types of data that seems to be causing issues
|
||||
options:
|
||||
- label: Card
|
||||
- label: Set
|
||||
- label: Serie
|
||||
- label: Other
|
||||
- Card
|
||||
- Set
|
||||
- Serie
|
||||
- Other
|
||||
- type: input
|
||||
id: fields
|
||||
attributes:
|
||||
|
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -1,5 +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 (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
|
||||
-->
|
||||
|
15
.github/sponsors/dzeio.svg
vendored
Normal file
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 |
97
.github/workflows/build.yml
vendored
97
.github/workflows/build.yml
vendored
@@ -1,58 +1,63 @@
|
||||
name: Build
|
||||
|
||||
# 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.
|
||||
|
||||
name: Build Docker image
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
# Publish semver tags as releases.
|
||||
tags: [ 'v*.*.*' ]
|
||||
branches:
|
||||
- '*'
|
||||
tags:
|
||||
- v*
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
env:
|
||||
# Use docker.io for Docker Hub if empty
|
||||
REGISTRY: ghcr.io
|
||||
# github.repository as <account>/<repo>
|
||||
IMAGE_NAME: tcgdex/server
|
||||
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
# Login against a Docker registry except on PR
|
||||
# https://github.com/docker/login-action
|
||||
- name: Log into registry ${{ env.REGISTRY }}
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- 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
|
||||
|
||||
# Extract metadata (tags, labels) for Docker
|
||||
# https://github.com/docker/metadata-action
|
||||
- name: Extract Docker metadata
|
||||
id: meta
|
||||
uses: docker/metadata-action@v3
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
- 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]' }}
|
||||
|
||||
# Build and push Docker image with Buildx (don't push on PR)
|
||||
# https://github.com/docker/build-push-action
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
- 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 }}
|
||||
|
14
.github/workflows/conventionnal-commit.yml
vendored
14
.github/workflows/conventionnal-commit.yml
vendored
@@ -1,14 +0,0 @@
|
||||
name: Conventionnal Commit
|
||||
on: pull_request
|
||||
jobs:
|
||||
conventional:
|
||||
name: Conventional PR
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: beemojs/conventional-pr-action@v2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
config-preset: angular
|
42
.github/workflows/test.yml
vendored
Normal file
42
.github/workflows/test.yml
vendored
Normal 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
|
@@ -6,8 +6,8 @@ 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, religion, or sexual identity
|
||||
and orientation.
|
||||
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.
|
||||
@@ -22,17 +22,17 @@ community include:
|
||||
* 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
|
||||
* 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
|
||||
* 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
|
||||
* 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
|
||||
|
||||
@@ -52,15 +52,15 @@ decisions when appropriate.
|
||||
|
||||
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 e-mail address,
|
||||
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
|
||||
the `contact@tcgdex.net` email or on Discord to `Avior#3872`.
|
||||
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
|
||||
@@ -82,15 +82,15 @@ behavior was inappropriate. A public apology may be requested.
|
||||
|
||||
### 2. Warning
|
||||
|
||||
**Community Impact**: A violation through a single incident or series
|
||||
of actions.
|
||||
**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.
|
||||
like social media. Violating these terms may lead to a temporary or permanent
|
||||
ban.
|
||||
|
||||
### 3. Temporary Ban
|
||||
|
||||
@@ -106,23 +106,27 @@ 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
|
||||
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.
|
||||
**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.0, available at
|
||||
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
||||
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](https://github.com/mozilla/diversity).
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
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. Translations are available at
|
||||
https://www.contributor-covenant.org/translations.
|
||||
[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
|
||||
|
62
Dockerfile
62
Dockerfile
@@ -1,44 +1,56 @@
|
||||
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 server/package.json server/package-lock.json ./server/
|
||||
# Add git as it is used to fetch updated times
|
||||
RUN apk add git\
|
||||
&& git config --global safe.directory '*'\
|
||||
&& chown -R bun:bun .
|
||||
|
||||
USER bun
|
||||
|
||||
ADD --chown=bun:bun package.json bun.lockb ./
|
||||
ADD --chown=bun:bun server/package.json server/bun.lockb ./server/
|
||||
|
||||
# install dependencies
|
||||
RUN npm ci && \
|
||||
cd server && \
|
||||
npm ci
|
||||
RUN bun install --frozen-lockfile && \
|
||||
cd server && \
|
||||
bun install --frozen-lockfile
|
||||
|
||||
# Add project files
|
||||
ADD . .
|
||||
ADD --chown=bun:bun . .
|
||||
|
||||
# build
|
||||
RUN npm run compile && \
|
||||
cd server && \
|
||||
npm run compile && \
|
||||
npm run build
|
||||
RUN cd server && \
|
||||
bun run compile
|
||||
|
||||
# remove dev dependencies
|
||||
RUN npm prune --production && \
|
||||
cd server && \
|
||||
npm prune --production
|
||||
# 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 node:alpine
|
||||
FROM docker.io/oven/bun:1-alpine AS prod
|
||||
|
||||
# go to folder
|
||||
WORKDIR /app
|
||||
# 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 --from=BUILD_IMAGE /app/server/generated ./generated
|
||||
COPY --from=BUILD_IMAGE /app/server/node_modules ./node_modules
|
||||
COPY --from=BUILD_IMAGE /app/server/dist ./dist
|
||||
COPY --from=BUILD_IMAGE /app/server/public ./public
|
||||
COPY --from=BUILD_IMAGE /app/server/package.json ./package.json
|
||||
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 ["npm", "run", "start"]
|
||||
CMD ["bun", "run", "start"]
|
||||
|
73
README.md
73
README.md
@@ -13,11 +13,11 @@
|
||||
<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-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 -->
|
||||
</p>
|
||||
|
||||
@@ -27,15 +27,11 @@ A Multilanguage Pokémon TCG Database with Cards Pictures and most of the inform
|
||||
|
||||
## Getting Started
|
||||
|
||||
_If you need help for using/editing the database, [join our Discord server](https://discord.gg/NehYTAhsZE)!_
|
||||
|
||||
### Using the Database
|
||||
|
||||
_The full documentation is available at <https://www.tcgdex.dev>_
|
||||
A full documentation of the API is available at <https://tcgdex.dev>
|
||||
|
||||
- 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
|
||||
- You can build the API yourself by using our `Dockerfile` and using it on the port 3000 (`docker-compose.yml` file included above)
|
||||
|
||||
#### SDKs / API Wrappers
|
||||
|
||||
@@ -45,40 +41,28 @@ We currently officially support theses SDKs
|
||||
- [PHP SDK](https://github.com/tcgdex/php-sdk)
|
||||
- [Java SDK](https://github.com/tcgdex/java-sdk)
|
||||
|
||||
### Editing the Database
|
||||
## Status
|
||||
|
||||
There is three sub folders that will allow you to edit some faces of the database
|
||||
We are making sure to make every cards available for every languages they were available !
|
||||
|
||||
- `/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
|
||||
|
||||
## Translations
|
||||
|
||||
We have a big effort on translating datas for older sets
|
||||
|
||||
_note: numbers updated manually_
|
||||
|
||||
| | English | French | German | Italian | Portuguese | Spanish |
|
||||
|-------------|---------|--------|--------|---------|------------|---------|
|
||||
| Cards | 14419 | 9846 | 6590 | 6576 | 6593 | 6590 |
|
||||
| Translated | 100% | 68.2% | 45.7% | 45.6% | 45.7% | 45.7% |
|
||||
[](https://api.tcgdex.net/status)
|
||||
|
||||
_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`_
|
||||
|
||||
## 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
|
||||
- Fork
|
||||
- make your changes
|
||||
- pull request
|
||||
<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>
|
||||
|
||||
## Deprecation
|
||||
|
||||
As of February 2021, the v1 API is no longer supported.
|
||||
<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 ✨
|
||||
|
||||
@@ -88,12 +72,17 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
||||
<!-- prettier-ignore-start -->
|
||||
<!-- markdownlint-disable -->
|
||||
<table>
|
||||
<tr>
|
||||
<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>
|
||||
<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></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"><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>
|
||||
</tr>
|
||||
<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 -->
|
||||
@@ -103,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!
|
||||
|
||||
## Deprecation
|
||||
|
||||
As of February 2021, the v1 API is no longer supported.
|
||||
|
||||
## Licenses
|
||||
|
||||
This database is not produced, endorsed, supported or affiliated with Nintendo or The Pokémon Company
|
||||
|
10
data-asia/ADV.ts
Normal file
10
data-asia/ADV.ts
Normal 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
18
data-asia/ADV/ADV1.ts
Normal 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
18
data-asia/ADV/ADV2.ts
Normal 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
18
data-asia/ADV/ADV3.ts
Normal 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
18
data-asia/ADV/ADV4.ts
Normal 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
18
data-asia/ADV/ADV5.ts
Normal 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
8
data-asia/BW.ts
Normal 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
19
data-asia/BW/BW1a.ts
Normal 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
19
data-asia/BW/BW1b.ts
Normal 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
19
data-asia/BW/BW2.ts
Normal 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
19
data-asia/BW/BW3a.ts
Normal 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
19
data-asia/BW/BW3b.ts
Normal 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
19
data-asia/BW/BW4.ts
Normal 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
19
data-asia/BW/BW5a.ts
Normal 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
19
data-asia/BW/BW5b.ts
Normal 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
19
data-asia/BW/BW6a.ts
Normal 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
19
data-asia/BW/BW6b.ts
Normal 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
19
data-asia/BW/BW7.ts
Normal 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
19
data-asia/BW/BW8a.ts
Normal 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
19
data-asia/BW/BW8b.ts
Normal 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
19
data-asia/BW/BW9.ts
Normal 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
19
data-asia/BW/DS.ts
Normal 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
19
data-asia/BW/EBB.ts
Normal 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
19
data-asia/BW/SC.ts
Normal 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
8
data-asia/DP.ts
Normal 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
18
data-asia/DP/DP1a.ts
Normal 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
18
data-asia/DP/DP1b.ts
Normal 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
18
data-asia/DP/DP2.ts
Normal 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
18
data-asia/DP/DP3.ts
Normal 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
18
data-asia/DP/DP4a.ts
Normal 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
18
data-asia/DP/DP4b.ts
Normal 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
18
data-asia/DP/DP5a.ts
Normal 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
18
data-asia/DP/DP5b.ts
Normal 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
18
data-asia/DP/DP6.ts
Normal 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
8
data-asia/DPt.ts
Normal 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
18
data-asia/DPt/Pt1.ts
Normal 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
18
data-asia/DPt/Pt2.ts
Normal 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
18
data-asia/DPt/Pt3.ts
Normal 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
18
data-asia/DPt/Pt4.ts
Normal 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
10
data-asia/L.ts
Normal 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
18
data-asia/L/L1a.ts
Normal 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
18
data-asia/L/L1b.ts
Normal 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
18
data-asia/L/L2.ts
Normal 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
18
data-asia/L/L3.ts
Normal 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
18
data-asia/L/LL.ts
Normal 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
10
data-asia/PCG.ts
Normal 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
18
data-asia/PCG/PCG1.ts
Normal 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
18
data-asia/PCG/PCG10.ts
Normal 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
18
data-asia/PCG/PCG2.ts
Normal 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
18
data-asia/PCG/PCG3.ts
Normal 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
18
data-asia/PCG/PCG4.ts
Normal 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
18
data-asia/PCG/PCG5.ts
Normal 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
18
data-asia/PCG/PCG6.ts
Normal 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
18
data-asia/PCG/PCG7.ts
Normal 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
18
data-asia/PCG/PCG8.ts
Normal 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
18
data-asia/PCG/PCG9.ts
Normal 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
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user