mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-04-23 11:22:10 +00:00
feat: Add serie wide energies (#115)
Signed-off-by: Avior <github@avior.me>
This commit is contained in:
parent
e7b660eb21
commit
fa6322a635
@ -9,6 +9,14 @@ const set: Serie = {
|
|||||||
it: "Platino",
|
it: "Platino",
|
||||||
de: "Platin"
|
de: "Platin"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
energies: [
|
||||||
|
'Darkness',
|
||||||
|
'Fighting',
|
||||||
|
'Fire', 'Grass',
|
||||||
|
'Lightning', 'Metal',
|
||||||
|
'Psychic', 'Water'
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
export default set
|
export default set
|
||||||
|
@ -8,7 +8,15 @@ const set: Serie = {
|
|||||||
es: "Sol y Luna",
|
es: "Sol y Luna",
|
||||||
it: "Sole e Luna",
|
it: "Sole e Luna",
|
||||||
de: "Sonne & Mond"
|
de: "Sonne & Mond"
|
||||||
}
|
},
|
||||||
|
|
||||||
|
energies: [
|
||||||
|
'Darkness', 'Dragon',
|
||||||
|
'Fairy', 'Fighting',
|
||||||
|
'Fire', 'Grass',
|
||||||
|
'Lightning', 'Metal',
|
||||||
|
'Psychic', 'Water'
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
export default set
|
export default set
|
||||||
|
@ -9,6 +9,13 @@ const set: Serie = {
|
|||||||
it: "Spada e Scudo",
|
it: "Spada e Scudo",
|
||||||
de: "Schwert & Schild"
|
de: "Schwert & Schild"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
energies: [
|
||||||
|
'Darkness', 'Dragon',
|
||||||
|
'Fighting', 'Fire', 'Grass',
|
||||||
|
'Lightning', 'Metal',
|
||||||
|
'Psychic', 'Water'
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
export default set
|
export default set
|
||||||
|
@ -9,6 +9,14 @@ const set: Serie = {
|
|||||||
it: "XY",
|
it: "XY",
|
||||||
de: "XY"
|
de: "XY"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
energies: [
|
||||||
|
'Darkness', 'Dragon',
|
||||||
|
'Fairy', 'Fighting',
|
||||||
|
'Fire', 'Grass',
|
||||||
|
'Lightning', 'Metal',
|
||||||
|
'Psychic', 'Water'
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
export default set
|
export default set
|
||||||
|
5
interfaces.d.ts
vendored
5
interfaces.d.ts
vendored
@ -5,6 +5,11 @@ export type Languages<T = string> = Partial<Record<SupportedLanguages, T>>
|
|||||||
export interface Serie {
|
export interface Serie {
|
||||||
id: string
|
id: string
|
||||||
name: Languages
|
name: Languages
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Serie Energy cards
|
||||||
|
*/
|
||||||
|
energies?: Array<Types>
|
||||||
}
|
}
|
||||||
|
|
||||||
interface variants {
|
interface variants {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user