Skip to content

Commit

Permalink
First deck added (still need to find a good ID)
Browse files Browse the repository at this point in the history
Signed-off-by: Avior <[email protected]>
  • Loading branch information
Aviortheking committed Jan 3, 2024
1 parent ef23029 commit 2d427e7
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
40 changes: 40 additions & 0 deletions data/Black & White/Noble Victories/Decks/Fast Daze.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import { Deck } from '../../../../interfaces'

const deck: Deck = {
id: 'deck.bw.nv.fd',
// id: 'd-bw3-1',
// id: 'card.bw.nv.1',
name: {
en: 'Fast Daze'
},
typesFocus: ['Fire', 'Grass'],
cards: [
{ id: 'bw3-12', variant: 'holo' },
'bw3-12',
{ id: 'bw3-11', quantity: 4 },
'bw3-3',
{ id: 'bw3-2', quantity: 2 },
{ id: 'bw3-1', quantity: 3 },
'bw3-5',
{ id: 'bw3-4', quantity: 2 },
{ id: 'bw3-7', quantity: 2 },
{ id: 'bw3-6', quantity: 2 },
{ id: 'bw3-9', quantity: 3 },
'bw3-21',
{ id: 'bw3-21', quantity: 2 },
{ id: 'bw3-17', quantity: 2 },
{ id: 'bw3-16', quantity: 2 },
{ id: 'bw3-7', quantity: 2 },
{ id: 'bw1-93', quantity: 2 },
{ id: 'bw1-100', quantity: 2 },
{ id: 'bw2-91', quantity: 2 },
{ id: 'bw2-91', quantity: 2 },
'bw3-92',
{ id: 'bw1-99', quantity: 2 },
{ id: 'bw3-95', quantity: 2 },
{ id: 'bw1-105', quantity: 12 },
{ id: 'bw1-106', quantity: 6 }
]
}

export default deck
20 changes: 20 additions & 0 deletions interfaces.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,3 +314,23 @@ export interface Filter {
cards: Array<string>
}
}

export interface Deck {
id: string
name: Languages
typesFocus: Array<Types>
cards: Array<{
/**
* Card Global ID
*/
id: string
/**
* Card quantity in the deck
*/
quantity?: number
/**
* Card variant
*/
variant?: keyof Omit<variants, 'normal' | 'firstEdition'>
} | string>
}

0 comments on commit 2d427e7

Please sign in to comment.