mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-10-18 11:18:10 +02:00
10 lines
632 B
JavaScript
10 lines
632 B
JavaScript
const LibraryFile = require('../../../server/objects/files/LibraryFile')
|
|
const EBookFile = require('../../../server/objects/files/EBookFile')
|
|
const AudioFile = require('../../../server/objects/files/AudioFile')
|
|
const LibraryItem = require('../../../server/models/LibraryItem')
|
|
const LibraryItemScanData = require('../../../server/scanner/LibraryItemScanData')
|
|
|
|
// TODO: all of these duplicate each other. Need to verify that deviceId is set on each when constructing. And that deviceId is populated when using toJSON()
|
|
|
|
// TODO: check that any libraryFiles properties set to JSON contain a LibraryFile which has a deviceId property
|