mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-18 05:09:29 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user