mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-18 05:09:29 +00:00
add decks documentation
This commit is contained in:
@@ -1 +1,26 @@
|
||||
export class Deck {}
|
||||
import { Pagination } from '../../../infrastructure/common/pagination/pagination.dto'
|
||||
|
||||
export class Deck {
|
||||
id: string
|
||||
userId: string
|
||||
name: string
|
||||
isPrivate: boolean
|
||||
shots: number
|
||||
cover: string | null
|
||||
rating: number
|
||||
created: Date
|
||||
updated: Date
|
||||
cardsCount: number
|
||||
author: DeckAuthor
|
||||
}
|
||||
|
||||
export class DeckAuthor {
|
||||
id: string
|
||||
name: string
|
||||
}
|
||||
|
||||
export class PaginatedDecks {
|
||||
items: Deck[]
|
||||
pagination: Pagination
|
||||
maxCardsCount: number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user