feat: add get /decks v2 which does not return maxCardsCount. Add /decks/min-max-cards to use instead. /v1/decks is now deprecated

This commit is contained in:
2024-01-21 15:52:03 +01:00
parent e0b2704888
commit 32c8df6a4c
10 changed files with 114 additions and 18 deletions

View File

@@ -20,8 +20,13 @@ export class DeckAuthor {
name: string
}
export class PaginatedDecks {
export class PaginatedDecksWithMaxCardsCount {
items: DeckWithAuthor[]
pagination: Pagination
maxCardsCount: number
}
export class PaginatedDecks {
items: DeckWithAuthor[]
pagination: Pagination
}