Add CreateDeckView

Amend CSS
Correct auth callback
This commit is contained in:
2025-07-19 16:41:08 +02:00
parent 0f30cdf8bb
commit 5ae114aeb1
11 changed files with 486 additions and 95 deletions

View File

@@ -24,6 +24,14 @@ export const isMonsterCard = (card: Card): card is MonsterCard => {
return card.cardType === "MONSTER"
}
export const isSpellCard = (card: Card): card is SpellCard => {
return card.cardType === "SPELL"
}
export const isTrapCard = (card: Card): card is TrapCard => {
return card.cardType === "TRAP"
}
export const getMonsterCardType = (monsterCard: MonsterCard) => {
return `${monsterCard.type} MONSTER `
}