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,5 +1,29 @@
|
|||
const uuidv4 = require("uuid").v4
|
||||
|
||||
/**
|
||||
* @openapi
|
||||
* components:
|
||||
* schemas:
|
||||
* folder:
|
||||
* type: object
|
||||
* properties:
|
||||
* id:
|
||||
* description: The ID of the folder. (Read Only)
|
||||
* type: string
|
||||
* example: fol_bev1zuxhb0j0s1wehr
|
||||
* fullPath:
|
||||
* description: The path on the server for the folder. (Read Only)
|
||||
* type: string
|
||||
* example: /podcasts
|
||||
* libraryId:
|
||||
* oneOf:
|
||||
* - $ref: '#/components/schemas/oldLibraryId'
|
||||
* - $ref: '#/components/schemas/newLibraryId'
|
||||
* addedAt:
|
||||
* description: The time (in ms since POSIX epoch) when the folder was added. (Read Only)
|
||||
* type: integer
|
||||
* example: 1650462940610
|
||||
*/
|
||||
class Folder {
|
||||
constructor(folder = null) {
|
||||
this.id = null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue