mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-13 16:19:18 +00:00
feat: Add firstSet and lastSet properties to Serie interface (#591)
This commit is contained in:
@ -63,6 +63,8 @@ export async function serieToSerieSingle(serie: Serie, lang: SupportedLanguages)
|
||||
id: serie.id,
|
||||
logo,
|
||||
name: serie.name[lang] as string,
|
||||
firstSet: sets[0],
|
||||
lastSet: sets[sets.length - 1],
|
||||
sets
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user