Cleaned up addedAt and updatedAt

This commit is contained in:
Nicholas Wallace 2024-03-01 23:11:02 +00:00
parent f4320049f8
commit 1c5798181a
11 changed files with 49 additions and 112 deletions

View file

@ -27,13 +27,9 @@ const { checkNamesAreEqual, nameToLastFirst } = require('../../utils/parsers/par
* description: The absolute path for the author image. Will be null if there is no image.
* type: [string, 'null']
* addedAt:
* description: The time (in ms since POSIX epoch) when the author was added.
* type: integer
* example: 1650621073750
* $ref: '#/components/schemas/addedAt'
* updatedAt:
* description: The time (in ms since POSIX epoch) when the author was last updated.
* type: integer
* example: 1650621073750
* $ref: '#/components/schemas/updatedAt'
* authorMinified:
* type: object
* properties:
@ -66,13 +62,9 @@ const { checkNamesAreEqual, nameToLastFirst } = require('../../utils/parsers/par
* description: The absolute path for the author image. Will be null if there is no image.
* type: [string, 'null']
* addedAt:
* description: The time (in ms since POSIX epoch) when the author was added.
* type: integer
* example: 1650621073750
* $ref: '#/components/schemas/addedAt'
* updatedAt:
* description: The time (in ms since POSIX epoch) when the author was last updated.
* type: integer
* example: 1650621073750
* $ref: '#/components/schemas/updatedAt'
* numBooks:
* description: The number of books associated with the author in the library.
* type: integer

View file

@ -20,13 +20,9 @@ const { getTitleIgnorePrefix, getTitlePrefixAtEnd } = require('../../utils/index
* description: A description for the series. Will be null if there is none.
* type: [string, 'null']
* addedAt:
* description: The time (in ms since POSIX epoch) when the series was added.
* type: integer
* example: 1650621073750
* $ref: '#/components/schemas/addedAt'
* updatedAt:
* description: The time (in ms since POSIX epoch) when the series was last updated.
* type: integer
* example: 1650621073750
* $ref: '#/components/schemas/updatedAt'
* seriesNumBooks:
* type: object
* properties: