UNPKG

@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

10 lines • 651 B
import type { Disk, ExtendedDisk } from './types.js'; /** * Structural guard: does this disk implement the optional {@link ExtendedDisk} surface (copy/move, * batched delete, list, size/stat, plus a capabilities descriptor)? The base {@link Disk} contract * deliberately omits these, so callers detect the richer operations here at runtime (the bundled * `disks.s3()` disk provides them; the in-memory/Drive disks do not) rather than depending on them * statically. A disk qualifies when it exposes the whole surface. */ export declare function isExtendedDisk(disk: Disk): disk is Disk & ExtendedDisk; //# sourceMappingURL=extended_disk.d.ts.map