1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-12 15:59:18 +00:00

feat: Add abbreviations to the database (#534)

This commit is contained in:
2024-11-06 02:10:06 +01:00
committed by GitHub
parent e30d54469d
commit 8231f45f81
163 changed files with 969 additions and 180 deletions

View File

@ -102,6 +102,10 @@ export async function setToSetSingle(set: Set, lang: SupportedLanguages): Promis
name: set.serie.name[lang] as string
},
symbol: pics[1],
tcgOnline: set.tcgOnline
tcgOnline: set.tcgOnline,
abbreviation: (set.abbreviations?.official || set.abbreviations?.[lang]) ? {
official: set.abbreviations?.official,
localized: set.abbreviations?.[lang]
} : undefined
}
}