mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-13 04:41:36 +00:00
Moved schemas into objects/ definitions
This commit is contained in:
parent
cc37c3d41f
commit
cc53f16185
30 changed files with 3380 additions and 3241 deletions
|
|
@ -1,3 +1,25 @@
|
|||
/**
|
||||
* @openapi
|
||||
* components:
|
||||
* schemas:
|
||||
* audioBookmark:
|
||||
* type: object
|
||||
* properties:
|
||||
* libraryItemId:
|
||||
* description: The ID of the library item the bookmark is for.
|
||||
* type: string
|
||||
* example: li_8gch9ve09orgn4fdz8
|
||||
* title:
|
||||
* description: The title of the bookmark.
|
||||
* type: string
|
||||
* example: the good part
|
||||
* time:
|
||||
* description: The time (in seconds) the bookmark is at in the book.
|
||||
* type: integer
|
||||
* example: 16
|
||||
* createdAt:
|
||||
* $ref: '#/components/schemas/createdAt'
|
||||
*/
|
||||
class AudioBookmark {
|
||||
constructor(bookmark) {
|
||||
this.libraryItemId = null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue