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

13 lines • 816 B
import type { MediaStore } from '../media_store.js'; /** * One tenant app's records on the control plane: the store seen through a guard that only lets that * partition's records through. Another app's record reads as missing and cannot be deleted from * here, and listing by an owner type outside the partition finds nothing. * * A tenant's records are stored with the owner type `<partition>/<ownerType>`, which also puts their * storage keys under `<partition>/` (the library's layout starts with the owner type), so the * cross-owner `list` narrows by that path prefix first, then re-checks every row (`_` is a `LIKE` * wildcard, so the prefix alone is not proof). */ export declare function partitionStore(store: MediaStore, partition: string): MediaStore; //# sourceMappingURL=partition_store.d.ts.map