43 lines
994 B
TypeScript
43 lines
994 B
TypeScript
/*
|
|
* Media archive entry point. The daemon mounts this module at checkpoint C5;
|
|
* nothing imports it before that.
|
|
*/
|
|
|
|
export { extractMedia, type ExtractedMedia } from "./extract.js";
|
|
export { isNearLimit, planRetention, type RetentionPlan, type RetentionScrape } from "./retention.js";
|
|
export {
|
|
ASPECT_PRESETS,
|
|
RESOLUTION_PRESETS,
|
|
aspectCondition,
|
|
resolutionCondition,
|
|
type AspectPreset,
|
|
type ResolutionPreset
|
|
} from "./filter-presets.js";
|
|
export {
|
|
downloadGapMs,
|
|
downloadOne,
|
|
downloadPreview,
|
|
previewUrlFor,
|
|
type DownloadOptions,
|
|
type DownloadOutcome
|
|
} from "./download.js";
|
|
export {
|
|
ScrapeEngine,
|
|
type FetchPage,
|
|
type ScrapeBackend,
|
|
type ScrapeEngineOptions
|
|
} from "./engine.js";
|
|
export {
|
|
DEFAULT_DB_ROOT,
|
|
dirSizeBytes,
|
|
listScrapes,
|
|
readScrapeMeta,
|
|
resolveDbRoot,
|
|
ScrapeStore,
|
|
scrapeDir,
|
|
uniqueScrapeId,
|
|
writeScrapeMeta,
|
|
type MediaRow
|
|
} from "./store.js";
|
|
export * from "./types.js";
|