fix schema

This commit is contained in:
2023-07-24 11:41:21 +02:00
parent 5fafb779a7
commit 86f95efe1b
3 changed files with 10 additions and 7 deletions

View File

@@ -11,6 +11,9 @@ export class Deck {
created: Date
updated: Date
cardsCount: number
}
export class DeckWithAuthor extends Deck {
author: DeckAuthor
}
@@ -20,7 +23,7 @@ export class DeckAuthor {
}
export class PaginatedDecks {
items: Deck[]
items: DeckWithAuthor[]
pagination: Pagination
maxCardsCount: number
}