Skip to content

Commit

Permalink
feat: Add serie wide energies (#115)
Browse files Browse the repository at this point in the history
Signed-off-by: Avior <[email protected]>
  • Loading branch information
Aviortheking authored Nov 9, 2021
1 parent e7b660e commit fa6322a
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 1 deletion.
8 changes: 8 additions & 0 deletions data/Platinum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ const set: Serie = {
it: "Platino",
de: "Platin"
},

energies: [
'Darkness',
'Fighting',
'Fire', 'Grass',
'Lightning', 'Metal',
'Psychic', 'Water'
]
}

export default set
10 changes: 9 additions & 1 deletion data/Sun & Moon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ const set: Serie = {
es: "Sol y Luna",
it: "Sole e Luna",
de: "Sonne & Mond"
}
},

energies: [
'Darkness', 'Dragon',
'Fairy', 'Fighting',
'Fire', 'Grass',
'Lightning', 'Metal',
'Psychic', 'Water'
]
}

export default set
7 changes: 7 additions & 0 deletions data/Sword & Shield.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ const set: Serie = {
it: "Spada e Scudo",
de: "Schwert & Schild"
},

energies: [
'Darkness', 'Dragon',
'Fighting', 'Fire', 'Grass',
'Lightning', 'Metal',
'Psychic', 'Water'
]
}

export default set
8 changes: 8 additions & 0 deletions data/XY.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ const set: Serie = {
it: "XY",
de: "XY"
},

energies: [
'Darkness', 'Dragon',
'Fairy', 'Fighting',
'Fire', 'Grass',
'Lightning', 'Metal',
'Psychic', 'Water'
]
}

export default set
5 changes: 5 additions & 0 deletions interfaces.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ export type Languages<T = string> = Partial<Record<SupportedLanguages, T>>
export interface Serie {
id: string
name: Languages

/**
* Serie Energy cards
*/
energies?: Array<Types>
}

interface variants {
Expand Down

0 comments on commit fa6322a

Please sign in to comment.