mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-13 21:01:39 +00:00
Cleaned up addedAt and updatedAt
This commit is contained in:
parent
f4320049f8
commit
1c5798181a
11 changed files with 49 additions and 112 deletions
|
|
@ -20,13 +20,9 @@ const FileMetadata = require('../metadata/FileMetadata')
|
|||
* metadata:
|
||||
* $ref: '#/components/schemas/fileMetadata'
|
||||
* addedAt:
|
||||
* description: The time (in ms since POSIX epoch) when the audio file was added to the library.
|
||||
* type: integer
|
||||
* example: 1650621074131
|
||||
* $ref: '#/components/schemas/addedAt'
|
||||
* updatedAt:
|
||||
* description: The time (in ms since POSIX epoch) when the audio file last updated. (Read Only)
|
||||
* type: integer
|
||||
* example: 1651830828023
|
||||
* $ref: '#/components/schemas/updatedAt'
|
||||
* trackNumFromMeta:
|
||||
* description: The track number of the audio file as pulled from the file's metadata. Will be null if unknown.
|
||||
* type: [integer, 'null']
|
||||
|
|
|
|||
|
|
@ -18,13 +18,9 @@ const FileMetadata = require('../metadata/FileMetadata')
|
|||
* type: string
|
||||
* example: epub
|
||||
* addedAt:
|
||||
* description: The time (in ms since POSIX epoch) when the library file was added.
|
||||
* type: integer
|
||||
* example: 1650621073750
|
||||
* $ref: '#/components/schemas/addedAt'
|
||||
* updatedAt:
|
||||
* description: The time (in ms since POSIX epoch) when the library file was last updated.
|
||||
* type: integer
|
||||
* example: 1650621110769
|
||||
* $ref: '#/components/schemas/updatedAt'
|
||||
*/
|
||||
|
||||
class EBookFile {
|
||||
|
|
|
|||
|
|
@ -17,13 +17,9 @@ const FileMetadata = require('../metadata/FileMetadata')
|
|||
* metadata:
|
||||
* $ref: '#/components/schemas/fileMetadata'
|
||||
* addedAt:
|
||||
* description: The time (in ms since POSIX epoch) when the library file was added.
|
||||
* type: integer
|
||||
* example: 1650621052494
|
||||
* $ref: '#/components/schemas/addedAt'
|
||||
* updatedAt:
|
||||
* description: The time (in ms since POSIX epoch) when the library file was last updated.
|
||||
* type: integer
|
||||
* example: 1650621052494
|
||||
* $ref: '#/components/schemas/updatedAt'
|
||||
* fileType:
|
||||
* description: The type of file that the library file is (audio, image, etc.).
|
||||
* type: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue