mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 15:48:05 +00:00
Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com> Co-authored-by: sarendsen <coding-mosses0z@icloud.com> Co-authored-by: Lance Chant <13349722+lancechant@users.noreply.github.com> Co-authored-by: Gauvain <68083474+Gauvino@users.noreply.github.com>
48 lines
1.2 KiB
TypeScript
48 lines
1.2 KiB
TypeScript
// Database operations
|
|
|
|
// Additional downloads (trickplay, subtitles, cover images)
|
|
export {
|
|
downloadAdditionalAssets,
|
|
downloadCoverImage,
|
|
downloadSeriesImage,
|
|
downloadSubtitles,
|
|
downloadTrickplayImages,
|
|
fetchSegments,
|
|
} from "./additionalDownloads";
|
|
export {
|
|
addDownloadedItem,
|
|
clearAllDownloadedItems,
|
|
getAllDownloadedItems,
|
|
getDownloadedItemById,
|
|
getDownloadsDatabase,
|
|
removeDownloadedItem,
|
|
saveDownloadsDatabase,
|
|
} from "./database";
|
|
// File operations
|
|
export {
|
|
calculateTotalDownloadedSize,
|
|
deleteAllAssociatedFiles,
|
|
deleteVideoFile,
|
|
getDownloadedItemSize,
|
|
} from "./fileOperations";
|
|
// Hooks
|
|
export { useDownloadEventHandlers } from "./hooks/useDownloadEventHandlers";
|
|
export { useDownloadOperations } from "./hooks/useDownloadOperations";
|
|
// Notification helpers
|
|
export {
|
|
getNotificationContent,
|
|
sendDownloadNotification,
|
|
} from "./notifications";
|
|
// Types (re-export from existing types.ts)
|
|
export type {
|
|
DownloadedItem,
|
|
DownloadedSeason,
|
|
DownloadedSeries,
|
|
DownloadsDatabase,
|
|
JobStatus,
|
|
MediaTimeSegment,
|
|
TrickPlayData,
|
|
} from "./types";
|
|
// Utility functions
|
|
export { generateFilename, uriToFilePath } from "./utils";
|