@adonis-agora/media
Version:
Media-library for AdonisJS — owner collections (MIME whitelist, single-file replace, ordering), image conversions (eager/lazy), pluggable content transformers (HLS video via mediabunny, metadata probe, image blur-up placeholder), and column attachments, a
15 lines • 685 B
JavaScript
/**
* Symbol-keyed entry points `MediaAccess` uses to hand `MediaLibrary` a record it has ALREADY
* fetched (and authorized), instead of the id — which would make the library look it up again.
* Not re-exported from the package entry: an internal seam, not public API.
*
* @internal
*/
export const imageOfRecord = Symbol('@adonis-agora/media:imageOfRecord');
/** @internal */
export const streamOfRecord = Symbol('@adonis-agora/media:streamOfRecord');
/** @internal */
export const deliverRecord = Symbol('@adonis-agora/media:deliverRecord');
/** @internal */
export const findUnscoped = Symbol('@adonis-agora/media:findUnscoped');
//# sourceMappingURL=internal_symbols.js.map